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
);
672 #include <wx/slider.h>
675 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
676 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
679 // implement dummy items for platforms that don't have this class
681 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
683 class wxToggleButton
: public wxControl
686 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
687 const wxPoint
&, const wxSize
&, long,
688 const wxValidator
&, const wxString
&)
689 { wxPyRaiseNotImplemented(); }
692 { wxPyRaiseNotImplemented(); }
696 static const wxString
wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME
);
698 SWIGSTATICINLINE(PyObject
* )
699 SWIG_From_unsigned_SS_long(unsigned long value
)
701 return (value
> LONG_MAX
) ?
702 PyLong_FromUnsignedLong(value
)
703 : PyInt_FromLong(swig_numeric_cast(value
,long));
706 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
707 PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
708 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
710 Py_INCREF(udata
->m_obj
);
717 void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
718 self
->SetClientData(new wxPyUserData(clientData
));
720 wxToolBarToolBase
*wxToolBarBase_DoAddTool(wxToolBarBase
*self
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
,wxItemKind kind
,wxString
const &shortHelp
,wxString
const &longHelp
,PyObject
*clientData
){
721 wxPyUserData
* udata
= NULL
;
722 if (clientData
&& clientData
!= Py_None
)
723 udata
= new wxPyUserData(clientData
);
724 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
725 shortHelp
, longHelp
, udata
);
727 wxToolBarToolBase
*wxToolBarBase_DoInsertTool(wxToolBarBase
*self
,size_t pos
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
,wxItemKind kind
,wxString
const &shortHelp
,wxString
const &longHelp
,PyObject
*clientData
){
728 wxPyUserData
* udata
= NULL
;
729 if (clientData
&& clientData
!= Py_None
)
730 udata
= new wxPyUserData(clientData
);
731 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
732 shortHelp
, longHelp
, udata
);
734 PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
735 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
737 Py_INCREF(udata
->m_obj
);
744 void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
745 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
748 #include <wx/listctrl.h>
750 static const wxString
wxPyListCtrlNameStr(_T("wxListCtrl"));
751 void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
752 // Python aware sorting function for wxPyListCtrl
753 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
755 PyObject
* func
= (PyObject
*)funcPtr
;
756 bool blocked
= wxPyBeginBlockThreads();
758 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
759 PyObject
* result
= PyEval_CallObject(func
, args
);
762 retval
= PyInt_AsLong(result
);
766 wxPyEndBlockThreads(blocked
);
770 // C++ Version of a Python aware class
771 class wxPyListCtrl
: public wxListCtrl
{
772 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
774 wxPyListCtrl() : wxListCtrl() {}
775 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
779 const wxValidator
& validator
,
780 const wxString
& name
) :
781 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
783 bool Create(wxWindow
* parent
, wxWindowID id
,
787 const wxValidator
& validator
,
788 const wxString
& name
) {
789 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
792 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
793 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
795 // use the virtual version to avoid a confusing assert in the base class
796 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
801 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
803 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
804 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
805 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
808 wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
810 item
.SetMask( wxLIST_MASK_STATE
|
818 if (self
->GetColumn(col
, item
))
819 return new wxListItem(item
);
823 wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
){
824 wxListItem
* info
= new wxListItem
;
825 info
->m_itemId
= itemId
;
827 info
->m_mask
= 0xFFFF;
828 self
->GetItem(*info
);
831 wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
833 self
->GetItemPosition(item
, pos
);
836 wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
){
838 self
->GetItemRect(item
, rect
, code
);
842 bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
843 if (!PyCallable_Check(func
))
845 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
847 wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
851 return (wxWindow
*)self
->m_mainWin
;
855 #include <wx/treectrl.h>
856 #include "wx/wxPython/pytree.h"
858 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
859 bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
860 bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
861 void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
862 // C++ version of Python aware wxTreeCtrl
863 class wxPyTreeCtrl
: public wxTreeCtrl
{
864 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
866 wxPyTreeCtrl() : wxTreeCtrl() {}
867 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
871 const wxValidator
& validator
,
872 const wxString
& name
) :
873 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
875 bool Create(wxWindow
*parent
, wxWindowID id
,
879 const wxValidator
& validator
,
880 const wxString
& name
) {
881 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
885 int OnCompareItems(const wxTreeItemId
& item1
,
886 const wxTreeItemId
& item2
) {
889 bool blocked
= wxPyBeginBlockThreads();
890 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
891 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
892 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
893 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
897 wxPyEndBlockThreads(blocked
);
899 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
905 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
909 #if UINT_MAX < LONG_MAX
910 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
911 #define SWIG_From_unsigned_SS_int SWIG_From_long
914 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
915 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
920 SWIGSTATICINLINE(int)
921 SWIG_CheckUnsignedLongInRange(unsigned long value
,
922 unsigned long max_value
,
925 if (value
> max_value
) {
927 PyErr_Format(PyExc_OverflowError
,
928 "value %ld is greater than '%s' minimum %ld",
929 value
, errmsg
, max_value
);
937 #if UINT_MAX != ULONG_MAX
938 SWIGSTATICINLINE(int)
939 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
941 const char* errmsg
= val
? "unsigned int" : 0;
943 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
944 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
945 if (val
) *val
= swig_numeric_cast(v
, unsigned int);
952 PyErr_SetString(PyExc_TypeError
, "an unsigned int is expected");
957 SWIGSTATICINLINE(unsigned int)
958 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
960 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
965 SWIGSTATICINLINE(unsigned int)
966 SWIG_As_unsigned_SS_int(PyObject
* obj
)
969 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
971 this is needed to make valgrind/purify happier. the other
972 solution is throw an exception, but since this code should work
975 memset((void*)&v
, 0, sizeof(unsigned int));
981 SWIGSTATICINLINE(int)
982 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
984 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
987 wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
988 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
990 data
= new wxPyTreeItemData();
991 data
->SetId(item
); // set the id
992 self
->SetItemData(item
, data
);
996 PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
997 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
999 data
= new wxPyTreeItemData();
1000 data
->SetId(item
); // set the id
1001 self
->SetItemData(item
, data
);
1003 return data
->GetData();
1005 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
1006 data
->SetId(item
); // set the id
1007 self
->SetItemData(item
, data
);
1009 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
1010 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
1012 data
= new wxPyTreeItemData(obj
);
1013 data
->SetId(item
); // set the id
1014 self
->SetItemData(item
, data
);
1018 PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
1019 bool blocked
= wxPyBeginBlockThreads();
1020 PyObject
* rval
= PyList_New(0);
1021 wxArrayTreeItemIds array
;
1023 num
= self
->GetSelections(array
);
1024 for (x
=0; x
< num
; x
++) {
1025 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
1026 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
1027 PyList_Append(rval
, item
);
1030 wxPyEndBlockThreads(blocked
);
1033 PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
1035 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
1036 bool blocked
= wxPyBeginBlockThreads();
1037 PyObject
* tup
= PyTuple_New(2);
1038 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
1039 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
1040 wxPyEndBlockThreads(blocked
);
1043 PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
1044 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
1045 bool blocked
= wxPyBeginBlockThreads();
1046 PyObject
* tup
= PyTuple_New(2);
1047 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
1048 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
1049 wxPyEndBlockThreads(blocked
);
1052 PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
){
1054 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
1055 bool blocked
= wxPyBeginBlockThreads();
1056 wxRect
* r
= new wxRect(rect
);
1057 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
1058 wxPyEndBlockThreads(blocked
);
1064 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
1066 SWIGSTATICINLINE(PyObject
*)
1067 SWIG_From_bool(bool value
)
1069 PyObject
*obj
= value
? Py_True
: Py_False
;
1075 // C++ version of Python aware wxControl
1076 class wxPyControl
: public wxControl
1078 DECLARE_DYNAMIC_CLASS(wxPyControl
)
1080 wxPyControl() : wxControl() {}
1081 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
1082 const wxPoint
& pos
= wxDefaultPosition
,
1083 const wxSize
& size
= wxDefaultSize
,
1085 const wxValidator
& validator
=wxDefaultValidator
,
1086 const wxString
& name
= wxPyControlNameStr
)
1087 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
1089 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
1091 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1092 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1093 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1094 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1096 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1097 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1098 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1100 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1101 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1103 DEC_PYCALLBACK__(InitDialog
);
1104 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1105 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1106 DEC_PYCALLBACK_BOOL_(Validate
);
1108 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1109 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1110 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1112 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1113 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1115 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1116 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1117 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1122 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
1124 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
1125 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
1126 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
1127 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
1129 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
1130 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
1131 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
1133 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
1134 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
1136 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
1137 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
1138 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
1139 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
1141 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
1142 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
1143 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
1145 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
1146 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
1148 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
1149 IMP_PYCALLBACK__COLOUR(wxPyControl
, wxControl
, ApplyParentThemeBackground
);
1150 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
1154 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
1156 #include <wx/generic/dragimgg.h>
1161 static int _wrap_ButtonNameStr_set(PyObject
*) {
1162 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
1167 static PyObject
*_wrap_ButtonNameStr_get() {
1172 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1174 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1181 static PyObject
*_wrap_new_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1182 PyObject
*resultobj
;
1183 wxWindow
*arg1
= (wxWindow
*) 0 ;
1184 int arg2
= (int) -1 ;
1185 wxString
const &arg3_defvalue
= wxPyEmptyString
;
1186 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
1187 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1188 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1189 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1190 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1191 long arg6
= (long) 0 ;
1192 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1193 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1194 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1195 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1197 bool temp3
= false ;
1200 bool temp8
= false ;
1201 PyObject
* obj0
= 0 ;
1202 PyObject
* obj1
= 0 ;
1203 PyObject
* obj2
= 0 ;
1204 PyObject
* obj3
= 0 ;
1205 PyObject
* obj4
= 0 ;
1206 PyObject
* obj5
= 0 ;
1207 PyObject
* obj6
= 0 ;
1208 PyObject
* obj7
= 0 ;
1210 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1217 arg2
= (int)SWIG_As_int(obj1
);
1218 if (PyErr_Occurred()) SWIG_fail
;
1222 arg3
= wxString_in_helper(obj2
);
1223 if (arg3
== NULL
) SWIG_fail
;
1230 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1236 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1240 arg6
= (long)SWIG_As_long(obj5
);
1241 if (PyErr_Occurred()) SWIG_fail
;
1244 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1245 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1248 PyErr_SetString(PyExc_TypeError
,"null reference");
1254 arg8
= wxString_in_helper(obj7
);
1255 if (arg8
== NULL
) SWIG_fail
;
1260 if (!wxPyCheckForApp()) SWIG_fail
;
1261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1262 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1264 wxPyEndAllowThreads(__tstate
);
1265 if (PyErr_Occurred()) SWIG_fail
;
1267 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
1290 static PyObject
*_wrap_new_PreButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1291 PyObject
*resultobj
;
1297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
1299 if (!wxPyCheckForApp()) SWIG_fail
;
1300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1301 result
= (wxButton
*)new wxButton();
1303 wxPyEndAllowThreads(__tstate
);
1304 if (PyErr_Occurred()) SWIG_fail
;
1306 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
1313 static PyObject
*_wrap_Button_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1314 PyObject
*resultobj
;
1315 wxButton
*arg1
= (wxButton
*) 0 ;
1316 wxWindow
*arg2
= (wxWindow
*) 0 ;
1317 int arg3
= (int) -1 ;
1318 wxString
const &arg4_defvalue
= wxPyEmptyString
;
1319 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
1320 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1321 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1322 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1323 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1324 long arg7
= (long) 0 ;
1325 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1326 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1327 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1328 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1330 bool temp4
= false ;
1333 bool temp9
= false ;
1334 PyObject
* obj0
= 0 ;
1335 PyObject
* obj1
= 0 ;
1336 PyObject
* obj2
= 0 ;
1337 PyObject
* obj3
= 0 ;
1338 PyObject
* obj4
= 0 ;
1339 PyObject
* obj5
= 0 ;
1340 PyObject
* obj6
= 0 ;
1341 PyObject
* obj7
= 0 ;
1342 PyObject
* obj8
= 0 ;
1344 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1350 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1353 arg3
= (int)SWIG_As_int(obj2
);
1354 if (PyErr_Occurred()) SWIG_fail
;
1358 arg4
= wxString_in_helper(obj3
);
1359 if (arg4
== NULL
) SWIG_fail
;
1366 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1372 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1376 arg7
= (long)SWIG_As_long(obj6
);
1377 if (PyErr_Occurred()) SWIG_fail
;
1380 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1381 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1384 PyErr_SetString(PyExc_TypeError
,"null reference");
1390 arg9
= wxString_in_helper(obj8
);
1391 if (arg9
== NULL
) SWIG_fail
;
1396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1397 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1399 wxPyEndAllowThreads(__tstate
);
1400 if (PyErr_Occurred()) SWIG_fail
;
1403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1427 static PyObject
*_wrap_Button_SetDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1428 PyObject
*resultobj
;
1429 wxButton
*arg1
= (wxButton
*) 0 ;
1430 PyObject
* obj0
= 0 ;
1432 (char *) "self", NULL
1435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1440 (arg1
)->SetDefault();
1442 wxPyEndAllowThreads(__tstate
);
1443 if (PyErr_Occurred()) SWIG_fail
;
1445 Py_INCREF(Py_None
); resultobj
= Py_None
;
1452 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1453 PyObject
*resultobj
;
1459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1462 result
= wxButton::GetDefaultSize();
1464 wxPyEndAllowThreads(__tstate
);
1465 if (PyErr_Occurred()) SWIG_fail
;
1469 resultptr
= new wxSize((wxSize
&) result
);
1470 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
1478 static PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1479 PyObject
*resultobj
;
1480 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
1481 wxVisualAttributes result
;
1482 PyObject
* obj0
= 0 ;
1484 (char *) "variant", NULL
1487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
1489 arg1
= (int)SWIG_As_int(obj0
);
1490 if (PyErr_Occurred()) SWIG_fail
;
1493 if (!wxPyCheckForApp()) SWIG_fail
;
1494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1495 result
= wxButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
1497 wxPyEndAllowThreads(__tstate
);
1498 if (PyErr_Occurred()) SWIG_fail
;
1501 wxVisualAttributes
* resultptr
;
1502 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
1503 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
1511 static PyObject
* Button_swigregister(PyObject
*, PyObject
*args
) {
1513 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1514 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1516 return Py_BuildValue((char *)"");
1518 static PyObject
*_wrap_new_BitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1519 PyObject
*resultobj
;
1520 wxWindow
*arg1
= (wxWindow
*) 0 ;
1521 int arg2
= (int) -1 ;
1522 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
1523 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
1524 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1525 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1526 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1527 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1528 long arg6
= (long) wxBU_AUTODRAW
;
1529 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1530 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1531 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1532 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1533 wxBitmapButton
*result
;
1536 bool temp8
= false ;
1537 PyObject
* obj0
= 0 ;
1538 PyObject
* obj1
= 0 ;
1539 PyObject
* obj2
= 0 ;
1540 PyObject
* obj3
= 0 ;
1541 PyObject
* obj4
= 0 ;
1542 PyObject
* obj5
= 0 ;
1543 PyObject
* obj6
= 0 ;
1544 PyObject
* obj7
= 0 ;
1546 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1553 arg2
= (int)SWIG_As_int(obj1
);
1554 if (PyErr_Occurred()) SWIG_fail
;
1557 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
1558 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1561 PyErr_SetString(PyExc_TypeError
,"null reference");
1568 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1574 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1578 arg6
= (long)SWIG_As_long(obj5
);
1579 if (PyErr_Occurred()) SWIG_fail
;
1582 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1583 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1586 PyErr_SetString(PyExc_TypeError
,"null reference");
1592 arg8
= wxString_in_helper(obj7
);
1593 if (arg8
== NULL
) SWIG_fail
;
1598 if (!wxPyCheckForApp()) SWIG_fail
;
1599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1600 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1602 wxPyEndAllowThreads(__tstate
);
1603 if (PyErr_Occurred()) SWIG_fail
;
1605 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
1620 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1621 PyObject
*resultobj
;
1622 wxBitmapButton
*result
;
1627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1629 if (!wxPyCheckForApp()) SWIG_fail
;
1630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1631 result
= (wxBitmapButton
*)new wxBitmapButton();
1633 wxPyEndAllowThreads(__tstate
);
1634 if (PyErr_Occurred()) SWIG_fail
;
1636 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
1643 static PyObject
*_wrap_BitmapButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1644 PyObject
*resultobj
;
1645 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1646 wxWindow
*arg2
= (wxWindow
*) 0 ;
1647 int arg3
= (int) -1 ;
1648 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
1649 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
1650 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1651 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1652 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1653 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1654 long arg7
= (long) wxBU_AUTODRAW
;
1655 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1656 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1657 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1658 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1662 bool temp9
= false ;
1663 PyObject
* obj0
= 0 ;
1664 PyObject
* obj1
= 0 ;
1665 PyObject
* obj2
= 0 ;
1666 PyObject
* obj3
= 0 ;
1667 PyObject
* obj4
= 0 ;
1668 PyObject
* obj5
= 0 ;
1669 PyObject
* obj6
= 0 ;
1670 PyObject
* obj7
= 0 ;
1671 PyObject
* obj8
= 0 ;
1673 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1679 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1682 arg3
= (int)SWIG_As_int(obj2
);
1683 if (PyErr_Occurred()) SWIG_fail
;
1686 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
1687 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1690 PyErr_SetString(PyExc_TypeError
,"null reference");
1697 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1703 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1707 arg7
= (long)SWIG_As_long(obj6
);
1708 if (PyErr_Occurred()) SWIG_fail
;
1711 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1712 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1715 PyErr_SetString(PyExc_TypeError
,"null reference");
1721 arg9
= wxString_in_helper(obj8
);
1722 if (arg9
== NULL
) SWIG_fail
;
1727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1728 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1730 wxPyEndAllowThreads(__tstate
);
1731 if (PyErr_Occurred()) SWIG_fail
;
1734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1750 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1751 PyObject
*resultobj
;
1752 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1754 PyObject
* obj0
= 0 ;
1756 (char *) "self", NULL
1759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1764 result
= (arg1
)->GetBitmapLabel();
1766 wxPyEndAllowThreads(__tstate
);
1767 if (PyErr_Occurred()) SWIG_fail
;
1770 wxBitmap
* resultptr
;
1771 resultptr
= new wxBitmap((wxBitmap
&) result
);
1772 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1780 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1781 PyObject
*resultobj
;
1782 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1784 PyObject
* obj0
= 0 ;
1786 (char *) "self", NULL
1789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1794 result
= (arg1
)->GetBitmapDisabled();
1796 wxPyEndAllowThreads(__tstate
);
1797 if (PyErr_Occurred()) SWIG_fail
;
1800 wxBitmap
* resultptr
;
1801 resultptr
= new wxBitmap((wxBitmap
&) result
);
1802 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1810 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1811 PyObject
*resultobj
;
1812 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1814 PyObject
* obj0
= 0 ;
1816 (char *) "self", NULL
1819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1824 result
= (arg1
)->GetBitmapFocus();
1826 wxPyEndAllowThreads(__tstate
);
1827 if (PyErr_Occurred()) SWIG_fail
;
1830 wxBitmap
* resultptr
;
1831 resultptr
= new wxBitmap((wxBitmap
&) result
);
1832 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1840 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1841 PyObject
*resultobj
;
1842 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1844 PyObject
* obj0
= 0 ;
1846 (char *) "self", NULL
1849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1854 result
= (arg1
)->GetBitmapSelected();
1856 wxPyEndAllowThreads(__tstate
);
1857 if (PyErr_Occurred()) SWIG_fail
;
1860 wxBitmap
* resultptr
;
1861 resultptr
= new wxBitmap((wxBitmap
&) result
);
1862 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1870 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1871 PyObject
*resultobj
;
1872 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1873 wxBitmap
*arg2
= 0 ;
1874 PyObject
* obj0
= 0 ;
1875 PyObject
* obj1
= 0 ;
1877 (char *) "self",(char *) "bitmap", NULL
1880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1883 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1884 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1887 PyErr_SetString(PyExc_TypeError
,"null reference");
1891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1892 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1894 wxPyEndAllowThreads(__tstate
);
1895 if (PyErr_Occurred()) SWIG_fail
;
1897 Py_INCREF(Py_None
); resultobj
= Py_None
;
1904 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1905 PyObject
*resultobj
;
1906 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1907 wxBitmap
*arg2
= 0 ;
1908 PyObject
* obj0
= 0 ;
1909 PyObject
* obj1
= 0 ;
1911 (char *) "self",(char *) "bitmap", NULL
1914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1917 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1918 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1921 PyErr_SetString(PyExc_TypeError
,"null reference");
1925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1926 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1928 wxPyEndAllowThreads(__tstate
);
1929 if (PyErr_Occurred()) SWIG_fail
;
1931 Py_INCREF(Py_None
); resultobj
= Py_None
;
1938 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1939 PyObject
*resultobj
;
1940 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1941 wxBitmap
*arg2
= 0 ;
1942 PyObject
* obj0
= 0 ;
1943 PyObject
* obj1
= 0 ;
1945 (char *) "self",(char *) "bitmap", NULL
1948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1951 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1952 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1955 PyErr_SetString(PyExc_TypeError
,"null reference");
1959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1960 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1962 wxPyEndAllowThreads(__tstate
);
1963 if (PyErr_Occurred()) SWIG_fail
;
1965 Py_INCREF(Py_None
); resultobj
= Py_None
;
1972 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1973 PyObject
*resultobj
;
1974 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1975 wxBitmap
*arg2
= 0 ;
1976 PyObject
* obj0
= 0 ;
1977 PyObject
* obj1
= 0 ;
1979 (char *) "self",(char *) "bitmap", NULL
1982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1985 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1986 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1989 PyErr_SetString(PyExc_TypeError
,"null reference");
1993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1994 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1996 wxPyEndAllowThreads(__tstate
);
1997 if (PyErr_Occurred()) SWIG_fail
;
1999 Py_INCREF(Py_None
); resultobj
= Py_None
;
2006 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2007 PyObject
*resultobj
;
2008 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2011 PyObject
* obj0
= 0 ;
2012 PyObject
* obj1
= 0 ;
2013 PyObject
* obj2
= 0 ;
2015 (char *) "self",(char *) "x",(char *) "y", NULL
2018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
2020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2021 arg2
= (int)SWIG_As_int(obj1
);
2022 if (PyErr_Occurred()) SWIG_fail
;
2023 arg3
= (int)SWIG_As_int(obj2
);
2024 if (PyErr_Occurred()) SWIG_fail
;
2026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2027 (arg1
)->SetMargins(arg2
,arg3
);
2029 wxPyEndAllowThreads(__tstate
);
2030 if (PyErr_Occurred()) SWIG_fail
;
2032 Py_INCREF(Py_None
); resultobj
= Py_None
;
2039 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2040 PyObject
*resultobj
;
2041 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2043 PyObject
* obj0
= 0 ;
2045 (char *) "self", NULL
2048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
2049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
2050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2053 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
2055 wxPyEndAllowThreads(__tstate
);
2056 if (PyErr_Occurred()) SWIG_fail
;
2058 resultobj
= SWIG_From_int((int)result
);
2065 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2066 PyObject
*resultobj
;
2067 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2069 PyObject
* obj0
= 0 ;
2071 (char *) "self", NULL
2074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
2075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
2076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2079 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
2081 wxPyEndAllowThreads(__tstate
);
2082 if (PyErr_Occurred()) SWIG_fail
;
2084 resultobj
= SWIG_From_int((int)result
);
2091 static PyObject
* BitmapButton_swigregister(PyObject
*, PyObject
*args
) {
2093 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2094 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
2096 return Py_BuildValue((char *)"");
2098 static int _wrap_CheckBoxNameStr_set(PyObject
*) {
2099 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
2104 static PyObject
*_wrap_CheckBoxNameStr_get() {
2109 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
2111 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
2118 static PyObject
*_wrap_new_CheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2119 PyObject
*resultobj
;
2120 wxWindow
*arg1
= (wxWindow
*) 0 ;
2121 int arg2
= (int) -1 ;
2122 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2123 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2124 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2125 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2126 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2127 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2128 long arg6
= (long) 0 ;
2129 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2130 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2131 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
2132 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2134 bool temp3
= false ;
2137 bool temp8
= false ;
2138 PyObject
* obj0
= 0 ;
2139 PyObject
* obj1
= 0 ;
2140 PyObject
* obj2
= 0 ;
2141 PyObject
* obj3
= 0 ;
2142 PyObject
* obj4
= 0 ;
2143 PyObject
* obj5
= 0 ;
2144 PyObject
* obj6
= 0 ;
2145 PyObject
* obj7
= 0 ;
2147 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2154 arg2
= (int)SWIG_As_int(obj1
);
2155 if (PyErr_Occurred()) SWIG_fail
;
2159 arg3
= wxString_in_helper(obj2
);
2160 if (arg3
== NULL
) SWIG_fail
;
2167 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2173 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2177 arg6
= (long)SWIG_As_long(obj5
);
2178 if (PyErr_Occurred()) SWIG_fail
;
2181 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2182 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2185 PyErr_SetString(PyExc_TypeError
,"null reference");
2191 arg8
= wxString_in_helper(obj7
);
2192 if (arg8
== NULL
) SWIG_fail
;
2197 if (!wxPyCheckForApp()) SWIG_fail
;
2198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2199 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2201 wxPyEndAllowThreads(__tstate
);
2202 if (PyErr_Occurred()) SWIG_fail
;
2204 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2227 static PyObject
*_wrap_new_PreCheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2228 PyObject
*resultobj
;
2234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
2236 if (!wxPyCheckForApp()) SWIG_fail
;
2237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2238 result
= (wxCheckBox
*)new wxCheckBox();
2240 wxPyEndAllowThreads(__tstate
);
2241 if (PyErr_Occurred()) SWIG_fail
;
2243 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2250 static PyObject
*_wrap_CheckBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2251 PyObject
*resultobj
;
2252 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2253 wxWindow
*arg2
= (wxWindow
*) 0 ;
2254 int arg3
= (int) -1 ;
2255 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2256 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2257 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2258 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2259 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2260 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2261 long arg7
= (long) 0 ;
2262 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2263 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2264 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
2265 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2267 bool temp4
= false ;
2270 bool temp9
= false ;
2271 PyObject
* obj0
= 0 ;
2272 PyObject
* obj1
= 0 ;
2273 PyObject
* obj2
= 0 ;
2274 PyObject
* obj3
= 0 ;
2275 PyObject
* obj4
= 0 ;
2276 PyObject
* obj5
= 0 ;
2277 PyObject
* obj6
= 0 ;
2278 PyObject
* obj7
= 0 ;
2279 PyObject
* obj8
= 0 ;
2281 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2287 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2290 arg3
= (int)SWIG_As_int(obj2
);
2291 if (PyErr_Occurred()) SWIG_fail
;
2295 arg4
= wxString_in_helper(obj3
);
2296 if (arg4
== NULL
) SWIG_fail
;
2303 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2309 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2313 arg7
= (long)SWIG_As_long(obj6
);
2314 if (PyErr_Occurred()) SWIG_fail
;
2317 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2318 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2321 PyErr_SetString(PyExc_TypeError
,"null reference");
2327 arg9
= wxString_in_helper(obj8
);
2328 if (arg9
== NULL
) SWIG_fail
;
2333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2334 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2336 wxPyEndAllowThreads(__tstate
);
2337 if (PyErr_Occurred()) SWIG_fail
;
2340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2364 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2365 PyObject
*resultobj
;
2366 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2368 PyObject
* obj0
= 0 ;
2370 (char *) "self", NULL
2373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
2374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2378 result
= (bool)(arg1
)->GetValue();
2380 wxPyEndAllowThreads(__tstate
);
2381 if (PyErr_Occurred()) SWIG_fail
;
2384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2392 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2393 PyObject
*resultobj
;
2394 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2396 PyObject
* obj0
= 0 ;
2398 (char *) "self", NULL
2401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
2402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2406 result
= (bool)(arg1
)->IsChecked();
2408 wxPyEndAllowThreads(__tstate
);
2409 if (PyErr_Occurred()) SWIG_fail
;
2412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2420 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2421 PyObject
*resultobj
;
2422 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2424 PyObject
* obj0
= 0 ;
2425 PyObject
* obj1
= 0 ;
2427 (char *) "self",(char *) "state", NULL
2430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2433 arg2
= (bool)SWIG_As_bool(obj1
);
2434 if (PyErr_Occurred()) SWIG_fail
;
2436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2437 (arg1
)->SetValue(arg2
);
2439 wxPyEndAllowThreads(__tstate
);
2440 if (PyErr_Occurred()) SWIG_fail
;
2442 Py_INCREF(Py_None
); resultobj
= Py_None
;
2449 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2450 PyObject
*resultobj
;
2451 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2453 PyObject
* obj0
= 0 ;
2455 (char *) "self", NULL
2458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2463 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2465 wxPyEndAllowThreads(__tstate
);
2466 if (PyErr_Occurred()) SWIG_fail
;
2468 resultobj
= SWIG_From_int((int)result
);
2475 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2476 PyObject
*resultobj
;
2477 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2479 PyObject
* obj0
= 0 ;
2480 PyObject
* obj1
= 0 ;
2482 (char *) "self",(char *) "state", NULL
2485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2488 arg2
= (int)SWIG_As_int(obj1
);
2489 if (PyErr_Occurred()) SWIG_fail
;
2491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2492 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2494 wxPyEndAllowThreads(__tstate
);
2495 if (PyErr_Occurred()) SWIG_fail
;
2497 Py_INCREF(Py_None
); resultobj
= Py_None
;
2504 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2505 PyObject
*resultobj
;
2506 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2508 PyObject
* obj0
= 0 ;
2510 (char *) "self", NULL
2513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2518 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2520 wxPyEndAllowThreads(__tstate
);
2521 if (PyErr_Occurred()) SWIG_fail
;
2524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2532 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2533 PyObject
*resultobj
;
2534 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2536 PyObject
* obj0
= 0 ;
2538 (char *) "self", NULL
2541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2546 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2548 wxPyEndAllowThreads(__tstate
);
2549 if (PyErr_Occurred()) SWIG_fail
;
2552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2560 static PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2561 PyObject
*resultobj
;
2562 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2563 wxVisualAttributes result
;
2564 PyObject
* obj0
= 0 ;
2566 (char *) "variant", NULL
2569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2571 arg1
= (int)SWIG_As_int(obj0
);
2572 if (PyErr_Occurred()) SWIG_fail
;
2575 if (!wxPyCheckForApp()) SWIG_fail
;
2576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2577 result
= wxCheckBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2579 wxPyEndAllowThreads(__tstate
);
2580 if (PyErr_Occurred()) SWIG_fail
;
2583 wxVisualAttributes
* resultptr
;
2584 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2585 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2593 static PyObject
* CheckBox_swigregister(PyObject
*, PyObject
*args
) {
2595 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2596 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2598 return Py_BuildValue((char *)"");
2600 static int _wrap_ChoiceNameStr_set(PyObject
*) {
2601 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2606 static PyObject
*_wrap_ChoiceNameStr_get() {
2611 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2613 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2620 static PyObject
*_wrap_new_Choice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2621 PyObject
*resultobj
;
2622 wxWindow
*arg1
= (wxWindow
*) 0 ;
2623 int arg2
= (int) -1 ;
2624 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2625 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2626 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2627 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2628 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
2629 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
2630 long arg6
= (long) 0 ;
2631 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2632 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2633 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
2634 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2638 bool temp5
= false ;
2639 bool temp8
= false ;
2640 PyObject
* obj0
= 0 ;
2641 PyObject
* obj1
= 0 ;
2642 PyObject
* obj2
= 0 ;
2643 PyObject
* obj3
= 0 ;
2644 PyObject
* obj4
= 0 ;
2645 PyObject
* obj5
= 0 ;
2646 PyObject
* obj6
= 0 ;
2647 PyObject
* obj7
= 0 ;
2649 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2656 arg2
= (int)SWIG_As_int(obj1
);
2657 if (PyErr_Occurred()) SWIG_fail
;
2662 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2668 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2673 if (! PySequence_Check(obj4
)) {
2674 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2677 arg5
= new wxArrayString
;
2679 int i
, len
=PySequence_Length(obj4
);
2680 for (i
=0; i
<len
; i
++) {
2681 PyObject
* item
= PySequence_GetItem(obj4
, i
);
2683 PyObject
* str
= PyObject_Unicode(item
);
2685 PyObject
* str
= PyObject_Str(item
);
2687 if (PyErr_Occurred()) SWIG_fail
;
2688 arg5
->Add(Py2wxString(str
));
2695 arg6
= (long)SWIG_As_long(obj5
);
2696 if (PyErr_Occurred()) SWIG_fail
;
2699 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2700 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2703 PyErr_SetString(PyExc_TypeError
,"null reference");
2709 arg8
= wxString_in_helper(obj7
);
2710 if (arg8
== NULL
) SWIG_fail
;
2715 if (!wxPyCheckForApp()) SWIG_fail
;
2716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2717 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2719 wxPyEndAllowThreads(__tstate
);
2720 if (PyErr_Occurred()) SWIG_fail
;
2722 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2724 if (temp5
) delete arg5
;
2733 if (temp5
) delete arg5
;
2743 static PyObject
*_wrap_new_PreChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2744 PyObject
*resultobj
;
2750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2752 if (!wxPyCheckForApp()) SWIG_fail
;
2753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2754 result
= (wxChoice
*)new wxChoice();
2756 wxPyEndAllowThreads(__tstate
);
2757 if (PyErr_Occurred()) SWIG_fail
;
2759 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2766 static PyObject
*_wrap_Choice_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2767 PyObject
*resultobj
;
2768 wxChoice
*arg1
= (wxChoice
*) 0 ;
2769 wxWindow
*arg2
= (wxWindow
*) 0 ;
2770 int arg3
= (int) -1 ;
2771 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2772 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2773 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2774 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2775 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2776 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2777 long arg7
= (long) 0 ;
2778 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2779 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2780 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2781 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2785 bool temp6
= false ;
2786 bool temp9
= false ;
2787 PyObject
* obj0
= 0 ;
2788 PyObject
* obj1
= 0 ;
2789 PyObject
* obj2
= 0 ;
2790 PyObject
* obj3
= 0 ;
2791 PyObject
* obj4
= 0 ;
2792 PyObject
* obj5
= 0 ;
2793 PyObject
* obj6
= 0 ;
2794 PyObject
* obj7
= 0 ;
2795 PyObject
* obj8
= 0 ;
2797 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2803 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2806 arg3
= (int)SWIG_As_int(obj2
);
2807 if (PyErr_Occurred()) SWIG_fail
;
2812 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2818 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2823 if (! PySequence_Check(obj5
)) {
2824 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2827 arg6
= new wxArrayString
;
2829 int i
, len
=PySequence_Length(obj5
);
2830 for (i
=0; i
<len
; i
++) {
2831 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2833 PyObject
* str
= PyObject_Unicode(item
);
2835 PyObject
* str
= PyObject_Str(item
);
2837 if (PyErr_Occurred()) SWIG_fail
;
2838 arg6
->Add(Py2wxString(str
));
2845 arg7
= (long)SWIG_As_long(obj6
);
2846 if (PyErr_Occurred()) SWIG_fail
;
2849 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2850 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2853 PyErr_SetString(PyExc_TypeError
,"null reference");
2859 arg9
= wxString_in_helper(obj8
);
2860 if (arg9
== NULL
) SWIG_fail
;
2865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2866 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2868 wxPyEndAllowThreads(__tstate
);
2869 if (PyErr_Occurred()) SWIG_fail
;
2872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2875 if (temp6
) delete arg6
;
2884 if (temp6
) delete arg6
;
2894 static PyObject
*_wrap_Choice_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2895 PyObject
*resultobj
;
2896 wxChoice
*arg1
= (wxChoice
*) 0 ;
2898 PyObject
* obj0
= 0 ;
2899 PyObject
* obj1
= 0 ;
2901 (char *) "self",(char *) "n", NULL
2904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2907 arg2
= (int)SWIG_As_int(obj1
);
2908 if (PyErr_Occurred()) SWIG_fail
;
2910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2911 (arg1
)->SetSelection(arg2
);
2913 wxPyEndAllowThreads(__tstate
);
2914 if (PyErr_Occurred()) SWIG_fail
;
2916 Py_INCREF(Py_None
); resultobj
= Py_None
;
2923 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2924 PyObject
*resultobj
;
2925 wxChoice
*arg1
= (wxChoice
*) 0 ;
2926 wxString
*arg2
= 0 ;
2928 bool temp2
= false ;
2929 PyObject
* obj0
= 0 ;
2930 PyObject
* obj1
= 0 ;
2932 (char *) "self",(char *) "string", NULL
2935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2939 arg2
= wxString_in_helper(obj1
);
2940 if (arg2
== NULL
) SWIG_fail
;
2944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2945 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
2947 wxPyEndAllowThreads(__tstate
);
2948 if (PyErr_Occurred()) SWIG_fail
;
2951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2967 static PyObject
*_wrap_Choice_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2968 PyObject
*resultobj
;
2969 wxChoice
*arg1
= (wxChoice
*) 0 ;
2971 wxString
*arg3
= 0 ;
2972 bool temp3
= false ;
2973 PyObject
* obj0
= 0 ;
2974 PyObject
* obj1
= 0 ;
2975 PyObject
* obj2
= 0 ;
2977 (char *) "self",(char *) "n",(char *) "string", NULL
2980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2983 arg2
= (int)SWIG_As_int(obj1
);
2984 if (PyErr_Occurred()) SWIG_fail
;
2986 arg3
= wxString_in_helper(obj2
);
2987 if (arg3
== NULL
) SWIG_fail
;
2991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2992 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2994 wxPyEndAllowThreads(__tstate
);
2995 if (PyErr_Occurred()) SWIG_fail
;
2997 Py_INCREF(Py_None
); resultobj
= Py_None
;
3012 static PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3013 PyObject
*resultobj
;
3014 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
3015 wxVisualAttributes result
;
3016 PyObject
* obj0
= 0 ;
3018 (char *) "variant", NULL
3021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3023 arg1
= (int)SWIG_As_int(obj0
);
3024 if (PyErr_Occurred()) SWIG_fail
;
3027 if (!wxPyCheckForApp()) SWIG_fail
;
3028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3029 result
= wxChoice::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3031 wxPyEndAllowThreads(__tstate
);
3032 if (PyErr_Occurred()) SWIG_fail
;
3035 wxVisualAttributes
* resultptr
;
3036 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
3037 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3045 static PyObject
* Choice_swigregister(PyObject
*, PyObject
*args
) {
3047 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3048 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
3050 return Py_BuildValue((char *)"");
3052 static int _wrap_ComboBoxNameStr_set(PyObject
*) {
3053 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
3058 static PyObject
*_wrap_ComboBoxNameStr_get() {
3063 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
3065 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
3072 static PyObject
*_wrap_new_ComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3073 PyObject
*resultobj
;
3074 wxWindow
*arg1
= (wxWindow
*) 0 ;
3075 int arg2
= (int) -1 ;
3076 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3077 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3078 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3079 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3080 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3081 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3082 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
3083 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
3084 long arg7
= (long) 0 ;
3085 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3086 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3087 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
3088 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3090 bool temp3
= false ;
3093 bool temp6
= false ;
3094 bool temp9
= false ;
3095 PyObject
* obj0
= 0 ;
3096 PyObject
* obj1
= 0 ;
3097 PyObject
* obj2
= 0 ;
3098 PyObject
* obj3
= 0 ;
3099 PyObject
* obj4
= 0 ;
3100 PyObject
* obj5
= 0 ;
3101 PyObject
* obj6
= 0 ;
3102 PyObject
* obj7
= 0 ;
3103 PyObject
* obj8
= 0 ;
3105 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3112 arg2
= (int)SWIG_As_int(obj1
);
3113 if (PyErr_Occurred()) SWIG_fail
;
3117 arg3
= wxString_in_helper(obj2
);
3118 if (arg3
== NULL
) SWIG_fail
;
3125 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3131 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3136 if (! PySequence_Check(obj5
)) {
3137 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3140 arg6
= new wxArrayString
;
3142 int i
, len
=PySequence_Length(obj5
);
3143 for (i
=0; i
<len
; i
++) {
3144 PyObject
* item
= PySequence_GetItem(obj5
, i
);
3146 PyObject
* str
= PyObject_Unicode(item
);
3148 PyObject
* str
= PyObject_Str(item
);
3150 if (PyErr_Occurred()) SWIG_fail
;
3151 arg6
->Add(Py2wxString(str
));
3158 arg7
= (long)SWIG_As_long(obj6
);
3159 if (PyErr_Occurred()) SWIG_fail
;
3162 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
3163 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3166 PyErr_SetString(PyExc_TypeError
,"null reference");
3172 arg9
= wxString_in_helper(obj8
);
3173 if (arg9
== NULL
) SWIG_fail
;
3178 if (!wxPyCheckForApp()) SWIG_fail
;
3179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3180 result
= (wxComboBox
*)new wxComboBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3182 wxPyEndAllowThreads(__tstate
);
3183 if (PyErr_Occurred()) SWIG_fail
;
3185 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
3191 if (temp6
) delete arg6
;
3204 if (temp6
) delete arg6
;
3214 static PyObject
*_wrap_new_PreComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3215 PyObject
*resultobj
;
3221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
3223 if (!wxPyCheckForApp()) SWIG_fail
;
3224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3225 result
= (wxComboBox
*)new wxComboBox();
3227 wxPyEndAllowThreads(__tstate
);
3228 if (PyErr_Occurred()) SWIG_fail
;
3230 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
3237 static PyObject
*_wrap_ComboBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3238 PyObject
*resultobj
;
3239 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3240 wxWindow
*arg2
= (wxWindow
*) 0 ;
3241 int arg3
= (int) -1 ;
3242 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3243 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3244 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3245 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3246 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3247 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3248 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
3249 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
3250 long arg8
= (long) 0 ;
3251 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
3252 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
3253 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
3254 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
3256 bool temp4
= false ;
3259 bool temp7
= false ;
3260 bool temp10
= false ;
3261 PyObject
* obj0
= 0 ;
3262 PyObject
* obj1
= 0 ;
3263 PyObject
* obj2
= 0 ;
3264 PyObject
* obj3
= 0 ;
3265 PyObject
* obj4
= 0 ;
3266 PyObject
* obj5
= 0 ;
3267 PyObject
* obj6
= 0 ;
3268 PyObject
* obj7
= 0 ;
3269 PyObject
* obj8
= 0 ;
3270 PyObject
* obj9
= 0 ;
3272 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
3276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3278 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3281 arg3
= (int)SWIG_As_int(obj2
);
3282 if (PyErr_Occurred()) SWIG_fail
;
3286 arg4
= wxString_in_helper(obj3
);
3287 if (arg4
== NULL
) SWIG_fail
;
3294 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3300 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3305 if (! PySequence_Check(obj6
)) {
3306 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3309 arg7
= new wxArrayString
;
3311 int i
, len
=PySequence_Length(obj6
);
3312 for (i
=0; i
<len
; i
++) {
3313 PyObject
* item
= PySequence_GetItem(obj6
, i
);
3315 PyObject
* str
= PyObject_Unicode(item
);
3317 PyObject
* str
= PyObject_Str(item
);
3319 if (PyErr_Occurred()) SWIG_fail
;
3320 arg7
->Add(Py2wxString(str
));
3327 arg8
= (long)SWIG_As_long(obj7
);
3328 if (PyErr_Occurred()) SWIG_fail
;
3331 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
3332 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3335 PyErr_SetString(PyExc_TypeError
,"null reference");
3341 arg10
= wxString_in_helper(obj9
);
3342 if (arg10
== NULL
) SWIG_fail
;
3347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3348 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxArrayString
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
3350 wxPyEndAllowThreads(__tstate
);
3351 if (PyErr_Occurred()) SWIG_fail
;
3354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3361 if (temp7
) delete arg7
;
3374 if (temp7
) delete arg7
;
3384 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3385 PyObject
*resultobj
;
3386 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3388 PyObject
* obj0
= 0 ;
3390 (char *) "self", NULL
3393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
3394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3398 result
= ((wxComboBox
const *)arg1
)->GetValue();
3400 wxPyEndAllowThreads(__tstate
);
3401 if (PyErr_Occurred()) SWIG_fail
;
3405 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3407 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3416 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3417 PyObject
*resultobj
;
3418 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3419 wxString
*arg2
= 0 ;
3420 bool temp2
= false ;
3421 PyObject
* obj0
= 0 ;
3422 PyObject
* obj1
= 0 ;
3424 (char *) "self",(char *) "value", NULL
3427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3431 arg2
= wxString_in_helper(obj1
);
3432 if (arg2
== NULL
) SWIG_fail
;
3436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3437 (arg1
)->SetValue((wxString
const &)*arg2
);
3439 wxPyEndAllowThreads(__tstate
);
3440 if (PyErr_Occurred()) SWIG_fail
;
3442 Py_INCREF(Py_None
); resultobj
= Py_None
;
3457 static PyObject
*_wrap_ComboBox_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3458 PyObject
*resultobj
;
3459 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3460 PyObject
* obj0
= 0 ;
3462 (char *) "self", NULL
3465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
3466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3472 wxPyEndAllowThreads(__tstate
);
3473 if (PyErr_Occurred()) SWIG_fail
;
3475 Py_INCREF(Py_None
); resultobj
= Py_None
;
3482 static PyObject
*_wrap_ComboBox_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3483 PyObject
*resultobj
;
3484 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3485 PyObject
* obj0
= 0 ;
3487 (char *) "self", NULL
3490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3497 wxPyEndAllowThreads(__tstate
);
3498 if (PyErr_Occurred()) SWIG_fail
;
3500 Py_INCREF(Py_None
); resultobj
= Py_None
;
3507 static PyObject
*_wrap_ComboBox_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3508 PyObject
*resultobj
;
3509 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3510 PyObject
* obj0
= 0 ;
3512 (char *) "self", NULL
3515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3522 wxPyEndAllowThreads(__tstate
);
3523 if (PyErr_Occurred()) SWIG_fail
;
3525 Py_INCREF(Py_None
); resultobj
= Py_None
;
3532 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3533 PyObject
*resultobj
;
3534 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3536 PyObject
* obj0
= 0 ;
3537 PyObject
* obj1
= 0 ;
3539 (char *) "self",(char *) "pos", NULL
3542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3545 arg2
= (long)SWIG_As_long(obj1
);
3546 if (PyErr_Occurred()) SWIG_fail
;
3548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3549 (arg1
)->SetInsertionPoint(arg2
);
3551 wxPyEndAllowThreads(__tstate
);
3552 if (PyErr_Occurred()) SWIG_fail
;
3554 Py_INCREF(Py_None
); resultobj
= Py_None
;
3561 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3562 PyObject
*resultobj
;
3563 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3565 PyObject
* obj0
= 0 ;
3567 (char *) "self", NULL
3570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3575 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3577 wxPyEndAllowThreads(__tstate
);
3578 if (PyErr_Occurred()) SWIG_fail
;
3580 resultobj
= SWIG_From_long((long)result
);
3587 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3588 PyObject
*resultobj
;
3589 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3591 PyObject
* obj0
= 0 ;
3593 (char *) "self", NULL
3596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3601 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3603 wxPyEndAllowThreads(__tstate
);
3604 if (PyErr_Occurred()) SWIG_fail
;
3606 resultobj
= SWIG_From_long((long)result
);
3613 static PyObject
*_wrap_ComboBox_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3614 PyObject
*resultobj
;
3615 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3618 wxString
*arg4
= 0 ;
3619 bool temp4
= false ;
3620 PyObject
* obj0
= 0 ;
3621 PyObject
* obj1
= 0 ;
3622 PyObject
* obj2
= 0 ;
3623 PyObject
* obj3
= 0 ;
3625 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3631 arg2
= (long)SWIG_As_long(obj1
);
3632 if (PyErr_Occurred()) SWIG_fail
;
3633 arg3
= (long)SWIG_As_long(obj2
);
3634 if (PyErr_Occurred()) SWIG_fail
;
3636 arg4
= wxString_in_helper(obj3
);
3637 if (arg4
== NULL
) SWIG_fail
;
3641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3642 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3644 wxPyEndAllowThreads(__tstate
);
3645 if (PyErr_Occurred()) SWIG_fail
;
3647 Py_INCREF(Py_None
); resultobj
= Py_None
;
3662 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3663 PyObject
*resultobj
;
3664 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3666 PyObject
* obj0
= 0 ;
3667 PyObject
* obj1
= 0 ;
3669 (char *) "self",(char *) "n", NULL
3672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3675 arg2
= (int)SWIG_As_int(obj1
);
3676 if (PyErr_Occurred()) SWIG_fail
;
3678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3679 (arg1
)->SetSelection(arg2
);
3681 wxPyEndAllowThreads(__tstate
);
3682 if (PyErr_Occurred()) SWIG_fail
;
3684 Py_INCREF(Py_None
); resultobj
= Py_None
;
3691 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3692 PyObject
*resultobj
;
3693 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3696 PyObject
* obj0
= 0 ;
3697 PyObject
* obj1
= 0 ;
3698 PyObject
* obj2
= 0 ;
3700 (char *) "self",(char *) "from",(char *) "to", NULL
3703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3706 arg2
= (long)SWIG_As_long(obj1
);
3707 if (PyErr_Occurred()) SWIG_fail
;
3708 arg3
= (long)SWIG_As_long(obj2
);
3709 if (PyErr_Occurred()) SWIG_fail
;
3711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3712 (arg1
)->SetSelection(arg2
,arg3
);
3714 wxPyEndAllowThreads(__tstate
);
3715 if (PyErr_Occurred()) SWIG_fail
;
3717 Py_INCREF(Py_None
); resultobj
= Py_None
;
3724 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3725 PyObject
*resultobj
;
3726 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3727 wxString
*arg2
= 0 ;
3729 bool temp2
= false ;
3730 PyObject
* obj0
= 0 ;
3731 PyObject
* obj1
= 0 ;
3733 (char *) "self",(char *) "string", NULL
3736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3740 arg2
= wxString_in_helper(obj1
);
3741 if (arg2
== NULL
) SWIG_fail
;
3745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3746 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
3748 wxPyEndAllowThreads(__tstate
);
3749 if (PyErr_Occurred()) SWIG_fail
;
3752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3768 static PyObject
*_wrap_ComboBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3769 PyObject
*resultobj
;
3770 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3772 wxString
*arg3
= 0 ;
3773 bool temp3
= false ;
3774 PyObject
* obj0
= 0 ;
3775 PyObject
* obj1
= 0 ;
3776 PyObject
* obj2
= 0 ;
3778 (char *) "self",(char *) "n",(char *) "string", NULL
3781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3784 arg2
= (int)SWIG_As_int(obj1
);
3785 if (PyErr_Occurred()) SWIG_fail
;
3787 arg3
= wxString_in_helper(obj2
);
3788 if (arg3
== NULL
) SWIG_fail
;
3792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3793 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
3795 wxPyEndAllowThreads(__tstate
);
3796 if (PyErr_Occurred()) SWIG_fail
;
3798 Py_INCREF(Py_None
); resultobj
= Py_None
;
3813 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3814 PyObject
*resultobj
;
3815 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3817 PyObject
* obj0
= 0 ;
3818 PyObject
* obj1
= 0 ;
3820 (char *) "self",(char *) "editable", NULL
3823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3826 arg2
= (bool)SWIG_As_bool(obj1
);
3827 if (PyErr_Occurred()) SWIG_fail
;
3829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3830 (arg1
)->SetEditable(arg2
);
3832 wxPyEndAllowThreads(__tstate
);
3833 if (PyErr_Occurred()) SWIG_fail
;
3835 Py_INCREF(Py_None
); resultobj
= Py_None
;
3842 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3843 PyObject
*resultobj
;
3844 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3845 PyObject
* obj0
= 0 ;
3847 (char *) "self", NULL
3850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3855 (arg1
)->SetInsertionPointEnd();
3857 wxPyEndAllowThreads(__tstate
);
3858 if (PyErr_Occurred()) SWIG_fail
;
3860 Py_INCREF(Py_None
); resultobj
= Py_None
;
3867 static PyObject
*_wrap_ComboBox_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3868 PyObject
*resultobj
;
3869 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3872 PyObject
* obj0
= 0 ;
3873 PyObject
* obj1
= 0 ;
3874 PyObject
* obj2
= 0 ;
3876 (char *) "self",(char *) "from",(char *) "to", NULL
3879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3882 arg2
= (long)SWIG_As_long(obj1
);
3883 if (PyErr_Occurred()) SWIG_fail
;
3884 arg3
= (long)SWIG_As_long(obj2
);
3885 if (PyErr_Occurred()) SWIG_fail
;
3887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3888 (arg1
)->Remove(arg2
,arg3
);
3890 wxPyEndAllowThreads(__tstate
);
3891 if (PyErr_Occurred()) SWIG_fail
;
3893 Py_INCREF(Py_None
); resultobj
= Py_None
;
3900 static PyObject
*_wrap_ComboBox_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3901 PyObject
*resultobj
;
3902 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3904 PyObject
* obj0
= 0 ;
3906 (char *) "self", NULL
3909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_IsEditable",kwnames
,&obj0
)) goto fail
;
3910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3914 result
= (bool)((wxComboBox
const *)arg1
)->IsEditable();
3916 wxPyEndAllowThreads(__tstate
);
3917 if (PyErr_Occurred()) SWIG_fail
;
3920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3928 static PyObject
*_wrap_ComboBox_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3929 PyObject
*resultobj
;
3930 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3931 PyObject
* obj0
= 0 ;
3933 (char *) "self", NULL
3936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Undo",kwnames
,&obj0
)) goto fail
;
3937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3943 wxPyEndAllowThreads(__tstate
);
3944 if (PyErr_Occurred()) SWIG_fail
;
3946 Py_INCREF(Py_None
); resultobj
= Py_None
;
3953 static PyObject
*_wrap_ComboBox_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3954 PyObject
*resultobj
;
3955 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3956 PyObject
* obj0
= 0 ;
3958 (char *) "self", NULL
3961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Redo",kwnames
,&obj0
)) goto fail
;
3962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3968 wxPyEndAllowThreads(__tstate
);
3969 if (PyErr_Occurred()) SWIG_fail
;
3971 Py_INCREF(Py_None
); resultobj
= Py_None
;
3978 static PyObject
*_wrap_ComboBox_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3979 PyObject
*resultobj
;
3980 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3981 PyObject
* obj0
= 0 ;
3983 (char *) "self", NULL
3986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SelectAll",kwnames
,&obj0
)) goto fail
;
3987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3991 (arg1
)->SelectAll();
3993 wxPyEndAllowThreads(__tstate
);
3994 if (PyErr_Occurred()) SWIG_fail
;
3996 Py_INCREF(Py_None
); resultobj
= Py_None
;
4003 static PyObject
*_wrap_ComboBox_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4004 PyObject
*resultobj
;
4005 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4007 PyObject
* obj0
= 0 ;
4009 (char *) "self", NULL
4012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCopy",kwnames
,&obj0
)) goto fail
;
4013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
4014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4017 result
= (bool)((wxComboBox
const *)arg1
)->CanCopy();
4019 wxPyEndAllowThreads(__tstate
);
4020 if (PyErr_Occurred()) SWIG_fail
;
4023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4031 static PyObject
*_wrap_ComboBox_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4032 PyObject
*resultobj
;
4033 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4035 PyObject
* obj0
= 0 ;
4037 (char *) "self", NULL
4040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanCut",kwnames
,&obj0
)) goto fail
;
4041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
4042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4045 result
= (bool)((wxComboBox
const *)arg1
)->CanCut();
4047 wxPyEndAllowThreads(__tstate
);
4048 if (PyErr_Occurred()) SWIG_fail
;
4051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4059 static PyObject
*_wrap_ComboBox_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4060 PyObject
*resultobj
;
4061 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4063 PyObject
* obj0
= 0 ;
4065 (char *) "self", NULL
4068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanPaste",kwnames
,&obj0
)) goto fail
;
4069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
4070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4073 result
= (bool)((wxComboBox
const *)arg1
)->CanPaste();
4075 wxPyEndAllowThreads(__tstate
);
4076 if (PyErr_Occurred()) SWIG_fail
;
4079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4087 static PyObject
*_wrap_ComboBox_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4088 PyObject
*resultobj
;
4089 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4091 PyObject
* obj0
= 0 ;
4093 (char *) "self", NULL
4096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanUndo",kwnames
,&obj0
)) goto fail
;
4097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
4098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4101 result
= (bool)((wxComboBox
const *)arg1
)->CanUndo();
4103 wxPyEndAllowThreads(__tstate
);
4104 if (PyErr_Occurred()) SWIG_fail
;
4107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4115 static PyObject
*_wrap_ComboBox_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4116 PyObject
*resultobj
;
4117 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
4119 PyObject
* obj0
= 0 ;
4121 (char *) "self", NULL
4124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_CanRedo",kwnames
,&obj0
)) goto fail
;
4125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
4126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4129 result
= (bool)((wxComboBox
const *)arg1
)->CanRedo();
4131 wxPyEndAllowThreads(__tstate
);
4132 if (PyErr_Occurred()) SWIG_fail
;
4135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4143 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4144 PyObject
*resultobj
;
4145 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4146 wxVisualAttributes result
;
4147 PyObject
* obj0
= 0 ;
4149 (char *) "variant", NULL
4152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4154 arg1
= (int)SWIG_As_int(obj0
);
4155 if (PyErr_Occurred()) SWIG_fail
;
4158 if (!wxPyCheckForApp()) SWIG_fail
;
4159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4160 result
= wxComboBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4162 wxPyEndAllowThreads(__tstate
);
4163 if (PyErr_Occurred()) SWIG_fail
;
4166 wxVisualAttributes
* resultptr
;
4167 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4168 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4176 static PyObject
* ComboBox_swigregister(PyObject
*, PyObject
*args
) {
4178 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4179 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
4181 return Py_BuildValue((char *)"");
4183 static int _wrap_GaugeNameStr_set(PyObject
*) {
4184 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
4189 static PyObject
*_wrap_GaugeNameStr_get() {
4194 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
4196 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
4203 static PyObject
*_wrap_new_Gauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4204 PyObject
*resultobj
;
4205 wxWindow
*arg1
= (wxWindow
*) 0 ;
4206 int arg2
= (int) -1 ;
4207 int arg3
= (int) 100 ;
4208 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4209 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4210 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4211 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4212 long arg6
= (long) wxGA_HORIZONTAL
;
4213 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4214 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4215 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
4216 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4220 bool temp8
= false ;
4221 PyObject
* obj0
= 0 ;
4222 PyObject
* obj1
= 0 ;
4223 PyObject
* obj2
= 0 ;
4224 PyObject
* obj3
= 0 ;
4225 PyObject
* obj4
= 0 ;
4226 PyObject
* obj5
= 0 ;
4227 PyObject
* obj6
= 0 ;
4228 PyObject
* obj7
= 0 ;
4230 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4237 arg2
= (int)SWIG_As_int(obj1
);
4238 if (PyErr_Occurred()) SWIG_fail
;
4241 arg3
= (int)SWIG_As_int(obj2
);
4242 if (PyErr_Occurred()) SWIG_fail
;
4247 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4253 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4257 arg6
= (long)SWIG_As_long(obj5
);
4258 if (PyErr_Occurred()) SWIG_fail
;
4261 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
4262 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4265 PyErr_SetString(PyExc_TypeError
,"null reference");
4271 arg8
= wxString_in_helper(obj7
);
4272 if (arg8
== NULL
) SWIG_fail
;
4277 if (!wxPyCheckForApp()) SWIG_fail
;
4278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4279 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4281 wxPyEndAllowThreads(__tstate
);
4282 if (PyErr_Occurred()) SWIG_fail
;
4284 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
4299 static PyObject
*_wrap_new_PreGauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4300 PyObject
*resultobj
;
4306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
4308 if (!wxPyCheckForApp()) SWIG_fail
;
4309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4310 result
= (wxGauge
*)new wxGauge();
4312 wxPyEndAllowThreads(__tstate
);
4313 if (PyErr_Occurred()) SWIG_fail
;
4315 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
4322 static PyObject
*_wrap_Gauge_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4323 PyObject
*resultobj
;
4324 wxGauge
*arg1
= (wxGauge
*) 0 ;
4325 wxWindow
*arg2
= (wxWindow
*) 0 ;
4326 int arg3
= (int) -1 ;
4327 int arg4
= (int) 100 ;
4328 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4329 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4330 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4331 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4332 long arg7
= (long) wxGA_HORIZONTAL
;
4333 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4334 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4335 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
4336 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4340 bool temp9
= false ;
4341 PyObject
* obj0
= 0 ;
4342 PyObject
* obj1
= 0 ;
4343 PyObject
* obj2
= 0 ;
4344 PyObject
* obj3
= 0 ;
4345 PyObject
* obj4
= 0 ;
4346 PyObject
* obj5
= 0 ;
4347 PyObject
* obj6
= 0 ;
4348 PyObject
* obj7
= 0 ;
4349 PyObject
* obj8
= 0 ;
4351 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4357 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4360 arg3
= (int)SWIG_As_int(obj2
);
4361 if (PyErr_Occurred()) SWIG_fail
;
4364 arg4
= (int)SWIG_As_int(obj3
);
4365 if (PyErr_Occurred()) SWIG_fail
;
4370 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4376 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4380 arg7
= (long)SWIG_As_long(obj6
);
4381 if (PyErr_Occurred()) SWIG_fail
;
4384 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
4385 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4388 PyErr_SetString(PyExc_TypeError
,"null reference");
4394 arg9
= wxString_in_helper(obj8
);
4395 if (arg9
== NULL
) SWIG_fail
;
4400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4401 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4403 wxPyEndAllowThreads(__tstate
);
4404 if (PyErr_Occurred()) SWIG_fail
;
4407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4423 static PyObject
*_wrap_Gauge_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4424 PyObject
*resultobj
;
4425 wxGauge
*arg1
= (wxGauge
*) 0 ;
4427 PyObject
* obj0
= 0 ;
4428 PyObject
* obj1
= 0 ;
4430 (char *) "self",(char *) "range", NULL
4433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
4434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4436 arg2
= (int)SWIG_As_int(obj1
);
4437 if (PyErr_Occurred()) SWIG_fail
;
4439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4440 (arg1
)->SetRange(arg2
);
4442 wxPyEndAllowThreads(__tstate
);
4443 if (PyErr_Occurred()) SWIG_fail
;
4445 Py_INCREF(Py_None
); resultobj
= Py_None
;
4452 static PyObject
*_wrap_Gauge_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4453 PyObject
*resultobj
;
4454 wxGauge
*arg1
= (wxGauge
*) 0 ;
4456 PyObject
* obj0
= 0 ;
4458 (char *) "self", NULL
4461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
4462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4466 result
= (int)((wxGauge
const *)arg1
)->GetRange();
4468 wxPyEndAllowThreads(__tstate
);
4469 if (PyErr_Occurred()) SWIG_fail
;
4471 resultobj
= SWIG_From_int((int)result
);
4478 static PyObject
*_wrap_Gauge_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4479 PyObject
*resultobj
;
4480 wxGauge
*arg1
= (wxGauge
*) 0 ;
4482 PyObject
* obj0
= 0 ;
4483 PyObject
* obj1
= 0 ;
4485 (char *) "self",(char *) "pos", NULL
4488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
4489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4491 arg2
= (int)SWIG_As_int(obj1
);
4492 if (PyErr_Occurred()) SWIG_fail
;
4494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4495 (arg1
)->SetValue(arg2
);
4497 wxPyEndAllowThreads(__tstate
);
4498 if (PyErr_Occurred()) SWIG_fail
;
4500 Py_INCREF(Py_None
); resultobj
= Py_None
;
4507 static PyObject
*_wrap_Gauge_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4508 PyObject
*resultobj
;
4509 wxGauge
*arg1
= (wxGauge
*) 0 ;
4511 PyObject
* obj0
= 0 ;
4513 (char *) "self", NULL
4516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
4517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4521 result
= (int)((wxGauge
const *)arg1
)->GetValue();
4523 wxPyEndAllowThreads(__tstate
);
4524 if (PyErr_Occurred()) SWIG_fail
;
4526 resultobj
= SWIG_From_int((int)result
);
4533 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4534 PyObject
*resultobj
;
4535 wxGauge
*arg1
= (wxGauge
*) 0 ;
4537 PyObject
* obj0
= 0 ;
4539 (char *) "self", NULL
4542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
4543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4547 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
4549 wxPyEndAllowThreads(__tstate
);
4550 if (PyErr_Occurred()) SWIG_fail
;
4553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4561 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4562 PyObject
*resultobj
;
4563 wxGauge
*arg1
= (wxGauge
*) 0 ;
4565 PyObject
* obj0
= 0 ;
4566 PyObject
* obj1
= 0 ;
4568 (char *) "self",(char *) "w", NULL
4571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4574 arg2
= (int)SWIG_As_int(obj1
);
4575 if (PyErr_Occurred()) SWIG_fail
;
4577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4578 (arg1
)->SetShadowWidth(arg2
);
4580 wxPyEndAllowThreads(__tstate
);
4581 if (PyErr_Occurred()) SWIG_fail
;
4583 Py_INCREF(Py_None
); resultobj
= Py_None
;
4590 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4591 PyObject
*resultobj
;
4592 wxGauge
*arg1
= (wxGauge
*) 0 ;
4594 PyObject
* obj0
= 0 ;
4596 (char *) "self", NULL
4599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
4600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4604 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
4606 wxPyEndAllowThreads(__tstate
);
4607 if (PyErr_Occurred()) SWIG_fail
;
4609 resultobj
= SWIG_From_int((int)result
);
4616 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4617 PyObject
*resultobj
;
4618 wxGauge
*arg1
= (wxGauge
*) 0 ;
4620 PyObject
* obj0
= 0 ;
4621 PyObject
* obj1
= 0 ;
4623 (char *) "self",(char *) "w", NULL
4626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
4627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4629 arg2
= (int)SWIG_As_int(obj1
);
4630 if (PyErr_Occurred()) SWIG_fail
;
4632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4633 (arg1
)->SetBezelFace(arg2
);
4635 wxPyEndAllowThreads(__tstate
);
4636 if (PyErr_Occurred()) SWIG_fail
;
4638 Py_INCREF(Py_None
); resultobj
= Py_None
;
4645 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4646 PyObject
*resultobj
;
4647 wxGauge
*arg1
= (wxGauge
*) 0 ;
4649 PyObject
* obj0
= 0 ;
4651 (char *) "self", NULL
4654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
4655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4659 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
4661 wxPyEndAllowThreads(__tstate
);
4662 if (PyErr_Occurred()) SWIG_fail
;
4664 resultobj
= SWIG_From_int((int)result
);
4671 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4672 PyObject
*resultobj
;
4673 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4674 wxVisualAttributes result
;
4675 PyObject
* obj0
= 0 ;
4677 (char *) "variant", NULL
4680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4682 arg1
= (int)SWIG_As_int(obj0
);
4683 if (PyErr_Occurred()) SWIG_fail
;
4686 if (!wxPyCheckForApp()) SWIG_fail
;
4687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4688 result
= wxGauge::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4690 wxPyEndAllowThreads(__tstate
);
4691 if (PyErr_Occurred()) SWIG_fail
;
4694 wxVisualAttributes
* resultptr
;
4695 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4696 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4704 static PyObject
* Gauge_swigregister(PyObject
*, PyObject
*args
) {
4706 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4707 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
4709 return Py_BuildValue((char *)"");
4711 static int _wrap_StaticBitmapNameStr_set(PyObject
*) {
4712 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
4717 static PyObject
*_wrap_StaticBitmapNameStr_get() {
4722 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4724 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4731 static int _wrap_StaticBoxNameStr_set(PyObject
*) {
4732 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
4737 static PyObject
*_wrap_StaticBoxNameStr_get() {
4742 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4744 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4751 static int _wrap_StaticTextNameStr_set(PyObject
*) {
4752 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
4757 static PyObject
*_wrap_StaticTextNameStr_get() {
4762 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4764 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4771 static PyObject
*_wrap_new_StaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4772 PyObject
*resultobj
;
4773 wxWindow
*arg1
= (wxWindow
*) 0 ;
4774 int arg2
= (int) -1 ;
4775 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4776 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4777 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4778 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4779 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4780 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4781 long arg6
= (long) 0 ;
4782 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
4783 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4784 wxStaticBox
*result
;
4785 bool temp3
= false ;
4788 bool temp7
= false ;
4789 PyObject
* obj0
= 0 ;
4790 PyObject
* obj1
= 0 ;
4791 PyObject
* obj2
= 0 ;
4792 PyObject
* obj3
= 0 ;
4793 PyObject
* obj4
= 0 ;
4794 PyObject
* obj5
= 0 ;
4795 PyObject
* obj6
= 0 ;
4797 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4804 arg2
= (int)SWIG_As_int(obj1
);
4805 if (PyErr_Occurred()) SWIG_fail
;
4809 arg3
= wxString_in_helper(obj2
);
4810 if (arg3
== NULL
) SWIG_fail
;
4817 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4823 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4827 arg6
= (long)SWIG_As_long(obj5
);
4828 if (PyErr_Occurred()) SWIG_fail
;
4832 arg7
= wxString_in_helper(obj6
);
4833 if (arg7
== NULL
) SWIG_fail
;
4838 if (!wxPyCheckForApp()) SWIG_fail
;
4839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4840 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4842 wxPyEndAllowThreads(__tstate
);
4843 if (PyErr_Occurred()) SWIG_fail
;
4845 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
4868 static PyObject
*_wrap_new_PreStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4869 PyObject
*resultobj
;
4870 wxStaticBox
*result
;
4875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4877 if (!wxPyCheckForApp()) SWIG_fail
;
4878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4879 result
= (wxStaticBox
*)new wxStaticBox();
4881 wxPyEndAllowThreads(__tstate
);
4882 if (PyErr_Occurred()) SWIG_fail
;
4884 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
4891 static PyObject
*_wrap_StaticBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4892 PyObject
*resultobj
;
4893 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4894 wxWindow
*arg2
= (wxWindow
*) 0 ;
4895 int arg3
= (int) -1 ;
4896 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4897 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4898 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4899 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4900 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4901 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4902 long arg7
= (long) 0 ;
4903 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4904 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4906 bool temp4
= false ;
4909 bool temp8
= false ;
4910 PyObject
* obj0
= 0 ;
4911 PyObject
* obj1
= 0 ;
4912 PyObject
* obj2
= 0 ;
4913 PyObject
* obj3
= 0 ;
4914 PyObject
* obj4
= 0 ;
4915 PyObject
* obj5
= 0 ;
4916 PyObject
* obj6
= 0 ;
4917 PyObject
* obj7
= 0 ;
4919 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
4924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4925 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4928 arg3
= (int)SWIG_As_int(obj2
);
4929 if (PyErr_Occurred()) SWIG_fail
;
4933 arg4
= wxString_in_helper(obj3
);
4934 if (arg4
== NULL
) SWIG_fail
;
4941 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4947 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4951 arg7
= (long)SWIG_As_long(obj6
);
4952 if (PyErr_Occurred()) SWIG_fail
;
4956 arg8
= wxString_in_helper(obj7
);
4957 if (arg8
== NULL
) SWIG_fail
;
4962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4963 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4965 wxPyEndAllowThreads(__tstate
);
4966 if (PyErr_Occurred()) SWIG_fail
;
4969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4993 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4994 PyObject
*resultobj
;
4995 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4996 wxVisualAttributes result
;
4997 PyObject
* obj0
= 0 ;
4999 (char *) "variant", NULL
5002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5004 arg1
= (int)SWIG_As_int(obj0
);
5005 if (PyErr_Occurred()) SWIG_fail
;
5008 if (!wxPyCheckForApp()) SWIG_fail
;
5009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5010 result
= wxStaticBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5012 wxPyEndAllowThreads(__tstate
);
5013 if (PyErr_Occurred()) SWIG_fail
;
5016 wxVisualAttributes
* resultptr
;
5017 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5018 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5026 static PyObject
* StaticBox_swigregister(PyObject
*, PyObject
*args
) {
5028 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5029 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
5031 return Py_BuildValue((char *)"");
5033 static PyObject
*_wrap_new_StaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5034 PyObject
*resultobj
;
5035 wxWindow
*arg1
= (wxWindow
*) 0 ;
5036 int arg2
= (int) -1 ;
5037 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5038 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5039 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5040 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5041 long arg5
= (long) wxLI_HORIZONTAL
;
5042 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
5043 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
5044 wxStaticLine
*result
;
5047 bool temp6
= false ;
5048 PyObject
* obj0
= 0 ;
5049 PyObject
* obj1
= 0 ;
5050 PyObject
* obj2
= 0 ;
5051 PyObject
* obj3
= 0 ;
5052 PyObject
* obj4
= 0 ;
5053 PyObject
* obj5
= 0 ;
5055 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
5059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5062 arg2
= (int)SWIG_As_int(obj1
);
5063 if (PyErr_Occurred()) SWIG_fail
;
5068 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5074 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5078 arg5
= (long)SWIG_As_long(obj4
);
5079 if (PyErr_Occurred()) SWIG_fail
;
5083 arg6
= wxString_in_helper(obj5
);
5084 if (arg6
== NULL
) SWIG_fail
;
5089 if (!wxPyCheckForApp()) SWIG_fail
;
5090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5091 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
5093 wxPyEndAllowThreads(__tstate
);
5094 if (PyErr_Occurred()) SWIG_fail
;
5096 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
5111 static PyObject
*_wrap_new_PreStaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5112 PyObject
*resultobj
;
5113 wxStaticLine
*result
;
5118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
5120 if (!wxPyCheckForApp()) SWIG_fail
;
5121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5122 result
= (wxStaticLine
*)new wxStaticLine();
5124 wxPyEndAllowThreads(__tstate
);
5125 if (PyErr_Occurred()) SWIG_fail
;
5127 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
5134 static PyObject
*_wrap_StaticLine_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5135 PyObject
*resultobj
;
5136 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
5137 wxWindow
*arg2
= (wxWindow
*) 0 ;
5138 int arg3
= (int) -1 ;
5139 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5140 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5141 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5142 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5143 long arg6
= (long) wxLI_HORIZONTAL
;
5144 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
5145 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5149 bool temp7
= false ;
5150 PyObject
* obj0
= 0 ;
5151 PyObject
* obj1
= 0 ;
5152 PyObject
* obj2
= 0 ;
5153 PyObject
* obj3
= 0 ;
5154 PyObject
* obj4
= 0 ;
5155 PyObject
* obj5
= 0 ;
5156 PyObject
* obj6
= 0 ;
5158 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
5163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5164 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5167 arg3
= (int)SWIG_As_int(obj2
);
5168 if (PyErr_Occurred()) SWIG_fail
;
5173 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5179 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5183 arg6
= (long)SWIG_As_long(obj5
);
5184 if (PyErr_Occurred()) SWIG_fail
;
5188 arg7
= wxString_in_helper(obj6
);
5189 if (arg7
== NULL
) SWIG_fail
;
5194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5195 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5197 wxPyEndAllowThreads(__tstate
);
5198 if (PyErr_Occurred()) SWIG_fail
;
5201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5217 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5218 PyObject
*resultobj
;
5219 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
5221 PyObject
* obj0
= 0 ;
5223 (char *) "self", NULL
5226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
5227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
5228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5231 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
5233 wxPyEndAllowThreads(__tstate
);
5234 if (PyErr_Occurred()) SWIG_fail
;
5237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5245 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5246 PyObject
*resultobj
;
5252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
5254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5255 result
= (int)wxStaticLine::GetDefaultSize();
5257 wxPyEndAllowThreads(__tstate
);
5258 if (PyErr_Occurred()) SWIG_fail
;
5260 resultobj
= SWIG_From_int((int)result
);
5267 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5268 PyObject
*resultobj
;
5269 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5270 wxVisualAttributes result
;
5271 PyObject
* obj0
= 0 ;
5273 (char *) "variant", NULL
5276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5278 arg1
= (int)SWIG_As_int(obj0
);
5279 if (PyErr_Occurred()) SWIG_fail
;
5282 if (!wxPyCheckForApp()) SWIG_fail
;
5283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5284 result
= wxStaticLine::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5286 wxPyEndAllowThreads(__tstate
);
5287 if (PyErr_Occurred()) SWIG_fail
;
5290 wxVisualAttributes
* resultptr
;
5291 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5292 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5300 static PyObject
* StaticLine_swigregister(PyObject
*, PyObject
*args
) {
5302 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5303 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
5305 return Py_BuildValue((char *)"");
5307 static PyObject
*_wrap_new_StaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5308 PyObject
*resultobj
;
5309 wxWindow
*arg1
= (wxWindow
*) 0 ;
5310 int arg2
= (int) -1 ;
5311 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5312 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5313 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5314 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5315 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5316 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5317 long arg6
= (long) 0 ;
5318 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
5319 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5320 wxStaticText
*result
;
5321 bool temp3
= false ;
5324 bool temp7
= false ;
5325 PyObject
* obj0
= 0 ;
5326 PyObject
* obj1
= 0 ;
5327 PyObject
* obj2
= 0 ;
5328 PyObject
* obj3
= 0 ;
5329 PyObject
* obj4
= 0 ;
5330 PyObject
* obj5
= 0 ;
5331 PyObject
* obj6
= 0 ;
5333 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5340 arg2
= (int)SWIG_As_int(obj1
);
5341 if (PyErr_Occurred()) SWIG_fail
;
5345 arg3
= wxString_in_helper(obj2
);
5346 if (arg3
== NULL
) SWIG_fail
;
5353 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5359 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5363 arg6
= (long)SWIG_As_long(obj5
);
5364 if (PyErr_Occurred()) SWIG_fail
;
5368 arg7
= wxString_in_helper(obj6
);
5369 if (arg7
== NULL
) SWIG_fail
;
5374 if (!wxPyCheckForApp()) SWIG_fail
;
5375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5376 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5378 wxPyEndAllowThreads(__tstate
);
5379 if (PyErr_Occurred()) SWIG_fail
;
5381 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
5404 static PyObject
*_wrap_new_PreStaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5405 PyObject
*resultobj
;
5406 wxStaticText
*result
;
5411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
5413 if (!wxPyCheckForApp()) SWIG_fail
;
5414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5415 result
= (wxStaticText
*)new wxStaticText();
5417 wxPyEndAllowThreads(__tstate
);
5418 if (PyErr_Occurred()) SWIG_fail
;
5420 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
5427 static PyObject
*_wrap_StaticText_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5428 PyObject
*resultobj
;
5429 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
5430 wxWindow
*arg2
= (wxWindow
*) 0 ;
5431 int arg3
= (int) -1 ;
5432 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5433 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5434 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5435 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5436 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5437 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5438 long arg7
= (long) 0 ;
5439 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
5440 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5442 bool temp4
= false ;
5445 bool temp8
= false ;
5446 PyObject
* obj0
= 0 ;
5447 PyObject
* obj1
= 0 ;
5448 PyObject
* obj2
= 0 ;
5449 PyObject
* obj3
= 0 ;
5450 PyObject
* obj4
= 0 ;
5451 PyObject
* obj5
= 0 ;
5452 PyObject
* obj6
= 0 ;
5453 PyObject
* obj7
= 0 ;
5455 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticText
,
5460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5461 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5464 arg3
= (int)SWIG_As_int(obj2
);
5465 if (PyErr_Occurred()) SWIG_fail
;
5469 arg4
= wxString_in_helper(obj3
);
5470 if (arg4
== NULL
) SWIG_fail
;
5477 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5483 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5487 arg7
= (long)SWIG_As_long(obj6
);
5488 if (PyErr_Occurred()) SWIG_fail
;
5492 arg8
= wxString_in_helper(obj7
);
5493 if (arg8
== NULL
) SWIG_fail
;
5498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5499 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5501 wxPyEndAllowThreads(__tstate
);
5502 if (PyErr_Occurred()) SWIG_fail
;
5505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5529 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5530 PyObject
*resultobj
;
5531 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5532 wxVisualAttributes result
;
5533 PyObject
* obj0
= 0 ;
5535 (char *) "variant", NULL
5538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5540 arg1
= (int)SWIG_As_int(obj0
);
5541 if (PyErr_Occurred()) SWIG_fail
;
5544 if (!wxPyCheckForApp()) SWIG_fail
;
5545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5546 result
= wxStaticText::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5548 wxPyEndAllowThreads(__tstate
);
5549 if (PyErr_Occurred()) SWIG_fail
;
5552 wxVisualAttributes
* resultptr
;
5553 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5554 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5562 static PyObject
* StaticText_swigregister(PyObject
*, PyObject
*args
) {
5564 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5565 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
5567 return Py_BuildValue((char *)"");
5569 static PyObject
*_wrap_new_StaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5570 PyObject
*resultobj
;
5571 wxWindow
*arg1
= (wxWindow
*) 0 ;
5572 int arg2
= (int) -1 ;
5573 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
5574 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
5575 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5576 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5577 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5578 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5579 long arg6
= (long) 0 ;
5580 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
5581 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5582 wxStaticBitmap
*result
;
5585 bool temp7
= false ;
5586 PyObject
* obj0
= 0 ;
5587 PyObject
* obj1
= 0 ;
5588 PyObject
* obj2
= 0 ;
5589 PyObject
* obj3
= 0 ;
5590 PyObject
* obj4
= 0 ;
5591 PyObject
* obj5
= 0 ;
5592 PyObject
* obj6
= 0 ;
5594 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5601 arg2
= (int)SWIG_As_int(obj1
);
5602 if (PyErr_Occurred()) SWIG_fail
;
5605 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
5606 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5609 PyErr_SetString(PyExc_TypeError
,"null reference");
5616 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5622 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5626 arg6
= (long)SWIG_As_long(obj5
);
5627 if (PyErr_Occurred()) SWIG_fail
;
5631 arg7
= wxString_in_helper(obj6
);
5632 if (arg7
== NULL
) SWIG_fail
;
5637 if (!wxPyCheckForApp()) SWIG_fail
;
5638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5639 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5641 wxPyEndAllowThreads(__tstate
);
5642 if (PyErr_Occurred()) SWIG_fail
;
5644 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5659 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5660 PyObject
*resultobj
;
5661 wxStaticBitmap
*result
;
5666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
5668 if (!wxPyCheckForApp()) SWIG_fail
;
5669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5670 result
= (wxStaticBitmap
*)new wxStaticBitmap();
5672 wxPyEndAllowThreads(__tstate
);
5673 if (PyErr_Occurred()) SWIG_fail
;
5675 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5682 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5683 PyObject
*resultobj
;
5684 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5685 wxWindow
*arg2
= (wxWindow
*) 0 ;
5686 int arg3
= (int) -1 ;
5687 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
5688 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
5689 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5690 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5691 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5692 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5693 long arg7
= (long) 0 ;
5694 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
5695 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5699 bool temp8
= false ;
5700 PyObject
* obj0
= 0 ;
5701 PyObject
* obj1
= 0 ;
5702 PyObject
* obj2
= 0 ;
5703 PyObject
* obj3
= 0 ;
5704 PyObject
* obj4
= 0 ;
5705 PyObject
* obj5
= 0 ;
5706 PyObject
* obj6
= 0 ;
5707 PyObject
* obj7
= 0 ;
5709 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5715 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5718 arg3
= (int)SWIG_As_int(obj2
);
5719 if (PyErr_Occurred()) SWIG_fail
;
5722 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
5723 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5726 PyErr_SetString(PyExc_TypeError
,"null reference");
5733 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5739 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5743 arg7
= (long)SWIG_As_long(obj6
);
5744 if (PyErr_Occurred()) SWIG_fail
;
5748 arg8
= wxString_in_helper(obj7
);
5749 if (arg8
== NULL
) SWIG_fail
;
5754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5755 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5757 wxPyEndAllowThreads(__tstate
);
5758 if (PyErr_Occurred()) SWIG_fail
;
5761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5777 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5778 PyObject
*resultobj
;
5779 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5781 PyObject
* obj0
= 0 ;
5783 (char *) "self", NULL
5786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
5787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5791 result
= (arg1
)->GetBitmap();
5793 wxPyEndAllowThreads(__tstate
);
5794 if (PyErr_Occurred()) SWIG_fail
;
5797 wxBitmap
* resultptr
;
5798 resultptr
= new wxBitmap((wxBitmap
&) result
);
5799 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5807 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5808 PyObject
*resultobj
;
5809 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5810 wxBitmap
*arg2
= 0 ;
5811 PyObject
* obj0
= 0 ;
5812 PyObject
* obj1
= 0 ;
5814 (char *) "self",(char *) "bitmap", NULL
5817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5820 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5821 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5824 PyErr_SetString(PyExc_TypeError
,"null reference");
5828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5829 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
5831 wxPyEndAllowThreads(__tstate
);
5832 if (PyErr_Occurred()) SWIG_fail
;
5834 Py_INCREF(Py_None
); resultobj
= Py_None
;
5841 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5842 PyObject
*resultobj
;
5843 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5845 PyObject
* obj0
= 0 ;
5846 PyObject
* obj1
= 0 ;
5848 (char *) "self",(char *) "icon", NULL
5851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
5852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5854 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
5855 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5858 PyErr_SetString(PyExc_TypeError
,"null reference");
5862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5863 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5865 wxPyEndAllowThreads(__tstate
);
5866 if (PyErr_Occurred()) SWIG_fail
;
5868 Py_INCREF(Py_None
); resultobj
= Py_None
;
5875 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5876 PyObject
*resultobj
;
5877 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5878 wxVisualAttributes result
;
5879 PyObject
* obj0
= 0 ;
5881 (char *) "variant", NULL
5884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5886 arg1
= (int)SWIG_As_int(obj0
);
5887 if (PyErr_Occurred()) SWIG_fail
;
5890 if (!wxPyCheckForApp()) SWIG_fail
;
5891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5892 result
= wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5894 wxPyEndAllowThreads(__tstate
);
5895 if (PyErr_Occurred()) SWIG_fail
;
5898 wxVisualAttributes
* resultptr
;
5899 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5900 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5908 static PyObject
* StaticBitmap_swigregister(PyObject
*, PyObject
*args
) {
5910 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5911 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
5913 return Py_BuildValue((char *)"");
5915 static int _wrap_ListBoxNameStr_set(PyObject
*) {
5916 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
5921 static PyObject
*_wrap_ListBoxNameStr_get() {
5926 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5928 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5935 static PyObject
*_wrap_new_ListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5936 PyObject
*resultobj
;
5937 wxWindow
*arg1
= (wxWindow
*) 0 ;
5938 int arg2
= (int) -1 ;
5939 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5940 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5941 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5942 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5943 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5944 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5945 long arg6
= (long) 0 ;
5946 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5947 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5948 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5949 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5953 bool temp5
= false ;
5954 bool temp8
= false ;
5955 PyObject
* obj0
= 0 ;
5956 PyObject
* obj1
= 0 ;
5957 PyObject
* obj2
= 0 ;
5958 PyObject
* obj3
= 0 ;
5959 PyObject
* obj4
= 0 ;
5960 PyObject
* obj5
= 0 ;
5961 PyObject
* obj6
= 0 ;
5962 PyObject
* obj7
= 0 ;
5964 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5971 arg2
= (int)SWIG_As_int(obj1
);
5972 if (PyErr_Occurred()) SWIG_fail
;
5977 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5983 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5988 if (! PySequence_Check(obj4
)) {
5989 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5992 arg5
= new wxArrayString
;
5994 int i
, len
=PySequence_Length(obj4
);
5995 for (i
=0; i
<len
; i
++) {
5996 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5998 PyObject
* str
= PyObject_Unicode(item
);
6000 PyObject
* str
= PyObject_Str(item
);
6002 if (PyErr_Occurred()) SWIG_fail
;
6003 arg5
->Add(Py2wxString(str
));
6010 arg6
= (long)SWIG_As_long(obj5
);
6011 if (PyErr_Occurred()) SWIG_fail
;
6014 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
6015 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6018 PyErr_SetString(PyExc_TypeError
,"null reference");
6024 arg8
= wxString_in_helper(obj7
);
6025 if (arg8
== NULL
) SWIG_fail
;
6030 if (!wxPyCheckForApp()) SWIG_fail
;
6031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6032 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6034 wxPyEndAllowThreads(__tstate
);
6035 if (PyErr_Occurred()) SWIG_fail
;
6037 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
6039 if (temp5
) delete arg5
;
6048 if (temp5
) delete arg5
;
6058 static PyObject
*_wrap_new_PreListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6059 PyObject
*resultobj
;
6065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
6067 if (!wxPyCheckForApp()) SWIG_fail
;
6068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6069 result
= (wxListBox
*)new wxListBox();
6071 wxPyEndAllowThreads(__tstate
);
6072 if (PyErr_Occurred()) SWIG_fail
;
6074 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
6081 static PyObject
*_wrap_ListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6082 PyObject
*resultobj
;
6083 wxListBox
*arg1
= (wxListBox
*) 0 ;
6084 wxWindow
*arg2
= (wxWindow
*) 0 ;
6085 int arg3
= (int) -1 ;
6086 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6087 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6088 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6089 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6090 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
6091 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
6092 long arg7
= (long) 0 ;
6093 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6094 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6095 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
6096 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6100 bool temp6
= false ;
6101 bool temp9
= false ;
6102 PyObject
* obj0
= 0 ;
6103 PyObject
* obj1
= 0 ;
6104 PyObject
* obj2
= 0 ;
6105 PyObject
* obj3
= 0 ;
6106 PyObject
* obj4
= 0 ;
6107 PyObject
* obj5
= 0 ;
6108 PyObject
* obj6
= 0 ;
6109 PyObject
* obj7
= 0 ;
6110 PyObject
* obj8
= 0 ;
6112 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
6116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6118 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6121 arg3
= (int)SWIG_As_int(obj2
);
6122 if (PyErr_Occurred()) SWIG_fail
;
6127 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6133 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6138 if (! PySequence_Check(obj5
)) {
6139 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6142 arg6
= new wxArrayString
;
6144 int i
, len
=PySequence_Length(obj5
);
6145 for (i
=0; i
<len
; i
++) {
6146 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6148 PyObject
* str
= PyObject_Unicode(item
);
6150 PyObject
* str
= PyObject_Str(item
);
6152 if (PyErr_Occurred()) SWIG_fail
;
6153 arg6
->Add(Py2wxString(str
));
6160 arg7
= (long)SWIG_As_long(obj6
);
6161 if (PyErr_Occurred()) SWIG_fail
;
6164 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
6165 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6168 PyErr_SetString(PyExc_TypeError
,"null reference");
6174 arg9
= wxString_in_helper(obj8
);
6175 if (arg9
== NULL
) SWIG_fail
;
6180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6181 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6183 wxPyEndAllowThreads(__tstate
);
6184 if (PyErr_Occurred()) SWIG_fail
;
6187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6190 if (temp6
) delete arg6
;
6199 if (temp6
) delete arg6
;
6209 static PyObject
*_wrap_ListBox_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6210 PyObject
*resultobj
;
6211 wxListBox
*arg1
= (wxListBox
*) 0 ;
6212 wxString
*arg2
= 0 ;
6214 PyObject
*arg4
= (PyObject
*) NULL
;
6215 bool temp2
= false ;
6216 PyObject
* obj0
= 0 ;
6217 PyObject
* obj1
= 0 ;
6218 PyObject
* obj2
= 0 ;
6219 PyObject
* obj3
= 0 ;
6221 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
6224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6228 arg2
= wxString_in_helper(obj1
);
6229 if (arg2
== NULL
) SWIG_fail
;
6232 arg3
= (int)SWIG_As_int(obj2
);
6233 if (PyErr_Occurred()) SWIG_fail
;
6238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6239 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
6241 wxPyEndAllowThreads(__tstate
);
6242 if (PyErr_Occurred()) SWIG_fail
;
6244 Py_INCREF(Py_None
); resultobj
= Py_None
;
6259 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6260 PyObject
*resultobj
;
6261 wxListBox
*arg1
= (wxListBox
*) 0 ;
6262 wxArrayString
*arg2
= 0 ;
6264 bool temp2
= false ;
6265 PyObject
* obj0
= 0 ;
6266 PyObject
* obj1
= 0 ;
6267 PyObject
* obj2
= 0 ;
6269 (char *) "self",(char *) "items",(char *) "pos", NULL
6272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6276 if (! PySequence_Check(obj1
)) {
6277 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6280 arg2
= new wxArrayString
;
6282 int i
, len
=PySequence_Length(obj1
);
6283 for (i
=0; i
<len
; i
++) {
6284 PyObject
* item
= PySequence_GetItem(obj1
, i
);
6286 PyObject
* str
= PyObject_Unicode(item
);
6288 PyObject
* str
= PyObject_Str(item
);
6290 if (PyErr_Occurred()) SWIG_fail
;
6291 arg2
->Add(Py2wxString(str
));
6296 arg3
= (int)SWIG_As_int(obj2
);
6297 if (PyErr_Occurred()) SWIG_fail
;
6299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6300 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
6302 wxPyEndAllowThreads(__tstate
);
6303 if (PyErr_Occurred()) SWIG_fail
;
6305 Py_INCREF(Py_None
); resultobj
= Py_None
;
6307 if (temp2
) delete arg2
;
6312 if (temp2
) delete arg2
;
6318 static PyObject
*_wrap_ListBox_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6319 PyObject
*resultobj
;
6320 wxListBox
*arg1
= (wxListBox
*) 0 ;
6321 wxArrayString
*arg2
= 0 ;
6322 bool temp2
= false ;
6323 PyObject
* obj0
= 0 ;
6324 PyObject
* obj1
= 0 ;
6326 (char *) "self",(char *) "items", NULL
6329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
6330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6333 if (! PySequence_Check(obj1
)) {
6334 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6337 arg2
= new wxArrayString
;
6339 int i
, len
=PySequence_Length(obj1
);
6340 for (i
=0; i
<len
; i
++) {
6341 PyObject
* item
= PySequence_GetItem(obj1
, i
);
6343 PyObject
* str
= PyObject_Unicode(item
);
6345 PyObject
* str
= PyObject_Str(item
);
6347 if (PyErr_Occurred()) SWIG_fail
;
6348 arg2
->Add(Py2wxString(str
));
6354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6355 (arg1
)->Set((wxArrayString
const &)*arg2
);
6357 wxPyEndAllowThreads(__tstate
);
6358 if (PyErr_Occurred()) SWIG_fail
;
6360 Py_INCREF(Py_None
); resultobj
= Py_None
;
6362 if (temp2
) delete arg2
;
6367 if (temp2
) delete arg2
;
6373 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6374 PyObject
*resultobj
;
6375 wxListBox
*arg1
= (wxListBox
*) 0 ;
6378 PyObject
* obj0
= 0 ;
6379 PyObject
* obj1
= 0 ;
6381 (char *) "self",(char *) "n", NULL
6384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
6385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6387 arg2
= (int)SWIG_As_int(obj1
);
6388 if (PyErr_Occurred()) SWIG_fail
;
6390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6391 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
6393 wxPyEndAllowThreads(__tstate
);
6394 if (PyErr_Occurred()) SWIG_fail
;
6397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6405 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6406 PyObject
*resultobj
;
6407 wxListBox
*arg1
= (wxListBox
*) 0 ;
6409 bool arg3
= (bool) true ;
6410 PyObject
* obj0
= 0 ;
6411 PyObject
* obj1
= 0 ;
6412 PyObject
* obj2
= 0 ;
6414 (char *) "self",(char *) "n",(char *) "select", NULL
6417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6420 arg2
= (int)SWIG_As_int(obj1
);
6421 if (PyErr_Occurred()) SWIG_fail
;
6423 arg3
= (bool)SWIG_As_bool(obj2
);
6424 if (PyErr_Occurred()) SWIG_fail
;
6427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6428 (arg1
)->SetSelection(arg2
,arg3
);
6430 wxPyEndAllowThreads(__tstate
);
6431 if (PyErr_Occurred()) SWIG_fail
;
6433 Py_INCREF(Py_None
); resultobj
= Py_None
;
6440 static PyObject
*_wrap_ListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6441 PyObject
*resultobj
;
6442 wxListBox
*arg1
= (wxListBox
*) 0 ;
6444 PyObject
* obj0
= 0 ;
6445 PyObject
* obj1
= 0 ;
6447 (char *) "self",(char *) "n", NULL
6450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
6451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6453 arg2
= (int)SWIG_As_int(obj1
);
6454 if (PyErr_Occurred()) SWIG_fail
;
6456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6457 (arg1
)->Select(arg2
);
6459 wxPyEndAllowThreads(__tstate
);
6460 if (PyErr_Occurred()) SWIG_fail
;
6462 Py_INCREF(Py_None
); resultobj
= Py_None
;
6469 static PyObject
*_wrap_ListBox_Deselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6470 PyObject
*resultobj
;
6471 wxListBox
*arg1
= (wxListBox
*) 0 ;
6473 PyObject
* obj0
= 0 ;
6474 PyObject
* obj1
= 0 ;
6476 (char *) "self",(char *) "n", NULL
6479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
6480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6482 arg2
= (int)SWIG_As_int(obj1
);
6483 if (PyErr_Occurred()) SWIG_fail
;
6485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6486 (arg1
)->Deselect(arg2
);
6488 wxPyEndAllowThreads(__tstate
);
6489 if (PyErr_Occurred()) SWIG_fail
;
6491 Py_INCREF(Py_None
); resultobj
= Py_None
;
6498 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6499 PyObject
*resultobj
;
6500 wxListBox
*arg1
= (wxListBox
*) 0 ;
6501 int arg2
= (int) -1 ;
6502 PyObject
* obj0
= 0 ;
6503 PyObject
* obj1
= 0 ;
6505 (char *) "self",(char *) "itemToLeaveSelected", NULL
6508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
6509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6512 arg2
= (int)SWIG_As_int(obj1
);
6513 if (PyErr_Occurred()) SWIG_fail
;
6516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6517 (arg1
)->DeselectAll(arg2
);
6519 wxPyEndAllowThreads(__tstate
);
6520 if (PyErr_Occurred()) SWIG_fail
;
6522 Py_INCREF(Py_None
); resultobj
= Py_None
;
6529 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6530 PyObject
*resultobj
;
6531 wxListBox
*arg1
= (wxListBox
*) 0 ;
6532 wxString
*arg2
= 0 ;
6533 bool arg3
= (bool) true ;
6535 bool temp2
= false ;
6536 PyObject
* obj0
= 0 ;
6537 PyObject
* obj1
= 0 ;
6538 PyObject
* obj2
= 0 ;
6540 (char *) "self",(char *) "s",(char *) "select", NULL
6543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6547 arg2
= wxString_in_helper(obj1
);
6548 if (arg2
== NULL
) SWIG_fail
;
6552 arg3
= (bool)SWIG_As_bool(obj2
);
6553 if (PyErr_Occurred()) SWIG_fail
;
6556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6557 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
6559 wxPyEndAllowThreads(__tstate
);
6560 if (PyErr_Occurred()) SWIG_fail
;
6563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6579 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6580 PyObject
*resultobj
;
6581 wxListBox
*arg1
= (wxListBox
*) 0 ;
6583 PyObject
* obj0
= 0 ;
6585 (char *) "self", NULL
6588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
6589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6593 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
6595 wxPyEndAllowThreads(__tstate
);
6596 if (PyErr_Occurred()) SWIG_fail
;
6605 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6606 PyObject
*resultobj
;
6607 wxListBox
*arg1
= (wxListBox
*) 0 ;
6609 PyObject
* obj0
= 0 ;
6610 PyObject
* obj1
= 0 ;
6612 (char *) "self",(char *) "n", NULL
6615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
6616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6618 arg2
= (int)SWIG_As_int(obj1
);
6619 if (PyErr_Occurred()) SWIG_fail
;
6621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6622 (arg1
)->SetFirstItem(arg2
);
6624 wxPyEndAllowThreads(__tstate
);
6625 if (PyErr_Occurred()) SWIG_fail
;
6627 Py_INCREF(Py_None
); resultobj
= Py_None
;
6634 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6635 PyObject
*resultobj
;
6636 wxListBox
*arg1
= (wxListBox
*) 0 ;
6637 wxString
*arg2
= 0 ;
6638 bool temp2
= false ;
6639 PyObject
* obj0
= 0 ;
6640 PyObject
* obj1
= 0 ;
6642 (char *) "self",(char *) "s", NULL
6645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
6646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6649 arg2
= wxString_in_helper(obj1
);
6650 if (arg2
== NULL
) SWIG_fail
;
6654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6655 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
6657 wxPyEndAllowThreads(__tstate
);
6658 if (PyErr_Occurred()) SWIG_fail
;
6660 Py_INCREF(Py_None
); resultobj
= Py_None
;
6675 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6676 PyObject
*resultobj
;
6677 wxListBox
*arg1
= (wxListBox
*) 0 ;
6679 PyObject
* obj0
= 0 ;
6680 PyObject
* obj1
= 0 ;
6682 (char *) "self",(char *) "n", NULL
6685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6688 arg2
= (int)SWIG_As_int(obj1
);
6689 if (PyErr_Occurred()) SWIG_fail
;
6691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6692 (arg1
)->EnsureVisible(arg2
);
6694 wxPyEndAllowThreads(__tstate
);
6695 if (PyErr_Occurred()) SWIG_fail
;
6697 Py_INCREF(Py_None
); resultobj
= Py_None
;
6704 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6705 PyObject
*resultobj
;
6706 wxListBox
*arg1
= (wxListBox
*) 0 ;
6707 wxString
*arg2
= 0 ;
6708 bool temp2
= false ;
6709 PyObject
* obj0
= 0 ;
6710 PyObject
* obj1
= 0 ;
6712 (char *) "self",(char *) "s", NULL
6715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6719 arg2
= wxString_in_helper(obj1
);
6720 if (arg2
== NULL
) SWIG_fail
;
6724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6725 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
6727 wxPyEndAllowThreads(__tstate
);
6728 if (PyErr_Occurred()) SWIG_fail
;
6730 Py_INCREF(Py_None
); resultobj
= Py_None
;
6745 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6746 PyObject
*resultobj
;
6747 wxListBox
*arg1
= (wxListBox
*) 0 ;
6749 PyObject
* obj0
= 0 ;
6751 (char *) "self", NULL
6754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
6755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6759 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
6761 wxPyEndAllowThreads(__tstate
);
6762 if (PyErr_Occurred()) SWIG_fail
;
6765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6773 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6774 PyObject
*resultobj
;
6775 wxListBox
*arg1
= (wxListBox
*) 0 ;
6777 wxColour
*arg3
= 0 ;
6779 PyObject
* obj0
= 0 ;
6780 PyObject
* obj1
= 0 ;
6781 PyObject
* obj2
= 0 ;
6783 (char *) "self",(char *) "item",(char *) "c", NULL
6786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6789 arg2
= (int)SWIG_As_int(obj1
);
6790 if (PyErr_Occurred()) SWIG_fail
;
6793 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6797 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6799 wxPyEndAllowThreads(__tstate
);
6800 if (PyErr_Occurred()) SWIG_fail
;
6802 Py_INCREF(Py_None
); resultobj
= Py_None
;
6809 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6810 PyObject
*resultobj
;
6811 wxListBox
*arg1
= (wxListBox
*) 0 ;
6813 wxColour
*arg3
= 0 ;
6815 PyObject
* obj0
= 0 ;
6816 PyObject
* obj1
= 0 ;
6817 PyObject
* obj2
= 0 ;
6819 (char *) "self",(char *) "item",(char *) "c", NULL
6822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6825 arg2
= (int)SWIG_As_int(obj1
);
6826 if (PyErr_Occurred()) SWIG_fail
;
6829 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6833 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6835 wxPyEndAllowThreads(__tstate
);
6836 if (PyErr_Occurred()) SWIG_fail
;
6838 Py_INCREF(Py_None
); resultobj
= Py_None
;
6845 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6846 PyObject
*resultobj
;
6847 wxListBox
*arg1
= (wxListBox
*) 0 ;
6850 PyObject
* obj0
= 0 ;
6851 PyObject
* obj1
= 0 ;
6852 PyObject
* obj2
= 0 ;
6854 (char *) "self",(char *) "item",(char *) "f", NULL
6857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6860 arg2
= (int)SWIG_As_int(obj1
);
6861 if (PyErr_Occurred()) SWIG_fail
;
6862 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6863 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6866 PyErr_SetString(PyExc_TypeError
,"null reference");
6870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6871 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
6873 wxPyEndAllowThreads(__tstate
);
6874 if (PyErr_Occurred()) SWIG_fail
;
6876 Py_INCREF(Py_None
); resultobj
= Py_None
;
6883 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6884 PyObject
*resultobj
;
6885 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6886 wxVisualAttributes result
;
6887 PyObject
* obj0
= 0 ;
6889 (char *) "variant", NULL
6892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6894 arg1
= (int)SWIG_As_int(obj0
);
6895 if (PyErr_Occurred()) SWIG_fail
;
6898 if (!wxPyCheckForApp()) SWIG_fail
;
6899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6900 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6902 wxPyEndAllowThreads(__tstate
);
6903 if (PyErr_Occurred()) SWIG_fail
;
6906 wxVisualAttributes
* resultptr
;
6907 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6908 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6916 static PyObject
* ListBox_swigregister(PyObject
*, PyObject
*args
) {
6918 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6919 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
6921 return Py_BuildValue((char *)"");
6923 static PyObject
*_wrap_new_CheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6924 PyObject
*resultobj
;
6925 wxWindow
*arg1
= (wxWindow
*) 0 ;
6926 int arg2
= (int) -1 ;
6927 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6928 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6929 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6930 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6931 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
6932 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
6933 long arg6
= (long) 0 ;
6934 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6935 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6936 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
6937 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6938 wxCheckListBox
*result
;
6941 bool temp5
= false ;
6942 bool temp8
= false ;
6943 PyObject
* obj0
= 0 ;
6944 PyObject
* obj1
= 0 ;
6945 PyObject
* obj2
= 0 ;
6946 PyObject
* obj3
= 0 ;
6947 PyObject
* obj4
= 0 ;
6948 PyObject
* obj5
= 0 ;
6949 PyObject
* obj6
= 0 ;
6950 PyObject
* obj7
= 0 ;
6952 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6959 arg2
= (int)SWIG_As_int(obj1
);
6960 if (PyErr_Occurred()) SWIG_fail
;
6965 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6971 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6976 if (! PySequence_Check(obj4
)) {
6977 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6980 arg5
= new wxArrayString
;
6982 int i
, len
=PySequence_Length(obj4
);
6983 for (i
=0; i
<len
; i
++) {
6984 PyObject
* item
= PySequence_GetItem(obj4
, i
);
6986 PyObject
* str
= PyObject_Unicode(item
);
6988 PyObject
* str
= PyObject_Str(item
);
6990 if (PyErr_Occurred()) SWIG_fail
;
6991 arg5
->Add(Py2wxString(str
));
6998 arg6
= (long)SWIG_As_long(obj5
);
6999 if (PyErr_Occurred()) SWIG_fail
;
7002 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
7003 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7006 PyErr_SetString(PyExc_TypeError
,"null reference");
7012 arg8
= wxString_in_helper(obj7
);
7013 if (arg8
== NULL
) SWIG_fail
;
7018 if (!wxPyCheckForApp()) SWIG_fail
;
7019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7020 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
7022 wxPyEndAllowThreads(__tstate
);
7023 if (PyErr_Occurred()) SWIG_fail
;
7025 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
7027 if (temp5
) delete arg5
;
7036 if (temp5
) delete arg5
;
7046 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7047 PyObject
*resultobj
;
7048 wxCheckListBox
*result
;
7053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
7055 if (!wxPyCheckForApp()) SWIG_fail
;
7056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7057 result
= (wxCheckListBox
*)new wxCheckListBox();
7059 wxPyEndAllowThreads(__tstate
);
7060 if (PyErr_Occurred()) SWIG_fail
;
7062 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
7069 static PyObject
*_wrap_CheckListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7070 PyObject
*resultobj
;
7071 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
7072 wxWindow
*arg2
= (wxWindow
*) 0 ;
7073 int arg3
= (int) -1 ;
7074 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7075 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7076 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7077 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7078 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
7079 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
7080 long arg7
= (long) 0 ;
7081 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
7082 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
7083 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
7084 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
7088 bool temp6
= false ;
7089 bool temp9
= false ;
7090 PyObject
* obj0
= 0 ;
7091 PyObject
* obj1
= 0 ;
7092 PyObject
* obj2
= 0 ;
7093 PyObject
* obj3
= 0 ;
7094 PyObject
* obj4
= 0 ;
7095 PyObject
* obj5
= 0 ;
7096 PyObject
* obj6
= 0 ;
7097 PyObject
* obj7
= 0 ;
7098 PyObject
* obj8
= 0 ;
7100 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
7103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
7104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
7105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7106 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
7107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7109 arg3
= (int)SWIG_As_int(obj2
);
7110 if (PyErr_Occurred()) SWIG_fail
;
7115 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7121 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7126 if (! PySequence_Check(obj5
)) {
7127 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
7130 arg6
= new wxArrayString
;
7132 int i
, len
=PySequence_Length(obj5
);
7133 for (i
=0; i
<len
; i
++) {
7134 PyObject
* item
= PySequence_GetItem(obj5
, i
);
7136 PyObject
* str
= PyObject_Unicode(item
);
7138 PyObject
* str
= PyObject_Str(item
);
7140 if (PyErr_Occurred()) SWIG_fail
;
7141 arg6
->Add(Py2wxString(str
));
7148 arg7
= (long)SWIG_As_long(obj6
);
7149 if (PyErr_Occurred()) SWIG_fail
;
7152 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
7153 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7156 PyErr_SetString(PyExc_TypeError
,"null reference");
7162 arg9
= wxString_in_helper(obj8
);
7163 if (arg9
== NULL
) SWIG_fail
;
7168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7169 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
7171 wxPyEndAllowThreads(__tstate
);
7172 if (PyErr_Occurred()) SWIG_fail
;
7175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7178 if (temp6
) delete arg6
;
7187 if (temp6
) delete arg6
;
7197 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7198 PyObject
*resultobj
;
7199 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
7202 PyObject
* obj0
= 0 ;
7203 PyObject
* obj1
= 0 ;
7205 (char *) "self",(char *) "index", NULL
7208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
7209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
7210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7211 arg2
= (int)SWIG_As_int(obj1
);
7212 if (PyErr_Occurred()) SWIG_fail
;
7214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7215 result
= (bool)(arg1
)->IsChecked(arg2
);
7217 wxPyEndAllowThreads(__tstate
);
7218 if (PyErr_Occurred()) SWIG_fail
;
7221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7229 static PyObject
*_wrap_CheckListBox_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7230 PyObject
*resultobj
;
7231 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
7233 int arg3
= (int) true ;
7234 PyObject
* obj0
= 0 ;
7235 PyObject
* obj1
= 0 ;
7236 PyObject
* obj2
= 0 ;
7238 (char *) "self",(char *) "index",(char *) "check", NULL
7241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
7243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7244 arg2
= (int)SWIG_As_int(obj1
);
7245 if (PyErr_Occurred()) SWIG_fail
;
7247 arg3
= (int)SWIG_As_int(obj2
);
7248 if (PyErr_Occurred()) SWIG_fail
;
7251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7252 (arg1
)->Check(arg2
,arg3
);
7254 wxPyEndAllowThreads(__tstate
);
7255 if (PyErr_Occurred()) SWIG_fail
;
7257 Py_INCREF(Py_None
); resultobj
= Py_None
;
7264 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7265 PyObject
*resultobj
;
7266 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
7270 PyObject
* obj0
= 0 ;
7271 PyObject
* obj1
= 0 ;
7273 (char *) "self",(char *) "pt", NULL
7276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
7277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
7278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7281 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7285 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
7287 wxPyEndAllowThreads(__tstate
);
7288 if (PyErr_Occurred()) SWIG_fail
;
7290 resultobj
= SWIG_From_int((int)result
);
7297 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7298 PyObject
*resultobj
;
7299 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
7303 PyObject
* obj0
= 0 ;
7304 PyObject
* obj1
= 0 ;
7305 PyObject
* obj2
= 0 ;
7307 (char *) "self",(char *) "x",(char *) "y", NULL
7310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
7312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7313 arg2
= (int)SWIG_As_int(obj1
);
7314 if (PyErr_Occurred()) SWIG_fail
;
7315 arg3
= (int)SWIG_As_int(obj2
);
7316 if (PyErr_Occurred()) SWIG_fail
;
7318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7319 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
7321 wxPyEndAllowThreads(__tstate
);
7322 if (PyErr_Occurred()) SWIG_fail
;
7324 resultobj
= SWIG_From_int((int)result
);
7331 static PyObject
* CheckListBox_swigregister(PyObject
*, PyObject
*args
) {
7333 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7334 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
7336 return Py_BuildValue((char *)"");
7338 static int _wrap_TextCtrlNameStr_set(PyObject
*) {
7339 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
7344 static PyObject
*_wrap_TextCtrlNameStr_get() {
7349 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
7351 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
7358 static PyObject
*_wrap_new_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7359 PyObject
*resultobj
;
7360 wxColour
const &arg1_defvalue
= wxNullColour
;
7361 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
7362 wxColour
const &arg2_defvalue
= wxNullColour
;
7363 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
7364 wxFont
const &arg3_defvalue
= wxNullFont
;
7365 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
7366 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
7370 PyObject
* obj0
= 0 ;
7371 PyObject
* obj1
= 0 ;
7372 PyObject
* obj2
= 0 ;
7373 PyObject
* obj3
= 0 ;
7375 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
7378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7382 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
7388 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7392 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
7393 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7396 PyErr_SetString(PyExc_TypeError
,"null reference");
7401 arg4
= (int)SWIG_As_int(obj3
);
7402 if (PyErr_Occurred()) SWIG_fail
;
7405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7406 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
7408 wxPyEndAllowThreads(__tstate
);
7409 if (PyErr_Occurred()) SWIG_fail
;
7411 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
7418 static PyObject
*_wrap_delete_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7419 PyObject
*resultobj
;
7420 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7421 PyObject
* obj0
= 0 ;
7423 (char *) "self", NULL
7426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
7427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7433 wxPyEndAllowThreads(__tstate
);
7434 if (PyErr_Occurred()) SWIG_fail
;
7436 Py_INCREF(Py_None
); resultobj
= Py_None
;
7443 static PyObject
*_wrap_TextAttr_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7444 PyObject
*resultobj
;
7445 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7446 PyObject
* obj0
= 0 ;
7448 (char *) "self", NULL
7451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
7452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7458 wxPyEndAllowThreads(__tstate
);
7459 if (PyErr_Occurred()) SWIG_fail
;
7461 Py_INCREF(Py_None
); resultobj
= Py_None
;
7468 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7469 PyObject
*resultobj
;
7470 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7471 wxColour
*arg2
= 0 ;
7473 PyObject
* obj0
= 0 ;
7474 PyObject
* obj1
= 0 ;
7476 (char *) "self",(char *) "colText", NULL
7479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7484 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7488 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
7490 wxPyEndAllowThreads(__tstate
);
7491 if (PyErr_Occurred()) SWIG_fail
;
7493 Py_INCREF(Py_None
); resultobj
= Py_None
;
7500 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7501 PyObject
*resultobj
;
7502 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7503 wxColour
*arg2
= 0 ;
7505 PyObject
* obj0
= 0 ;
7506 PyObject
* obj1
= 0 ;
7508 (char *) "self",(char *) "colBack", NULL
7511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7516 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7520 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
7522 wxPyEndAllowThreads(__tstate
);
7523 if (PyErr_Occurred()) SWIG_fail
;
7525 Py_INCREF(Py_None
); resultobj
= Py_None
;
7532 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7533 PyObject
*resultobj
;
7534 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7536 long arg3
= (long) wxTEXT_ATTR_FONT
;
7537 PyObject
* obj0
= 0 ;
7538 PyObject
* obj1
= 0 ;
7539 PyObject
* obj2
= 0 ;
7541 (char *) "self",(char *) "font",(char *) "flags", NULL
7544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7547 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7548 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7551 PyErr_SetString(PyExc_TypeError
,"null reference");
7555 arg3
= (long)SWIG_As_long(obj2
);
7556 if (PyErr_Occurred()) SWIG_fail
;
7559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7560 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
7562 wxPyEndAllowThreads(__tstate
);
7563 if (PyErr_Occurred()) SWIG_fail
;
7565 Py_INCREF(Py_None
); resultobj
= Py_None
;
7572 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7573 PyObject
*resultobj
;
7574 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7576 PyObject
* obj0
= 0 ;
7577 PyObject
* obj1
= 0 ;
7579 (char *) "self",(char *) "alignment", NULL
7582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7585 arg2
= (int)SWIG_As_int(obj1
);
7586 if (PyErr_Occurred()) SWIG_fail
;
7588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7589 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
7591 wxPyEndAllowThreads(__tstate
);
7592 if (PyErr_Occurred()) SWIG_fail
;
7594 Py_INCREF(Py_None
); resultobj
= Py_None
;
7601 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7602 PyObject
*resultobj
;
7603 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7604 wxArrayInt
*arg2
= 0 ;
7605 bool temp2
= false ;
7606 PyObject
* obj0
= 0 ;
7607 PyObject
* obj1
= 0 ;
7609 (char *) "self",(char *) "tabs", NULL
7612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
7613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7616 if (! PySequence_Check(obj1
)) {
7617 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
7620 arg2
= new wxArrayInt
;
7622 int i
, len
=PySequence_Length(obj1
);
7623 for (i
=0; i
<len
; i
++) {
7624 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7625 PyObject
* number
= PyNumber_Int(item
);
7626 arg2
->Add(PyInt_AS_LONG(number
));
7632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7633 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
7635 wxPyEndAllowThreads(__tstate
);
7636 if (PyErr_Occurred()) SWIG_fail
;
7638 Py_INCREF(Py_None
); resultobj
= Py_None
;
7640 if (temp2
) delete arg2
;
7645 if (temp2
) delete arg2
;
7651 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7652 PyObject
*resultobj
;
7653 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7655 int arg3
= (int) 0 ;
7656 PyObject
* obj0
= 0 ;
7657 PyObject
* obj1
= 0 ;
7658 PyObject
* obj2
= 0 ;
7660 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
7663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7666 arg2
= (int)SWIG_As_int(obj1
);
7667 if (PyErr_Occurred()) SWIG_fail
;
7669 arg3
= (int)SWIG_As_int(obj2
);
7670 if (PyErr_Occurred()) SWIG_fail
;
7673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7674 (arg1
)->SetLeftIndent(arg2
,arg3
);
7676 wxPyEndAllowThreads(__tstate
);
7677 if (PyErr_Occurred()) SWIG_fail
;
7679 Py_INCREF(Py_None
); resultobj
= Py_None
;
7686 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7687 PyObject
*resultobj
;
7688 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7690 PyObject
* obj0
= 0 ;
7691 PyObject
* obj1
= 0 ;
7693 (char *) "self",(char *) "indent", NULL
7696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
7697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7699 arg2
= (int)SWIG_As_int(obj1
);
7700 if (PyErr_Occurred()) SWIG_fail
;
7702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7703 (arg1
)->SetRightIndent(arg2
);
7705 wxPyEndAllowThreads(__tstate
);
7706 if (PyErr_Occurred()) SWIG_fail
;
7708 Py_INCREF(Py_None
); resultobj
= Py_None
;
7715 static PyObject
*_wrap_TextAttr_SetFlags(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 *) "flags", NULL
7725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",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
= (long)SWIG_As_long(obj1
);
7729 if (PyErr_Occurred()) SWIG_fail
;
7731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7732 (arg1
)->SetFlags(arg2
);
7734 wxPyEndAllowThreads(__tstate
);
7735 if (PyErr_Occurred()) SWIG_fail
;
7737 Py_INCREF(Py_None
); resultobj
= Py_None
;
7744 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7745 PyObject
*resultobj
;
7746 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7748 PyObject
* obj0
= 0 ;
7750 (char *) "self", NULL
7753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
7754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7758 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
7760 wxPyEndAllowThreads(__tstate
);
7761 if (PyErr_Occurred()) SWIG_fail
;
7764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7772 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7773 PyObject
*resultobj
;
7774 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7776 PyObject
* obj0
= 0 ;
7778 (char *) "self", NULL
7781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
7782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7786 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
7788 wxPyEndAllowThreads(__tstate
);
7789 if (PyErr_Occurred()) SWIG_fail
;
7792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7800 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7801 PyObject
*resultobj
;
7802 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7804 PyObject
* obj0
= 0 ;
7806 (char *) "self", NULL
7809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
7810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7814 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
7816 wxPyEndAllowThreads(__tstate
);
7817 if (PyErr_Occurred()) SWIG_fail
;
7820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7828 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7829 PyObject
*resultobj
;
7830 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7832 PyObject
* obj0
= 0 ;
7834 (char *) "self", NULL
7837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
7838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7842 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
7844 wxPyEndAllowThreads(__tstate
);
7845 if (PyErr_Occurred()) SWIG_fail
;
7848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7856 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7857 PyObject
*resultobj
;
7858 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7860 PyObject
* obj0
= 0 ;
7862 (char *) "self", NULL
7865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
7866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7870 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
7872 wxPyEndAllowThreads(__tstate
);
7873 if (PyErr_Occurred()) SWIG_fail
;
7876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7884 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7885 PyObject
*resultobj
;
7886 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7888 PyObject
* obj0
= 0 ;
7890 (char *) "self", NULL
7893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
7894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7898 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
7900 wxPyEndAllowThreads(__tstate
);
7901 if (PyErr_Occurred()) SWIG_fail
;
7904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7912 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7913 PyObject
*resultobj
;
7914 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7916 PyObject
* obj0
= 0 ;
7918 (char *) "self", NULL
7921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
7922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7926 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
7928 wxPyEndAllowThreads(__tstate
);
7929 if (PyErr_Occurred()) SWIG_fail
;
7932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7940 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7941 PyObject
*resultobj
;
7942 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7945 PyObject
* obj0
= 0 ;
7946 PyObject
* obj1
= 0 ;
7948 (char *) "self",(char *) "flag", NULL
7951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
7952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7954 arg2
= (long)SWIG_As_long(obj1
);
7955 if (PyErr_Occurred()) SWIG_fail
;
7957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7958 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
7960 wxPyEndAllowThreads(__tstate
);
7961 if (PyErr_Occurred()) SWIG_fail
;
7964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7972 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7973 PyObject
*resultobj
;
7974 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7976 PyObject
* obj0
= 0 ;
7978 (char *) "self", NULL
7981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
7982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7987 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
7988 result
= (wxColour
*) &_result_ref
;
7991 wxPyEndAllowThreads(__tstate
);
7992 if (PyErr_Occurred()) SWIG_fail
;
7994 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
8001 static PyObject
*_wrap_TextAttr_GetBackgroundColour(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_GetBackgroundColour",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
)->GetBackgroundColour();
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_GetFont(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_GetFont",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 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
8046 result
= (wxFont
*) &_result_ref
;
8049 wxPyEndAllowThreads(__tstate
);
8050 if (PyErr_Occurred()) SWIG_fail
;
8053 wxFont
* resultptr
= new wxFont(*result
);
8054 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
8062 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8063 PyObject
*resultobj
;
8064 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8066 PyObject
* obj0
= 0 ;
8068 (char *) "self", NULL
8071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
8072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
8073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8076 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
8078 wxPyEndAllowThreads(__tstate
);
8079 if (PyErr_Occurred()) SWIG_fail
;
8081 resultobj
= SWIG_From_int((int)result
);
8088 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8089 PyObject
*resultobj
;
8090 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8092 PyObject
* obj0
= 0 ;
8094 (char *) "self", NULL
8097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
8098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
8099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8103 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
8104 result
= (wxArrayInt
*) &_result_ref
;
8107 wxPyEndAllowThreads(__tstate
);
8108 if (PyErr_Occurred()) SWIG_fail
;
8111 resultobj
= PyList_New(0);
8113 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
8114 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
8115 PyList_Append(resultobj
, val
);
8125 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8126 PyObject
*resultobj
;
8127 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8129 PyObject
* obj0
= 0 ;
8131 (char *) "self", NULL
8134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
8135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
8136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8139 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
8141 wxPyEndAllowThreads(__tstate
);
8142 if (PyErr_Occurred()) SWIG_fail
;
8144 resultobj
= SWIG_From_long((long)result
);
8151 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8152 PyObject
*resultobj
;
8153 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8155 PyObject
* obj0
= 0 ;
8157 (char *) "self", NULL
8160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftSubIndent",kwnames
,&obj0
)) goto fail
;
8161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
8162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8165 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
8167 wxPyEndAllowThreads(__tstate
);
8168 if (PyErr_Occurred()) SWIG_fail
;
8170 resultobj
= SWIG_From_long((long)result
);
8177 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8178 PyObject
*resultobj
;
8179 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8181 PyObject
* obj0
= 0 ;
8183 (char *) "self", NULL
8186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
8187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
8188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8191 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
8193 wxPyEndAllowThreads(__tstate
);
8194 if (PyErr_Occurred()) SWIG_fail
;
8196 resultobj
= SWIG_From_long((long)result
);
8203 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8204 PyObject
*resultobj
;
8205 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8207 PyObject
* obj0
= 0 ;
8209 (char *) "self", NULL
8212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
8213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
8214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8217 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
8219 wxPyEndAllowThreads(__tstate
);
8220 if (PyErr_Occurred()) SWIG_fail
;
8222 resultobj
= SWIG_From_long((long)result
);
8229 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8230 PyObject
*resultobj
;
8231 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8233 PyObject
* obj0
= 0 ;
8235 (char *) "self", NULL
8238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
8239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
8240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8243 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
8245 wxPyEndAllowThreads(__tstate
);
8246 if (PyErr_Occurred()) SWIG_fail
;
8249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8257 static PyObject
*_wrap_TextAttr_Combine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8258 PyObject
*resultobj
;
8259 wxTextAttr
*arg1
= 0 ;
8260 wxTextAttr
*arg2
= 0 ;
8261 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
8263 PyObject
* obj0
= 0 ;
8264 PyObject
* obj1
= 0 ;
8265 PyObject
* obj2
= 0 ;
8267 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
8270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
8272 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8275 PyErr_SetString(PyExc_TypeError
,"null reference");
8278 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
8279 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8282 PyErr_SetString(PyExc_TypeError
,"null reference");
8285 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextCtrl
,
8286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8289 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
8291 wxPyEndAllowThreads(__tstate
);
8292 if (PyErr_Occurred()) SWIG_fail
;
8295 wxTextAttr
* resultptr
;
8296 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
8297 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
8305 static PyObject
* TextAttr_swigregister(PyObject
*, PyObject
*args
) {
8307 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8308 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
8310 return Py_BuildValue((char *)"");
8312 static PyObject
*_wrap_new_TextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8313 PyObject
*resultobj
;
8314 wxWindow
*arg1
= (wxWindow
*) 0 ;
8315 int arg2
= (int) -1 ;
8316 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8317 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8318 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8319 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8320 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8321 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8322 long arg6
= (long) 0 ;
8323 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8324 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8325 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
8326 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8328 bool temp3
= false ;
8331 bool temp8
= false ;
8332 PyObject
* obj0
= 0 ;
8333 PyObject
* obj1
= 0 ;
8334 PyObject
* obj2
= 0 ;
8335 PyObject
* obj3
= 0 ;
8336 PyObject
* obj4
= 0 ;
8337 PyObject
* obj5
= 0 ;
8338 PyObject
* obj6
= 0 ;
8339 PyObject
* obj7
= 0 ;
8341 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
8345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8348 arg2
= (int)SWIG_As_int(obj1
);
8349 if (PyErr_Occurred()) SWIG_fail
;
8353 arg3
= wxString_in_helper(obj2
);
8354 if (arg3
== NULL
) SWIG_fail
;
8361 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8367 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8371 arg6
= (long)SWIG_As_long(obj5
);
8372 if (PyErr_Occurred()) SWIG_fail
;
8375 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
8376 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8379 PyErr_SetString(PyExc_TypeError
,"null reference");
8385 arg8
= wxString_in_helper(obj7
);
8386 if (arg8
== NULL
) SWIG_fail
;
8391 if (!wxPyCheckForApp()) SWIG_fail
;
8392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8393 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8395 wxPyEndAllowThreads(__tstate
);
8396 if (PyErr_Occurred()) SWIG_fail
;
8398 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
8421 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8422 PyObject
*resultobj
;
8428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
8430 if (!wxPyCheckForApp()) SWIG_fail
;
8431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8432 result
= (wxTextCtrl
*)new wxTextCtrl();
8434 wxPyEndAllowThreads(__tstate
);
8435 if (PyErr_Occurred()) SWIG_fail
;
8437 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
8444 static PyObject
*_wrap_TextCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8445 PyObject
*resultobj
;
8446 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8447 wxWindow
*arg2
= (wxWindow
*) 0 ;
8448 int arg3
= (int) -1 ;
8449 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8450 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8451 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8452 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8453 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8454 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8455 long arg7
= (long) 0 ;
8456 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8457 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8458 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
8459 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8461 bool temp4
= false ;
8464 bool temp9
= false ;
8465 PyObject
* obj0
= 0 ;
8466 PyObject
* obj1
= 0 ;
8467 PyObject
* obj2
= 0 ;
8468 PyObject
* obj3
= 0 ;
8469 PyObject
* obj4
= 0 ;
8470 PyObject
* obj5
= 0 ;
8471 PyObject
* obj6
= 0 ;
8472 PyObject
* obj7
= 0 ;
8473 PyObject
* obj8
= 0 ;
8475 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8481 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8484 arg3
= (int)SWIG_As_int(obj2
);
8485 if (PyErr_Occurred()) SWIG_fail
;
8489 arg4
= wxString_in_helper(obj3
);
8490 if (arg4
== NULL
) SWIG_fail
;
8497 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8503 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8507 arg7
= (long)SWIG_As_long(obj6
);
8508 if (PyErr_Occurred()) SWIG_fail
;
8511 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
8512 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8515 PyErr_SetString(PyExc_TypeError
,"null reference");
8521 arg9
= wxString_in_helper(obj8
);
8522 if (arg9
== NULL
) SWIG_fail
;
8527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8528 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8530 wxPyEndAllowThreads(__tstate
);
8531 if (PyErr_Occurred()) SWIG_fail
;
8534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8558 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8559 PyObject
*resultobj
;
8560 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8562 PyObject
* obj0
= 0 ;
8564 (char *) "self", NULL
8567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
8568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8572 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
8574 wxPyEndAllowThreads(__tstate
);
8575 if (PyErr_Occurred()) SWIG_fail
;
8579 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8581 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8590 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8591 PyObject
*resultobj
;
8592 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8593 wxString
*arg2
= 0 ;
8594 bool temp2
= false ;
8595 PyObject
* obj0
= 0 ;
8596 PyObject
* obj1
= 0 ;
8598 (char *) "self",(char *) "value", NULL
8601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
8602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8605 arg2
= wxString_in_helper(obj1
);
8606 if (arg2
== NULL
) SWIG_fail
;
8610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8611 (arg1
)->SetValue((wxString
const &)*arg2
);
8613 wxPyEndAllowThreads(__tstate
);
8614 if (PyErr_Occurred()) SWIG_fail
;
8616 Py_INCREF(Py_None
); resultobj
= Py_None
;
8631 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8632 PyObject
*resultobj
;
8633 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8637 PyObject
* obj0
= 0 ;
8638 PyObject
* obj1
= 0 ;
8639 PyObject
* obj2
= 0 ;
8641 (char *) "self",(char *) "from",(char *) "to", NULL
8644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8647 arg2
= (long)SWIG_As_long(obj1
);
8648 if (PyErr_Occurred()) SWIG_fail
;
8649 arg3
= (long)SWIG_As_long(obj2
);
8650 if (PyErr_Occurred()) SWIG_fail
;
8652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8653 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
8655 wxPyEndAllowThreads(__tstate
);
8656 if (PyErr_Occurred()) SWIG_fail
;
8660 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8662 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8671 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8672 PyObject
*resultobj
;
8673 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8676 PyObject
* obj0
= 0 ;
8677 PyObject
* obj1
= 0 ;
8679 (char *) "self",(char *) "lineNo", NULL
8682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8685 arg2
= (long)SWIG_As_long(obj1
);
8686 if (PyErr_Occurred()) SWIG_fail
;
8688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8689 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
8691 wxPyEndAllowThreads(__tstate
);
8692 if (PyErr_Occurred()) SWIG_fail
;
8694 resultobj
= SWIG_From_int((int)result
);
8701 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8702 PyObject
*resultobj
;
8703 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8706 PyObject
* obj0
= 0 ;
8707 PyObject
* obj1
= 0 ;
8709 (char *) "self",(char *) "lineNo", NULL
8712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
8713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8715 arg2
= (long)SWIG_As_long(obj1
);
8716 if (PyErr_Occurred()) SWIG_fail
;
8718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8719 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
8721 wxPyEndAllowThreads(__tstate
);
8722 if (PyErr_Occurred()) SWIG_fail
;
8726 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8728 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8737 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8738 PyObject
*resultobj
;
8739 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8741 PyObject
* obj0
= 0 ;
8743 (char *) "self", NULL
8746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
8747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8751 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
8753 wxPyEndAllowThreads(__tstate
);
8754 if (PyErr_Occurred()) SWIG_fail
;
8756 resultobj
= SWIG_From_int((int)result
);
8763 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8764 PyObject
*resultobj
;
8765 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8767 PyObject
* obj0
= 0 ;
8769 (char *) "self", NULL
8772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
8773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8777 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
8779 wxPyEndAllowThreads(__tstate
);
8780 if (PyErr_Occurred()) SWIG_fail
;
8783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8791 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8792 PyObject
*resultobj
;
8793 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8795 PyObject
* obj0
= 0 ;
8797 (char *) "self", NULL
8800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
8801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8805 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
8807 wxPyEndAllowThreads(__tstate
);
8808 if (PyErr_Occurred()) SWIG_fail
;
8811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8819 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8820 PyObject
*resultobj
;
8821 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8823 PyObject
* obj0
= 0 ;
8825 (char *) "self", NULL
8828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
8829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8833 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
8835 wxPyEndAllowThreads(__tstate
);
8836 if (PyErr_Occurred()) SWIG_fail
;
8839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8847 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8848 PyObject
*resultobj
;
8849 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8851 PyObject
* obj0
= 0 ;
8853 (char *) "self", NULL
8856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
8857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8861 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
8863 wxPyEndAllowThreads(__tstate
);
8864 if (PyErr_Occurred()) SWIG_fail
;
8867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8875 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8876 PyObject
*resultobj
;
8877 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8878 long *arg2
= (long *) 0 ;
8879 long *arg3
= (long *) 0 ;
8884 PyObject
* obj0
= 0 ;
8886 (char *) "self", NULL
8889 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
8890 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
8891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
8892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8896 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
8898 wxPyEndAllowThreads(__tstate
);
8899 if (PyErr_Occurred()) SWIG_fail
;
8901 Py_INCREF(Py_None
); resultobj
= Py_None
;
8902 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
8903 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
8904 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
8905 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
8912 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8913 PyObject
*resultobj
;
8914 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8916 PyObject
* obj0
= 0 ;
8918 (char *) "self", NULL
8921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
8922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8926 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
8928 wxPyEndAllowThreads(__tstate
);
8929 if (PyErr_Occurred()) SWIG_fail
;
8933 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8935 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8944 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8945 PyObject
*resultobj
;
8946 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8947 PyObject
* obj0
= 0 ;
8949 (char *) "self", NULL
8952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
8953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8959 wxPyEndAllowThreads(__tstate
);
8960 if (PyErr_Occurred()) SWIG_fail
;
8962 Py_INCREF(Py_None
); resultobj
= Py_None
;
8969 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8970 PyObject
*resultobj
;
8971 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8974 wxString
*arg4
= 0 ;
8975 bool temp4
= false ;
8976 PyObject
* obj0
= 0 ;
8977 PyObject
* obj1
= 0 ;
8978 PyObject
* obj2
= 0 ;
8979 PyObject
* obj3
= 0 ;
8981 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8987 arg2
= (long)SWIG_As_long(obj1
);
8988 if (PyErr_Occurred()) SWIG_fail
;
8989 arg3
= (long)SWIG_As_long(obj2
);
8990 if (PyErr_Occurred()) SWIG_fail
;
8992 arg4
= wxString_in_helper(obj3
);
8993 if (arg4
== NULL
) SWIG_fail
;
8997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8998 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
9000 wxPyEndAllowThreads(__tstate
);
9001 if (PyErr_Occurred()) SWIG_fail
;
9003 Py_INCREF(Py_None
); resultobj
= Py_None
;
9018 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9019 PyObject
*resultobj
;
9020 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9023 PyObject
* obj0
= 0 ;
9024 PyObject
* obj1
= 0 ;
9025 PyObject
* obj2
= 0 ;
9027 (char *) "self",(char *) "from",(char *) "to", NULL
9030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9033 arg2
= (long)SWIG_As_long(obj1
);
9034 if (PyErr_Occurred()) SWIG_fail
;
9035 arg3
= (long)SWIG_As_long(obj2
);
9036 if (PyErr_Occurred()) SWIG_fail
;
9038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9039 (arg1
)->Remove(arg2
,arg3
);
9041 wxPyEndAllowThreads(__tstate
);
9042 if (PyErr_Occurred()) SWIG_fail
;
9044 Py_INCREF(Py_None
); resultobj
= Py_None
;
9051 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9052 PyObject
*resultobj
;
9053 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9054 wxString
*arg2
= 0 ;
9056 bool temp2
= false ;
9057 PyObject
* obj0
= 0 ;
9058 PyObject
* obj1
= 0 ;
9060 (char *) "self",(char *) "file", NULL
9063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
9064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9067 arg2
= wxString_in_helper(obj1
);
9068 if (arg2
== NULL
) SWIG_fail
;
9072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9073 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
9075 wxPyEndAllowThreads(__tstate
);
9076 if (PyErr_Occurred()) SWIG_fail
;
9079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9095 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9096 PyObject
*resultobj
;
9097 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9098 wxString
const &arg2_defvalue
= wxPyEmptyString
;
9099 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
9101 bool temp2
= false ;
9102 PyObject
* obj0
= 0 ;
9103 PyObject
* obj1
= 0 ;
9105 (char *) "self",(char *) "file", NULL
9108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
9109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9113 arg2
= wxString_in_helper(obj1
);
9114 if (arg2
== NULL
) SWIG_fail
;
9119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9120 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
9122 wxPyEndAllowThreads(__tstate
);
9123 if (PyErr_Occurred()) SWIG_fail
;
9126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9142 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9143 PyObject
*resultobj
;
9144 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9145 PyObject
* obj0
= 0 ;
9147 (char *) "self", NULL
9150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
9151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9155 (arg1
)->MarkDirty();
9157 wxPyEndAllowThreads(__tstate
);
9158 if (PyErr_Occurred()) SWIG_fail
;
9160 Py_INCREF(Py_None
); resultobj
= Py_None
;
9167 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9168 PyObject
*resultobj
;
9169 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9170 PyObject
* obj0
= 0 ;
9172 (char *) "self", NULL
9175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
9176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9180 (arg1
)->DiscardEdits();
9182 wxPyEndAllowThreads(__tstate
);
9183 if (PyErr_Occurred()) SWIG_fail
;
9185 Py_INCREF(Py_None
); resultobj
= Py_None
;
9192 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9193 PyObject
*resultobj
;
9194 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9195 unsigned long arg2
;
9196 PyObject
* obj0
= 0 ;
9197 PyObject
* obj1
= 0 ;
9199 (char *) "self",(char *) "len", NULL
9202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
9203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9205 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
9206 if (PyErr_Occurred()) SWIG_fail
;
9208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9209 (arg1
)->SetMaxLength(arg2
);
9211 wxPyEndAllowThreads(__tstate
);
9212 if (PyErr_Occurred()) SWIG_fail
;
9214 Py_INCREF(Py_None
); resultobj
= Py_None
;
9221 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9222 PyObject
*resultobj
;
9223 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9224 wxString
*arg2
= 0 ;
9225 bool temp2
= false ;
9226 PyObject
* obj0
= 0 ;
9227 PyObject
* obj1
= 0 ;
9229 (char *) "self",(char *) "text", NULL
9232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
9233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9236 arg2
= wxString_in_helper(obj1
);
9237 if (arg2
== NULL
) SWIG_fail
;
9241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9242 (arg1
)->WriteText((wxString
const &)*arg2
);
9244 wxPyEndAllowThreads(__tstate
);
9245 if (PyErr_Occurred()) SWIG_fail
;
9247 Py_INCREF(Py_None
); resultobj
= Py_None
;
9262 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9263 PyObject
*resultobj
;
9264 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9265 wxString
*arg2
= 0 ;
9266 bool temp2
= false ;
9267 PyObject
* obj0
= 0 ;
9268 PyObject
* obj1
= 0 ;
9270 (char *) "self",(char *) "text", NULL
9273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
9274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9277 arg2
= wxString_in_helper(obj1
);
9278 if (arg2
== NULL
) SWIG_fail
;
9282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9283 (arg1
)->AppendText((wxString
const &)*arg2
);
9285 wxPyEndAllowThreads(__tstate
);
9286 if (PyErr_Occurred()) SWIG_fail
;
9288 Py_INCREF(Py_None
); resultobj
= Py_None
;
9303 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9304 PyObject
*resultobj
;
9305 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9306 wxKeyEvent
*arg2
= 0 ;
9308 PyObject
* obj0
= 0 ;
9309 PyObject
* obj1
= 0 ;
9311 (char *) "self",(char *) "event", NULL
9314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
9315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9317 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
9318 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9321 PyErr_SetString(PyExc_TypeError
,"null reference");
9325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9326 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
9328 wxPyEndAllowThreads(__tstate
);
9329 if (PyErr_Occurred()) SWIG_fail
;
9332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9340 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9341 PyObject
*resultobj
;
9342 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9345 wxTextAttr
*arg4
= 0 ;
9347 PyObject
* obj0
= 0 ;
9348 PyObject
* obj1
= 0 ;
9349 PyObject
* obj2
= 0 ;
9350 PyObject
* obj3
= 0 ;
9352 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
9355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9358 arg2
= (long)SWIG_As_long(obj1
);
9359 if (PyErr_Occurred()) SWIG_fail
;
9360 arg3
= (long)SWIG_As_long(obj2
);
9361 if (PyErr_Occurred()) SWIG_fail
;
9362 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxTextAttr
,
9363 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9366 PyErr_SetString(PyExc_TypeError
,"null reference");
9370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9371 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
9373 wxPyEndAllowThreads(__tstate
);
9374 if (PyErr_Occurred()) SWIG_fail
;
9377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9385 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9386 PyObject
*resultobj
;
9387 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9389 wxTextAttr
*arg3
= 0 ;
9391 PyObject
* obj0
= 0 ;
9392 PyObject
* obj1
= 0 ;
9393 PyObject
* obj2
= 0 ;
9395 (char *) "self",(char *) "position",(char *) "style", NULL
9398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9401 arg2
= (long)SWIG_As_long(obj1
);
9402 if (PyErr_Occurred()) SWIG_fail
;
9403 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextAttr
,
9404 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9407 PyErr_SetString(PyExc_TypeError
,"null reference");
9411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9412 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
9414 wxPyEndAllowThreads(__tstate
);
9415 if (PyErr_Occurred()) SWIG_fail
;
9418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9426 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9427 PyObject
*resultobj
;
9428 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9429 wxTextAttr
*arg2
= 0 ;
9431 PyObject
* obj0
= 0 ;
9432 PyObject
* obj1
= 0 ;
9434 (char *) "self",(char *) "style", NULL
9437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
9438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9440 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
9441 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9444 PyErr_SetString(PyExc_TypeError
,"null reference");
9448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9449 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
9451 wxPyEndAllowThreads(__tstate
);
9452 if (PyErr_Occurred()) SWIG_fail
;
9455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9463 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9464 PyObject
*resultobj
;
9465 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9467 PyObject
* obj0
= 0 ;
9469 (char *) "self", NULL
9472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
9473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9478 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
9479 result
= (wxTextAttr
*) &_result_ref
;
9482 wxPyEndAllowThreads(__tstate
);
9483 if (PyErr_Occurred()) SWIG_fail
;
9485 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
9492 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9493 PyObject
*resultobj
;
9494 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9498 PyObject
* obj0
= 0 ;
9499 PyObject
* obj1
= 0 ;
9500 PyObject
* obj2
= 0 ;
9502 (char *) "self",(char *) "x",(char *) "y", NULL
9505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9508 arg2
= (long)SWIG_As_long(obj1
);
9509 if (PyErr_Occurred()) SWIG_fail
;
9510 arg3
= (long)SWIG_As_long(obj2
);
9511 if (PyErr_Occurred()) SWIG_fail
;
9513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9514 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
9516 wxPyEndAllowThreads(__tstate
);
9517 if (PyErr_Occurred()) SWIG_fail
;
9519 resultobj
= SWIG_From_long((long)result
);
9526 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9527 PyObject
*resultobj
;
9528 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9530 long *arg3
= (long *) 0 ;
9531 long *arg4
= (long *) 0 ;
9536 PyObject
* obj0
= 0 ;
9537 PyObject
* obj1
= 0 ;
9539 (char *) "self",(char *) "pos", NULL
9542 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
9543 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
9544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
9545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9547 arg2
= (long)SWIG_As_long(obj1
);
9548 if (PyErr_Occurred()) SWIG_fail
;
9550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9551 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
9553 wxPyEndAllowThreads(__tstate
);
9554 if (PyErr_Occurred()) SWIG_fail
;
9556 Py_INCREF(Py_None
); resultobj
= Py_None
;
9557 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
9558 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
9559 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
9560 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
9567 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9568 PyObject
*resultobj
;
9569 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9571 PyObject
* obj0
= 0 ;
9572 PyObject
* obj1
= 0 ;
9574 (char *) "self",(char *) "pos", NULL
9577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9580 arg2
= (long)SWIG_As_long(obj1
);
9581 if (PyErr_Occurred()) SWIG_fail
;
9583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9584 (arg1
)->ShowPosition(arg2
);
9586 wxPyEndAllowThreads(__tstate
);
9587 if (PyErr_Occurred()) SWIG_fail
;
9589 Py_INCREF(Py_None
); resultobj
= Py_None
;
9596 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9597 PyObject
*resultobj
;
9598 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9600 long *arg3
= (long *) 0 ;
9601 long *arg4
= (long *) 0 ;
9608 PyObject
* obj0
= 0 ;
9609 PyObject
* obj1
= 0 ;
9611 (char *) "self",(char *) "pt", NULL
9614 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
9615 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
9616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9621 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9625 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
9627 wxPyEndAllowThreads(__tstate
);
9628 if (PyErr_Occurred()) SWIG_fail
;
9630 resultobj
= SWIG_From_int((int)result
);
9631 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
9632 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
9633 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
9634 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
9641 static PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9642 PyObject
*resultobj
;
9643 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9645 long *arg3
= (long *) 0 ;
9650 PyObject
* obj0
= 0 ;
9651 PyObject
* obj1
= 0 ;
9653 (char *) "self",(char *) "pt", NULL
9656 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
9657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) goto fail
;
9658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9662 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9666 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
9668 wxPyEndAllowThreads(__tstate
);
9669 if (PyErr_Occurred()) SWIG_fail
;
9671 resultobj
= SWIG_From_int((int)result
);
9672 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
9673 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
9680 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9681 PyObject
*resultobj
;
9682 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9683 PyObject
* obj0
= 0 ;
9685 (char *) "self", NULL
9688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
9689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9695 wxPyEndAllowThreads(__tstate
);
9696 if (PyErr_Occurred()) SWIG_fail
;
9698 Py_INCREF(Py_None
); resultobj
= Py_None
;
9705 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9706 PyObject
*resultobj
;
9707 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9708 PyObject
* obj0
= 0 ;
9710 (char *) "self", NULL
9713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
9714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9720 wxPyEndAllowThreads(__tstate
);
9721 if (PyErr_Occurred()) SWIG_fail
;
9723 Py_INCREF(Py_None
); resultobj
= Py_None
;
9730 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9731 PyObject
*resultobj
;
9732 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9733 PyObject
* obj0
= 0 ;
9735 (char *) "self", NULL
9738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
9739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9745 wxPyEndAllowThreads(__tstate
);
9746 if (PyErr_Occurred()) SWIG_fail
;
9748 Py_INCREF(Py_None
); resultobj
= Py_None
;
9755 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9756 PyObject
*resultobj
;
9757 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9759 PyObject
* obj0
= 0 ;
9761 (char *) "self", NULL
9764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
9765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9769 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
9771 wxPyEndAllowThreads(__tstate
);
9772 if (PyErr_Occurred()) SWIG_fail
;
9775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9783 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9784 PyObject
*resultobj
;
9785 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9787 PyObject
* obj0
= 0 ;
9789 (char *) "self", NULL
9792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
9793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9797 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
9799 wxPyEndAllowThreads(__tstate
);
9800 if (PyErr_Occurred()) SWIG_fail
;
9803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9811 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9812 PyObject
*resultobj
;
9813 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9815 PyObject
* obj0
= 0 ;
9817 (char *) "self", NULL
9820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
9821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9825 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
9827 wxPyEndAllowThreads(__tstate
);
9828 if (PyErr_Occurred()) SWIG_fail
;
9831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9839 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9840 PyObject
*resultobj
;
9841 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9842 PyObject
* obj0
= 0 ;
9844 (char *) "self", NULL
9847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
9848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9854 wxPyEndAllowThreads(__tstate
);
9855 if (PyErr_Occurred()) SWIG_fail
;
9857 Py_INCREF(Py_None
); resultobj
= Py_None
;
9864 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9865 PyObject
*resultobj
;
9866 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9867 PyObject
* obj0
= 0 ;
9869 (char *) "self", NULL
9872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
9873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9879 wxPyEndAllowThreads(__tstate
);
9880 if (PyErr_Occurred()) SWIG_fail
;
9882 Py_INCREF(Py_None
); resultobj
= Py_None
;
9889 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9890 PyObject
*resultobj
;
9891 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9893 PyObject
* obj0
= 0 ;
9895 (char *) "self", NULL
9898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
9899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9903 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
9905 wxPyEndAllowThreads(__tstate
);
9906 if (PyErr_Occurred()) SWIG_fail
;
9909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9917 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9918 PyObject
*resultobj
;
9919 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9921 PyObject
* obj0
= 0 ;
9923 (char *) "self", NULL
9926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
9927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9931 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
9933 wxPyEndAllowThreads(__tstate
);
9934 if (PyErr_Occurred()) SWIG_fail
;
9937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9945 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9946 PyObject
*resultobj
;
9947 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9949 PyObject
* obj0
= 0 ;
9950 PyObject
* obj1
= 0 ;
9952 (char *) "self",(char *) "pos", NULL
9955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
9956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9958 arg2
= (long)SWIG_As_long(obj1
);
9959 if (PyErr_Occurred()) SWIG_fail
;
9961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9962 (arg1
)->SetInsertionPoint(arg2
);
9964 wxPyEndAllowThreads(__tstate
);
9965 if (PyErr_Occurred()) SWIG_fail
;
9967 Py_INCREF(Py_None
); resultobj
= Py_None
;
9974 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9975 PyObject
*resultobj
;
9976 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9977 PyObject
* obj0
= 0 ;
9979 (char *) "self", NULL
9982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
9983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9987 (arg1
)->SetInsertionPointEnd();
9989 wxPyEndAllowThreads(__tstate
);
9990 if (PyErr_Occurred()) SWIG_fail
;
9992 Py_INCREF(Py_None
); resultobj
= Py_None
;
9999 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10000 PyObject
*resultobj
;
10001 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10003 PyObject
* obj0
= 0 ;
10004 char *kwnames
[] = {
10005 (char *) "self", NULL
10008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
10009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
10010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10013 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
10015 wxPyEndAllowThreads(__tstate
);
10016 if (PyErr_Occurred()) SWIG_fail
;
10018 resultobj
= SWIG_From_long((long)result
);
10025 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10026 PyObject
*resultobj
;
10027 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10029 PyObject
* obj0
= 0 ;
10030 char *kwnames
[] = {
10031 (char *) "self", NULL
10034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
10035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
10036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10039 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
10041 wxPyEndAllowThreads(__tstate
);
10042 if (PyErr_Occurred()) SWIG_fail
;
10044 resultobj
= SWIG_From_long((long)result
);
10051 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10052 PyObject
*resultobj
;
10053 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10056 PyObject
* obj0
= 0 ;
10057 PyObject
* obj1
= 0 ;
10058 PyObject
* obj2
= 0 ;
10059 char *kwnames
[] = {
10060 (char *) "self",(char *) "from",(char *) "to", NULL
10063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
10065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10066 arg2
= (long)SWIG_As_long(obj1
);
10067 if (PyErr_Occurred()) SWIG_fail
;
10068 arg3
= (long)SWIG_As_long(obj2
);
10069 if (PyErr_Occurred()) SWIG_fail
;
10071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10072 (arg1
)->SetSelection(arg2
,arg3
);
10074 wxPyEndAllowThreads(__tstate
);
10075 if (PyErr_Occurred()) SWIG_fail
;
10077 Py_INCREF(Py_None
); resultobj
= Py_None
;
10084 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10085 PyObject
*resultobj
;
10086 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10087 PyObject
* obj0
= 0 ;
10088 char *kwnames
[] = {
10089 (char *) "self", NULL
10092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
10093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
10094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10097 (arg1
)->SelectAll();
10099 wxPyEndAllowThreads(__tstate
);
10100 if (PyErr_Occurred()) SWIG_fail
;
10102 Py_INCREF(Py_None
); resultobj
= Py_None
;
10109 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10110 PyObject
*resultobj
;
10111 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10113 PyObject
* obj0
= 0 ;
10114 PyObject
* obj1
= 0 ;
10115 char *kwnames
[] = {
10116 (char *) "self",(char *) "editable", NULL
10119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
10120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
10121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10122 arg2
= (bool)SWIG_As_bool(obj1
);
10123 if (PyErr_Occurred()) SWIG_fail
;
10125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10126 (arg1
)->SetEditable(arg2
);
10128 wxPyEndAllowThreads(__tstate
);
10129 if (PyErr_Occurred()) SWIG_fail
;
10131 Py_INCREF(Py_None
); resultobj
= Py_None
;
10138 static PyObject
*_wrap_TextCtrl_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10139 PyObject
*resultobj
;
10140 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10141 wxString
*arg2
= 0 ;
10142 bool temp2
= false ;
10143 PyObject
* obj0
= 0 ;
10144 PyObject
* obj1
= 0 ;
10145 char *kwnames
[] = {
10146 (char *) "self",(char *) "text", NULL
10149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
10150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
10151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10153 arg2
= wxString_in_helper(obj1
);
10154 if (arg2
== NULL
) SWIG_fail
;
10158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10159 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
10161 wxPyEndAllowThreads(__tstate
);
10162 if (PyErr_Occurred()) SWIG_fail
;
10164 Py_INCREF(Py_None
); resultobj
= Py_None
;
10179 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10180 PyObject
*resultobj
;
10181 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10185 PyObject
* obj0
= 0 ;
10186 PyObject
* obj1
= 0 ;
10187 PyObject
* obj2
= 0 ;
10188 char *kwnames
[] = {
10189 (char *) "self",(char *) "from",(char *) "to", NULL
10192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
10194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10195 arg2
= (long)SWIG_As_long(obj1
);
10196 if (PyErr_Occurred()) SWIG_fail
;
10197 arg3
= (long)SWIG_As_long(obj2
);
10198 if (PyErr_Occurred()) SWIG_fail
;
10200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10201 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
10203 wxPyEndAllowThreads(__tstate
);
10204 if (PyErr_Occurred()) SWIG_fail
;
10208 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10210 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10219 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10220 PyObject
*resultobj
;
10221 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10222 wxVisualAttributes result
;
10223 PyObject
* obj0
= 0 ;
10224 char *kwnames
[] = {
10225 (char *) "variant", NULL
10228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10230 arg1
= (int)SWIG_As_int(obj0
);
10231 if (PyErr_Occurred()) SWIG_fail
;
10234 if (!wxPyCheckForApp()) SWIG_fail
;
10235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10236 result
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10238 wxPyEndAllowThreads(__tstate
);
10239 if (PyErr_Occurred()) SWIG_fail
;
10242 wxVisualAttributes
* resultptr
;
10243 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10244 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10252 static PyObject
* TextCtrl_swigregister(PyObject
*, PyObject
*args
) {
10254 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10255 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
10257 return Py_BuildValue((char *)"");
10259 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10260 PyObject
*resultobj
;
10262 wxMouseEvent
*arg2
= 0 ;
10265 wxTextUrlEvent
*result
;
10266 PyObject
* obj0
= 0 ;
10267 PyObject
* obj1
= 0 ;
10268 PyObject
* obj2
= 0 ;
10269 PyObject
* obj3
= 0 ;
10270 char *kwnames
[] = {
10271 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
10274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10275 arg1
= (int)SWIG_As_int(obj0
);
10276 if (PyErr_Occurred()) SWIG_fail
;
10277 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
,
10278 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10280 if (arg2
== NULL
) {
10281 PyErr_SetString(PyExc_TypeError
,"null reference");
10284 arg3
= (long)SWIG_As_long(obj2
);
10285 if (PyErr_Occurred()) SWIG_fail
;
10286 arg4
= (long)SWIG_As_long(obj3
);
10287 if (PyErr_Occurred()) SWIG_fail
;
10289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10290 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
10292 wxPyEndAllowThreads(__tstate
);
10293 if (PyErr_Occurred()) SWIG_fail
;
10295 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
10302 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10303 PyObject
*resultobj
;
10304 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
10305 wxMouseEvent
*result
;
10306 PyObject
* obj0
= 0 ;
10307 char *kwnames
[] = {
10308 (char *) "self", NULL
10311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
10312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
10313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10317 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
10318 result
= (wxMouseEvent
*) &_result_ref
;
10321 wxPyEndAllowThreads(__tstate
);
10322 if (PyErr_Occurred()) SWIG_fail
;
10324 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
10331 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10332 PyObject
*resultobj
;
10333 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
10335 PyObject
* obj0
= 0 ;
10336 char *kwnames
[] = {
10337 (char *) "self", NULL
10340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",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();
10345 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
10347 wxPyEndAllowThreads(__tstate
);
10348 if (PyErr_Occurred()) SWIG_fail
;
10350 resultobj
= SWIG_From_long((long)result
);
10357 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10358 PyObject
*resultobj
;
10359 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
10361 PyObject
* obj0
= 0 ;
10362 char *kwnames
[] = {
10363 (char *) "self", NULL
10366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
10367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
10368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10371 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
10373 wxPyEndAllowThreads(__tstate
);
10374 if (PyErr_Occurred()) SWIG_fail
;
10376 resultobj
= SWIG_From_long((long)result
);
10383 static PyObject
* TextUrlEvent_swigregister(PyObject
*, PyObject
*args
) {
10385 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10386 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
10388 return Py_BuildValue((char *)"");
10390 static int _wrap_ScrollBarNameStr_set(PyObject
*) {
10391 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
10396 static PyObject
*_wrap_ScrollBarNameStr_get() {
10401 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
10403 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
10410 static PyObject
*_wrap_new_ScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10411 PyObject
*resultobj
;
10412 wxWindow
*arg1
= (wxWindow
*) 0 ;
10413 int arg2
= (int) -1 ;
10414 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10415 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10416 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10417 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10418 long arg5
= (long) wxSB_HORIZONTAL
;
10419 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
10420 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
10421 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
10422 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10423 wxScrollBar
*result
;
10426 bool temp7
= false ;
10427 PyObject
* obj0
= 0 ;
10428 PyObject
* obj1
= 0 ;
10429 PyObject
* obj2
= 0 ;
10430 PyObject
* obj3
= 0 ;
10431 PyObject
* obj4
= 0 ;
10432 PyObject
* obj5
= 0 ;
10433 PyObject
* obj6
= 0 ;
10434 char *kwnames
[] = {
10435 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10442 arg2
= (int)SWIG_As_int(obj1
);
10443 if (PyErr_Occurred()) SWIG_fail
;
10448 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10454 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10458 arg5
= (long)SWIG_As_long(obj4
);
10459 if (PyErr_Occurred()) SWIG_fail
;
10462 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
10463 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10465 if (arg6
== NULL
) {
10466 PyErr_SetString(PyExc_TypeError
,"null reference");
10472 arg7
= wxString_in_helper(obj6
);
10473 if (arg7
== NULL
) SWIG_fail
;
10478 if (!wxPyCheckForApp()) SWIG_fail
;
10479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10480 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
10482 wxPyEndAllowThreads(__tstate
);
10483 if (PyErr_Occurred()) SWIG_fail
;
10485 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10500 static PyObject
*_wrap_new_PreScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10501 PyObject
*resultobj
;
10502 wxScrollBar
*result
;
10503 char *kwnames
[] = {
10507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
10509 if (!wxPyCheckForApp()) SWIG_fail
;
10510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10511 result
= (wxScrollBar
*)new wxScrollBar();
10513 wxPyEndAllowThreads(__tstate
);
10514 if (PyErr_Occurred()) SWIG_fail
;
10516 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10523 static PyObject
*_wrap_ScrollBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10524 PyObject
*resultobj
;
10525 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10526 wxWindow
*arg2
= (wxWindow
*) 0 ;
10527 int arg3
= (int) -1 ;
10528 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10529 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10530 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10531 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10532 long arg6
= (long) wxSB_HORIZONTAL
;
10533 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10534 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10535 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
10536 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10540 bool temp8
= false ;
10541 PyObject
* obj0
= 0 ;
10542 PyObject
* obj1
= 0 ;
10543 PyObject
* obj2
= 0 ;
10544 PyObject
* obj3
= 0 ;
10545 PyObject
* obj4
= 0 ;
10546 PyObject
* obj5
= 0 ;
10547 PyObject
* obj6
= 0 ;
10548 PyObject
* obj7
= 0 ;
10549 char *kwnames
[] = {
10550 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
10554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10556 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10559 arg3
= (int)SWIG_As_int(obj2
);
10560 if (PyErr_Occurred()) SWIG_fail
;
10565 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10571 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10575 arg6
= (long)SWIG_As_long(obj5
);
10576 if (PyErr_Occurred()) SWIG_fail
;
10579 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
10580 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10582 if (arg7
== NULL
) {
10583 PyErr_SetString(PyExc_TypeError
,"null reference");
10589 arg8
= wxString_in_helper(obj7
);
10590 if (arg8
== NULL
) SWIG_fail
;
10595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10596 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10598 wxPyEndAllowThreads(__tstate
);
10599 if (PyErr_Occurred()) SWIG_fail
;
10602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10618 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10619 PyObject
*resultobj
;
10620 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10622 PyObject
* obj0
= 0 ;
10623 char *kwnames
[] = {
10624 (char *) "self", NULL
10627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
10628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10632 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
10634 wxPyEndAllowThreads(__tstate
);
10635 if (PyErr_Occurred()) SWIG_fail
;
10637 resultobj
= SWIG_From_int((int)result
);
10644 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10645 PyObject
*resultobj
;
10646 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10648 PyObject
* obj0
= 0 ;
10649 char *kwnames
[] = {
10650 (char *) "self", NULL
10653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
10654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10658 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
10660 wxPyEndAllowThreads(__tstate
);
10661 if (PyErr_Occurred()) SWIG_fail
;
10663 resultobj
= SWIG_From_int((int)result
);
10670 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10671 PyObject
*resultobj
;
10672 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10674 PyObject
* obj0
= 0 ;
10675 char *kwnames
[] = {
10676 (char *) "self", NULL
10679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
10680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10684 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
10686 wxPyEndAllowThreads(__tstate
);
10687 if (PyErr_Occurred()) SWIG_fail
;
10689 resultobj
= SWIG_From_int((int)result
);
10696 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10697 PyObject
*resultobj
;
10698 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10700 PyObject
* obj0
= 0 ;
10701 char *kwnames
[] = {
10702 (char *) "self", NULL
10705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
10706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10710 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
10712 wxPyEndAllowThreads(__tstate
);
10713 if (PyErr_Occurred()) SWIG_fail
;
10715 resultobj
= SWIG_From_int((int)result
);
10722 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10723 PyObject
*resultobj
;
10724 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10726 PyObject
* obj0
= 0 ;
10727 char *kwnames
[] = {
10728 (char *) "self", NULL
10731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
10732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10736 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
10738 wxPyEndAllowThreads(__tstate
);
10739 if (PyErr_Occurred()) SWIG_fail
;
10742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10750 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10751 PyObject
*resultobj
;
10752 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10754 PyObject
* obj0
= 0 ;
10755 PyObject
* obj1
= 0 ;
10756 char *kwnames
[] = {
10757 (char *) "self",(char *) "viewStart", NULL
10760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10763 arg2
= (int)SWIG_As_int(obj1
);
10764 if (PyErr_Occurred()) SWIG_fail
;
10766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10767 (arg1
)->SetThumbPosition(arg2
);
10769 wxPyEndAllowThreads(__tstate
);
10770 if (PyErr_Occurred()) SWIG_fail
;
10772 Py_INCREF(Py_None
); resultobj
= Py_None
;
10779 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10780 PyObject
*resultobj
;
10781 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10786 bool arg6
= (bool) true ;
10787 PyObject
* obj0
= 0 ;
10788 PyObject
* obj1
= 0 ;
10789 PyObject
* obj2
= 0 ;
10790 PyObject
* obj3
= 0 ;
10791 PyObject
* obj4
= 0 ;
10792 PyObject
* obj5
= 0 ;
10793 char *kwnames
[] = {
10794 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
10797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10800 arg2
= (int)SWIG_As_int(obj1
);
10801 if (PyErr_Occurred()) SWIG_fail
;
10802 arg3
= (int)SWIG_As_int(obj2
);
10803 if (PyErr_Occurred()) SWIG_fail
;
10804 arg4
= (int)SWIG_As_int(obj3
);
10805 if (PyErr_Occurred()) SWIG_fail
;
10806 arg5
= (int)SWIG_As_int(obj4
);
10807 if (PyErr_Occurred()) SWIG_fail
;
10809 arg6
= (bool)SWIG_As_bool(obj5
);
10810 if (PyErr_Occurred()) SWIG_fail
;
10813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10814 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
10816 wxPyEndAllowThreads(__tstate
);
10817 if (PyErr_Occurred()) SWIG_fail
;
10819 Py_INCREF(Py_None
); resultobj
= Py_None
;
10826 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10827 PyObject
*resultobj
;
10828 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10829 wxVisualAttributes result
;
10830 PyObject
* obj0
= 0 ;
10831 char *kwnames
[] = {
10832 (char *) "variant", NULL
10835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10837 arg1
= (int)SWIG_As_int(obj0
);
10838 if (PyErr_Occurred()) SWIG_fail
;
10841 if (!wxPyCheckForApp()) SWIG_fail
;
10842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10843 result
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10845 wxPyEndAllowThreads(__tstate
);
10846 if (PyErr_Occurred()) SWIG_fail
;
10849 wxVisualAttributes
* resultptr
;
10850 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10851 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10859 static PyObject
* ScrollBar_swigregister(PyObject
*, PyObject
*args
) {
10861 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10862 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
10864 return Py_BuildValue((char *)"");
10866 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*) {
10867 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
10872 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
10877 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10879 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10886 static int _wrap_SpinCtrlNameStr_set(PyObject
*) {
10887 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
10892 static PyObject
*_wrap_SpinCtrlNameStr_get() {
10897 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10899 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10906 static PyObject
*_wrap_new_SpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10907 PyObject
*resultobj
;
10908 wxWindow
*arg1
= (wxWindow
*) 0 ;
10909 int arg2
= (int) -1 ;
10910 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10911 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10912 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10913 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10914 long arg5
= (long) wxSP_HORIZONTAL
;
10915 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
10916 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10917 wxSpinButton
*result
;
10920 bool temp6
= false ;
10921 PyObject
* obj0
= 0 ;
10922 PyObject
* obj1
= 0 ;
10923 PyObject
* obj2
= 0 ;
10924 PyObject
* obj3
= 0 ;
10925 PyObject
* obj4
= 0 ;
10926 PyObject
* obj5
= 0 ;
10927 char *kwnames
[] = {
10928 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10935 arg2
= (int)SWIG_As_int(obj1
);
10936 if (PyErr_Occurred()) SWIG_fail
;
10941 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10947 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10951 arg5
= (long)SWIG_As_long(obj4
);
10952 if (PyErr_Occurred()) SWIG_fail
;
10956 arg6
= wxString_in_helper(obj5
);
10957 if (arg6
== NULL
) SWIG_fail
;
10962 if (!wxPyCheckForApp()) SWIG_fail
;
10963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10964 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10966 wxPyEndAllowThreads(__tstate
);
10967 if (PyErr_Occurred()) SWIG_fail
;
10969 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10984 static PyObject
*_wrap_new_PreSpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10985 PyObject
*resultobj
;
10986 wxSpinButton
*result
;
10987 char *kwnames
[] = {
10991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
10993 if (!wxPyCheckForApp()) SWIG_fail
;
10994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10995 result
= (wxSpinButton
*)new wxSpinButton();
10997 wxPyEndAllowThreads(__tstate
);
10998 if (PyErr_Occurred()) SWIG_fail
;
11000 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
11007 static PyObject
*_wrap_SpinButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11008 PyObject
*resultobj
;
11009 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
11010 wxWindow
*arg2
= (wxWindow
*) 0 ;
11011 int arg3
= (int) -1 ;
11012 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11013 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11014 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11015 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11016 long arg6
= (long) wxSP_HORIZONTAL
;
11017 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
11018 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11022 bool temp7
= false ;
11023 PyObject
* obj0
= 0 ;
11024 PyObject
* obj1
= 0 ;
11025 PyObject
* obj2
= 0 ;
11026 PyObject
* obj3
= 0 ;
11027 PyObject
* obj4
= 0 ;
11028 PyObject
* obj5
= 0 ;
11029 PyObject
* obj6
= 0 ;
11030 char *kwnames
[] = {
11031 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
11035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
11036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11037 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11040 arg3
= (int)SWIG_As_int(obj2
);
11041 if (PyErr_Occurred()) SWIG_fail
;
11046 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11052 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11056 arg6
= (long)SWIG_As_long(obj5
);
11057 if (PyErr_Occurred()) SWIG_fail
;
11061 arg7
= wxString_in_helper(obj6
);
11062 if (arg7
== NULL
) SWIG_fail
;
11067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11068 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11070 wxPyEndAllowThreads(__tstate
);
11071 if (PyErr_Occurred()) SWIG_fail
;
11074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11090 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11091 PyObject
*resultobj
;
11092 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
11094 PyObject
* obj0
= 0 ;
11095 char *kwnames
[] = {
11096 (char *) "self", NULL
11099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
11100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
11101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11104 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
11106 wxPyEndAllowThreads(__tstate
);
11107 if (PyErr_Occurred()) SWIG_fail
;
11109 resultobj
= SWIG_From_int((int)result
);
11116 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11117 PyObject
*resultobj
;
11118 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
11120 PyObject
* obj0
= 0 ;
11121 char *kwnames
[] = {
11122 (char *) "self", NULL
11125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
11126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
11127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11130 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
11132 wxPyEndAllowThreads(__tstate
);
11133 if (PyErr_Occurred()) SWIG_fail
;
11135 resultobj
= SWIG_From_int((int)result
);
11142 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11143 PyObject
*resultobj
;
11144 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
11146 PyObject
* obj0
= 0 ;
11147 char *kwnames
[] = {
11148 (char *) "self", NULL
11151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
11152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
11153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11156 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
11158 wxPyEndAllowThreads(__tstate
);
11159 if (PyErr_Occurred()) SWIG_fail
;
11161 resultobj
= SWIG_From_int((int)result
);
11168 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11169 PyObject
*resultobj
;
11170 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
11172 PyObject
* obj0
= 0 ;
11173 PyObject
* obj1
= 0 ;
11174 char *kwnames
[] = {
11175 (char *) "self",(char *) "val", NULL
11178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
11180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11181 arg2
= (int)SWIG_As_int(obj1
);
11182 if (PyErr_Occurred()) SWIG_fail
;
11184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11185 (arg1
)->SetValue(arg2
);
11187 wxPyEndAllowThreads(__tstate
);
11188 if (PyErr_Occurred()) SWIG_fail
;
11190 Py_INCREF(Py_None
); resultobj
= Py_None
;
11197 static PyObject
*_wrap_SpinButton_SetMin(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 *) "minVal", NULL
11207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",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
)->SetMin(arg2
);
11216 wxPyEndAllowThreads(__tstate
);
11217 if (PyErr_Occurred()) SWIG_fail
;
11219 Py_INCREF(Py_None
); resultobj
= Py_None
;
11226 static PyObject
*_wrap_SpinButton_SetMax(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 *) "maxVal", NULL
11236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",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
)->SetMax(arg2
);
11245 wxPyEndAllowThreads(__tstate
);
11246 if (PyErr_Occurred()) SWIG_fail
;
11248 Py_INCREF(Py_None
); resultobj
= Py_None
;
11255 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11256 PyObject
*resultobj
;
11257 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
11260 PyObject
* obj0
= 0 ;
11261 PyObject
* obj1
= 0 ;
11262 PyObject
* obj2
= 0 ;
11263 char *kwnames
[] = {
11264 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
11269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11270 arg2
= (int)SWIG_As_int(obj1
);
11271 if (PyErr_Occurred()) SWIG_fail
;
11272 arg3
= (int)SWIG_As_int(obj2
);
11273 if (PyErr_Occurred()) SWIG_fail
;
11275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11276 (arg1
)->SetRange(arg2
,arg3
);
11278 wxPyEndAllowThreads(__tstate
);
11279 if (PyErr_Occurred()) SWIG_fail
;
11281 Py_INCREF(Py_None
); resultobj
= Py_None
;
11288 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11289 PyObject
*resultobj
;
11290 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
11292 PyObject
* obj0
= 0 ;
11293 char *kwnames
[] = {
11294 (char *) "self", NULL
11297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
11298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
11299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11302 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
11304 wxPyEndAllowThreads(__tstate
);
11305 if (PyErr_Occurred()) SWIG_fail
;
11308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11316 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11317 PyObject
*resultobj
;
11318 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
11319 wxVisualAttributes result
;
11320 PyObject
* obj0
= 0 ;
11321 char *kwnames
[] = {
11322 (char *) "variant", NULL
11325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11327 arg1
= (int)SWIG_As_int(obj0
);
11328 if (PyErr_Occurred()) SWIG_fail
;
11331 if (!wxPyCheckForApp()) SWIG_fail
;
11332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11333 result
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11335 wxPyEndAllowThreads(__tstate
);
11336 if (PyErr_Occurred()) SWIG_fail
;
11339 wxVisualAttributes
* resultptr
;
11340 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
11341 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11349 static PyObject
* SpinButton_swigregister(PyObject
*, PyObject
*args
) {
11351 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11352 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
11354 return Py_BuildValue((char *)"");
11356 static PyObject
*_wrap_new_SpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11357 PyObject
*resultobj
;
11358 wxWindow
*arg1
= (wxWindow
*) 0 ;
11359 int arg2
= (int) -1 ;
11360 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11361 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11362 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11363 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11364 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11365 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11366 long arg6
= (long) wxSP_ARROW_KEYS
;
11367 int arg7
= (int) 0 ;
11368 int arg8
= (int) 100 ;
11369 int arg9
= (int) 0 ;
11370 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
11371 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11372 wxSpinCtrl
*result
;
11373 bool temp3
= false ;
11376 bool temp10
= false ;
11377 PyObject
* obj0
= 0 ;
11378 PyObject
* obj1
= 0 ;
11379 PyObject
* obj2
= 0 ;
11380 PyObject
* obj3
= 0 ;
11381 PyObject
* obj4
= 0 ;
11382 PyObject
* obj5
= 0 ;
11383 PyObject
* obj6
= 0 ;
11384 PyObject
* obj7
= 0 ;
11385 PyObject
* obj8
= 0 ;
11386 PyObject
* obj9
= 0 ;
11387 char *kwnames
[] = {
11388 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11395 arg2
= (int)SWIG_As_int(obj1
);
11396 if (PyErr_Occurred()) SWIG_fail
;
11400 arg3
= wxString_in_helper(obj2
);
11401 if (arg3
== NULL
) SWIG_fail
;
11408 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11414 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11418 arg6
= (long)SWIG_As_long(obj5
);
11419 if (PyErr_Occurred()) SWIG_fail
;
11422 arg7
= (int)SWIG_As_int(obj6
);
11423 if (PyErr_Occurred()) SWIG_fail
;
11426 arg8
= (int)SWIG_As_int(obj7
);
11427 if (PyErr_Occurred()) SWIG_fail
;
11430 arg9
= (int)SWIG_As_int(obj8
);
11431 if (PyErr_Occurred()) SWIG_fail
;
11435 arg10
= wxString_in_helper(obj9
);
11436 if (arg10
== NULL
) SWIG_fail
;
11441 if (!wxPyCheckForApp()) SWIG_fail
;
11442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11443 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
11445 wxPyEndAllowThreads(__tstate
);
11446 if (PyErr_Occurred()) SWIG_fail
;
11448 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11471 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11472 PyObject
*resultobj
;
11473 wxSpinCtrl
*result
;
11474 char *kwnames
[] = {
11478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
11480 if (!wxPyCheckForApp()) SWIG_fail
;
11481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11482 result
= (wxSpinCtrl
*)new wxSpinCtrl();
11484 wxPyEndAllowThreads(__tstate
);
11485 if (PyErr_Occurred()) SWIG_fail
;
11487 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11494 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11495 PyObject
*resultobj
;
11496 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11497 wxWindow
*arg2
= (wxWindow
*) 0 ;
11498 int arg3
= (int) -1 ;
11499 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11500 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11501 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11502 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11503 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11504 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11505 long arg7
= (long) wxSP_ARROW_KEYS
;
11506 int arg8
= (int) 0 ;
11507 int arg9
= (int) 100 ;
11508 int arg10
= (int) 0 ;
11509 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
11510 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11512 bool temp4
= false ;
11515 bool temp11
= false ;
11516 PyObject
* obj0
= 0 ;
11517 PyObject
* obj1
= 0 ;
11518 PyObject
* obj2
= 0 ;
11519 PyObject
* obj3
= 0 ;
11520 PyObject
* obj4
= 0 ;
11521 PyObject
* obj5
= 0 ;
11522 PyObject
* obj6
= 0 ;
11523 PyObject
* obj7
= 0 ;
11524 PyObject
* obj8
= 0 ;
11525 PyObject
* obj9
= 0 ;
11526 PyObject
* obj10
= 0 ;
11527 char *kwnames
[] = {
11528 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11534 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11537 arg3
= (int)SWIG_As_int(obj2
);
11538 if (PyErr_Occurred()) SWIG_fail
;
11542 arg4
= wxString_in_helper(obj3
);
11543 if (arg4
== NULL
) SWIG_fail
;
11550 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11556 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11560 arg7
= (long)SWIG_As_long(obj6
);
11561 if (PyErr_Occurred()) SWIG_fail
;
11564 arg8
= (int)SWIG_As_int(obj7
);
11565 if (PyErr_Occurred()) SWIG_fail
;
11568 arg9
= (int)SWIG_As_int(obj8
);
11569 if (PyErr_Occurred()) SWIG_fail
;
11572 arg10
= (int)SWIG_As_int(obj9
);
11573 if (PyErr_Occurred()) SWIG_fail
;
11577 arg11
= wxString_in_helper(obj10
);
11578 if (arg11
== NULL
) SWIG_fail
;
11583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11584 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
11586 wxPyEndAllowThreads(__tstate
);
11587 if (PyErr_Occurred()) SWIG_fail
;
11590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11614 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11615 PyObject
*resultobj
;
11616 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11618 PyObject
* obj0
= 0 ;
11619 char *kwnames
[] = {
11620 (char *) "self", NULL
11623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
11624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11628 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
11630 wxPyEndAllowThreads(__tstate
);
11631 if (PyErr_Occurred()) SWIG_fail
;
11633 resultobj
= SWIG_From_int((int)result
);
11640 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11641 PyObject
*resultobj
;
11642 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11644 PyObject
* obj0
= 0 ;
11645 PyObject
* obj1
= 0 ;
11646 char *kwnames
[] = {
11647 (char *) "self",(char *) "value", NULL
11650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11653 arg2
= (int)SWIG_As_int(obj1
);
11654 if (PyErr_Occurred()) SWIG_fail
;
11656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11657 (arg1
)->SetValue(arg2
);
11659 wxPyEndAllowThreads(__tstate
);
11660 if (PyErr_Occurred()) SWIG_fail
;
11662 Py_INCREF(Py_None
); resultobj
= Py_None
;
11669 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11670 PyObject
*resultobj
;
11671 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11672 wxString
*arg2
= 0 ;
11673 bool temp2
= false ;
11674 PyObject
* obj0
= 0 ;
11675 PyObject
* obj1
= 0 ;
11676 char *kwnames
[] = {
11677 (char *) "self",(char *) "text", NULL
11680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
11681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11684 arg2
= wxString_in_helper(obj1
);
11685 if (arg2
== NULL
) SWIG_fail
;
11689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11690 (arg1
)->SetValue((wxString
const &)*arg2
);
11692 wxPyEndAllowThreads(__tstate
);
11693 if (PyErr_Occurred()) SWIG_fail
;
11695 Py_INCREF(Py_None
); resultobj
= Py_None
;
11710 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11711 PyObject
*resultobj
;
11712 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11715 PyObject
* obj0
= 0 ;
11716 PyObject
* obj1
= 0 ;
11717 PyObject
* obj2
= 0 ;
11718 char *kwnames
[] = {
11719 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11725 arg2
= (int)SWIG_As_int(obj1
);
11726 if (PyErr_Occurred()) SWIG_fail
;
11727 arg3
= (int)SWIG_As_int(obj2
);
11728 if (PyErr_Occurred()) SWIG_fail
;
11730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11731 (arg1
)->SetRange(arg2
,arg3
);
11733 wxPyEndAllowThreads(__tstate
);
11734 if (PyErr_Occurred()) SWIG_fail
;
11736 Py_INCREF(Py_None
); resultobj
= Py_None
;
11743 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11744 PyObject
*resultobj
;
11745 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11747 PyObject
* obj0
= 0 ;
11748 char *kwnames
[] = {
11749 (char *) "self", NULL
11752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
11753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11757 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
11759 wxPyEndAllowThreads(__tstate
);
11760 if (PyErr_Occurred()) SWIG_fail
;
11762 resultobj
= SWIG_From_int((int)result
);
11769 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11770 PyObject
*resultobj
;
11771 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11773 PyObject
* obj0
= 0 ;
11774 char *kwnames
[] = {
11775 (char *) "self", NULL
11778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
11779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11783 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
11785 wxPyEndAllowThreads(__tstate
);
11786 if (PyErr_Occurred()) SWIG_fail
;
11788 resultobj
= SWIG_From_int((int)result
);
11795 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11796 PyObject
*resultobj
;
11797 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11800 PyObject
* obj0
= 0 ;
11801 PyObject
* obj1
= 0 ;
11802 PyObject
* obj2
= 0 ;
11803 char *kwnames
[] = {
11804 (char *) "self",(char *) "from",(char *) "to", NULL
11807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11810 arg2
= (long)SWIG_As_long(obj1
);
11811 if (PyErr_Occurred()) SWIG_fail
;
11812 arg3
= (long)SWIG_As_long(obj2
);
11813 if (PyErr_Occurred()) SWIG_fail
;
11815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11816 (arg1
)->SetSelection(arg2
,arg3
);
11818 wxPyEndAllowThreads(__tstate
);
11819 if (PyErr_Occurred()) SWIG_fail
;
11821 Py_INCREF(Py_None
); resultobj
= Py_None
;
11828 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11829 PyObject
*resultobj
;
11830 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
11831 wxVisualAttributes result
;
11832 PyObject
* obj0
= 0 ;
11833 char *kwnames
[] = {
11834 (char *) "variant", NULL
11837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11839 arg1
= (int)SWIG_As_int(obj0
);
11840 if (PyErr_Occurred()) SWIG_fail
;
11843 if (!wxPyCheckForApp()) SWIG_fail
;
11844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11845 result
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11847 wxPyEndAllowThreads(__tstate
);
11848 if (PyErr_Occurred()) SWIG_fail
;
11851 wxVisualAttributes
* resultptr
;
11852 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
11853 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11861 static PyObject
* SpinCtrl_swigregister(PyObject
*, PyObject
*args
) {
11863 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11864 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
11866 return Py_BuildValue((char *)"");
11868 static PyObject
*_wrap_new_SpinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11869 PyObject
*resultobj
;
11870 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11871 int arg2
= (int) 0 ;
11872 wxSpinEvent
*result
;
11873 PyObject
* obj0
= 0 ;
11874 PyObject
* obj1
= 0 ;
11875 char *kwnames
[] = {
11876 (char *) "commandType",(char *) "winid", NULL
11879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11881 arg1
= (wxEventType
)SWIG_As_int(obj0
);
11882 if (PyErr_Occurred()) SWIG_fail
;
11885 arg2
= (int)SWIG_As_int(obj1
);
11886 if (PyErr_Occurred()) SWIG_fail
;
11889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11890 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
11892 wxPyEndAllowThreads(__tstate
);
11893 if (PyErr_Occurred()) SWIG_fail
;
11895 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
11902 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11903 PyObject
*resultobj
;
11904 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11906 PyObject
* obj0
= 0 ;
11907 char *kwnames
[] = {
11908 (char *) "self", NULL
11911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11916 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
11918 wxPyEndAllowThreads(__tstate
);
11919 if (PyErr_Occurred()) SWIG_fail
;
11921 resultobj
= SWIG_From_int((int)result
);
11928 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11929 PyObject
*resultobj
;
11930 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11932 PyObject
* obj0
= 0 ;
11933 PyObject
* obj1
= 0 ;
11934 char *kwnames
[] = {
11935 (char *) "self",(char *) "pos", NULL
11938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11941 arg2
= (int)SWIG_As_int(obj1
);
11942 if (PyErr_Occurred()) SWIG_fail
;
11944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11945 (arg1
)->SetPosition(arg2
);
11947 wxPyEndAllowThreads(__tstate
);
11948 if (PyErr_Occurred()) SWIG_fail
;
11950 Py_INCREF(Py_None
); resultobj
= Py_None
;
11957 static PyObject
* SpinEvent_swigregister(PyObject
*, PyObject
*args
) {
11959 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11960 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
11962 return Py_BuildValue((char *)"");
11964 static int _wrap_RadioBoxNameStr_set(PyObject
*) {
11965 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
11970 static PyObject
*_wrap_RadioBoxNameStr_get() {
11975 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11977 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11984 static int _wrap_RadioButtonNameStr_set(PyObject
*) {
11985 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
11990 static PyObject
*_wrap_RadioButtonNameStr_get() {
11995 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11997 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
12004 static PyObject
*_wrap_new_RadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12005 PyObject
*resultobj
;
12006 wxWindow
*arg1
= (wxWindow
*) 0 ;
12007 int arg2
= (int) -1 ;
12008 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12009 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12010 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12011 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12012 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12013 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12014 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
12015 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
12016 int arg7
= (int) 0 ;
12017 long arg8
= (long) wxRA_HORIZONTAL
;
12018 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
12019 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
12020 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
12021 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12022 wxRadioBox
*result
;
12023 bool temp3
= false ;
12026 bool temp6
= false ;
12027 bool temp10
= false ;
12028 PyObject
* obj0
= 0 ;
12029 PyObject
* obj1
= 0 ;
12030 PyObject
* obj2
= 0 ;
12031 PyObject
* obj3
= 0 ;
12032 PyObject
* obj4
= 0 ;
12033 PyObject
* obj5
= 0 ;
12034 PyObject
* obj6
= 0 ;
12035 PyObject
* obj7
= 0 ;
12036 PyObject
* obj8
= 0 ;
12037 PyObject
* obj9
= 0 ;
12038 char *kwnames
[] = {
12039 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
12042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12046 arg2
= (int)SWIG_As_int(obj1
);
12047 if (PyErr_Occurred()) SWIG_fail
;
12051 arg3
= wxString_in_helper(obj2
);
12052 if (arg3
== NULL
) SWIG_fail
;
12059 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12065 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12070 if (! PySequence_Check(obj5
)) {
12071 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
12074 arg6
= new wxArrayString
;
12076 int i
, len
=PySequence_Length(obj5
);
12077 for (i
=0; i
<len
; i
++) {
12078 PyObject
* item
= PySequence_GetItem(obj5
, i
);
12080 PyObject
* str
= PyObject_Unicode(item
);
12082 PyObject
* str
= PyObject_Str(item
);
12084 if (PyErr_Occurred()) SWIG_fail
;
12085 arg6
->Add(Py2wxString(str
));
12092 arg7
= (int)SWIG_As_int(obj6
);
12093 if (PyErr_Occurred()) SWIG_fail
;
12096 arg8
= (long)SWIG_As_long(obj7
);
12097 if (PyErr_Occurred()) SWIG_fail
;
12100 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
12101 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12103 if (arg9
== NULL
) {
12104 PyErr_SetString(PyExc_TypeError
,"null reference");
12110 arg10
= wxString_in_helper(obj9
);
12111 if (arg10
== NULL
) SWIG_fail
;
12116 if (!wxPyCheckForApp()) SWIG_fail
;
12117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12118 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
);
12120 wxPyEndAllowThreads(__tstate
);
12121 if (PyErr_Occurred()) SWIG_fail
;
12123 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
12129 if (temp6
) delete arg6
;
12142 if (temp6
) delete arg6
;
12152 static PyObject
*_wrap_new_PreRadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12153 PyObject
*resultobj
;
12154 wxRadioBox
*result
;
12155 char *kwnames
[] = {
12159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
12161 if (!wxPyCheckForApp()) SWIG_fail
;
12162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12163 result
= (wxRadioBox
*)new wxRadioBox();
12165 wxPyEndAllowThreads(__tstate
);
12166 if (PyErr_Occurred()) SWIG_fail
;
12168 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
12175 static PyObject
*_wrap_RadioBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12176 PyObject
*resultobj
;
12177 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12178 wxWindow
*arg2
= (wxWindow
*) 0 ;
12179 int arg3
= (int) -1 ;
12180 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12181 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12182 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12183 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12184 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12185 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12186 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
12187 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
12188 int arg8
= (int) 0 ;
12189 long arg9
= (long) wxRA_HORIZONTAL
;
12190 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
12191 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
12192 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
12193 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12195 bool temp4
= false ;
12198 bool temp7
= false ;
12199 bool temp11
= false ;
12200 PyObject
* obj0
= 0 ;
12201 PyObject
* obj1
= 0 ;
12202 PyObject
* obj2
= 0 ;
12203 PyObject
* obj3
= 0 ;
12204 PyObject
* obj4
= 0 ;
12205 PyObject
* obj5
= 0 ;
12206 PyObject
* obj6
= 0 ;
12207 PyObject
* obj7
= 0 ;
12208 PyObject
* obj8
= 0 ;
12209 PyObject
* obj9
= 0 ;
12210 PyObject
* obj10
= 0 ;
12211 char *kwnames
[] = {
12212 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
12215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12218 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12221 arg3
= (int)SWIG_As_int(obj2
);
12222 if (PyErr_Occurred()) SWIG_fail
;
12226 arg4
= wxString_in_helper(obj3
);
12227 if (arg4
== NULL
) SWIG_fail
;
12234 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12240 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12245 if (! PySequence_Check(obj6
)) {
12246 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
12249 arg7
= new wxArrayString
;
12251 int i
, len
=PySequence_Length(obj6
);
12252 for (i
=0; i
<len
; i
++) {
12253 PyObject
* item
= PySequence_GetItem(obj6
, i
);
12255 PyObject
* str
= PyObject_Unicode(item
);
12257 PyObject
* str
= PyObject_Str(item
);
12259 if (PyErr_Occurred()) SWIG_fail
;
12260 arg7
->Add(Py2wxString(str
));
12267 arg8
= (int)SWIG_As_int(obj7
);
12268 if (PyErr_Occurred()) SWIG_fail
;
12271 arg9
= (long)SWIG_As_long(obj8
);
12272 if (PyErr_Occurred()) SWIG_fail
;
12275 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
12276 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12278 if (arg10
== NULL
) {
12279 PyErr_SetString(PyExc_TypeError
,"null reference");
12285 arg11
= wxString_in_helper(obj10
);
12286 if (arg11
== NULL
) SWIG_fail
;
12291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12292 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
);
12294 wxPyEndAllowThreads(__tstate
);
12295 if (PyErr_Occurred()) SWIG_fail
;
12298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12305 if (temp7
) delete arg7
;
12318 if (temp7
) delete arg7
;
12328 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12329 PyObject
*resultobj
;
12330 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12332 PyObject
* obj0
= 0 ;
12333 PyObject
* obj1
= 0 ;
12334 char *kwnames
[] = {
12335 (char *) "self",(char *) "n", NULL
12338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12341 arg2
= (int)SWIG_As_int(obj1
);
12342 if (PyErr_Occurred()) SWIG_fail
;
12344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12345 (arg1
)->SetSelection(arg2
);
12347 wxPyEndAllowThreads(__tstate
);
12348 if (PyErr_Occurred()) SWIG_fail
;
12350 Py_INCREF(Py_None
); resultobj
= Py_None
;
12357 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12358 PyObject
*resultobj
;
12359 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12361 PyObject
* obj0
= 0 ;
12362 char *kwnames
[] = {
12363 (char *) "self", NULL
12366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
12367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12371 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
12373 wxPyEndAllowThreads(__tstate
);
12374 if (PyErr_Occurred()) SWIG_fail
;
12376 resultobj
= SWIG_From_int((int)result
);
12383 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12384 PyObject
*resultobj
;
12385 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12387 PyObject
* obj0
= 0 ;
12388 char *kwnames
[] = {
12389 (char *) "self", NULL
12392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12397 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
12399 wxPyEndAllowThreads(__tstate
);
12400 if (PyErr_Occurred()) SWIG_fail
;
12404 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12406 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12415 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12416 PyObject
*resultobj
;
12417 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12418 wxString
*arg2
= 0 ;
12420 bool temp2
= false ;
12421 PyObject
* obj0
= 0 ;
12422 PyObject
* obj1
= 0 ;
12423 char *kwnames
[] = {
12424 (char *) "self",(char *) "s", NULL
12427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12431 arg2
= wxString_in_helper(obj1
);
12432 if (arg2
== NULL
) SWIG_fail
;
12436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12437 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
12439 wxPyEndAllowThreads(__tstate
);
12440 if (PyErr_Occurred()) SWIG_fail
;
12443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12459 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12460 PyObject
*resultobj
;
12461 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12463 PyObject
* obj0
= 0 ;
12464 char *kwnames
[] = {
12465 (char *) "self", NULL
12468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
12469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12473 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
12475 wxPyEndAllowThreads(__tstate
);
12476 if (PyErr_Occurred()) SWIG_fail
;
12478 resultobj
= SWIG_From_int((int)result
);
12485 static PyObject
*_wrap_RadioBox_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12486 PyObject
*resultobj
;
12487 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12488 wxString
*arg2
= 0 ;
12490 bool temp2
= false ;
12491 PyObject
* obj0
= 0 ;
12492 PyObject
* obj1
= 0 ;
12493 char *kwnames
[] = {
12494 (char *) "self",(char *) "s", NULL
12497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
12498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12501 arg2
= wxString_in_helper(obj1
);
12502 if (arg2
== NULL
) SWIG_fail
;
12506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12507 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
12509 wxPyEndAllowThreads(__tstate
);
12510 if (PyErr_Occurred()) SWIG_fail
;
12512 resultobj
= SWIG_From_int((int)result
);
12527 static PyObject
*_wrap_RadioBox_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12528 PyObject
*resultobj
;
12529 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12532 PyObject
* obj0
= 0 ;
12533 PyObject
* obj1
= 0 ;
12534 char *kwnames
[] = {
12535 (char *) "self",(char *) "n", NULL
12538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12541 arg2
= (int)SWIG_As_int(obj1
);
12542 if (PyErr_Occurred()) SWIG_fail
;
12544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12545 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
12547 wxPyEndAllowThreads(__tstate
);
12548 if (PyErr_Occurred()) SWIG_fail
;
12552 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12554 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12563 static PyObject
*_wrap_RadioBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12564 PyObject
*resultobj
;
12565 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12567 wxString
*arg3
= 0 ;
12568 bool temp3
= false ;
12569 PyObject
* obj0
= 0 ;
12570 PyObject
* obj1
= 0 ;
12571 PyObject
* obj2
= 0 ;
12572 char *kwnames
[] = {
12573 (char *) "self",(char *) "n",(char *) "label", NULL
12576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12579 arg2
= (int)SWIG_As_int(obj1
);
12580 if (PyErr_Occurred()) SWIG_fail
;
12582 arg3
= wxString_in_helper(obj2
);
12583 if (arg3
== NULL
) SWIG_fail
;
12587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12588 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
12590 wxPyEndAllowThreads(__tstate
);
12591 if (PyErr_Occurred()) SWIG_fail
;
12593 Py_INCREF(Py_None
); resultobj
= Py_None
;
12608 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12609 PyObject
*resultobj
;
12610 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12612 bool arg3
= (bool) true ;
12613 PyObject
* obj0
= 0 ;
12614 PyObject
* obj1
= 0 ;
12615 PyObject
* obj2
= 0 ;
12616 char *kwnames
[] = {
12617 (char *) "self",(char *) "n",(char *) "enable", NULL
12620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12623 arg2
= (int)SWIG_As_int(obj1
);
12624 if (PyErr_Occurred()) SWIG_fail
;
12626 arg3
= (bool)SWIG_As_bool(obj2
);
12627 if (PyErr_Occurred()) SWIG_fail
;
12630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12631 (arg1
)->Enable(arg2
,arg3
);
12633 wxPyEndAllowThreads(__tstate
);
12634 if (PyErr_Occurred()) SWIG_fail
;
12636 Py_INCREF(Py_None
); resultobj
= Py_None
;
12643 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12644 PyObject
*resultobj
;
12645 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12647 bool arg3
= (bool) true ;
12648 PyObject
* obj0
= 0 ;
12649 PyObject
* obj1
= 0 ;
12650 PyObject
* obj2
= 0 ;
12651 char *kwnames
[] = {
12652 (char *) "self",(char *) "n",(char *) "show", NULL
12655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12658 arg2
= (int)SWIG_As_int(obj1
);
12659 if (PyErr_Occurred()) SWIG_fail
;
12661 arg3
= (bool)SWIG_As_bool(obj2
);
12662 if (PyErr_Occurred()) SWIG_fail
;
12665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12666 (arg1
)->Show(arg2
,arg3
);
12668 wxPyEndAllowThreads(__tstate
);
12669 if (PyErr_Occurred()) SWIG_fail
;
12671 Py_INCREF(Py_None
); resultobj
= Py_None
;
12678 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12679 PyObject
*resultobj
;
12680 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12682 PyObject
* obj0
= 0 ;
12683 char *kwnames
[] = {
12684 (char *) "self", NULL
12687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
12688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12692 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
12694 wxPyEndAllowThreads(__tstate
);
12695 if (PyErr_Occurred()) SWIG_fail
;
12697 resultobj
= SWIG_From_int((int)result
);
12704 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12705 PyObject
*resultobj
;
12706 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12708 PyObject
* obj0
= 0 ;
12709 char *kwnames
[] = {
12710 (char *) "self", NULL
12713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
12714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12718 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
12720 wxPyEndAllowThreads(__tstate
);
12721 if (PyErr_Occurred()) SWIG_fail
;
12723 resultobj
= SWIG_From_int((int)result
);
12730 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12731 PyObject
*resultobj
;
12732 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12737 PyObject
* obj0
= 0 ;
12738 PyObject
* obj1
= 0 ;
12739 PyObject
* obj2
= 0 ;
12740 PyObject
* obj3
= 0 ;
12741 char *kwnames
[] = {
12742 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
12745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12748 arg2
= (int)SWIG_As_int(obj1
);
12749 if (PyErr_Occurred()) SWIG_fail
;
12750 arg3
= (int)SWIG_As_int(obj2
);
12751 if (PyErr_Occurred()) SWIG_fail
;
12752 arg4
= (long)SWIG_As_long(obj3
);
12753 if (PyErr_Occurred()) SWIG_fail
;
12755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12756 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
12758 wxPyEndAllowThreads(__tstate
);
12759 if (PyErr_Occurred()) SWIG_fail
;
12761 resultobj
= SWIG_From_int((int)result
);
12768 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12769 PyObject
*resultobj
;
12770 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12771 wxVisualAttributes result
;
12772 PyObject
* obj0
= 0 ;
12773 char *kwnames
[] = {
12774 (char *) "variant", NULL
12777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12779 arg1
= (int)SWIG_As_int(obj0
);
12780 if (PyErr_Occurred()) SWIG_fail
;
12783 if (!wxPyCheckForApp()) SWIG_fail
;
12784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12785 result
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12787 wxPyEndAllowThreads(__tstate
);
12788 if (PyErr_Occurred()) SWIG_fail
;
12791 wxVisualAttributes
* resultptr
;
12792 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12793 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12801 static PyObject
* RadioBox_swigregister(PyObject
*, PyObject
*args
) {
12803 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12804 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
12806 return Py_BuildValue((char *)"");
12808 static PyObject
*_wrap_new_RadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12809 PyObject
*resultobj
;
12810 wxWindow
*arg1
= (wxWindow
*) 0 ;
12811 int arg2
= (int) -1 ;
12812 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12813 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12814 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12815 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12816 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12817 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12818 long arg6
= (long) 0 ;
12819 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12820 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12821 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
12822 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12823 wxRadioButton
*result
;
12824 bool temp3
= false ;
12827 bool temp8
= false ;
12828 PyObject
* obj0
= 0 ;
12829 PyObject
* obj1
= 0 ;
12830 PyObject
* obj2
= 0 ;
12831 PyObject
* obj3
= 0 ;
12832 PyObject
* obj4
= 0 ;
12833 PyObject
* obj5
= 0 ;
12834 PyObject
* obj6
= 0 ;
12835 PyObject
* obj7
= 0 ;
12836 char *kwnames
[] = {
12837 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12844 arg2
= (int)SWIG_As_int(obj1
);
12845 if (PyErr_Occurred()) SWIG_fail
;
12849 arg3
= wxString_in_helper(obj2
);
12850 if (arg3
== NULL
) SWIG_fail
;
12857 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12863 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12867 arg6
= (long)SWIG_As_long(obj5
);
12868 if (PyErr_Occurred()) SWIG_fail
;
12871 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
12872 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12874 if (arg7
== NULL
) {
12875 PyErr_SetString(PyExc_TypeError
,"null reference");
12881 arg8
= wxString_in_helper(obj7
);
12882 if (arg8
== NULL
) SWIG_fail
;
12887 if (!wxPyCheckForApp()) SWIG_fail
;
12888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12889 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12891 wxPyEndAllowThreads(__tstate
);
12892 if (PyErr_Occurred()) SWIG_fail
;
12894 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12917 static PyObject
*_wrap_new_PreRadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12918 PyObject
*resultobj
;
12919 wxRadioButton
*result
;
12920 char *kwnames
[] = {
12924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
12926 if (!wxPyCheckForApp()) SWIG_fail
;
12927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12928 result
= (wxRadioButton
*)new wxRadioButton();
12930 wxPyEndAllowThreads(__tstate
);
12931 if (PyErr_Occurred()) SWIG_fail
;
12933 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12940 static PyObject
*_wrap_RadioButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12941 PyObject
*resultobj
;
12942 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12943 wxWindow
*arg2
= (wxWindow
*) 0 ;
12944 int arg3
= (int) -1 ;
12945 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12946 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12947 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12948 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12949 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12950 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12951 long arg7
= (long) 0 ;
12952 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
12953 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
12954 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
12955 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
12957 bool temp4
= false ;
12960 bool temp9
= false ;
12961 PyObject
* obj0
= 0 ;
12962 PyObject
* obj1
= 0 ;
12963 PyObject
* obj2
= 0 ;
12964 PyObject
* obj3
= 0 ;
12965 PyObject
* obj4
= 0 ;
12966 PyObject
* obj5
= 0 ;
12967 PyObject
* obj6
= 0 ;
12968 PyObject
* obj7
= 0 ;
12969 PyObject
* obj8
= 0 ;
12970 char *kwnames
[] = {
12971 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
12975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12977 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12980 arg3
= (int)SWIG_As_int(obj2
);
12981 if (PyErr_Occurred()) SWIG_fail
;
12985 arg4
= wxString_in_helper(obj3
);
12986 if (arg4
== NULL
) SWIG_fail
;
12993 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12999 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
13003 arg7
= (long)SWIG_As_long(obj6
);
13004 if (PyErr_Occurred()) SWIG_fail
;
13007 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
13008 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13010 if (arg8
== NULL
) {
13011 PyErr_SetString(PyExc_TypeError
,"null reference");
13017 arg9
= wxString_in_helper(obj8
);
13018 if (arg9
== NULL
) SWIG_fail
;
13023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13024 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
13026 wxPyEndAllowThreads(__tstate
);
13027 if (PyErr_Occurred()) SWIG_fail
;
13030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13054 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13055 PyObject
*resultobj
;
13056 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
13058 PyObject
* obj0
= 0 ;
13059 char *kwnames
[] = {
13060 (char *) "self", NULL
13063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
13064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
13065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13068 result
= (bool)(arg1
)->GetValue();
13070 wxPyEndAllowThreads(__tstate
);
13071 if (PyErr_Occurred()) SWIG_fail
;
13074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13082 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13083 PyObject
*resultobj
;
13084 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
13086 PyObject
* obj0
= 0 ;
13087 PyObject
* obj1
= 0 ;
13088 char *kwnames
[] = {
13089 (char *) "self",(char *) "value", NULL
13092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
13094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13095 arg2
= (bool)SWIG_As_bool(obj1
);
13096 if (PyErr_Occurred()) SWIG_fail
;
13098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13099 (arg1
)->SetValue(arg2
);
13101 wxPyEndAllowThreads(__tstate
);
13102 if (PyErr_Occurred()) SWIG_fail
;
13104 Py_INCREF(Py_None
); resultobj
= Py_None
;
13111 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13112 PyObject
*resultobj
;
13113 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
13114 wxVisualAttributes result
;
13115 PyObject
* obj0
= 0 ;
13116 char *kwnames
[] = {
13117 (char *) "variant", NULL
13120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13122 arg1
= (int)SWIG_As_int(obj0
);
13123 if (PyErr_Occurred()) SWIG_fail
;
13126 if (!wxPyCheckForApp()) SWIG_fail
;
13127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13128 result
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13130 wxPyEndAllowThreads(__tstate
);
13131 if (PyErr_Occurred()) SWIG_fail
;
13134 wxVisualAttributes
* resultptr
;
13135 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
13136 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13144 static PyObject
* RadioButton_swigregister(PyObject
*, PyObject
*args
) {
13146 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13147 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
13149 return Py_BuildValue((char *)"");
13151 static int _wrap_SliderNameStr_set(PyObject
*) {
13152 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
13157 static PyObject
*_wrap_SliderNameStr_get() {
13162 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
13164 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
13171 static PyObject
*_wrap_new_Slider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13172 PyObject
*resultobj
;
13173 wxWindow
*arg1
= (wxWindow
*) 0 ;
13174 int arg2
= (int) -1 ;
13175 int arg3
= (int) 0 ;
13176 int arg4
= (int) 0 ;
13177 int arg5
= (int) 100 ;
13178 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
13179 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
13180 wxSize
const &arg7_defvalue
= wxDefaultSize
;
13181 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
13182 long arg8
= (long) wxSL_HORIZONTAL
;
13183 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
13184 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
13185 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
13186 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
13190 bool temp10
= false ;
13191 PyObject
* obj0
= 0 ;
13192 PyObject
* obj1
= 0 ;
13193 PyObject
* obj2
= 0 ;
13194 PyObject
* obj3
= 0 ;
13195 PyObject
* obj4
= 0 ;
13196 PyObject
* obj5
= 0 ;
13197 PyObject
* obj6
= 0 ;
13198 PyObject
* obj7
= 0 ;
13199 PyObject
* obj8
= 0 ;
13200 PyObject
* obj9
= 0 ;
13201 char *kwnames
[] = {
13202 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
13206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13209 arg2
= (int)SWIG_As_int(obj1
);
13210 if (PyErr_Occurred()) SWIG_fail
;
13213 arg3
= (int)SWIG_As_int(obj2
);
13214 if (PyErr_Occurred()) SWIG_fail
;
13217 arg4
= (int)SWIG_As_int(obj3
);
13218 if (PyErr_Occurred()) SWIG_fail
;
13221 arg5
= (int)SWIG_As_int(obj4
);
13222 if (PyErr_Occurred()) SWIG_fail
;
13227 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
13233 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
13237 arg8
= (long)SWIG_As_long(obj7
);
13238 if (PyErr_Occurred()) SWIG_fail
;
13241 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
13242 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13244 if (arg9
== NULL
) {
13245 PyErr_SetString(PyExc_TypeError
,"null reference");
13251 arg10
= wxString_in_helper(obj9
);
13252 if (arg10
== NULL
) SWIG_fail
;
13257 if (!wxPyCheckForApp()) SWIG_fail
;
13258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13259 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
13261 wxPyEndAllowThreads(__tstate
);
13262 if (PyErr_Occurred()) SWIG_fail
;
13264 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
13279 static PyObject
*_wrap_new_PreSlider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13280 PyObject
*resultobj
;
13282 char *kwnames
[] = {
13286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
13288 if (!wxPyCheckForApp()) SWIG_fail
;
13289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13290 result
= (wxSlider
*)new wxSlider();
13292 wxPyEndAllowThreads(__tstate
);
13293 if (PyErr_Occurred()) SWIG_fail
;
13295 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
13302 static PyObject
*_wrap_Slider_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13303 PyObject
*resultobj
;
13304 wxSlider
*arg1
= (wxSlider
*) 0 ;
13305 wxWindow
*arg2
= (wxWindow
*) 0 ;
13306 int arg3
= (int) -1 ;
13307 int arg4
= (int) 0 ;
13308 int arg5
= (int) 0 ;
13309 int arg6
= (int) 100 ;
13310 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
13311 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
13312 wxSize
const &arg8_defvalue
= wxDefaultSize
;
13313 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
13314 long arg9
= (long) wxSL_HORIZONTAL
;
13315 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
13316 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
13317 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
13318 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13322 bool temp11
= false ;
13323 PyObject
* obj0
= 0 ;
13324 PyObject
* obj1
= 0 ;
13325 PyObject
* obj2
= 0 ;
13326 PyObject
* obj3
= 0 ;
13327 PyObject
* obj4
= 0 ;
13328 PyObject
* obj5
= 0 ;
13329 PyObject
* obj6
= 0 ;
13330 PyObject
* obj7
= 0 ;
13331 PyObject
* obj8
= 0 ;
13332 PyObject
* obj9
= 0 ;
13333 PyObject
* obj10
= 0 ;
13334 char *kwnames
[] = {
13335 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13341 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13344 arg3
= (int)SWIG_As_int(obj2
);
13345 if (PyErr_Occurred()) SWIG_fail
;
13348 arg4
= (int)SWIG_As_int(obj3
);
13349 if (PyErr_Occurred()) SWIG_fail
;
13352 arg5
= (int)SWIG_As_int(obj4
);
13353 if (PyErr_Occurred()) SWIG_fail
;
13356 arg6
= (int)SWIG_As_int(obj5
);
13357 if (PyErr_Occurred()) SWIG_fail
;
13362 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
13368 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
13372 arg9
= (long)SWIG_As_long(obj8
);
13373 if (PyErr_Occurred()) SWIG_fail
;
13376 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
13377 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13379 if (arg10
== NULL
) {
13380 PyErr_SetString(PyExc_TypeError
,"null reference");
13386 arg11
= wxString_in_helper(obj10
);
13387 if (arg11
== NULL
) SWIG_fail
;
13392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13393 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
13395 wxPyEndAllowThreads(__tstate
);
13396 if (PyErr_Occurred()) SWIG_fail
;
13399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13415 static PyObject
*_wrap_Slider_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13416 PyObject
*resultobj
;
13417 wxSlider
*arg1
= (wxSlider
*) 0 ;
13419 PyObject
* obj0
= 0 ;
13420 char *kwnames
[] = {
13421 (char *) "self", NULL
13424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
13425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13429 result
= (int)((wxSlider
const *)arg1
)->GetValue();
13431 wxPyEndAllowThreads(__tstate
);
13432 if (PyErr_Occurred()) SWIG_fail
;
13434 resultobj
= SWIG_From_int((int)result
);
13441 static PyObject
*_wrap_Slider_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13442 PyObject
*resultobj
;
13443 wxSlider
*arg1
= (wxSlider
*) 0 ;
13445 PyObject
* obj0
= 0 ;
13446 PyObject
* obj1
= 0 ;
13447 char *kwnames
[] = {
13448 (char *) "self",(char *) "value", NULL
13451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13454 arg2
= (int)SWIG_As_int(obj1
);
13455 if (PyErr_Occurred()) SWIG_fail
;
13457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13458 (arg1
)->SetValue(arg2
);
13460 wxPyEndAllowThreads(__tstate
);
13461 if (PyErr_Occurred()) SWIG_fail
;
13463 Py_INCREF(Py_None
); resultobj
= Py_None
;
13470 static PyObject
*_wrap_Slider_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13471 PyObject
*resultobj
;
13472 wxSlider
*arg1
= (wxSlider
*) 0 ;
13475 PyObject
* obj0
= 0 ;
13476 PyObject
* obj1
= 0 ;
13477 PyObject
* obj2
= 0 ;
13478 char *kwnames
[] = {
13479 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
13482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13485 arg2
= (int)SWIG_As_int(obj1
);
13486 if (PyErr_Occurred()) SWIG_fail
;
13487 arg3
= (int)SWIG_As_int(obj2
);
13488 if (PyErr_Occurred()) SWIG_fail
;
13490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13491 (arg1
)->SetRange(arg2
,arg3
);
13493 wxPyEndAllowThreads(__tstate
);
13494 if (PyErr_Occurred()) SWIG_fail
;
13496 Py_INCREF(Py_None
); resultobj
= Py_None
;
13503 static PyObject
*_wrap_Slider_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13504 PyObject
*resultobj
;
13505 wxSlider
*arg1
= (wxSlider
*) 0 ;
13507 PyObject
* obj0
= 0 ;
13508 char *kwnames
[] = {
13509 (char *) "self", NULL
13512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
13513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13517 result
= (int)((wxSlider
const *)arg1
)->GetMin();
13519 wxPyEndAllowThreads(__tstate
);
13520 if (PyErr_Occurred()) SWIG_fail
;
13522 resultobj
= SWIG_From_int((int)result
);
13529 static PyObject
*_wrap_Slider_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13530 PyObject
*resultobj
;
13531 wxSlider
*arg1
= (wxSlider
*) 0 ;
13533 PyObject
* obj0
= 0 ;
13534 char *kwnames
[] = {
13535 (char *) "self", NULL
13538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
13539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13543 result
= (int)((wxSlider
const *)arg1
)->GetMax();
13545 wxPyEndAllowThreads(__tstate
);
13546 if (PyErr_Occurred()) SWIG_fail
;
13548 resultobj
= SWIG_From_int((int)result
);
13555 static PyObject
*_wrap_Slider_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13556 PyObject
*resultobj
;
13557 wxSlider
*arg1
= (wxSlider
*) 0 ;
13559 PyObject
* obj0
= 0 ;
13560 PyObject
* obj1
= 0 ;
13561 char *kwnames
[] = {
13562 (char *) "self",(char *) "minValue", NULL
13565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
13566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13568 arg2
= (int)SWIG_As_int(obj1
);
13569 if (PyErr_Occurred()) SWIG_fail
;
13571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13572 (arg1
)->SetMin(arg2
);
13574 wxPyEndAllowThreads(__tstate
);
13575 if (PyErr_Occurred()) SWIG_fail
;
13577 Py_INCREF(Py_None
); resultobj
= Py_None
;
13584 static PyObject
*_wrap_Slider_SetMax(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 *) "maxValue", NULL
13594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",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
)->SetMax(arg2
);
13603 wxPyEndAllowThreads(__tstate
);
13604 if (PyErr_Occurred()) SWIG_fail
;
13606 Py_INCREF(Py_None
); resultobj
= Py_None
;
13613 static PyObject
*_wrap_Slider_SetLineSize(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 *) "lineSize", NULL
13623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",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
)->SetLineSize(arg2
);
13632 wxPyEndAllowThreads(__tstate
);
13633 if (PyErr_Occurred()) SWIG_fail
;
13635 Py_INCREF(Py_None
); resultobj
= Py_None
;
13642 static PyObject
*_wrap_Slider_SetPageSize(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 *) "pageSize", NULL
13652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",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
)->SetPageSize(arg2
);
13661 wxPyEndAllowThreads(__tstate
);
13662 if (PyErr_Occurred()) SWIG_fail
;
13664 Py_INCREF(Py_None
); resultobj
= Py_None
;
13671 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13672 PyObject
*resultobj
;
13673 wxSlider
*arg1
= (wxSlider
*) 0 ;
13675 PyObject
* obj0
= 0 ;
13676 char *kwnames
[] = {
13677 (char *) "self", NULL
13680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
13681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13685 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
13687 wxPyEndAllowThreads(__tstate
);
13688 if (PyErr_Occurred()) SWIG_fail
;
13690 resultobj
= SWIG_From_int((int)result
);
13697 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13698 PyObject
*resultobj
;
13699 wxSlider
*arg1
= (wxSlider
*) 0 ;
13701 PyObject
* obj0
= 0 ;
13702 char *kwnames
[] = {
13703 (char *) "self", NULL
13706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
13707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13711 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
13713 wxPyEndAllowThreads(__tstate
);
13714 if (PyErr_Occurred()) SWIG_fail
;
13716 resultobj
= SWIG_From_int((int)result
);
13723 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13724 PyObject
*resultobj
;
13725 wxSlider
*arg1
= (wxSlider
*) 0 ;
13727 PyObject
* obj0
= 0 ;
13728 PyObject
* obj1
= 0 ;
13729 char *kwnames
[] = {
13730 (char *) "self",(char *) "lenPixels", NULL
13733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
13734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13736 arg2
= (int)SWIG_As_int(obj1
);
13737 if (PyErr_Occurred()) SWIG_fail
;
13739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13740 (arg1
)->SetThumbLength(arg2
);
13742 wxPyEndAllowThreads(__tstate
);
13743 if (PyErr_Occurred()) SWIG_fail
;
13745 Py_INCREF(Py_None
); resultobj
= Py_None
;
13752 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13753 PyObject
*resultobj
;
13754 wxSlider
*arg1
= (wxSlider
*) 0 ;
13756 PyObject
* obj0
= 0 ;
13757 char *kwnames
[] = {
13758 (char *) "self", NULL
13761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
13762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13766 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
13768 wxPyEndAllowThreads(__tstate
);
13769 if (PyErr_Occurred()) SWIG_fail
;
13771 resultobj
= SWIG_From_int((int)result
);
13778 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13779 PyObject
*resultobj
;
13780 wxSlider
*arg1
= (wxSlider
*) 0 ;
13782 int arg3
= (int) 1 ;
13783 PyObject
* obj0
= 0 ;
13784 PyObject
* obj1
= 0 ;
13785 PyObject
* obj2
= 0 ;
13786 char *kwnames
[] = {
13787 (char *) "self",(char *) "n",(char *) "pos", NULL
13790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13793 arg2
= (int)SWIG_As_int(obj1
);
13794 if (PyErr_Occurred()) SWIG_fail
;
13796 arg3
= (int)SWIG_As_int(obj2
);
13797 if (PyErr_Occurred()) SWIG_fail
;
13800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13801 (arg1
)->SetTickFreq(arg2
,arg3
);
13803 wxPyEndAllowThreads(__tstate
);
13804 if (PyErr_Occurred()) SWIG_fail
;
13806 Py_INCREF(Py_None
); resultobj
= Py_None
;
13813 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13814 PyObject
*resultobj
;
13815 wxSlider
*arg1
= (wxSlider
*) 0 ;
13817 PyObject
* obj0
= 0 ;
13818 char *kwnames
[] = {
13819 (char *) "self", NULL
13822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
13823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13827 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
13829 wxPyEndAllowThreads(__tstate
);
13830 if (PyErr_Occurred()) SWIG_fail
;
13832 resultobj
= SWIG_From_int((int)result
);
13839 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13840 PyObject
*resultobj
;
13841 wxSlider
*arg1
= (wxSlider
*) 0 ;
13842 PyObject
* obj0
= 0 ;
13843 char *kwnames
[] = {
13844 (char *) "self", NULL
13847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
13848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13852 (arg1
)->ClearTicks();
13854 wxPyEndAllowThreads(__tstate
);
13855 if (PyErr_Occurred()) SWIG_fail
;
13857 Py_INCREF(Py_None
); resultobj
= Py_None
;
13864 static PyObject
*_wrap_Slider_SetTick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13865 PyObject
*resultobj
;
13866 wxSlider
*arg1
= (wxSlider
*) 0 ;
13868 PyObject
* obj0
= 0 ;
13869 PyObject
* obj1
= 0 ;
13870 char *kwnames
[] = {
13871 (char *) "self",(char *) "tickPos", NULL
13874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
13875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13877 arg2
= (int)SWIG_As_int(obj1
);
13878 if (PyErr_Occurred()) SWIG_fail
;
13880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13881 (arg1
)->SetTick(arg2
);
13883 wxPyEndAllowThreads(__tstate
);
13884 if (PyErr_Occurred()) SWIG_fail
;
13886 Py_INCREF(Py_None
); resultobj
= Py_None
;
13893 static PyObject
*_wrap_Slider_ClearSel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13894 PyObject
*resultobj
;
13895 wxSlider
*arg1
= (wxSlider
*) 0 ;
13896 PyObject
* obj0
= 0 ;
13897 char *kwnames
[] = {
13898 (char *) "self", NULL
13901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
13902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13906 (arg1
)->ClearSel();
13908 wxPyEndAllowThreads(__tstate
);
13909 if (PyErr_Occurred()) SWIG_fail
;
13911 Py_INCREF(Py_None
); resultobj
= Py_None
;
13918 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13919 PyObject
*resultobj
;
13920 wxSlider
*arg1
= (wxSlider
*) 0 ;
13922 PyObject
* obj0
= 0 ;
13923 char *kwnames
[] = {
13924 (char *) "self", NULL
13927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
13928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13932 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
13934 wxPyEndAllowThreads(__tstate
);
13935 if (PyErr_Occurred()) SWIG_fail
;
13937 resultobj
= SWIG_From_int((int)result
);
13944 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13945 PyObject
*resultobj
;
13946 wxSlider
*arg1
= (wxSlider
*) 0 ;
13948 PyObject
* obj0
= 0 ;
13949 char *kwnames
[] = {
13950 (char *) "self", NULL
13953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
13954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13958 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
13960 wxPyEndAllowThreads(__tstate
);
13961 if (PyErr_Occurred()) SWIG_fail
;
13963 resultobj
= SWIG_From_int((int)result
);
13970 static PyObject
*_wrap_Slider_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13971 PyObject
*resultobj
;
13972 wxSlider
*arg1
= (wxSlider
*) 0 ;
13975 PyObject
* obj0
= 0 ;
13976 PyObject
* obj1
= 0 ;
13977 PyObject
* obj2
= 0 ;
13978 char *kwnames
[] = {
13979 (char *) "self",(char *) "min",(char *) "max", NULL
13982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13985 arg2
= (int)SWIG_As_int(obj1
);
13986 if (PyErr_Occurred()) SWIG_fail
;
13987 arg3
= (int)SWIG_As_int(obj2
);
13988 if (PyErr_Occurred()) SWIG_fail
;
13990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13991 (arg1
)->SetSelection(arg2
,arg3
);
13993 wxPyEndAllowThreads(__tstate
);
13994 if (PyErr_Occurred()) SWIG_fail
;
13996 Py_INCREF(Py_None
); resultobj
= Py_None
;
14003 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14004 PyObject
*resultobj
;
14005 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14006 wxVisualAttributes result
;
14007 PyObject
* obj0
= 0 ;
14008 char *kwnames
[] = {
14009 (char *) "variant", NULL
14012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14014 arg1
= (int)SWIG_As_int(obj0
);
14015 if (PyErr_Occurred()) SWIG_fail
;
14018 if (!wxPyCheckForApp()) SWIG_fail
;
14019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14020 result
= wxSlider::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14022 wxPyEndAllowThreads(__tstate
);
14023 if (PyErr_Occurred()) SWIG_fail
;
14026 wxVisualAttributes
* resultptr
;
14027 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14028 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14036 static PyObject
* Slider_swigregister(PyObject
*, PyObject
*args
) {
14038 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14039 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
14041 return Py_BuildValue((char *)"");
14043 static int _wrap_ToggleButtonNameStr_set(PyObject
*) {
14044 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
14049 static PyObject
*_wrap_ToggleButtonNameStr_get() {
14054 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
14056 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
14063 static PyObject
*_wrap_new_ToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14064 PyObject
*resultobj
;
14065 wxWindow
*arg1
= (wxWindow
*) 0 ;
14066 int arg2
= (int) -1 ;
14067 wxString
const &arg3_defvalue
= wxPyEmptyString
;
14068 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
14069 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14070 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14071 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14072 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14073 long arg6
= (long) 0 ;
14074 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
14075 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
14076 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
14077 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
14078 wxToggleButton
*result
;
14079 bool temp3
= false ;
14082 bool temp8
= false ;
14083 PyObject
* obj0
= 0 ;
14084 PyObject
* obj1
= 0 ;
14085 PyObject
* obj2
= 0 ;
14086 PyObject
* obj3
= 0 ;
14087 PyObject
* obj4
= 0 ;
14088 PyObject
* obj5
= 0 ;
14089 PyObject
* obj6
= 0 ;
14090 PyObject
* obj7
= 0 ;
14091 char *kwnames
[] = {
14092 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
14096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
14097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14099 arg2
= (int)SWIG_As_int(obj1
);
14100 if (PyErr_Occurred()) SWIG_fail
;
14104 arg3
= wxString_in_helper(obj2
);
14105 if (arg3
== NULL
) SWIG_fail
;
14112 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14118 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14122 arg6
= (long)SWIG_As_long(obj5
);
14123 if (PyErr_Occurred()) SWIG_fail
;
14126 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
14127 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14129 if (arg7
== NULL
) {
14130 PyErr_SetString(PyExc_TypeError
,"null reference");
14136 arg8
= wxString_in_helper(obj7
);
14137 if (arg8
== NULL
) SWIG_fail
;
14142 if (!wxPyCheckForApp()) SWIG_fail
;
14143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14144 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14146 wxPyEndAllowThreads(__tstate
);
14147 if (PyErr_Occurred()) SWIG_fail
;
14149 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
14172 static PyObject
*_wrap_new_PreToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14173 PyObject
*resultobj
;
14174 wxToggleButton
*result
;
14175 char *kwnames
[] = {
14179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
14181 if (!wxPyCheckForApp()) SWIG_fail
;
14182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14183 result
= (wxToggleButton
*)new wxToggleButton();
14185 wxPyEndAllowThreads(__tstate
);
14186 if (PyErr_Occurred()) SWIG_fail
;
14188 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
14195 static PyObject
*_wrap_ToggleButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14196 PyObject
*resultobj
;
14197 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14198 wxWindow
*arg2
= (wxWindow
*) 0 ;
14199 int arg3
= (int) -1 ;
14200 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14201 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14202 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14203 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14204 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14205 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14206 long arg7
= (long) 0 ;
14207 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
14208 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
14209 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
14210 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
14212 bool temp4
= false ;
14215 bool temp9
= false ;
14216 PyObject
* obj0
= 0 ;
14217 PyObject
* obj1
= 0 ;
14218 PyObject
* obj2
= 0 ;
14219 PyObject
* obj3
= 0 ;
14220 PyObject
* obj4
= 0 ;
14221 PyObject
* obj5
= 0 ;
14222 PyObject
* obj6
= 0 ;
14223 PyObject
* obj7
= 0 ;
14224 PyObject
* obj8
= 0 ;
14225 char *kwnames
[] = {
14226 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
14230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14232 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14235 arg3
= (int)SWIG_As_int(obj2
);
14236 if (PyErr_Occurred()) SWIG_fail
;
14240 arg4
= wxString_in_helper(obj3
);
14241 if (arg4
== NULL
) SWIG_fail
;
14248 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14254 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14258 arg7
= (long)SWIG_As_long(obj6
);
14259 if (PyErr_Occurred()) SWIG_fail
;
14262 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
14263 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14265 if (arg8
== NULL
) {
14266 PyErr_SetString(PyExc_TypeError
,"null reference");
14272 arg9
= wxString_in_helper(obj8
);
14273 if (arg9
== NULL
) SWIG_fail
;
14278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14279 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
14281 wxPyEndAllowThreads(__tstate
);
14282 if (PyErr_Occurred()) SWIG_fail
;
14285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14309 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14310 PyObject
*resultobj
;
14311 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14313 PyObject
* obj0
= 0 ;
14314 PyObject
* obj1
= 0 ;
14315 char *kwnames
[] = {
14316 (char *) "self",(char *) "value", NULL
14319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14322 arg2
= (bool)SWIG_As_bool(obj1
);
14323 if (PyErr_Occurred()) SWIG_fail
;
14325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14326 (arg1
)->SetValue(arg2
);
14328 wxPyEndAllowThreads(__tstate
);
14329 if (PyErr_Occurred()) SWIG_fail
;
14331 Py_INCREF(Py_None
); resultobj
= Py_None
;
14338 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14339 PyObject
*resultobj
;
14340 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14342 PyObject
* obj0
= 0 ;
14343 char *kwnames
[] = {
14344 (char *) "self", NULL
14347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
14348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14352 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
14354 wxPyEndAllowThreads(__tstate
);
14355 if (PyErr_Occurred()) SWIG_fail
;
14358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14366 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14367 PyObject
*resultobj
;
14368 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14369 wxString
*arg2
= 0 ;
14370 bool temp2
= false ;
14371 PyObject
* obj0
= 0 ;
14372 PyObject
* obj1
= 0 ;
14373 char *kwnames
[] = {
14374 (char *) "self",(char *) "label", NULL
14377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
14378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14381 arg2
= wxString_in_helper(obj1
);
14382 if (arg2
== NULL
) SWIG_fail
;
14386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14387 (arg1
)->SetLabel((wxString
const &)*arg2
);
14389 wxPyEndAllowThreads(__tstate
);
14390 if (PyErr_Occurred()) SWIG_fail
;
14392 Py_INCREF(Py_None
); resultobj
= Py_None
;
14407 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14408 PyObject
*resultobj
;
14409 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14410 wxVisualAttributes result
;
14411 PyObject
* obj0
= 0 ;
14412 char *kwnames
[] = {
14413 (char *) "variant", NULL
14416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14418 arg1
= (int)SWIG_As_int(obj0
);
14419 if (PyErr_Occurred()) SWIG_fail
;
14422 if (!wxPyCheckForApp()) SWIG_fail
;
14423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14424 result
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14426 wxPyEndAllowThreads(__tstate
);
14427 if (PyErr_Occurred()) SWIG_fail
;
14430 wxVisualAttributes
* resultptr
;
14431 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14432 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14440 static PyObject
* ToggleButton_swigregister(PyObject
*, PyObject
*args
) {
14442 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14443 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
14445 return Py_BuildValue((char *)"");
14447 static int _wrap_NOTEBOOK_NAME_set(PyObject
*) {
14448 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
14453 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
14458 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
14460 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
14467 static PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14468 PyObject
*resultobj
;
14469 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14471 PyObject
* obj0
= 0 ;
14472 char *kwnames
[] = {
14473 (char *) "self", NULL
14476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetPageCount",kwnames
,&obj0
)) goto fail
;
14477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14481 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
14483 wxPyEndAllowThreads(__tstate
);
14484 if (PyErr_Occurred()) SWIG_fail
;
14486 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
14493 static PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14494 PyObject
*resultobj
;
14495 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14498 PyObject
* obj0
= 0 ;
14499 PyObject
* obj1
= 0 ;
14500 char *kwnames
[] = {
14501 (char *) "self",(char *) "n", NULL
14504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14507 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14508 if (PyErr_Occurred()) SWIG_fail
;
14510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14511 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
14513 wxPyEndAllowThreads(__tstate
);
14514 if (PyErr_Occurred()) SWIG_fail
;
14517 resultobj
= wxPyMake_wxObject(result
, 0);
14525 static PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14526 PyObject
*resultobj
;
14527 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14529 PyObject
* obj0
= 0 ;
14530 char *kwnames
[] = {
14531 (char *) "self", NULL
14534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
14535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14539 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
14541 wxPyEndAllowThreads(__tstate
);
14542 if (PyErr_Occurred()) SWIG_fail
;
14545 resultobj
= wxPyMake_wxObject(result
, 0);
14553 static PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14554 PyObject
*resultobj
;
14555 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14557 PyObject
* obj0
= 0 ;
14558 char *kwnames
[] = {
14559 (char *) "self", NULL
14562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetSelection",kwnames
,&obj0
)) goto fail
;
14563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14567 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
14569 wxPyEndAllowThreads(__tstate
);
14570 if (PyErr_Occurred()) SWIG_fail
;
14572 resultobj
= SWIG_From_int((int)result
);
14579 static PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14580 PyObject
*resultobj
;
14581 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14583 wxString
*arg3
= 0 ;
14585 bool temp3
= false ;
14586 PyObject
* obj0
= 0 ;
14587 PyObject
* obj1
= 0 ;
14588 PyObject
* obj2
= 0 ;
14589 char *kwnames
[] = {
14590 (char *) "self",(char *) "n",(char *) "strText", NULL
14593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14596 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14597 if (PyErr_Occurred()) SWIG_fail
;
14599 arg3
= wxString_in_helper(obj2
);
14600 if (arg3
== NULL
) SWIG_fail
;
14604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14605 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
14607 wxPyEndAllowThreads(__tstate
);
14608 if (PyErr_Occurred()) SWIG_fail
;
14611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14627 static PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14628 PyObject
*resultobj
;
14629 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14632 PyObject
* obj0
= 0 ;
14633 PyObject
* obj1
= 0 ;
14634 char *kwnames
[] = {
14635 (char *) "self",(char *) "n", NULL
14638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
14639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14641 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14642 if (PyErr_Occurred()) SWIG_fail
;
14644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14645 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
14647 wxPyEndAllowThreads(__tstate
);
14648 if (PyErr_Occurred()) SWIG_fail
;
14652 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14654 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14663 static PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14664 PyObject
*resultobj
;
14665 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14666 wxImageList
*arg2
= (wxImageList
*) 0 ;
14667 PyObject
* obj0
= 0 ;
14668 PyObject
* obj1
= 0 ;
14669 char *kwnames
[] = {
14670 (char *) "self",(char *) "imageList", NULL
14673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14676 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14680 (arg1
)->SetImageList(arg2
);
14682 wxPyEndAllowThreads(__tstate
);
14683 if (PyErr_Occurred()) SWIG_fail
;
14685 Py_INCREF(Py_None
); resultobj
= Py_None
;
14692 static PyObject
*_wrap_BookCtrlBase_AssignImageList(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_AssignImageList",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
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
14708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14709 (arg1
)->AssignImageList(arg2
);
14711 wxPyEndAllowThreads(__tstate
);
14712 if (PyErr_Occurred()) SWIG_fail
;
14714 Py_INCREF(Py_None
); resultobj
= Py_None
;
14721 static PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14722 PyObject
*resultobj
;
14723 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14724 wxImageList
*result
;
14725 PyObject
* obj0
= 0 ;
14726 char *kwnames
[] = {
14727 (char *) "self", NULL
14730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetImageList",kwnames
,&obj0
)) goto fail
;
14731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14735 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
14737 wxPyEndAllowThreads(__tstate
);
14738 if (PyErr_Occurred()) SWIG_fail
;
14741 resultobj
= wxPyMake_wxObject(result
, 0);
14749 static PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14750 PyObject
*resultobj
;
14751 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14754 PyObject
* obj0
= 0 ;
14755 PyObject
* obj1
= 0 ;
14756 char *kwnames
[] = {
14757 (char *) "self",(char *) "n", NULL
14760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
14761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14763 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14764 if (PyErr_Occurred()) SWIG_fail
;
14766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14767 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
14769 wxPyEndAllowThreads(__tstate
);
14770 if (PyErr_Occurred()) SWIG_fail
;
14772 resultobj
= SWIG_From_int((int)result
);
14779 static PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14780 PyObject
*resultobj
;
14781 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14785 PyObject
* obj0
= 0 ;
14786 PyObject
* obj1
= 0 ;
14787 PyObject
* obj2
= 0 ;
14788 char *kwnames
[] = {
14789 (char *) "self",(char *) "n",(char *) "imageId", NULL
14792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14795 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14796 if (PyErr_Occurred()) SWIG_fail
;
14797 arg3
= (int)SWIG_As_int(obj2
);
14798 if (PyErr_Occurred()) SWIG_fail
;
14800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14801 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
14803 wxPyEndAllowThreads(__tstate
);
14804 if (PyErr_Occurred()) SWIG_fail
;
14807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14815 static PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14816 PyObject
*resultobj
;
14817 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14820 PyObject
* obj0
= 0 ;
14821 PyObject
* obj1
= 0 ;
14822 char *kwnames
[] = {
14823 (char *) "self",(char *) "size", NULL
14826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14831 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14835 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
14837 wxPyEndAllowThreads(__tstate
);
14838 if (PyErr_Occurred()) SWIG_fail
;
14840 Py_INCREF(Py_None
); resultobj
= Py_None
;
14847 static PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14848 PyObject
*resultobj
;
14849 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14853 PyObject
* obj0
= 0 ;
14854 PyObject
* obj1
= 0 ;
14855 char *kwnames
[] = {
14856 (char *) "self",(char *) "sizePage", NULL
14859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14864 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14868 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14870 wxPyEndAllowThreads(__tstate
);
14871 if (PyErr_Occurred()) SWIG_fail
;
14874 wxSize
* resultptr
;
14875 resultptr
= new wxSize((wxSize
&) result
);
14876 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14884 static PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14885 PyObject
*resultobj
;
14886 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14889 PyObject
* obj0
= 0 ;
14890 PyObject
* obj1
= 0 ;
14891 char *kwnames
[] = {
14892 (char *) "self",(char *) "n", NULL
14895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14898 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14899 if (PyErr_Occurred()) SWIG_fail
;
14901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14902 result
= (bool)(arg1
)->DeletePage(arg2
);
14904 wxPyEndAllowThreads(__tstate
);
14905 if (PyErr_Occurred()) SWIG_fail
;
14908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14916 static PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14917 PyObject
*resultobj
;
14918 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14921 PyObject
* obj0
= 0 ;
14922 PyObject
* obj1
= 0 ;
14923 char *kwnames
[] = {
14924 (char *) "self",(char *) "n", NULL
14927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14930 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14931 if (PyErr_Occurred()) SWIG_fail
;
14933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14934 result
= (bool)(arg1
)->RemovePage(arg2
);
14936 wxPyEndAllowThreads(__tstate
);
14937 if (PyErr_Occurred()) SWIG_fail
;
14940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14948 static PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14949 PyObject
*resultobj
;
14950 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14952 PyObject
* obj0
= 0 ;
14953 char *kwnames
[] = {
14954 (char *) "self", NULL
14957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
14958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14962 result
= (bool)(arg1
)->DeleteAllPages();
14964 wxPyEndAllowThreads(__tstate
);
14965 if (PyErr_Occurred()) SWIG_fail
;
14968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14976 static PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14977 PyObject
*resultobj
;
14978 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14979 wxWindow
*arg2
= (wxWindow
*) 0 ;
14980 wxString
*arg3
= 0 ;
14981 bool arg4
= (bool) false ;
14982 int arg5
= (int) -1 ;
14984 bool temp3
= false ;
14985 PyObject
* obj0
= 0 ;
14986 PyObject
* obj1
= 0 ;
14987 PyObject
* obj2
= 0 ;
14988 PyObject
* obj3
= 0 ;
14989 PyObject
* obj4
= 0 ;
14990 char *kwnames
[] = {
14991 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14997 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15000 arg3
= wxString_in_helper(obj2
);
15001 if (arg3
== NULL
) SWIG_fail
;
15005 arg4
= (bool)SWIG_As_bool(obj3
);
15006 if (PyErr_Occurred()) SWIG_fail
;
15009 arg5
= (int)SWIG_As_int(obj4
);
15010 if (PyErr_Occurred()) SWIG_fail
;
15013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15014 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
15016 wxPyEndAllowThreads(__tstate
);
15017 if (PyErr_Occurred()) SWIG_fail
;
15020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15036 static PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15037 PyObject
*resultobj
;
15038 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
15040 wxWindow
*arg3
= (wxWindow
*) 0 ;
15041 wxString
*arg4
= 0 ;
15042 bool arg5
= (bool) false ;
15043 int arg6
= (int) -1 ;
15045 bool temp4
= false ;
15046 PyObject
* obj0
= 0 ;
15047 PyObject
* obj1
= 0 ;
15048 PyObject
* obj2
= 0 ;
15049 PyObject
* obj3
= 0 ;
15050 PyObject
* obj4
= 0 ;
15051 PyObject
* obj5
= 0 ;
15052 char *kwnames
[] = {
15053 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
15056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
15058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15059 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
15060 if (PyErr_Occurred()) SWIG_fail
;
15061 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
15062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15064 arg4
= wxString_in_helper(obj3
);
15065 if (arg4
== NULL
) SWIG_fail
;
15069 arg5
= (bool)SWIG_As_bool(obj4
);
15070 if (PyErr_Occurred()) SWIG_fail
;
15073 arg6
= (int)SWIG_As_int(obj5
);
15074 if (PyErr_Occurred()) SWIG_fail
;
15077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15078 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
15080 wxPyEndAllowThreads(__tstate
);
15081 if (PyErr_Occurred()) SWIG_fail
;
15084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15100 static PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15101 PyObject
*resultobj
;
15102 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
15105 PyObject
* obj0
= 0 ;
15106 PyObject
* obj1
= 0 ;
15107 char *kwnames
[] = {
15108 (char *) "self",(char *) "n", NULL
15111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
15112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
15113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15114 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
15115 if (PyErr_Occurred()) SWIG_fail
;
15117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15118 result
= (int)(arg1
)->SetSelection(arg2
);
15120 wxPyEndAllowThreads(__tstate
);
15121 if (PyErr_Occurred()) SWIG_fail
;
15123 resultobj
= SWIG_From_int((int)result
);
15130 static PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15131 PyObject
*resultobj
;
15132 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
15133 bool arg2
= (bool) true ;
15134 PyObject
* obj0
= 0 ;
15135 PyObject
* obj1
= 0 ;
15136 char *kwnames
[] = {
15137 (char *) "self",(char *) "forward", NULL
15140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
15141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
15142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15144 arg2
= (bool)SWIG_As_bool(obj1
);
15145 if (PyErr_Occurred()) SWIG_fail
;
15148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15149 (arg1
)->AdvanceSelection(arg2
);
15151 wxPyEndAllowThreads(__tstate
);
15152 if (PyErr_Occurred()) SWIG_fail
;
15154 Py_INCREF(Py_None
); resultobj
= Py_None
;
15161 static PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15162 PyObject
*resultobj
;
15163 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
15164 wxVisualAttributes result
;
15165 PyObject
* obj0
= 0 ;
15166 char *kwnames
[] = {
15167 (char *) "variant", NULL
15170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15172 arg1
= (int)SWIG_As_int(obj0
);
15173 if (PyErr_Occurred()) SWIG_fail
;
15176 if (!wxPyCheckForApp()) SWIG_fail
;
15177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15178 result
= wxBookCtrlBase::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15180 wxPyEndAllowThreads(__tstate
);
15181 if (PyErr_Occurred()) SWIG_fail
;
15184 wxVisualAttributes
* resultptr
;
15185 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
15186 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15194 static PyObject
* BookCtrlBase_swigregister(PyObject
*, PyObject
*args
) {
15196 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15197 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase
, obj
);
15199 return Py_BuildValue((char *)"");
15201 static PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15202 PyObject
*resultobj
;
15203 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15204 int arg2
= (int) 0 ;
15205 int arg3
= (int) -1 ;
15206 int arg4
= (int) -1 ;
15207 wxBookCtrlBaseEvent
*result
;
15208 PyObject
* obj0
= 0 ;
15209 PyObject
* obj1
= 0 ;
15210 PyObject
* obj2
= 0 ;
15211 PyObject
* obj3
= 0 ;
15212 char *kwnames
[] = {
15213 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15218 arg1
= (wxEventType
)SWIG_As_int(obj0
);
15219 if (PyErr_Occurred()) SWIG_fail
;
15222 arg2
= (int)SWIG_As_int(obj1
);
15223 if (PyErr_Occurred()) SWIG_fail
;
15226 arg3
= (int)SWIG_As_int(obj2
);
15227 if (PyErr_Occurred()) SWIG_fail
;
15230 arg4
= (int)SWIG_As_int(obj3
);
15231 if (PyErr_Occurred()) SWIG_fail
;
15234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15235 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
15237 wxPyEndAllowThreads(__tstate
);
15238 if (PyErr_Occurred()) SWIG_fail
;
15240 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, 1);
15247 static PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15248 PyObject
*resultobj
;
15249 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
15251 PyObject
* obj0
= 0 ;
15252 char *kwnames
[] = {
15253 (char *) "self", NULL
15256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
15257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBaseEvent
,
15258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15261 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
15263 wxPyEndAllowThreads(__tstate
);
15264 if (PyErr_Occurred()) SWIG_fail
;
15266 resultobj
= SWIG_From_int((int)result
);
15273 static PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15274 PyObject
*resultobj
;
15275 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
15277 PyObject
* obj0
= 0 ;
15278 PyObject
* obj1
= 0 ;
15279 char *kwnames
[] = {
15280 (char *) "self",(char *) "nSel", NULL
15283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
15284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBaseEvent
,
15285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15286 arg2
= (int)SWIG_As_int(obj1
);
15287 if (PyErr_Occurred()) SWIG_fail
;
15289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15290 (arg1
)->SetSelection(arg2
);
15292 wxPyEndAllowThreads(__tstate
);
15293 if (PyErr_Occurred()) SWIG_fail
;
15295 Py_INCREF(Py_None
); resultobj
= Py_None
;
15302 static PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15303 PyObject
*resultobj
;
15304 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
15306 PyObject
* obj0
= 0 ;
15307 char *kwnames
[] = {
15308 (char *) "self", NULL
15311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
15312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBaseEvent
,
15313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15316 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
15318 wxPyEndAllowThreads(__tstate
);
15319 if (PyErr_Occurred()) SWIG_fail
;
15321 resultobj
= SWIG_From_int((int)result
);
15328 static PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15329 PyObject
*resultobj
;
15330 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
15332 PyObject
* obj0
= 0 ;
15333 PyObject
* obj1
= 0 ;
15334 char *kwnames
[] = {
15335 (char *) "self",(char *) "nOldSel", NULL
15338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
15339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBaseEvent
,
15340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15341 arg2
= (int)SWIG_As_int(obj1
);
15342 if (PyErr_Occurred()) SWIG_fail
;
15344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15345 (arg1
)->SetOldSelection(arg2
);
15347 wxPyEndAllowThreads(__tstate
);
15348 if (PyErr_Occurred()) SWIG_fail
;
15350 Py_INCREF(Py_None
); resultobj
= Py_None
;
15357 static PyObject
* BookCtrlBaseEvent_swigregister(PyObject
*, PyObject
*args
) {
15359 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15360 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, obj
);
15362 return Py_BuildValue((char *)"");
15364 static PyObject
*_wrap_new_Notebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15365 PyObject
*resultobj
;
15366 wxWindow
*arg1
= (wxWindow
*) 0 ;
15367 int arg2
= (int) -1 ;
15368 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15369 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15370 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15371 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15372 long arg5
= (long) 0 ;
15373 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
15374 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15375 wxNotebook
*result
;
15378 bool temp6
= false ;
15379 PyObject
* obj0
= 0 ;
15380 PyObject
* obj1
= 0 ;
15381 PyObject
* obj2
= 0 ;
15382 PyObject
* obj3
= 0 ;
15383 PyObject
* obj4
= 0 ;
15384 PyObject
* obj5
= 0 ;
15385 char *kwnames
[] = {
15386 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15393 arg2
= (int)SWIG_As_int(obj1
);
15394 if (PyErr_Occurred()) SWIG_fail
;
15399 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15405 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15409 arg5
= (long)SWIG_As_long(obj4
);
15410 if (PyErr_Occurred()) SWIG_fail
;
15414 arg6
= wxString_in_helper(obj5
);
15415 if (arg6
== NULL
) SWIG_fail
;
15420 if (!wxPyCheckForApp()) SWIG_fail
;
15421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15422 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15424 wxPyEndAllowThreads(__tstate
);
15425 if (PyErr_Occurred()) SWIG_fail
;
15427 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
15442 static PyObject
*_wrap_new_PreNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15443 PyObject
*resultobj
;
15444 wxNotebook
*result
;
15445 char *kwnames
[] = {
15449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
15451 if (!wxPyCheckForApp()) SWIG_fail
;
15452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15453 result
= (wxNotebook
*)new wxNotebook();
15455 wxPyEndAllowThreads(__tstate
);
15456 if (PyErr_Occurred()) SWIG_fail
;
15458 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
15465 static PyObject
*_wrap_Notebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15466 PyObject
*resultobj
;
15467 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15468 wxWindow
*arg2
= (wxWindow
*) 0 ;
15469 int arg3
= (int) -1 ;
15470 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15471 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15472 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15473 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15474 long arg6
= (long) 0 ;
15475 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
15476 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15480 bool temp7
= false ;
15481 PyObject
* obj0
= 0 ;
15482 PyObject
* obj1
= 0 ;
15483 PyObject
* obj2
= 0 ;
15484 PyObject
* obj3
= 0 ;
15485 PyObject
* obj4
= 0 ;
15486 PyObject
* obj5
= 0 ;
15487 PyObject
* obj6
= 0 ;
15488 char *kwnames
[] = {
15489 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15495 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15498 arg3
= (int)SWIG_As_int(obj2
);
15499 if (PyErr_Occurred()) SWIG_fail
;
15504 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15510 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15514 arg6
= (long)SWIG_As_long(obj5
);
15515 if (PyErr_Occurred()) SWIG_fail
;
15519 arg7
= wxString_in_helper(obj6
);
15520 if (arg7
== NULL
) SWIG_fail
;
15525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15526 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15528 wxPyEndAllowThreads(__tstate
);
15529 if (PyErr_Occurred()) SWIG_fail
;
15532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15548 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15549 PyObject
*resultobj
;
15550 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15552 PyObject
* obj0
= 0 ;
15553 char *kwnames
[] = {
15554 (char *) "self", NULL
15557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
15558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15562 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
15564 wxPyEndAllowThreads(__tstate
);
15565 if (PyErr_Occurred()) SWIG_fail
;
15567 resultobj
= SWIG_From_int((int)result
);
15574 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15575 PyObject
*resultobj
;
15576 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15579 PyObject
* obj0
= 0 ;
15580 PyObject
* obj1
= 0 ;
15581 char *kwnames
[] = {
15582 (char *) "self",(char *) "padding", NULL
15585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
15586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15590 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15594 (arg1
)->SetPadding((wxSize
const &)*arg2
);
15596 wxPyEndAllowThreads(__tstate
);
15597 if (PyErr_Occurred()) SWIG_fail
;
15599 Py_INCREF(Py_None
); resultobj
= Py_None
;
15606 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15607 PyObject
*resultobj
;
15608 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15611 PyObject
* obj0
= 0 ;
15612 PyObject
* obj1
= 0 ;
15613 char *kwnames
[] = {
15614 (char *) "self",(char *) "sz", NULL
15617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15622 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15626 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
15628 wxPyEndAllowThreads(__tstate
);
15629 if (PyErr_Occurred()) SWIG_fail
;
15631 Py_INCREF(Py_None
); resultobj
= Py_None
;
15638 static PyObject
*_wrap_Notebook_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15639 PyObject
*resultobj
;
15640 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15641 wxPoint
*arg2
= 0 ;
15642 long *arg3
= (long *) 0 ;
15647 PyObject
* obj0
= 0 ;
15648 PyObject
* obj1
= 0 ;
15649 char *kwnames
[] = {
15650 (char *) "self",(char *) "pt", NULL
15653 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
15655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15659 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15663 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
15665 wxPyEndAllowThreads(__tstate
);
15666 if (PyErr_Occurred()) SWIG_fail
;
15668 resultobj
= SWIG_From_int((int)result
);
15669 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15670 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
15677 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15678 PyObject
*resultobj
;
15679 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15683 PyObject
* obj0
= 0 ;
15684 PyObject
* obj1
= 0 ;
15685 char *kwnames
[] = {
15686 (char *) "self",(char *) "sizePage", NULL
15689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
15690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15694 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15698 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
15700 wxPyEndAllowThreads(__tstate
);
15701 if (PyErr_Occurred()) SWIG_fail
;
15704 wxSize
* resultptr
;
15705 resultptr
= new wxSize((wxSize
&) result
);
15706 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15714 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15715 PyObject
*resultobj
;
15716 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
15717 wxVisualAttributes result
;
15718 PyObject
* obj0
= 0 ;
15719 char *kwnames
[] = {
15720 (char *) "variant", NULL
15723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15725 arg1
= (int)SWIG_As_int(obj0
);
15726 if (PyErr_Occurred()) SWIG_fail
;
15729 if (!wxPyCheckForApp()) SWIG_fail
;
15730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15731 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15733 wxPyEndAllowThreads(__tstate
);
15734 if (PyErr_Occurred()) SWIG_fail
;
15737 wxVisualAttributes
* resultptr
;
15738 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
15739 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15747 static PyObject
* Notebook_swigregister(PyObject
*, PyObject
*args
) {
15749 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15750 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
15752 return Py_BuildValue((char *)"");
15754 static PyObject
*_wrap_new_NotebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15755 PyObject
*resultobj
;
15756 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15757 int arg2
= (int) 0 ;
15758 int arg3
= (int) -1 ;
15759 int arg4
= (int) -1 ;
15760 wxNotebookEvent
*result
;
15761 PyObject
* obj0
= 0 ;
15762 PyObject
* obj1
= 0 ;
15763 PyObject
* obj2
= 0 ;
15764 PyObject
* obj3
= 0 ;
15765 char *kwnames
[] = {
15766 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15771 arg1
= (wxEventType
)SWIG_As_int(obj0
);
15772 if (PyErr_Occurred()) SWIG_fail
;
15775 arg2
= (int)SWIG_As_int(obj1
);
15776 if (PyErr_Occurred()) SWIG_fail
;
15779 arg3
= (int)SWIG_As_int(obj2
);
15780 if (PyErr_Occurred()) SWIG_fail
;
15783 arg4
= (int)SWIG_As_int(obj3
);
15784 if (PyErr_Occurred()) SWIG_fail
;
15787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15788 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
15790 wxPyEndAllowThreads(__tstate
);
15791 if (PyErr_Occurred()) SWIG_fail
;
15793 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
15800 static PyObject
* NotebookEvent_swigregister(PyObject
*, PyObject
*args
) {
15802 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15803 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
15805 return Py_BuildValue((char *)"");
15807 static PyObject
*_wrap_new_Listbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15808 PyObject
*resultobj
;
15809 wxWindow
*arg1
= (wxWindow
*) 0 ;
15810 int arg2
= (int) -1 ;
15811 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15812 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15813 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15814 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15815 long arg5
= (long) 0 ;
15816 wxString
const &arg6_defvalue
= wxPyEmptyString
;
15817 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15818 wxListbook
*result
;
15821 bool temp6
= false ;
15822 PyObject
* obj0
= 0 ;
15823 PyObject
* obj1
= 0 ;
15824 PyObject
* obj2
= 0 ;
15825 PyObject
* obj3
= 0 ;
15826 PyObject
* obj4
= 0 ;
15827 PyObject
* obj5
= 0 ;
15828 char *kwnames
[] = {
15829 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15836 arg2
= (int)SWIG_As_int(obj1
);
15837 if (PyErr_Occurred()) SWIG_fail
;
15842 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15848 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15852 arg5
= (long)SWIG_As_long(obj4
);
15853 if (PyErr_Occurred()) SWIG_fail
;
15857 arg6
= wxString_in_helper(obj5
);
15858 if (arg6
== NULL
) SWIG_fail
;
15863 if (!wxPyCheckForApp()) SWIG_fail
;
15864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15865 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15867 wxPyEndAllowThreads(__tstate
);
15868 if (PyErr_Occurred()) SWIG_fail
;
15870 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15885 static PyObject
*_wrap_new_PreListbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15886 PyObject
*resultobj
;
15887 wxListbook
*result
;
15888 char *kwnames
[] = {
15892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
15894 if (!wxPyCheckForApp()) SWIG_fail
;
15895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15896 result
= (wxListbook
*)new wxListbook();
15898 wxPyEndAllowThreads(__tstate
);
15899 if (PyErr_Occurred()) SWIG_fail
;
15901 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15908 static PyObject
*_wrap_Listbook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15909 PyObject
*resultobj
;
15910 wxListbook
*arg1
= (wxListbook
*) 0 ;
15911 wxWindow
*arg2
= (wxWindow
*) 0 ;
15912 int arg3
= (int) -1 ;
15913 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15914 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15915 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15916 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15917 long arg6
= (long) 0 ;
15918 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15919 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15923 bool temp7
= false ;
15924 PyObject
* obj0
= 0 ;
15925 PyObject
* obj1
= 0 ;
15926 PyObject
* obj2
= 0 ;
15927 PyObject
* obj3
= 0 ;
15928 PyObject
* obj4
= 0 ;
15929 PyObject
* obj5
= 0 ;
15930 PyObject
* obj6
= 0 ;
15931 char *kwnames
[] = {
15932 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15938 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15941 arg3
= (int)SWIG_As_int(obj2
);
15942 if (PyErr_Occurred()) SWIG_fail
;
15947 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15953 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15957 arg6
= (long)SWIG_As_long(obj5
);
15958 if (PyErr_Occurred()) SWIG_fail
;
15962 arg7
= wxString_in_helper(obj6
);
15963 if (arg7
== NULL
) SWIG_fail
;
15968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15969 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15971 wxPyEndAllowThreads(__tstate
);
15972 if (PyErr_Occurred()) SWIG_fail
;
15975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15991 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15992 PyObject
*resultobj
;
15993 wxListbook
*arg1
= (wxListbook
*) 0 ;
15995 PyObject
* obj0
= 0 ;
15996 char *kwnames
[] = {
15997 (char *) "self", NULL
16000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
16001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
16002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16005 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
16007 wxPyEndAllowThreads(__tstate
);
16008 if (PyErr_Occurred()) SWIG_fail
;
16011 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16019 static PyObject
*_wrap_Listbook_GetListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16020 PyObject
*resultobj
;
16021 wxListbook
*arg1
= (wxListbook
*) 0 ;
16022 wxListView
*result
;
16023 PyObject
* obj0
= 0 ;
16024 char *kwnames
[] = {
16025 (char *) "self", NULL
16028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_GetListView",kwnames
,&obj0
)) goto fail
;
16029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
16030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16033 result
= (wxListView
*)(arg1
)->GetListView();
16035 wxPyEndAllowThreads(__tstate
);
16036 if (PyErr_Occurred()) SWIG_fail
;
16038 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 0);
16045 static PyObject
* Listbook_swigregister(PyObject
*, PyObject
*args
) {
16047 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16048 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
16050 return Py_BuildValue((char *)"");
16052 static PyObject
*_wrap_new_ListbookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16053 PyObject
*resultobj
;
16054 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16055 int arg2
= (int) 0 ;
16056 int arg3
= (int) -1 ;
16057 int arg4
= (int) -1 ;
16058 wxListbookEvent
*result
;
16059 PyObject
* obj0
= 0 ;
16060 PyObject
* obj1
= 0 ;
16061 PyObject
* obj2
= 0 ;
16062 PyObject
* obj3
= 0 ;
16063 char *kwnames
[] = {
16064 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
16067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16069 arg1
= (wxEventType
)SWIG_As_int(obj0
);
16070 if (PyErr_Occurred()) SWIG_fail
;
16073 arg2
= (int)SWIG_As_int(obj1
);
16074 if (PyErr_Occurred()) SWIG_fail
;
16077 arg3
= (int)SWIG_As_int(obj2
);
16078 if (PyErr_Occurred()) SWIG_fail
;
16081 arg4
= (int)SWIG_As_int(obj3
);
16082 if (PyErr_Occurred()) SWIG_fail
;
16085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16086 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
16088 wxPyEndAllowThreads(__tstate
);
16089 if (PyErr_Occurred()) SWIG_fail
;
16091 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
16098 static PyObject
* ListbookEvent_swigregister(PyObject
*, PyObject
*args
) {
16100 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16101 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
16103 return Py_BuildValue((char *)"");
16105 static PyObject
*_wrap_new_Choicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16106 PyObject
*resultobj
;
16107 wxWindow
*arg1
= (wxWindow
*) 0 ;
16109 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16110 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16111 wxSize
const &arg4_defvalue
= wxDefaultSize
;
16112 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
16113 long arg5
= (long) 0 ;
16114 wxString
const &arg6_defvalue
= wxPyEmptyString
;
16115 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
16116 wxChoicebook
*result
;
16119 bool temp6
= false ;
16120 PyObject
* obj0
= 0 ;
16121 PyObject
* obj1
= 0 ;
16122 PyObject
* obj2
= 0 ;
16123 PyObject
* obj3
= 0 ;
16124 PyObject
* obj4
= 0 ;
16125 PyObject
* obj5
= 0 ;
16126 char *kwnames
[] = {
16127 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16133 arg2
= (int)SWIG_As_int(obj1
);
16134 if (PyErr_Occurred()) SWIG_fail
;
16138 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16144 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16148 arg5
= (long)SWIG_As_long(obj4
);
16149 if (PyErr_Occurred()) SWIG_fail
;
16153 arg6
= wxString_in_helper(obj5
);
16154 if (arg6
== NULL
) SWIG_fail
;
16159 if (!wxPyCheckForApp()) SWIG_fail
;
16160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16161 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16163 wxPyEndAllowThreads(__tstate
);
16164 if (PyErr_Occurred()) SWIG_fail
;
16166 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
16181 static PyObject
*_wrap_new_PreChoicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16182 PyObject
*resultobj
;
16183 wxChoicebook
*result
;
16184 char *kwnames
[] = {
16188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoicebook",kwnames
)) goto fail
;
16190 if (!wxPyCheckForApp()) SWIG_fail
;
16191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16192 result
= (wxChoicebook
*)new wxChoicebook();
16194 wxPyEndAllowThreads(__tstate
);
16195 if (PyErr_Occurred()) SWIG_fail
;
16197 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
16204 static PyObject
*_wrap_Choicebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16205 PyObject
*resultobj
;
16206 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
16207 wxWindow
*arg2
= (wxWindow
*) 0 ;
16209 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16210 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16211 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16212 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16213 long arg6
= (long) 0 ;
16214 wxString
const &arg7_defvalue
= wxPyEmptyString
;
16215 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16219 bool temp7
= false ;
16220 PyObject
* obj0
= 0 ;
16221 PyObject
* obj1
= 0 ;
16222 PyObject
* obj2
= 0 ;
16223 PyObject
* obj3
= 0 ;
16224 PyObject
* obj4
= 0 ;
16225 PyObject
* obj5
= 0 ;
16226 PyObject
* obj6
= 0 ;
16227 char *kwnames
[] = {
16228 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoicebook
,
16233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16234 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16236 arg3
= (int)SWIG_As_int(obj2
);
16237 if (PyErr_Occurred()) SWIG_fail
;
16241 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16247 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16251 arg6
= (long)SWIG_As_long(obj5
);
16252 if (PyErr_Occurred()) SWIG_fail
;
16256 arg7
= wxString_in_helper(obj6
);
16257 if (arg7
== NULL
) SWIG_fail
;
16262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16263 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
16265 wxPyEndAllowThreads(__tstate
);
16266 if (PyErr_Occurred()) SWIG_fail
;
16269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16285 static PyObject
*_wrap_Choicebook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16286 PyObject
*resultobj
;
16287 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
16289 PyObject
* obj0
= 0 ;
16290 char *kwnames
[] = {
16291 (char *) "self", NULL
16294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_IsVertical",kwnames
,&obj0
)) goto fail
;
16295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoicebook
,
16296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16299 result
= (bool)((wxChoicebook
const *)arg1
)->IsVertical();
16301 wxPyEndAllowThreads(__tstate
);
16302 if (PyErr_Occurred()) SWIG_fail
;
16305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16313 static PyObject
*_wrap_Choicebook_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16314 PyObject
*resultobj
;
16315 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
16317 PyObject
* obj0
= 0 ;
16318 char *kwnames
[] = {
16319 (char *) "self", NULL
16322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
16323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoicebook
,
16324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16327 result
= (bool)(arg1
)->DeleteAllPages();
16329 wxPyEndAllowThreads(__tstate
);
16330 if (PyErr_Occurred()) SWIG_fail
;
16333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16341 static PyObject
* Choicebook_swigregister(PyObject
*, PyObject
*args
) {
16343 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16344 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook
, obj
);
16346 return Py_BuildValue((char *)"");
16348 static PyObject
*_wrap_new_ChoicebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16349 PyObject
*resultobj
;
16350 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16351 int arg2
= (int) 0 ;
16352 int arg3
= (int) -1 ;
16353 int arg4
= (int) -1 ;
16354 wxChoicebookEvent
*result
;
16355 PyObject
* obj0
= 0 ;
16356 PyObject
* obj1
= 0 ;
16357 PyObject
* obj2
= 0 ;
16358 PyObject
* obj3
= 0 ;
16359 char *kwnames
[] = {
16360 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
16363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16365 arg1
= (wxEventType
)SWIG_As_int(obj0
);
16366 if (PyErr_Occurred()) SWIG_fail
;
16369 arg2
= (int)SWIG_As_int(obj1
);
16370 if (PyErr_Occurred()) SWIG_fail
;
16373 arg3
= (int)SWIG_As_int(obj2
);
16374 if (PyErr_Occurred()) SWIG_fail
;
16377 arg4
= (int)SWIG_As_int(obj3
);
16378 if (PyErr_Occurred()) SWIG_fail
;
16381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16382 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
16384 wxPyEndAllowThreads(__tstate
);
16385 if (PyErr_Occurred()) SWIG_fail
;
16387 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebookEvent
, 1);
16394 static PyObject
* ChoicebookEvent_swigregister(PyObject
*, PyObject
*args
) {
16396 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16397 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent
, obj
);
16399 return Py_BuildValue((char *)"");
16401 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16402 PyObject
*resultobj
;
16403 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16404 wxBookCtrlSizer
*result
;
16405 PyObject
* obj0
= 0 ;
16406 char *kwnames
[] = {
16407 (char *) "nb", NULL
16410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
16411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
16412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16415 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
16417 wxPyEndAllowThreads(__tstate
);
16418 if (PyErr_Occurred()) SWIG_fail
;
16420 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
16427 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16428 PyObject
*resultobj
;
16429 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
16430 PyObject
* obj0
= 0 ;
16431 char *kwnames
[] = {
16432 (char *) "self", NULL
16435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
16436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
16437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16440 (arg1
)->RecalcSizes();
16442 wxPyEndAllowThreads(__tstate
);
16443 if (PyErr_Occurred()) SWIG_fail
;
16445 Py_INCREF(Py_None
); resultobj
= Py_None
;
16452 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16453 PyObject
*resultobj
;
16454 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
16456 PyObject
* obj0
= 0 ;
16457 char *kwnames
[] = {
16458 (char *) "self", NULL
16461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
16462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
16463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16466 result
= (arg1
)->CalcMin();
16468 wxPyEndAllowThreads(__tstate
);
16469 if (PyErr_Occurred()) SWIG_fail
;
16472 wxSize
* resultptr
;
16473 resultptr
= new wxSize((wxSize
&) result
);
16474 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16482 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16483 PyObject
*resultobj
;
16484 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
16485 wxBookCtrlBase
*result
;
16486 PyObject
* obj0
= 0 ;
16487 char *kwnames
[] = {
16488 (char *) "self", NULL
16491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
16492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
16493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16496 result
= (wxBookCtrlBase
*)(arg1
)->GetControl();
16498 wxPyEndAllowThreads(__tstate
);
16499 if (PyErr_Occurred()) SWIG_fail
;
16501 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBase
, 0);
16508 static PyObject
* BookCtrlSizer_swigregister(PyObject
*, PyObject
*args
) {
16510 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16511 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
16513 return Py_BuildValue((char *)"");
16515 static PyObject
*_wrap_new_NotebookSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16516 PyObject
*resultobj
;
16517 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
16518 wxNotebookSizer
*result
;
16519 PyObject
* obj0
= 0 ;
16520 char *kwnames
[] = {
16521 (char *) "nb", NULL
16524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
16525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
16526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16529 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
16531 wxPyEndAllowThreads(__tstate
);
16532 if (PyErr_Occurred()) SWIG_fail
;
16534 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
16541 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16542 PyObject
*resultobj
;
16543 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
16544 PyObject
* obj0
= 0 ;
16545 char *kwnames
[] = {
16546 (char *) "self", NULL
16549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
16550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
16551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16554 (arg1
)->RecalcSizes();
16556 wxPyEndAllowThreads(__tstate
);
16557 if (PyErr_Occurred()) SWIG_fail
;
16559 Py_INCREF(Py_None
); resultobj
= Py_None
;
16566 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16567 PyObject
*resultobj
;
16568 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
16570 PyObject
* obj0
= 0 ;
16571 char *kwnames
[] = {
16572 (char *) "self", NULL
16575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
16576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
16577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16580 result
= (arg1
)->CalcMin();
16582 wxPyEndAllowThreads(__tstate
);
16583 if (PyErr_Occurred()) SWIG_fail
;
16586 wxSize
* resultptr
;
16587 resultptr
= new wxSize((wxSize
&) result
);
16588 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16596 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16597 PyObject
*resultobj
;
16598 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
16599 wxNotebook
*result
;
16600 PyObject
* obj0
= 0 ;
16601 char *kwnames
[] = {
16602 (char *) "self", NULL
16605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
16606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
16607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16610 result
= (wxNotebook
*)(arg1
)->GetNotebook();
16612 wxPyEndAllowThreads(__tstate
);
16613 if (PyErr_Occurred()) SWIG_fail
;
16616 resultobj
= wxPyMake_wxObject(result
, 0);
16624 static PyObject
* NotebookSizer_swigregister(PyObject
*, PyObject
*args
) {
16626 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16627 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
16629 return Py_BuildValue((char *)"");
16631 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16632 PyObject
*resultobj
;
16633 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16635 PyObject
* obj0
= 0 ;
16636 char *kwnames
[] = {
16637 (char *) "self", NULL
16640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
16641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16645 result
= (int)(arg1
)->GetId();
16647 wxPyEndAllowThreads(__tstate
);
16648 if (PyErr_Occurred()) SWIG_fail
;
16650 resultobj
= SWIG_From_int((int)result
);
16657 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16658 PyObject
*resultobj
;
16659 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16661 PyObject
* obj0
= 0 ;
16662 char *kwnames
[] = {
16663 (char *) "self", NULL
16666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
16667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16671 result
= (wxControl
*)(arg1
)->GetControl();
16673 wxPyEndAllowThreads(__tstate
);
16674 if (PyErr_Occurred()) SWIG_fail
;
16677 resultobj
= wxPyMake_wxObject(result
, 0);
16685 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16686 PyObject
*resultobj
;
16687 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16688 wxToolBarBase
*result
;
16689 PyObject
* obj0
= 0 ;
16690 char *kwnames
[] = {
16691 (char *) "self", NULL
16694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
16695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16699 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
16701 wxPyEndAllowThreads(__tstate
);
16702 if (PyErr_Occurred()) SWIG_fail
;
16705 resultobj
= wxPyMake_wxObject(result
, 0);
16713 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16714 PyObject
*resultobj
;
16715 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16717 PyObject
* obj0
= 0 ;
16718 char *kwnames
[] = {
16719 (char *) "self", NULL
16722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
16723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16727 result
= (int)(arg1
)->IsButton();
16729 wxPyEndAllowThreads(__tstate
);
16730 if (PyErr_Occurred()) SWIG_fail
;
16732 resultobj
= SWIG_From_int((int)result
);
16739 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16740 PyObject
*resultobj
;
16741 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16743 PyObject
* obj0
= 0 ;
16744 char *kwnames
[] = {
16745 (char *) "self", NULL
16748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
16749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16753 result
= (int)(arg1
)->IsControl();
16755 wxPyEndAllowThreads(__tstate
);
16756 if (PyErr_Occurred()) SWIG_fail
;
16758 resultobj
= SWIG_From_int((int)result
);
16765 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16766 PyObject
*resultobj
;
16767 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16769 PyObject
* obj0
= 0 ;
16770 char *kwnames
[] = {
16771 (char *) "self", NULL
16774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
16775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16779 result
= (int)(arg1
)->IsSeparator();
16781 wxPyEndAllowThreads(__tstate
);
16782 if (PyErr_Occurred()) SWIG_fail
;
16784 resultobj
= SWIG_From_int((int)result
);
16791 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16792 PyObject
*resultobj
;
16793 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16795 PyObject
* obj0
= 0 ;
16796 char *kwnames
[] = {
16797 (char *) "self", NULL
16800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16805 result
= (int)(arg1
)->GetStyle();
16807 wxPyEndAllowThreads(__tstate
);
16808 if (PyErr_Occurred()) SWIG_fail
;
16810 resultobj
= SWIG_From_int((int)result
);
16817 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16818 PyObject
*resultobj
;
16819 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16821 PyObject
* obj0
= 0 ;
16822 char *kwnames
[] = {
16823 (char *) "self", NULL
16826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
16827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16831 result
= (int)(arg1
)->GetKind();
16833 wxPyEndAllowThreads(__tstate
);
16834 if (PyErr_Occurred()) SWIG_fail
;
16836 resultobj
= SWIG_From_int((int)result
);
16843 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16844 PyObject
*resultobj
;
16845 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16847 PyObject
* obj0
= 0 ;
16848 char *kwnames
[] = {
16849 (char *) "self", NULL
16852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
16853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16857 result
= (bool)(arg1
)->IsEnabled();
16859 wxPyEndAllowThreads(__tstate
);
16860 if (PyErr_Occurred()) SWIG_fail
;
16863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16871 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16872 PyObject
*resultobj
;
16873 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16875 PyObject
* obj0
= 0 ;
16876 char *kwnames
[] = {
16877 (char *) "self", NULL
16880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
16881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16885 result
= (bool)(arg1
)->IsToggled();
16887 wxPyEndAllowThreads(__tstate
);
16888 if (PyErr_Occurred()) SWIG_fail
;
16891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16899 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16900 PyObject
*resultobj
;
16901 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16903 PyObject
* obj0
= 0 ;
16904 char *kwnames
[] = {
16905 (char *) "self", NULL
16908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
16909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16913 result
= (bool)(arg1
)->CanBeToggled();
16915 wxPyEndAllowThreads(__tstate
);
16916 if (PyErr_Occurred()) SWIG_fail
;
16919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16927 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16928 PyObject
*resultobj
;
16929 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16931 PyObject
* obj0
= 0 ;
16932 char *kwnames
[] = {
16933 (char *) "self", NULL
16936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
16937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16942 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
16943 result
= (wxBitmap
*) &_result_ref
;
16946 wxPyEndAllowThreads(__tstate
);
16947 if (PyErr_Occurred()) SWIG_fail
;
16950 wxBitmap
* resultptr
= new wxBitmap(*result
);
16951 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16959 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16960 PyObject
*resultobj
;
16961 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16963 PyObject
* obj0
= 0 ;
16964 char *kwnames
[] = {
16965 (char *) "self", NULL
16968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
16969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16974 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
16975 result
= (wxBitmap
*) &_result_ref
;
16978 wxPyEndAllowThreads(__tstate
);
16979 if (PyErr_Occurred()) SWIG_fail
;
16982 wxBitmap
* resultptr
= new wxBitmap(*result
);
16983 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16991 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16992 PyObject
*resultobj
;
16993 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16995 PyObject
* obj0
= 0 ;
16996 char *kwnames
[] = {
16997 (char *) "self", NULL
17000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
17001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17005 result
= (arg1
)->GetBitmap();
17007 wxPyEndAllowThreads(__tstate
);
17008 if (PyErr_Occurred()) SWIG_fail
;
17011 wxBitmap
* resultptr
;
17012 resultptr
= new wxBitmap((wxBitmap
&) result
);
17013 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
17021 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17022 PyObject
*resultobj
;
17023 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17025 PyObject
* obj0
= 0 ;
17026 char *kwnames
[] = {
17027 (char *) "self", NULL
17030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
17031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17035 result
= (arg1
)->GetLabel();
17037 wxPyEndAllowThreads(__tstate
);
17038 if (PyErr_Occurred()) SWIG_fail
;
17042 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17044 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17053 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17054 PyObject
*resultobj
;
17055 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17057 PyObject
* obj0
= 0 ;
17058 char *kwnames
[] = {
17059 (char *) "self", NULL
17062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
17063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17067 result
= (arg1
)->GetShortHelp();
17069 wxPyEndAllowThreads(__tstate
);
17070 if (PyErr_Occurred()) SWIG_fail
;
17074 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17076 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17085 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17086 PyObject
*resultobj
;
17087 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17089 PyObject
* obj0
= 0 ;
17090 char *kwnames
[] = {
17091 (char *) "self", NULL
17094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
17095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17099 result
= (arg1
)->GetLongHelp();
17101 wxPyEndAllowThreads(__tstate
);
17102 if (PyErr_Occurred()) SWIG_fail
;
17106 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17108 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17117 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17118 PyObject
*resultobj
;
17119 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17122 PyObject
* obj0
= 0 ;
17123 PyObject
* obj1
= 0 ;
17124 char *kwnames
[] = {
17125 (char *) "self",(char *) "enable", NULL
17128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
17129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17131 arg2
= (bool)SWIG_As_bool(obj1
);
17132 if (PyErr_Occurred()) SWIG_fail
;
17134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17135 result
= (bool)(arg1
)->Enable(arg2
);
17137 wxPyEndAllowThreads(__tstate
);
17138 if (PyErr_Occurred()) SWIG_fail
;
17141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17149 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17150 PyObject
*resultobj
;
17151 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17152 PyObject
* obj0
= 0 ;
17153 char *kwnames
[] = {
17154 (char *) "self", NULL
17157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
17158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17164 wxPyEndAllowThreads(__tstate
);
17165 if (PyErr_Occurred()) SWIG_fail
;
17167 Py_INCREF(Py_None
); resultobj
= Py_None
;
17174 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17175 PyObject
*resultobj
;
17176 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17179 PyObject
* obj0
= 0 ;
17180 PyObject
* obj1
= 0 ;
17181 char *kwnames
[] = {
17182 (char *) "self",(char *) "toggle", NULL
17185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
17186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17188 arg2
= (bool)SWIG_As_bool(obj1
);
17189 if (PyErr_Occurred()) SWIG_fail
;
17191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17192 result
= (bool)(arg1
)->SetToggle(arg2
);
17194 wxPyEndAllowThreads(__tstate
);
17195 if (PyErr_Occurred()) SWIG_fail
;
17198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17206 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17207 PyObject
*resultobj
;
17208 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17209 wxString
*arg2
= 0 ;
17211 bool temp2
= false ;
17212 PyObject
* obj0
= 0 ;
17213 PyObject
* obj1
= 0 ;
17214 char *kwnames
[] = {
17215 (char *) "self",(char *) "help", NULL
17218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17222 arg2
= wxString_in_helper(obj1
);
17223 if (arg2
== NULL
) SWIG_fail
;
17227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17228 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
17230 wxPyEndAllowThreads(__tstate
);
17231 if (PyErr_Occurred()) SWIG_fail
;
17234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17250 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17251 PyObject
*resultobj
;
17252 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17253 wxString
*arg2
= 0 ;
17255 bool temp2
= false ;
17256 PyObject
* obj0
= 0 ;
17257 PyObject
* obj1
= 0 ;
17258 char *kwnames
[] = {
17259 (char *) "self",(char *) "help", NULL
17262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17266 arg2
= wxString_in_helper(obj1
);
17267 if (arg2
== NULL
) SWIG_fail
;
17271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17272 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
17274 wxPyEndAllowThreads(__tstate
);
17275 if (PyErr_Occurred()) SWIG_fail
;
17278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17294 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17295 PyObject
*resultobj
;
17296 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17297 wxBitmap
*arg2
= 0 ;
17298 PyObject
* obj0
= 0 ;
17299 PyObject
* obj1
= 0 ;
17300 char *kwnames
[] = {
17301 (char *) "self",(char *) "bmp", NULL
17304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
17305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17307 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
17308 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17310 if (arg2
== NULL
) {
17311 PyErr_SetString(PyExc_TypeError
,"null reference");
17315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17316 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
17318 wxPyEndAllowThreads(__tstate
);
17319 if (PyErr_Occurred()) SWIG_fail
;
17321 Py_INCREF(Py_None
); resultobj
= Py_None
;
17328 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17329 PyObject
*resultobj
;
17330 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17331 wxBitmap
*arg2
= 0 ;
17332 PyObject
* obj0
= 0 ;
17333 PyObject
* obj1
= 0 ;
17334 char *kwnames
[] = {
17335 (char *) "self",(char *) "bmp", NULL
17338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
17339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17341 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
17342 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17344 if (arg2
== NULL
) {
17345 PyErr_SetString(PyExc_TypeError
,"null reference");
17349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17350 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
17352 wxPyEndAllowThreads(__tstate
);
17353 if (PyErr_Occurred()) SWIG_fail
;
17355 Py_INCREF(Py_None
); resultobj
= Py_None
;
17362 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17363 PyObject
*resultobj
;
17364 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17365 wxString
*arg2
= 0 ;
17366 bool temp2
= false ;
17367 PyObject
* obj0
= 0 ;
17368 PyObject
* obj1
= 0 ;
17369 char *kwnames
[] = {
17370 (char *) "self",(char *) "label", NULL
17373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
17374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17377 arg2
= wxString_in_helper(obj1
);
17378 if (arg2
== NULL
) SWIG_fail
;
17382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17383 (arg1
)->SetLabel((wxString
const &)*arg2
);
17385 wxPyEndAllowThreads(__tstate
);
17386 if (PyErr_Occurred()) SWIG_fail
;
17388 Py_INCREF(Py_None
); resultobj
= Py_None
;
17403 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17404 PyObject
*resultobj
;
17405 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17406 PyObject
* obj0
= 0 ;
17407 char *kwnames
[] = {
17408 (char *) "self", NULL
17411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
17412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17418 wxPyEndAllowThreads(__tstate
);
17419 if (PyErr_Occurred()) SWIG_fail
;
17421 Py_INCREF(Py_None
); resultobj
= Py_None
;
17428 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17429 PyObject
*resultobj
;
17430 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17431 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
17432 PyObject
* obj0
= 0 ;
17433 PyObject
* obj1
= 0 ;
17434 char *kwnames
[] = {
17435 (char *) "self",(char *) "tbar", NULL
17438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
17439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17441 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
,
17442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17445 (arg1
)->Attach(arg2
);
17447 wxPyEndAllowThreads(__tstate
);
17448 if (PyErr_Occurred()) SWIG_fail
;
17450 Py_INCREF(Py_None
); resultobj
= Py_None
;
17457 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17458 PyObject
*resultobj
;
17459 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17461 PyObject
* obj0
= 0 ;
17462 char *kwnames
[] = {
17463 (char *) "self", NULL
17466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
17467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17471 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
17473 wxPyEndAllowThreads(__tstate
);
17474 if (PyErr_Occurred()) SWIG_fail
;
17476 resultobj
= result
;
17483 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17484 PyObject
*resultobj
;
17485 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17486 PyObject
*arg2
= (PyObject
*) 0 ;
17487 PyObject
* obj0
= 0 ;
17488 PyObject
* obj1
= 0 ;
17489 char *kwnames
[] = {
17490 (char *) "self",(char *) "clientData", NULL
17493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
17494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17499 wxToolBarToolBase_SetClientData(arg1
,arg2
);
17501 wxPyEndAllowThreads(__tstate
);
17502 if (PyErr_Occurred()) SWIG_fail
;
17504 Py_INCREF(Py_None
); resultobj
= Py_None
;
17511 static PyObject
* ToolBarToolBase_swigregister(PyObject
*, PyObject
*args
) {
17513 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17514 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
17516 return Py_BuildValue((char *)"");
17518 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17519 PyObject
*resultobj
;
17520 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17522 wxString
*arg3
= 0 ;
17523 wxBitmap
*arg4
= 0 ;
17524 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
17525 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
17526 int arg6
= (int) wxITEM_NORMAL
;
17527 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17528 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17529 wxString
const &arg8_defvalue
= wxPyEmptyString
;
17530 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17531 PyObject
*arg9
= (PyObject
*) NULL
;
17532 wxToolBarToolBase
*result
;
17533 bool temp3
= false ;
17534 bool temp7
= false ;
17535 bool temp8
= false ;
17536 PyObject
* obj0
= 0 ;
17537 PyObject
* obj1
= 0 ;
17538 PyObject
* obj2
= 0 ;
17539 PyObject
* obj3
= 0 ;
17540 PyObject
* obj4
= 0 ;
17541 PyObject
* obj5
= 0 ;
17542 PyObject
* obj6
= 0 ;
17543 PyObject
* obj7
= 0 ;
17544 PyObject
* obj8
= 0 ;
17545 char *kwnames
[] = {
17546 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
17549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
17550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17552 arg2
= (int)SWIG_As_int(obj1
);
17553 if (PyErr_Occurred()) SWIG_fail
;
17555 arg3
= wxString_in_helper(obj2
);
17556 if (arg3
== NULL
) SWIG_fail
;
17559 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
17560 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17562 if (arg4
== NULL
) {
17563 PyErr_SetString(PyExc_TypeError
,"null reference");
17567 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
17568 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17570 if (arg5
== NULL
) {
17571 PyErr_SetString(PyExc_TypeError
,"null reference");
17576 arg6
= (int)SWIG_As_int(obj5
);
17577 if (PyErr_Occurred()) SWIG_fail
;
17581 arg7
= wxString_in_helper(obj6
);
17582 if (arg7
== NULL
) SWIG_fail
;
17588 arg8
= wxString_in_helper(obj7
);
17589 if (arg8
== NULL
) SWIG_fail
;
17597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17598 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
17600 wxPyEndAllowThreads(__tstate
);
17601 if (PyErr_Occurred()) SWIG_fail
;
17604 resultobj
= wxPyMake_wxObject(result
, 0);
17636 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17637 PyObject
*resultobj
;
17638 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17641 wxString
*arg4
= 0 ;
17642 wxBitmap
*arg5
= 0 ;
17643 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
17644 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
17645 int arg7
= (int) wxITEM_NORMAL
;
17646 wxString
const &arg8_defvalue
= wxPyEmptyString
;
17647 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17648 wxString
const &arg9_defvalue
= wxPyEmptyString
;
17649 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17650 PyObject
*arg10
= (PyObject
*) NULL
;
17651 wxToolBarToolBase
*result
;
17652 bool temp4
= false ;
17653 bool temp8
= false ;
17654 bool temp9
= false ;
17655 PyObject
* obj0
= 0 ;
17656 PyObject
* obj1
= 0 ;
17657 PyObject
* obj2
= 0 ;
17658 PyObject
* obj3
= 0 ;
17659 PyObject
* obj4
= 0 ;
17660 PyObject
* obj5
= 0 ;
17661 PyObject
* obj6
= 0 ;
17662 PyObject
* obj7
= 0 ;
17663 PyObject
* obj8
= 0 ;
17664 PyObject
* obj9
= 0 ;
17665 char *kwnames
[] = {
17666 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
17669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
17670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17672 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17673 if (PyErr_Occurred()) SWIG_fail
;
17674 arg3
= (int)SWIG_As_int(obj2
);
17675 if (PyErr_Occurred()) SWIG_fail
;
17677 arg4
= wxString_in_helper(obj3
);
17678 if (arg4
== NULL
) SWIG_fail
;
17681 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
17682 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17684 if (arg5
== NULL
) {
17685 PyErr_SetString(PyExc_TypeError
,"null reference");
17689 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
,
17690 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17692 if (arg6
== NULL
) {
17693 PyErr_SetString(PyExc_TypeError
,"null reference");
17698 arg7
= (int)SWIG_As_int(obj6
);
17699 if (PyErr_Occurred()) SWIG_fail
;
17703 arg8
= wxString_in_helper(obj7
);
17704 if (arg8
== NULL
) SWIG_fail
;
17710 arg9
= wxString_in_helper(obj8
);
17711 if (arg9
== NULL
) SWIG_fail
;
17719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17720 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
);
17722 wxPyEndAllowThreads(__tstate
);
17723 if (PyErr_Occurred()) SWIG_fail
;
17726 resultobj
= wxPyMake_wxObject(result
, 0);
17758 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17759 PyObject
*resultobj
;
17760 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17761 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
17762 wxToolBarToolBase
*result
;
17763 PyObject
* obj0
= 0 ;
17764 PyObject
* obj1
= 0 ;
17765 char *kwnames
[] = {
17766 (char *) "self",(char *) "tool", NULL
17769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
17770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17772 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
,
17773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17776 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
17778 wxPyEndAllowThreads(__tstate
);
17779 if (PyErr_Occurred()) SWIG_fail
;
17782 resultobj
= wxPyMake_wxObject(result
, 0);
17790 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17791 PyObject
*resultobj
;
17792 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17794 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
17795 wxToolBarToolBase
*result
;
17796 PyObject
* obj0
= 0 ;
17797 PyObject
* obj1
= 0 ;
17798 PyObject
* obj2
= 0 ;
17799 char *kwnames
[] = {
17800 (char *) "self",(char *) "pos",(char *) "tool", NULL
17803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17806 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17807 if (PyErr_Occurred()) SWIG_fail
;
17808 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
,
17809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17812 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
17814 wxPyEndAllowThreads(__tstate
);
17815 if (PyErr_Occurred()) SWIG_fail
;
17818 resultobj
= wxPyMake_wxObject(result
, 0);
17826 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17827 PyObject
*resultobj
;
17828 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17829 wxControl
*arg2
= (wxControl
*) 0 ;
17830 wxToolBarToolBase
*result
;
17831 PyObject
* obj0
= 0 ;
17832 PyObject
* obj1
= 0 ;
17833 char *kwnames
[] = {
17834 (char *) "self",(char *) "control", NULL
17837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17840 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
17841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17844 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
17846 wxPyEndAllowThreads(__tstate
);
17847 if (PyErr_Occurred()) SWIG_fail
;
17850 resultobj
= wxPyMake_wxObject(result
, 0);
17858 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17859 PyObject
*resultobj
;
17860 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17862 wxControl
*arg3
= (wxControl
*) 0 ;
17863 wxToolBarToolBase
*result
;
17864 PyObject
* obj0
= 0 ;
17865 PyObject
* obj1
= 0 ;
17866 PyObject
* obj2
= 0 ;
17867 char *kwnames
[] = {
17868 (char *) "self",(char *) "pos",(char *) "control", NULL
17871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17874 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17875 if (PyErr_Occurred()) SWIG_fail
;
17876 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
,
17877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17880 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
17882 wxPyEndAllowThreads(__tstate
);
17883 if (PyErr_Occurred()) SWIG_fail
;
17886 resultobj
= wxPyMake_wxObject(result
, 0);
17894 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17895 PyObject
*resultobj
;
17896 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17899 PyObject
* obj0
= 0 ;
17900 PyObject
* obj1
= 0 ;
17901 char *kwnames
[] = {
17902 (char *) "self",(char *) "id", NULL
17905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17908 arg2
= (int)SWIG_As_int(obj1
);
17909 if (PyErr_Occurred()) SWIG_fail
;
17911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17912 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
17914 wxPyEndAllowThreads(__tstate
);
17915 if (PyErr_Occurred()) SWIG_fail
;
17918 resultobj
= wxPyMake_wxObject(result
, 0);
17926 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17927 PyObject
*resultobj
;
17928 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17929 wxToolBarToolBase
*result
;
17930 PyObject
* obj0
= 0 ;
17931 char *kwnames
[] = {
17932 (char *) "self", NULL
17935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
17936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17940 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
17942 wxPyEndAllowThreads(__tstate
);
17943 if (PyErr_Occurred()) SWIG_fail
;
17946 resultobj
= wxPyMake_wxObject(result
, 0);
17954 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17955 PyObject
*resultobj
;
17956 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17958 wxToolBarToolBase
*result
;
17959 PyObject
* obj0
= 0 ;
17960 PyObject
* obj1
= 0 ;
17961 char *kwnames
[] = {
17962 (char *) "self",(char *) "pos", NULL
17965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
17966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17968 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17969 if (PyErr_Occurred()) SWIG_fail
;
17971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17972 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
17974 wxPyEndAllowThreads(__tstate
);
17975 if (PyErr_Occurred()) SWIG_fail
;
17978 resultobj
= wxPyMake_wxObject(result
, 0);
17986 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17987 PyObject
*resultobj
;
17988 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17990 wxToolBarToolBase
*result
;
17991 PyObject
* obj0
= 0 ;
17992 PyObject
* obj1
= 0 ;
17993 char *kwnames
[] = {
17994 (char *) "self",(char *) "id", NULL
17997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18000 arg2
= (int)SWIG_As_int(obj1
);
18001 if (PyErr_Occurred()) SWIG_fail
;
18003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18004 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
18006 wxPyEndAllowThreads(__tstate
);
18007 if (PyErr_Occurred()) SWIG_fail
;
18010 resultobj
= wxPyMake_wxObject(result
, 0);
18018 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18019 PyObject
*resultobj
;
18020 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18023 PyObject
* obj0
= 0 ;
18024 PyObject
* obj1
= 0 ;
18025 char *kwnames
[] = {
18026 (char *) "self",(char *) "pos", NULL
18029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
18030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18032 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
18033 if (PyErr_Occurred()) SWIG_fail
;
18035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18036 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
18038 wxPyEndAllowThreads(__tstate
);
18039 if (PyErr_Occurred()) SWIG_fail
;
18042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18050 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18051 PyObject
*resultobj
;
18052 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18055 PyObject
* obj0
= 0 ;
18056 PyObject
* obj1
= 0 ;
18057 char *kwnames
[] = {
18058 (char *) "self",(char *) "id", NULL
18061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
18062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18064 arg2
= (int)SWIG_As_int(obj1
);
18065 if (PyErr_Occurred()) SWIG_fail
;
18067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18068 result
= (bool)(arg1
)->DeleteTool(arg2
);
18070 wxPyEndAllowThreads(__tstate
);
18071 if (PyErr_Occurred()) SWIG_fail
;
18074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18082 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18083 PyObject
*resultobj
;
18084 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18085 PyObject
* obj0
= 0 ;
18086 char *kwnames
[] = {
18087 (char *) "self", NULL
18090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
18091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18095 (arg1
)->ClearTools();
18097 wxPyEndAllowThreads(__tstate
);
18098 if (PyErr_Occurred()) SWIG_fail
;
18100 Py_INCREF(Py_None
); resultobj
= Py_None
;
18107 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18108 PyObject
*resultobj
;
18109 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18111 PyObject
* obj0
= 0 ;
18112 char *kwnames
[] = {
18113 (char *) "self", NULL
18116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
18117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18121 result
= (bool)(arg1
)->Realize();
18123 wxPyEndAllowThreads(__tstate
);
18124 if (PyErr_Occurred()) SWIG_fail
;
18127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18135 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18136 PyObject
*resultobj
;
18137 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18140 PyObject
* obj0
= 0 ;
18141 PyObject
* obj1
= 0 ;
18142 PyObject
* obj2
= 0 ;
18143 char *kwnames
[] = {
18144 (char *) "self",(char *) "id",(char *) "enable", NULL
18147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18150 arg2
= (int)SWIG_As_int(obj1
);
18151 if (PyErr_Occurred()) SWIG_fail
;
18152 arg3
= (bool)SWIG_As_bool(obj2
);
18153 if (PyErr_Occurred()) SWIG_fail
;
18155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18156 (arg1
)->EnableTool(arg2
,arg3
);
18158 wxPyEndAllowThreads(__tstate
);
18159 if (PyErr_Occurred()) SWIG_fail
;
18161 Py_INCREF(Py_None
); resultobj
= Py_None
;
18168 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18169 PyObject
*resultobj
;
18170 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18173 PyObject
* obj0
= 0 ;
18174 PyObject
* obj1
= 0 ;
18175 PyObject
* obj2
= 0 ;
18176 char *kwnames
[] = {
18177 (char *) "self",(char *) "id",(char *) "toggle", NULL
18180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18183 arg2
= (int)SWIG_As_int(obj1
);
18184 if (PyErr_Occurred()) SWIG_fail
;
18185 arg3
= (bool)SWIG_As_bool(obj2
);
18186 if (PyErr_Occurred()) SWIG_fail
;
18188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18189 (arg1
)->ToggleTool(arg2
,arg3
);
18191 wxPyEndAllowThreads(__tstate
);
18192 if (PyErr_Occurred()) SWIG_fail
;
18194 Py_INCREF(Py_None
); resultobj
= Py_None
;
18201 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18202 PyObject
*resultobj
;
18203 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18206 PyObject
* obj0
= 0 ;
18207 PyObject
* obj1
= 0 ;
18208 PyObject
* obj2
= 0 ;
18209 char *kwnames
[] = {
18210 (char *) "self",(char *) "id",(char *) "toggle", NULL
18213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18216 arg2
= (int)SWIG_As_int(obj1
);
18217 if (PyErr_Occurred()) SWIG_fail
;
18218 arg3
= (bool)SWIG_As_bool(obj2
);
18219 if (PyErr_Occurred()) SWIG_fail
;
18221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18222 (arg1
)->SetToggle(arg2
,arg3
);
18224 wxPyEndAllowThreads(__tstate
);
18225 if (PyErr_Occurred()) SWIG_fail
;
18227 Py_INCREF(Py_None
); resultobj
= Py_None
;
18234 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18235 PyObject
*resultobj
;
18236 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18239 PyObject
* obj0
= 0 ;
18240 PyObject
* obj1
= 0 ;
18241 char *kwnames
[] = {
18242 (char *) "self",(char *) "id", NULL
18245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
18246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18248 arg2
= (int)SWIG_As_int(obj1
);
18249 if (PyErr_Occurred()) SWIG_fail
;
18251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18252 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
18254 wxPyEndAllowThreads(__tstate
);
18255 if (PyErr_Occurred()) SWIG_fail
;
18257 resultobj
= result
;
18264 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18265 PyObject
*resultobj
;
18266 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18268 PyObject
*arg3
= (PyObject
*) 0 ;
18269 PyObject
* obj0
= 0 ;
18270 PyObject
* obj1
= 0 ;
18271 PyObject
* obj2
= 0 ;
18272 char *kwnames
[] = {
18273 (char *) "self",(char *) "id",(char *) "clientData", NULL
18276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18279 arg2
= (int)SWIG_As_int(obj1
);
18280 if (PyErr_Occurred()) SWIG_fail
;
18283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18284 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
18286 wxPyEndAllowThreads(__tstate
);
18287 if (PyErr_Occurred()) SWIG_fail
;
18289 Py_INCREF(Py_None
); resultobj
= Py_None
;
18296 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18297 PyObject
*resultobj
;
18298 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18301 PyObject
* obj0
= 0 ;
18302 PyObject
* obj1
= 0 ;
18303 char *kwnames
[] = {
18304 (char *) "self",(char *) "id", NULL
18307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
18308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18310 arg2
= (int)SWIG_As_int(obj1
);
18311 if (PyErr_Occurred()) SWIG_fail
;
18313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18314 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
18316 wxPyEndAllowThreads(__tstate
);
18317 if (PyErr_Occurred()) SWIG_fail
;
18319 resultobj
= SWIG_From_int((int)result
);
18326 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18327 PyObject
*resultobj
;
18328 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18331 PyObject
* obj0
= 0 ;
18332 PyObject
* obj1
= 0 ;
18333 char *kwnames
[] = {
18334 (char *) "self",(char *) "id", NULL
18337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
18338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18340 arg2
= (int)SWIG_As_int(obj1
);
18341 if (PyErr_Occurred()) SWIG_fail
;
18343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18344 result
= (bool)(arg1
)->GetToolState(arg2
);
18346 wxPyEndAllowThreads(__tstate
);
18347 if (PyErr_Occurred()) SWIG_fail
;
18350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18358 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18359 PyObject
*resultobj
;
18360 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18363 PyObject
* obj0
= 0 ;
18364 PyObject
* obj1
= 0 ;
18365 char *kwnames
[] = {
18366 (char *) "self",(char *) "id", NULL
18369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
18370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18372 arg2
= (int)SWIG_As_int(obj1
);
18373 if (PyErr_Occurred()) SWIG_fail
;
18375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18376 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
18378 wxPyEndAllowThreads(__tstate
);
18379 if (PyErr_Occurred()) SWIG_fail
;
18382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18390 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18391 PyObject
*resultobj
;
18392 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18394 wxString
*arg3
= 0 ;
18395 bool temp3
= false ;
18396 PyObject
* obj0
= 0 ;
18397 PyObject
* obj1
= 0 ;
18398 PyObject
* obj2
= 0 ;
18399 char *kwnames
[] = {
18400 (char *) "self",(char *) "id",(char *) "helpString", NULL
18403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18406 arg2
= (int)SWIG_As_int(obj1
);
18407 if (PyErr_Occurred()) SWIG_fail
;
18409 arg3
= wxString_in_helper(obj2
);
18410 if (arg3
== NULL
) SWIG_fail
;
18414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18415 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
18417 wxPyEndAllowThreads(__tstate
);
18418 if (PyErr_Occurred()) SWIG_fail
;
18420 Py_INCREF(Py_None
); resultobj
= Py_None
;
18435 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18436 PyObject
*resultobj
;
18437 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18440 PyObject
* obj0
= 0 ;
18441 PyObject
* obj1
= 0 ;
18442 char *kwnames
[] = {
18443 (char *) "self",(char *) "id", NULL
18446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
18447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18449 arg2
= (int)SWIG_As_int(obj1
);
18450 if (PyErr_Occurred()) SWIG_fail
;
18452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18453 result
= (arg1
)->GetToolShortHelp(arg2
);
18455 wxPyEndAllowThreads(__tstate
);
18456 if (PyErr_Occurred()) SWIG_fail
;
18460 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18462 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18471 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18472 PyObject
*resultobj
;
18473 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18475 wxString
*arg3
= 0 ;
18476 bool temp3
= false ;
18477 PyObject
* obj0
= 0 ;
18478 PyObject
* obj1
= 0 ;
18479 PyObject
* obj2
= 0 ;
18480 char *kwnames
[] = {
18481 (char *) "self",(char *) "id",(char *) "helpString", NULL
18484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18487 arg2
= (int)SWIG_As_int(obj1
);
18488 if (PyErr_Occurred()) SWIG_fail
;
18490 arg3
= wxString_in_helper(obj2
);
18491 if (arg3
== NULL
) SWIG_fail
;
18495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18496 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
18498 wxPyEndAllowThreads(__tstate
);
18499 if (PyErr_Occurred()) SWIG_fail
;
18501 Py_INCREF(Py_None
); resultobj
= Py_None
;
18516 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18517 PyObject
*resultobj
;
18518 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18521 PyObject
* obj0
= 0 ;
18522 PyObject
* obj1
= 0 ;
18523 char *kwnames
[] = {
18524 (char *) "self",(char *) "id", NULL
18527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
18528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18530 arg2
= (int)SWIG_As_int(obj1
);
18531 if (PyErr_Occurred()) SWIG_fail
;
18533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18534 result
= (arg1
)->GetToolLongHelp(arg2
);
18536 wxPyEndAllowThreads(__tstate
);
18537 if (PyErr_Occurred()) SWIG_fail
;
18541 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18543 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18552 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18553 PyObject
*resultobj
;
18554 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18557 PyObject
* obj0
= 0 ;
18558 PyObject
* obj1
= 0 ;
18559 PyObject
* obj2
= 0 ;
18560 char *kwnames
[] = {
18561 (char *) "self",(char *) "x",(char *) "y", NULL
18564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18567 arg2
= (int)SWIG_As_int(obj1
);
18568 if (PyErr_Occurred()) SWIG_fail
;
18569 arg3
= (int)SWIG_As_int(obj2
);
18570 if (PyErr_Occurred()) SWIG_fail
;
18572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18573 (arg1
)->SetMargins(arg2
,arg3
);
18575 wxPyEndAllowThreads(__tstate
);
18576 if (PyErr_Occurred()) SWIG_fail
;
18578 Py_INCREF(Py_None
); resultobj
= Py_None
;
18585 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18586 PyObject
*resultobj
;
18587 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18590 PyObject
* obj0
= 0 ;
18591 PyObject
* obj1
= 0 ;
18592 char *kwnames
[] = {
18593 (char *) "self",(char *) "size", NULL
18596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
18597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18601 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18605 (arg1
)->SetMargins((wxSize
const &)*arg2
);
18607 wxPyEndAllowThreads(__tstate
);
18608 if (PyErr_Occurred()) SWIG_fail
;
18610 Py_INCREF(Py_None
); resultobj
= Py_None
;
18617 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18618 PyObject
*resultobj
;
18619 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18621 PyObject
* obj0
= 0 ;
18622 PyObject
* obj1
= 0 ;
18623 char *kwnames
[] = {
18624 (char *) "self",(char *) "packing", NULL
18627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
18628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18630 arg2
= (int)SWIG_As_int(obj1
);
18631 if (PyErr_Occurred()) SWIG_fail
;
18633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18634 (arg1
)->SetToolPacking(arg2
);
18636 wxPyEndAllowThreads(__tstate
);
18637 if (PyErr_Occurred()) SWIG_fail
;
18639 Py_INCREF(Py_None
); resultobj
= Py_None
;
18646 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(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 *) "separation", NULL
18656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",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
)->SetToolSeparation(arg2
);
18665 wxPyEndAllowThreads(__tstate
);
18666 if (PyErr_Occurred()) SWIG_fail
;
18668 Py_INCREF(Py_None
); resultobj
= Py_None
;
18675 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18676 PyObject
*resultobj
;
18677 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18679 PyObject
* obj0
= 0 ;
18680 char *kwnames
[] = {
18681 (char *) "self", NULL
18684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
18685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18689 result
= (arg1
)->GetToolMargins();
18691 wxPyEndAllowThreads(__tstate
);
18692 if (PyErr_Occurred()) SWIG_fail
;
18695 wxSize
* resultptr
;
18696 resultptr
= new wxSize((wxSize
&) result
);
18697 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18705 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18706 PyObject
*resultobj
;
18707 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18709 PyObject
* obj0
= 0 ;
18710 char *kwnames
[] = {
18711 (char *) "self", NULL
18714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
18715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18719 result
= (arg1
)->GetMargins();
18721 wxPyEndAllowThreads(__tstate
);
18722 if (PyErr_Occurred()) SWIG_fail
;
18725 wxSize
* resultptr
;
18726 resultptr
= new wxSize((wxSize
&) result
);
18727 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18735 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18736 PyObject
*resultobj
;
18737 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18739 PyObject
* obj0
= 0 ;
18740 char *kwnames
[] = {
18741 (char *) "self", NULL
18744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
18745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18749 result
= (int)(arg1
)->GetToolPacking();
18751 wxPyEndAllowThreads(__tstate
);
18752 if (PyErr_Occurred()) SWIG_fail
;
18754 resultobj
= SWIG_From_int((int)result
);
18761 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18762 PyObject
*resultobj
;
18763 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18765 PyObject
* obj0
= 0 ;
18766 char *kwnames
[] = {
18767 (char *) "self", NULL
18770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
18771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18775 result
= (int)(arg1
)->GetToolSeparation();
18777 wxPyEndAllowThreads(__tstate
);
18778 if (PyErr_Occurred()) SWIG_fail
;
18780 resultobj
= SWIG_From_int((int)result
);
18787 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18788 PyObject
*resultobj
;
18789 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18791 PyObject
* obj0
= 0 ;
18792 PyObject
* obj1
= 0 ;
18793 char *kwnames
[] = {
18794 (char *) "self",(char *) "nRows", NULL
18797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
18798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18800 arg2
= (int)SWIG_As_int(obj1
);
18801 if (PyErr_Occurred()) SWIG_fail
;
18803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18804 (arg1
)->SetRows(arg2
);
18806 wxPyEndAllowThreads(__tstate
);
18807 if (PyErr_Occurred()) SWIG_fail
;
18809 Py_INCREF(Py_None
); resultobj
= Py_None
;
18816 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18817 PyObject
*resultobj
;
18818 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18821 PyObject
* obj0
= 0 ;
18822 PyObject
* obj1
= 0 ;
18823 PyObject
* obj2
= 0 ;
18824 char *kwnames
[] = {
18825 (char *) "self",(char *) "rows",(char *) "cols", NULL
18828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18831 arg2
= (int)SWIG_As_int(obj1
);
18832 if (PyErr_Occurred()) SWIG_fail
;
18833 arg3
= (int)SWIG_As_int(obj2
);
18834 if (PyErr_Occurred()) SWIG_fail
;
18836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18837 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
18839 wxPyEndAllowThreads(__tstate
);
18840 if (PyErr_Occurred()) SWIG_fail
;
18842 Py_INCREF(Py_None
); resultobj
= Py_None
;
18849 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18850 PyObject
*resultobj
;
18851 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18853 PyObject
* obj0
= 0 ;
18854 char *kwnames
[] = {
18855 (char *) "self", NULL
18858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
18859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18863 result
= (int)(arg1
)->GetMaxRows();
18865 wxPyEndAllowThreads(__tstate
);
18866 if (PyErr_Occurred()) SWIG_fail
;
18868 resultobj
= SWIG_From_int((int)result
);
18875 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18876 PyObject
*resultobj
;
18877 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18879 PyObject
* obj0
= 0 ;
18880 char *kwnames
[] = {
18881 (char *) "self", NULL
18884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
18885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18889 result
= (int)(arg1
)->GetMaxCols();
18891 wxPyEndAllowThreads(__tstate
);
18892 if (PyErr_Occurred()) SWIG_fail
;
18894 resultobj
= SWIG_From_int((int)result
);
18901 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18902 PyObject
*resultobj
;
18903 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18906 PyObject
* obj0
= 0 ;
18907 PyObject
* obj1
= 0 ;
18908 char *kwnames
[] = {
18909 (char *) "self",(char *) "size", NULL
18912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18917 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18921 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
18923 wxPyEndAllowThreads(__tstate
);
18924 if (PyErr_Occurred()) SWIG_fail
;
18926 Py_INCREF(Py_None
); resultobj
= Py_None
;
18933 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18934 PyObject
*resultobj
;
18935 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18937 PyObject
* obj0
= 0 ;
18938 char *kwnames
[] = {
18939 (char *) "self", NULL
18942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
18943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18947 result
= (arg1
)->GetToolBitmapSize();
18949 wxPyEndAllowThreads(__tstate
);
18950 if (PyErr_Occurred()) SWIG_fail
;
18953 wxSize
* resultptr
;
18954 resultptr
= new wxSize((wxSize
&) result
);
18955 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18963 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18964 PyObject
*resultobj
;
18965 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18967 PyObject
* obj0
= 0 ;
18968 char *kwnames
[] = {
18969 (char *) "self", NULL
18972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
18973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18977 result
= (arg1
)->GetToolSize();
18979 wxPyEndAllowThreads(__tstate
);
18980 if (PyErr_Occurred()) SWIG_fail
;
18983 wxSize
* resultptr
;
18984 resultptr
= new wxSize((wxSize
&) result
);
18985 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18993 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18994 PyObject
*resultobj
;
18995 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18998 wxToolBarToolBase
*result
;
18999 PyObject
* obj0
= 0 ;
19000 PyObject
* obj1
= 0 ;
19001 PyObject
* obj2
= 0 ;
19002 char *kwnames
[] = {
19003 (char *) "self",(char *) "x",(char *) "y", NULL
19006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
19008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19009 arg2
= (int)SWIG_As_int(obj1
);
19010 if (PyErr_Occurred()) SWIG_fail
;
19011 arg3
= (int)SWIG_As_int(obj2
);
19012 if (PyErr_Occurred()) SWIG_fail
;
19014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19015 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
19017 wxPyEndAllowThreads(__tstate
);
19018 if (PyErr_Occurred()) SWIG_fail
;
19021 resultobj
= wxPyMake_wxObject(result
, 0);
19029 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19030 PyObject
*resultobj
;
19031 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19033 wxToolBarToolBase
*result
;
19034 PyObject
* obj0
= 0 ;
19035 PyObject
* obj1
= 0 ;
19036 char *kwnames
[] = {
19037 (char *) "self",(char *) "toolid", NULL
19040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
19041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
19042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19043 arg2
= (int)SWIG_As_int(obj1
);
19044 if (PyErr_Occurred()) SWIG_fail
;
19046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19047 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
19049 wxPyEndAllowThreads(__tstate
);
19050 if (PyErr_Occurred()) SWIG_fail
;
19053 resultobj
= wxPyMake_wxObject(result
, 0);
19061 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19062 PyObject
*resultobj
;
19063 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
19065 PyObject
* obj0
= 0 ;
19066 char *kwnames
[] = {
19067 (char *) "self", NULL
19070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
19071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
19072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19075 result
= (bool)(arg1
)->IsVertical();
19077 wxPyEndAllowThreads(__tstate
);
19078 if (PyErr_Occurred()) SWIG_fail
;
19081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19089 static PyObject
* ToolBarBase_swigregister(PyObject
*, PyObject
*args
) {
19091 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19092 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
19094 return Py_BuildValue((char *)"");
19096 static PyObject
*_wrap_new_ToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19097 PyObject
*resultobj
;
19098 wxWindow
*arg1
= (wxWindow
*) 0 ;
19099 int arg2
= (int) -1 ;
19100 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19101 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19102 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19103 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19104 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
19105 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
19106 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
19110 bool temp6
= false ;
19111 PyObject
* obj0
= 0 ;
19112 PyObject
* obj1
= 0 ;
19113 PyObject
* obj2
= 0 ;
19114 PyObject
* obj3
= 0 ;
19115 PyObject
* obj4
= 0 ;
19116 PyObject
* obj5
= 0 ;
19117 char *kwnames
[] = {
19118 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19125 arg2
= (int)SWIG_As_int(obj1
);
19126 if (PyErr_Occurred()) SWIG_fail
;
19131 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19137 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19141 arg5
= (long)SWIG_As_long(obj4
);
19142 if (PyErr_Occurred()) SWIG_fail
;
19146 arg6
= wxString_in_helper(obj5
);
19147 if (arg6
== NULL
) SWIG_fail
;
19152 if (!wxPyCheckForApp()) SWIG_fail
;
19153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19154 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
19156 wxPyEndAllowThreads(__tstate
);
19157 if (PyErr_Occurred()) SWIG_fail
;
19159 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
19174 static PyObject
*_wrap_new_PreToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19175 PyObject
*resultobj
;
19177 char *kwnames
[] = {
19181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
19183 if (!wxPyCheckForApp()) SWIG_fail
;
19184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19185 result
= (wxToolBar
*)new wxToolBar();
19187 wxPyEndAllowThreads(__tstate
);
19188 if (PyErr_Occurred()) SWIG_fail
;
19190 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
19197 static PyObject
*_wrap_ToolBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19198 PyObject
*resultobj
;
19199 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
19200 wxWindow
*arg2
= (wxWindow
*) 0 ;
19201 int arg3
= (int) -1 ;
19202 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19203 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19204 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19205 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19206 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
19207 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
19208 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19212 bool temp7
= false ;
19213 PyObject
* obj0
= 0 ;
19214 PyObject
* obj1
= 0 ;
19215 PyObject
* obj2
= 0 ;
19216 PyObject
* obj3
= 0 ;
19217 PyObject
* obj4
= 0 ;
19218 PyObject
* obj5
= 0 ;
19219 PyObject
* obj6
= 0 ;
19220 char *kwnames
[] = {
19221 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
19226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19227 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19230 arg3
= (int)SWIG_As_int(obj2
);
19231 if (PyErr_Occurred()) SWIG_fail
;
19236 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19242 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19246 arg6
= (long)SWIG_As_long(obj5
);
19247 if (PyErr_Occurred()) SWIG_fail
;
19251 arg7
= wxString_in_helper(obj6
);
19252 if (arg7
== NULL
) SWIG_fail
;
19257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19258 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
19260 wxPyEndAllowThreads(__tstate
);
19261 if (PyErr_Occurred()) SWIG_fail
;
19264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19280 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19281 PyObject
*resultobj
;
19282 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
19285 wxToolBarToolBase
*result
;
19286 PyObject
* obj0
= 0 ;
19287 PyObject
* obj1
= 0 ;
19288 PyObject
* obj2
= 0 ;
19289 char *kwnames
[] = {
19290 (char *) "self",(char *) "x",(char *) "y", NULL
19293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
19295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19296 arg2
= (int)SWIG_As_int(obj1
);
19297 if (PyErr_Occurred()) SWIG_fail
;
19298 arg3
= (int)SWIG_As_int(obj2
);
19299 if (PyErr_Occurred()) SWIG_fail
;
19301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19302 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
19304 wxPyEndAllowThreads(__tstate
);
19305 if (PyErr_Occurred()) SWIG_fail
;
19308 resultobj
= wxPyMake_wxObject(result
, 0);
19316 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19317 PyObject
*resultobj
;
19318 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
19319 wxVisualAttributes result
;
19320 PyObject
* obj0
= 0 ;
19321 char *kwnames
[] = {
19322 (char *) "variant", NULL
19325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
19327 arg1
= (int)SWIG_As_int(obj0
);
19328 if (PyErr_Occurred()) SWIG_fail
;
19331 if (!wxPyCheckForApp()) SWIG_fail
;
19332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19333 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
19335 wxPyEndAllowThreads(__tstate
);
19336 if (PyErr_Occurred()) SWIG_fail
;
19339 wxVisualAttributes
* resultptr
;
19340 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
19341 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
19349 static PyObject
* ToolBar_swigregister(PyObject
*, PyObject
*args
) {
19351 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19352 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
19354 return Py_BuildValue((char *)"");
19356 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
19357 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
19362 static PyObject
*_wrap_ListCtrlNameStr_get() {
19367 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
19369 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
19376 static PyObject
*_wrap_new_ListItemAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19377 PyObject
*resultobj
;
19378 wxColour
const &arg1_defvalue
= wxNullColour
;
19379 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
19380 wxColour
const &arg2_defvalue
= wxNullColour
;
19381 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
19382 wxFont
const &arg3_defvalue
= wxNullFont
;
19383 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
19384 wxListItemAttr
*result
;
19387 PyObject
* obj0
= 0 ;
19388 PyObject
* obj1
= 0 ;
19389 PyObject
* obj2
= 0 ;
19390 char *kwnames
[] = {
19391 (char *) "colText",(char *) "colBack",(char *) "font", NULL
19394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19398 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
19404 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19408 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
19409 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19411 if (arg3
== NULL
) {
19412 PyErr_SetString(PyExc_TypeError
,"null reference");
19417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19418 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
19420 wxPyEndAllowThreads(__tstate
);
19421 if (PyErr_Occurred()) SWIG_fail
;
19423 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
19430 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19431 PyObject
*resultobj
;
19432 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19433 wxColour
*arg2
= 0 ;
19435 PyObject
* obj0
= 0 ;
19436 PyObject
* obj1
= 0 ;
19437 char *kwnames
[] = {
19438 (char *) "self",(char *) "colText", NULL
19441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19446 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19450 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
19452 wxPyEndAllowThreads(__tstate
);
19453 if (PyErr_Occurred()) SWIG_fail
;
19455 Py_INCREF(Py_None
); resultobj
= Py_None
;
19462 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19463 PyObject
*resultobj
;
19464 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19465 wxColour
*arg2
= 0 ;
19467 PyObject
* obj0
= 0 ;
19468 PyObject
* obj1
= 0 ;
19469 char *kwnames
[] = {
19470 (char *) "self",(char *) "colBack", NULL
19473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19478 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19482 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
19484 wxPyEndAllowThreads(__tstate
);
19485 if (PyErr_Occurred()) SWIG_fail
;
19487 Py_INCREF(Py_None
); resultobj
= Py_None
;
19494 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19495 PyObject
*resultobj
;
19496 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19498 PyObject
* obj0
= 0 ;
19499 PyObject
* obj1
= 0 ;
19500 char *kwnames
[] = {
19501 (char *) "self",(char *) "font", NULL
19504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
19505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19507 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
19508 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19510 if (arg2
== NULL
) {
19511 PyErr_SetString(PyExc_TypeError
,"null reference");
19515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19516 (arg1
)->SetFont((wxFont
const &)*arg2
);
19518 wxPyEndAllowThreads(__tstate
);
19519 if (PyErr_Occurred()) SWIG_fail
;
19521 Py_INCREF(Py_None
); resultobj
= Py_None
;
19528 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19529 PyObject
*resultobj
;
19530 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19532 PyObject
* obj0
= 0 ;
19533 char *kwnames
[] = {
19534 (char *) "self", NULL
19537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
19538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19542 result
= (bool)(arg1
)->HasTextColour();
19544 wxPyEndAllowThreads(__tstate
);
19545 if (PyErr_Occurred()) SWIG_fail
;
19548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19556 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19557 PyObject
*resultobj
;
19558 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19560 PyObject
* obj0
= 0 ;
19561 char *kwnames
[] = {
19562 (char *) "self", NULL
19565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
19566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19570 result
= (bool)(arg1
)->HasBackgroundColour();
19572 wxPyEndAllowThreads(__tstate
);
19573 if (PyErr_Occurred()) SWIG_fail
;
19576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19584 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19585 PyObject
*resultobj
;
19586 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19588 PyObject
* obj0
= 0 ;
19589 char *kwnames
[] = {
19590 (char *) "self", NULL
19593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
19594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19598 result
= (bool)(arg1
)->HasFont();
19600 wxPyEndAllowThreads(__tstate
);
19601 if (PyErr_Occurred()) SWIG_fail
;
19604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19612 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19613 PyObject
*resultobj
;
19614 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19616 PyObject
* obj0
= 0 ;
19617 char *kwnames
[] = {
19618 (char *) "self", NULL
19621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
19622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19626 result
= (arg1
)->GetTextColour();
19628 wxPyEndAllowThreads(__tstate
);
19629 if (PyErr_Occurred()) SWIG_fail
;
19632 wxColour
* resultptr
;
19633 resultptr
= new wxColour((wxColour
&) result
);
19634 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19642 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19643 PyObject
*resultobj
;
19644 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19646 PyObject
* obj0
= 0 ;
19647 char *kwnames
[] = {
19648 (char *) "self", NULL
19651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
19652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19656 result
= (arg1
)->GetBackgroundColour();
19658 wxPyEndAllowThreads(__tstate
);
19659 if (PyErr_Occurred()) SWIG_fail
;
19662 wxColour
* resultptr
;
19663 resultptr
= new wxColour((wxColour
&) result
);
19664 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19672 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19673 PyObject
*resultobj
;
19674 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19676 PyObject
* obj0
= 0 ;
19677 char *kwnames
[] = {
19678 (char *) "self", NULL
19681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
19682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19686 result
= (arg1
)->GetFont();
19688 wxPyEndAllowThreads(__tstate
);
19689 if (PyErr_Occurred()) SWIG_fail
;
19692 wxFont
* resultptr
;
19693 resultptr
= new wxFont((wxFont
&) result
);
19694 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
19702 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19703 PyObject
*resultobj
;
19704 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19705 PyObject
* obj0
= 0 ;
19706 char *kwnames
[] = {
19707 (char *) "self", NULL
19710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",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 wxListItemAttr_Destroy(arg1
);
19717 wxPyEndAllowThreads(__tstate
);
19718 if (PyErr_Occurred()) SWIG_fail
;
19720 Py_INCREF(Py_None
); resultobj
= Py_None
;
19727 static PyObject
* ListItemAttr_swigregister(PyObject
*, PyObject
*args
) {
19729 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19730 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
19732 return Py_BuildValue((char *)"");
19734 static PyObject
*_wrap_new_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19735 PyObject
*resultobj
;
19736 wxListItem
*result
;
19737 char *kwnames
[] = {
19741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
19743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19744 result
= (wxListItem
*)new wxListItem();
19746 wxPyEndAllowThreads(__tstate
);
19747 if (PyErr_Occurred()) SWIG_fail
;
19750 resultobj
= wxPyMake_wxObject(result
, 1);
19758 static PyObject
*_wrap_delete_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19759 PyObject
*resultobj
;
19760 wxListItem
*arg1
= (wxListItem
*) 0 ;
19761 PyObject
* obj0
= 0 ;
19762 char *kwnames
[] = {
19763 (char *) "self", NULL
19766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
19767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19773 wxPyEndAllowThreads(__tstate
);
19774 if (PyErr_Occurred()) SWIG_fail
;
19776 Py_INCREF(Py_None
); resultobj
= Py_None
;
19783 static PyObject
*_wrap_ListItem_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19784 PyObject
*resultobj
;
19785 wxListItem
*arg1
= (wxListItem
*) 0 ;
19786 PyObject
* obj0
= 0 ;
19787 char *kwnames
[] = {
19788 (char *) "self", NULL
19791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
19792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19798 wxPyEndAllowThreads(__tstate
);
19799 if (PyErr_Occurred()) SWIG_fail
;
19801 Py_INCREF(Py_None
); resultobj
= Py_None
;
19808 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19809 PyObject
*resultobj
;
19810 wxListItem
*arg1
= (wxListItem
*) 0 ;
19811 PyObject
* obj0
= 0 ;
19812 char *kwnames
[] = {
19813 (char *) "self", NULL
19816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
19817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19821 (arg1
)->ClearAttributes();
19823 wxPyEndAllowThreads(__tstate
);
19824 if (PyErr_Occurred()) SWIG_fail
;
19826 Py_INCREF(Py_None
); resultobj
= Py_None
;
19833 static PyObject
*_wrap_ListItem_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19834 PyObject
*resultobj
;
19835 wxListItem
*arg1
= (wxListItem
*) 0 ;
19837 PyObject
* obj0
= 0 ;
19838 PyObject
* obj1
= 0 ;
19839 char *kwnames
[] = {
19840 (char *) "self",(char *) "mask", NULL
19843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19846 arg2
= (long)SWIG_As_long(obj1
);
19847 if (PyErr_Occurred()) SWIG_fail
;
19849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19850 (arg1
)->SetMask(arg2
);
19852 wxPyEndAllowThreads(__tstate
);
19853 if (PyErr_Occurred()) SWIG_fail
;
19855 Py_INCREF(Py_None
); resultobj
= Py_None
;
19862 static PyObject
*_wrap_ListItem_SetId(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 *) "id", NULL
19872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",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
)->SetId(arg2
);
19881 wxPyEndAllowThreads(__tstate
);
19882 if (PyErr_Occurred()) SWIG_fail
;
19884 Py_INCREF(Py_None
); resultobj
= Py_None
;
19891 static PyObject
*_wrap_ListItem_SetColumn(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 *) "col", NULL
19901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",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
= (int)SWIG_As_int(obj1
);
19905 if (PyErr_Occurred()) SWIG_fail
;
19907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19908 (arg1
)->SetColumn(arg2
);
19910 wxPyEndAllowThreads(__tstate
);
19911 if (PyErr_Occurred()) SWIG_fail
;
19913 Py_INCREF(Py_None
); resultobj
= Py_None
;
19920 static PyObject
*_wrap_ListItem_SetState(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 *) "state", NULL
19930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",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
= (long)SWIG_As_long(obj1
);
19934 if (PyErr_Occurred()) SWIG_fail
;
19936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19937 (arg1
)->SetState(arg2
);
19939 wxPyEndAllowThreads(__tstate
);
19940 if (PyErr_Occurred()) SWIG_fail
;
19942 Py_INCREF(Py_None
); resultobj
= Py_None
;
19949 static PyObject
*_wrap_ListItem_SetStateMask(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 *) "stateMask", NULL
19959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",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
)->SetStateMask(arg2
);
19968 wxPyEndAllowThreads(__tstate
);
19969 if (PyErr_Occurred()) SWIG_fail
;
19971 Py_INCREF(Py_None
); resultobj
= Py_None
;
19978 static PyObject
*_wrap_ListItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19979 PyObject
*resultobj
;
19980 wxListItem
*arg1
= (wxListItem
*) 0 ;
19981 wxString
*arg2
= 0 ;
19982 bool temp2
= false ;
19983 PyObject
* obj0
= 0 ;
19984 PyObject
* obj1
= 0 ;
19985 char *kwnames
[] = {
19986 (char *) "self",(char *) "text", NULL
19989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
19990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19993 arg2
= wxString_in_helper(obj1
);
19994 if (arg2
== NULL
) SWIG_fail
;
19998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19999 (arg1
)->SetText((wxString
const &)*arg2
);
20001 wxPyEndAllowThreads(__tstate
);
20002 if (PyErr_Occurred()) SWIG_fail
;
20004 Py_INCREF(Py_None
); resultobj
= Py_None
;
20019 static PyObject
*_wrap_ListItem_SetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20020 PyObject
*resultobj
;
20021 wxListItem
*arg1
= (wxListItem
*) 0 ;
20023 PyObject
* obj0
= 0 ;
20024 PyObject
* obj1
= 0 ;
20025 char *kwnames
[] = {
20026 (char *) "self",(char *) "image", NULL
20029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
20030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20032 arg2
= (int)SWIG_As_int(obj1
);
20033 if (PyErr_Occurred()) SWIG_fail
;
20035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20036 (arg1
)->SetImage(arg2
);
20038 wxPyEndAllowThreads(__tstate
);
20039 if (PyErr_Occurred()) SWIG_fail
;
20041 Py_INCREF(Py_None
); resultobj
= Py_None
;
20048 static PyObject
*_wrap_ListItem_SetData(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 *) "data", NULL
20058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",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
= (long)SWIG_As_long(obj1
);
20062 if (PyErr_Occurred()) SWIG_fail
;
20064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20065 (arg1
)->SetData(arg2
);
20067 wxPyEndAllowThreads(__tstate
);
20068 if (PyErr_Occurred()) SWIG_fail
;
20070 Py_INCREF(Py_None
); resultobj
= Py_None
;
20077 static PyObject
*_wrap_ListItem_SetWidth(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 *) "width", NULL
20087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",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
= (int)SWIG_As_int(obj1
);
20091 if (PyErr_Occurred()) SWIG_fail
;
20093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20094 (arg1
)->SetWidth(arg2
);
20096 wxPyEndAllowThreads(__tstate
);
20097 if (PyErr_Occurred()) SWIG_fail
;
20099 Py_INCREF(Py_None
); resultobj
= Py_None
;
20106 static PyObject
*_wrap_ListItem_SetAlign(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 *) "align", NULL
20116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",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
)->SetAlign((wxListColumnFormat
)arg2
);
20125 wxPyEndAllowThreads(__tstate
);
20126 if (PyErr_Occurred()) SWIG_fail
;
20128 Py_INCREF(Py_None
); resultobj
= Py_None
;
20135 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20136 PyObject
*resultobj
;
20137 wxListItem
*arg1
= (wxListItem
*) 0 ;
20138 wxColour
*arg2
= 0 ;
20140 PyObject
* obj0
= 0 ;
20141 PyObject
* obj1
= 0 ;
20142 char *kwnames
[] = {
20143 (char *) "self",(char *) "colText", NULL
20146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20151 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20155 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
20157 wxPyEndAllowThreads(__tstate
);
20158 if (PyErr_Occurred()) SWIG_fail
;
20160 Py_INCREF(Py_None
); resultobj
= Py_None
;
20167 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20168 PyObject
*resultobj
;
20169 wxListItem
*arg1
= (wxListItem
*) 0 ;
20170 wxColour
*arg2
= 0 ;
20172 PyObject
* obj0
= 0 ;
20173 PyObject
* obj1
= 0 ;
20174 char *kwnames
[] = {
20175 (char *) "self",(char *) "colBack", NULL
20178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20183 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20187 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
20189 wxPyEndAllowThreads(__tstate
);
20190 if (PyErr_Occurred()) SWIG_fail
;
20192 Py_INCREF(Py_None
); resultobj
= Py_None
;
20199 static PyObject
*_wrap_ListItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20200 PyObject
*resultobj
;
20201 wxListItem
*arg1
= (wxListItem
*) 0 ;
20203 PyObject
* obj0
= 0 ;
20204 PyObject
* obj1
= 0 ;
20205 char *kwnames
[] = {
20206 (char *) "self",(char *) "font", NULL
20209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
20210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20212 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
20213 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20215 if (arg2
== NULL
) {
20216 PyErr_SetString(PyExc_TypeError
,"null reference");
20220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20221 (arg1
)->SetFont((wxFont
const &)*arg2
);
20223 wxPyEndAllowThreads(__tstate
);
20224 if (PyErr_Occurred()) SWIG_fail
;
20226 Py_INCREF(Py_None
); resultobj
= Py_None
;
20233 static PyObject
*_wrap_ListItem_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20234 PyObject
*resultobj
;
20235 wxListItem
*arg1
= (wxListItem
*) 0 ;
20237 PyObject
* obj0
= 0 ;
20238 char *kwnames
[] = {
20239 (char *) "self", NULL
20242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
20243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20247 result
= (long)(arg1
)->GetMask();
20249 wxPyEndAllowThreads(__tstate
);
20250 if (PyErr_Occurred()) SWIG_fail
;
20252 resultobj
= SWIG_From_long((long)result
);
20259 static PyObject
*_wrap_ListItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20260 PyObject
*resultobj
;
20261 wxListItem
*arg1
= (wxListItem
*) 0 ;
20263 PyObject
* obj0
= 0 ;
20264 char *kwnames
[] = {
20265 (char *) "self", NULL
20268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
20269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20273 result
= (long)(arg1
)->GetId();
20275 wxPyEndAllowThreads(__tstate
);
20276 if (PyErr_Occurred()) SWIG_fail
;
20278 resultobj
= SWIG_From_long((long)result
);
20285 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20286 PyObject
*resultobj
;
20287 wxListItem
*arg1
= (wxListItem
*) 0 ;
20289 PyObject
* obj0
= 0 ;
20290 char *kwnames
[] = {
20291 (char *) "self", NULL
20294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
20295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20299 result
= (int)(arg1
)->GetColumn();
20301 wxPyEndAllowThreads(__tstate
);
20302 if (PyErr_Occurred()) SWIG_fail
;
20304 resultobj
= SWIG_From_int((int)result
);
20311 static PyObject
*_wrap_ListItem_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20312 PyObject
*resultobj
;
20313 wxListItem
*arg1
= (wxListItem
*) 0 ;
20315 PyObject
* obj0
= 0 ;
20316 char *kwnames
[] = {
20317 (char *) "self", NULL
20320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
20321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20325 result
= (long)(arg1
)->GetState();
20327 wxPyEndAllowThreads(__tstate
);
20328 if (PyErr_Occurred()) SWIG_fail
;
20330 resultobj
= SWIG_From_long((long)result
);
20337 static PyObject
*_wrap_ListItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20338 PyObject
*resultobj
;
20339 wxListItem
*arg1
= (wxListItem
*) 0 ;
20341 PyObject
* obj0
= 0 ;
20342 char *kwnames
[] = {
20343 (char *) "self", NULL
20346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
20347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20352 wxString
const &_result_ref
= (arg1
)->GetText();
20353 result
= (wxString
*) &_result_ref
;
20356 wxPyEndAllowThreads(__tstate
);
20357 if (PyErr_Occurred()) SWIG_fail
;
20361 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20363 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20372 static PyObject
*_wrap_ListItem_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20373 PyObject
*resultobj
;
20374 wxListItem
*arg1
= (wxListItem
*) 0 ;
20376 PyObject
* obj0
= 0 ;
20377 char *kwnames
[] = {
20378 (char *) "self", NULL
20381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
20382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20386 result
= (int)(arg1
)->GetImage();
20388 wxPyEndAllowThreads(__tstate
);
20389 if (PyErr_Occurred()) SWIG_fail
;
20391 resultobj
= SWIG_From_int((int)result
);
20398 static PyObject
*_wrap_ListItem_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20399 PyObject
*resultobj
;
20400 wxListItem
*arg1
= (wxListItem
*) 0 ;
20402 PyObject
* obj0
= 0 ;
20403 char *kwnames
[] = {
20404 (char *) "self", NULL
20407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
20408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20412 result
= (long)(arg1
)->GetData();
20414 wxPyEndAllowThreads(__tstate
);
20415 if (PyErr_Occurred()) SWIG_fail
;
20417 resultobj
= SWIG_From_long((long)result
);
20424 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20425 PyObject
*resultobj
;
20426 wxListItem
*arg1
= (wxListItem
*) 0 ;
20428 PyObject
* obj0
= 0 ;
20429 char *kwnames
[] = {
20430 (char *) "self", NULL
20433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
20434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20438 result
= (int)(arg1
)->GetWidth();
20440 wxPyEndAllowThreads(__tstate
);
20441 if (PyErr_Occurred()) SWIG_fail
;
20443 resultobj
= SWIG_From_int((int)result
);
20450 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20451 PyObject
*resultobj
;
20452 wxListItem
*arg1
= (wxListItem
*) 0 ;
20454 PyObject
* obj0
= 0 ;
20455 char *kwnames
[] = {
20456 (char *) "self", NULL
20459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
20460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20464 result
= (int)(arg1
)->GetAlign();
20466 wxPyEndAllowThreads(__tstate
);
20467 if (PyErr_Occurred()) SWIG_fail
;
20469 resultobj
= SWIG_From_int((int)result
);
20476 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20477 PyObject
*resultobj
;
20478 wxListItem
*arg1
= (wxListItem
*) 0 ;
20479 wxListItemAttr
*result
;
20480 PyObject
* obj0
= 0 ;
20481 char *kwnames
[] = {
20482 (char *) "self", NULL
20485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
20486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20490 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
20492 wxPyEndAllowThreads(__tstate
);
20493 if (PyErr_Occurred()) SWIG_fail
;
20495 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
20502 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20503 PyObject
*resultobj
;
20504 wxListItem
*arg1
= (wxListItem
*) 0 ;
20506 PyObject
* obj0
= 0 ;
20507 char *kwnames
[] = {
20508 (char *) "self", NULL
20511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
20512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20516 result
= (bool)(arg1
)->HasAttributes();
20518 wxPyEndAllowThreads(__tstate
);
20519 if (PyErr_Occurred()) SWIG_fail
;
20522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20530 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20531 PyObject
*resultobj
;
20532 wxListItem
*arg1
= (wxListItem
*) 0 ;
20534 PyObject
* obj0
= 0 ;
20535 char *kwnames
[] = {
20536 (char *) "self", NULL
20539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
20540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20544 result
= ((wxListItem
const *)arg1
)->GetTextColour();
20546 wxPyEndAllowThreads(__tstate
);
20547 if (PyErr_Occurred()) SWIG_fail
;
20550 wxColour
* resultptr
;
20551 resultptr
= new wxColour((wxColour
&) result
);
20552 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20560 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20561 PyObject
*resultobj
;
20562 wxListItem
*arg1
= (wxListItem
*) 0 ;
20564 PyObject
* obj0
= 0 ;
20565 char *kwnames
[] = {
20566 (char *) "self", NULL
20569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
20570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20574 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
20576 wxPyEndAllowThreads(__tstate
);
20577 if (PyErr_Occurred()) SWIG_fail
;
20580 wxColour
* resultptr
;
20581 resultptr
= new wxColour((wxColour
&) result
);
20582 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20590 static PyObject
*_wrap_ListItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20591 PyObject
*resultobj
;
20592 wxListItem
*arg1
= (wxListItem
*) 0 ;
20594 PyObject
* obj0
= 0 ;
20595 char *kwnames
[] = {
20596 (char *) "self", NULL
20599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
20600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20604 result
= ((wxListItem
const *)arg1
)->GetFont();
20606 wxPyEndAllowThreads(__tstate
);
20607 if (PyErr_Occurred()) SWIG_fail
;
20610 wxFont
* resultptr
;
20611 resultptr
= new wxFont((wxFont
&) result
);
20612 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
20620 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20621 PyObject
*resultobj
;
20622 wxListItem
*arg1
= (wxListItem
*) 0 ;
20624 PyObject
* obj0
= 0 ;
20625 PyObject
* obj1
= 0 ;
20626 char *kwnames
[] = {
20627 (char *) "self",(char *) "m_mask", NULL
20630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20633 arg2
= (long)SWIG_As_long(obj1
);
20634 if (PyErr_Occurred()) SWIG_fail
;
20635 if (arg1
) (arg1
)->m_mask
= arg2
;
20637 Py_INCREF(Py_None
); resultobj
= Py_None
;
20644 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20645 PyObject
*resultobj
;
20646 wxListItem
*arg1
= (wxListItem
*) 0 ;
20648 PyObject
* obj0
= 0 ;
20649 char *kwnames
[] = {
20650 (char *) "self", NULL
20653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
20654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20656 result
= (long) ((arg1
)->m_mask
);
20658 resultobj
= SWIG_From_long((long)result
);
20665 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20666 PyObject
*resultobj
;
20667 wxListItem
*arg1
= (wxListItem
*) 0 ;
20669 PyObject
* obj0
= 0 ;
20670 PyObject
* obj1
= 0 ;
20671 char *kwnames
[] = {
20672 (char *) "self",(char *) "m_itemId", NULL
20675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20678 arg2
= (long)SWIG_As_long(obj1
);
20679 if (PyErr_Occurred()) SWIG_fail
;
20680 if (arg1
) (arg1
)->m_itemId
= arg2
;
20682 Py_INCREF(Py_None
); resultobj
= Py_None
;
20689 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20690 PyObject
*resultobj
;
20691 wxListItem
*arg1
= (wxListItem
*) 0 ;
20693 PyObject
* obj0
= 0 ;
20694 char *kwnames
[] = {
20695 (char *) "self", NULL
20698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
20699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20701 result
= (long) ((arg1
)->m_itemId
);
20703 resultobj
= SWIG_From_long((long)result
);
20710 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20711 PyObject
*resultobj
;
20712 wxListItem
*arg1
= (wxListItem
*) 0 ;
20714 PyObject
* obj0
= 0 ;
20715 PyObject
* obj1
= 0 ;
20716 char *kwnames
[] = {
20717 (char *) "self",(char *) "m_col", NULL
20720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20723 arg2
= (int)SWIG_As_int(obj1
);
20724 if (PyErr_Occurred()) SWIG_fail
;
20725 if (arg1
) (arg1
)->m_col
= arg2
;
20727 Py_INCREF(Py_None
); resultobj
= Py_None
;
20734 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20735 PyObject
*resultobj
;
20736 wxListItem
*arg1
= (wxListItem
*) 0 ;
20738 PyObject
* obj0
= 0 ;
20739 char *kwnames
[] = {
20740 (char *) "self", NULL
20743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
20744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20746 result
= (int) ((arg1
)->m_col
);
20748 resultobj
= SWIG_From_int((int)result
);
20755 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20756 PyObject
*resultobj
;
20757 wxListItem
*arg1
= (wxListItem
*) 0 ;
20759 PyObject
* obj0
= 0 ;
20760 PyObject
* obj1
= 0 ;
20761 char *kwnames
[] = {
20762 (char *) "self",(char *) "m_state", NULL
20765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20768 arg2
= (long)SWIG_As_long(obj1
);
20769 if (PyErr_Occurred()) SWIG_fail
;
20770 if (arg1
) (arg1
)->m_state
= arg2
;
20772 Py_INCREF(Py_None
); resultobj
= Py_None
;
20779 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20780 PyObject
*resultobj
;
20781 wxListItem
*arg1
= (wxListItem
*) 0 ;
20783 PyObject
* obj0
= 0 ;
20784 char *kwnames
[] = {
20785 (char *) "self", NULL
20788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
20789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20791 result
= (long) ((arg1
)->m_state
);
20793 resultobj
= SWIG_From_long((long)result
);
20800 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20801 PyObject
*resultobj
;
20802 wxListItem
*arg1
= (wxListItem
*) 0 ;
20804 PyObject
* obj0
= 0 ;
20805 PyObject
* obj1
= 0 ;
20806 char *kwnames
[] = {
20807 (char *) "self",(char *) "m_stateMask", NULL
20810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20813 arg2
= (long)SWIG_As_long(obj1
);
20814 if (PyErr_Occurred()) SWIG_fail
;
20815 if (arg1
) (arg1
)->m_stateMask
= arg2
;
20817 Py_INCREF(Py_None
); resultobj
= Py_None
;
20824 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20825 PyObject
*resultobj
;
20826 wxListItem
*arg1
= (wxListItem
*) 0 ;
20828 PyObject
* obj0
= 0 ;
20829 char *kwnames
[] = {
20830 (char *) "self", NULL
20833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
20834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20836 result
= (long) ((arg1
)->m_stateMask
);
20838 resultobj
= SWIG_From_long((long)result
);
20845 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20846 PyObject
*resultobj
;
20847 wxListItem
*arg1
= (wxListItem
*) 0 ;
20848 wxString
*arg2
= (wxString
*) 0 ;
20849 bool temp2
= false ;
20850 PyObject
* obj0
= 0 ;
20851 PyObject
* obj1
= 0 ;
20852 char *kwnames
[] = {
20853 (char *) "self",(char *) "m_text", NULL
20856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20860 arg2
= wxString_in_helper(obj1
);
20861 if (arg2
== NULL
) SWIG_fail
;
20864 if (arg1
) (arg1
)->m_text
= *arg2
;
20866 Py_INCREF(Py_None
); resultobj
= Py_None
;
20881 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20882 PyObject
*resultobj
;
20883 wxListItem
*arg1
= (wxListItem
*) 0 ;
20885 PyObject
* obj0
= 0 ;
20886 char *kwnames
[] = {
20887 (char *) "self", NULL
20890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
20891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20893 result
= (wxString
*)& ((arg1
)->m_text
);
20897 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20899 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20908 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20909 PyObject
*resultobj
;
20910 wxListItem
*arg1
= (wxListItem
*) 0 ;
20912 PyObject
* obj0
= 0 ;
20913 PyObject
* obj1
= 0 ;
20914 char *kwnames
[] = {
20915 (char *) "self",(char *) "m_image", NULL
20918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20921 arg2
= (int)SWIG_As_int(obj1
);
20922 if (PyErr_Occurred()) SWIG_fail
;
20923 if (arg1
) (arg1
)->m_image
= arg2
;
20925 Py_INCREF(Py_None
); resultobj
= Py_None
;
20932 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20933 PyObject
*resultobj
;
20934 wxListItem
*arg1
= (wxListItem
*) 0 ;
20936 PyObject
* obj0
= 0 ;
20937 char *kwnames
[] = {
20938 (char *) "self", NULL
20941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
20942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20944 result
= (int) ((arg1
)->m_image
);
20946 resultobj
= SWIG_From_int((int)result
);
20953 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20954 PyObject
*resultobj
;
20955 wxListItem
*arg1
= (wxListItem
*) 0 ;
20957 PyObject
* obj0
= 0 ;
20958 PyObject
* obj1
= 0 ;
20959 char *kwnames
[] = {
20960 (char *) "self",(char *) "m_data", NULL
20963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20966 arg2
= (long)SWIG_As_long(obj1
);
20967 if (PyErr_Occurred()) SWIG_fail
;
20968 if (arg1
) (arg1
)->m_data
= arg2
;
20970 Py_INCREF(Py_None
); resultobj
= Py_None
;
20977 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20978 PyObject
*resultobj
;
20979 wxListItem
*arg1
= (wxListItem
*) 0 ;
20981 PyObject
* obj0
= 0 ;
20982 char *kwnames
[] = {
20983 (char *) "self", NULL
20986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
20987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20989 result
= (long) ((arg1
)->m_data
);
20991 resultobj
= SWIG_From_long((long)result
);
20998 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20999 PyObject
*resultobj
;
21000 wxListItem
*arg1
= (wxListItem
*) 0 ;
21002 PyObject
* obj0
= 0 ;
21003 PyObject
* obj1
= 0 ;
21004 char *kwnames
[] = {
21005 (char *) "self",(char *) "m_format", NULL
21008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
21010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21011 arg2
= (int)SWIG_As_int(obj1
);
21012 if (PyErr_Occurred()) SWIG_fail
;
21013 if (arg1
) (arg1
)->m_format
= arg2
;
21015 Py_INCREF(Py_None
); resultobj
= Py_None
;
21022 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21023 PyObject
*resultobj
;
21024 wxListItem
*arg1
= (wxListItem
*) 0 ;
21026 PyObject
* obj0
= 0 ;
21027 char *kwnames
[] = {
21028 (char *) "self", NULL
21031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
21032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
21033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21034 result
= (int) ((arg1
)->m_format
);
21036 resultobj
= SWIG_From_int((int)result
);
21043 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21044 PyObject
*resultobj
;
21045 wxListItem
*arg1
= (wxListItem
*) 0 ;
21047 PyObject
* obj0
= 0 ;
21048 PyObject
* obj1
= 0 ;
21049 char *kwnames
[] = {
21050 (char *) "self",(char *) "m_width", NULL
21053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
21055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21056 arg2
= (int)SWIG_As_int(obj1
);
21057 if (PyErr_Occurred()) SWIG_fail
;
21058 if (arg1
) (arg1
)->m_width
= arg2
;
21060 Py_INCREF(Py_None
); resultobj
= Py_None
;
21067 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21068 PyObject
*resultobj
;
21069 wxListItem
*arg1
= (wxListItem
*) 0 ;
21071 PyObject
* obj0
= 0 ;
21072 char *kwnames
[] = {
21073 (char *) "self", NULL
21076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
21077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
21078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21079 result
= (int) ((arg1
)->m_width
);
21081 resultobj
= SWIG_From_int((int)result
);
21088 static PyObject
* ListItem_swigregister(PyObject
*, PyObject
*args
) {
21090 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21091 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
21093 return Py_BuildValue((char *)"");
21095 static PyObject
*_wrap_new_ListEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21096 PyObject
*resultobj
;
21097 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
21098 int arg2
= (int) 0 ;
21099 wxListEvent
*result
;
21100 PyObject
* obj0
= 0 ;
21101 PyObject
* obj1
= 0 ;
21102 char *kwnames
[] = {
21103 (char *) "commandType",(char *) "id", NULL
21106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
21108 arg1
= (wxEventType
)SWIG_As_int(obj0
);
21109 if (PyErr_Occurred()) SWIG_fail
;
21112 arg2
= (int)SWIG_As_int(obj1
);
21113 if (PyErr_Occurred()) SWIG_fail
;
21116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21117 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
21119 wxPyEndAllowThreads(__tstate
);
21120 if (PyErr_Occurred()) SWIG_fail
;
21122 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
21129 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21130 PyObject
*resultobj
;
21131 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21133 PyObject
* obj0
= 0 ;
21134 PyObject
* obj1
= 0 ;
21135 char *kwnames
[] = {
21136 (char *) "self",(char *) "m_code", NULL
21139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21142 arg2
= (int)SWIG_As_int(obj1
);
21143 if (PyErr_Occurred()) SWIG_fail
;
21144 if (arg1
) (arg1
)->m_code
= arg2
;
21146 Py_INCREF(Py_None
); resultobj
= Py_None
;
21153 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21154 PyObject
*resultobj
;
21155 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21157 PyObject
* obj0
= 0 ;
21158 char *kwnames
[] = {
21159 (char *) "self", NULL
21162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
21163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21165 result
= (int) ((arg1
)->m_code
);
21167 resultobj
= SWIG_From_int((int)result
);
21174 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21175 PyObject
*resultobj
;
21176 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21178 PyObject
* obj0
= 0 ;
21179 PyObject
* obj1
= 0 ;
21180 char *kwnames
[] = {
21181 (char *) "self",(char *) "m_oldItemIndex", NULL
21184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21187 arg2
= (long)SWIG_As_long(obj1
);
21188 if (PyErr_Occurred()) SWIG_fail
;
21189 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
21191 Py_INCREF(Py_None
); resultobj
= Py_None
;
21198 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21199 PyObject
*resultobj
;
21200 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21202 PyObject
* obj0
= 0 ;
21203 char *kwnames
[] = {
21204 (char *) "self", NULL
21207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
21208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21210 result
= (long) ((arg1
)->m_oldItemIndex
);
21212 resultobj
= SWIG_From_long((long)result
);
21219 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21220 PyObject
*resultobj
;
21221 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21223 PyObject
* obj0
= 0 ;
21224 PyObject
* obj1
= 0 ;
21225 char *kwnames
[] = {
21226 (char *) "self",(char *) "m_itemIndex", NULL
21229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21232 arg2
= (long)SWIG_As_long(obj1
);
21233 if (PyErr_Occurred()) SWIG_fail
;
21234 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
21236 Py_INCREF(Py_None
); resultobj
= Py_None
;
21243 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21244 PyObject
*resultobj
;
21245 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21247 PyObject
* obj0
= 0 ;
21248 char *kwnames
[] = {
21249 (char *) "self", NULL
21252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
21253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21255 result
= (long) ((arg1
)->m_itemIndex
);
21257 resultobj
= SWIG_From_long((long)result
);
21264 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21265 PyObject
*resultobj
;
21266 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21268 PyObject
* obj0
= 0 ;
21269 PyObject
* obj1
= 0 ;
21270 char *kwnames
[] = {
21271 (char *) "self",(char *) "m_col", NULL
21274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21277 arg2
= (int)SWIG_As_int(obj1
);
21278 if (PyErr_Occurred()) SWIG_fail
;
21279 if (arg1
) (arg1
)->m_col
= arg2
;
21281 Py_INCREF(Py_None
); resultobj
= Py_None
;
21288 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21289 PyObject
*resultobj
;
21290 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21292 PyObject
* obj0
= 0 ;
21293 char *kwnames
[] = {
21294 (char *) "self", NULL
21297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
21298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21300 result
= (int) ((arg1
)->m_col
);
21302 resultobj
= SWIG_From_int((int)result
);
21309 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21310 PyObject
*resultobj
;
21311 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21312 wxPoint
*arg2
= (wxPoint
*) 0 ;
21313 PyObject
* obj0
= 0 ;
21314 PyObject
* obj1
= 0 ;
21315 char *kwnames
[] = {
21316 (char *) "self",(char *) "m_pointDrag", NULL
21319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21322 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
21323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21324 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
21326 Py_INCREF(Py_None
); resultobj
= Py_None
;
21333 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21334 PyObject
*resultobj
;
21335 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21337 PyObject
* obj0
= 0 ;
21338 char *kwnames
[] = {
21339 (char *) "self", NULL
21342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
21343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21345 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
21347 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
21354 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21355 PyObject
*resultobj
;
21356 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21357 wxListItem
*result
;
21358 PyObject
* obj0
= 0 ;
21359 char *kwnames
[] = {
21360 (char *) "self", NULL
21363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
21364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21366 result
= (wxListItem
*)& ((arg1
)->m_item
);
21369 resultobj
= wxPyMake_wxObject(result
, 0);
21377 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21378 PyObject
*resultobj
;
21379 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21381 PyObject
* obj0
= 0 ;
21382 char *kwnames
[] = {
21383 (char *) "self", NULL
21386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
21387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21391 result
= (int)(arg1
)->GetKeyCode();
21393 wxPyEndAllowThreads(__tstate
);
21394 if (PyErr_Occurred()) SWIG_fail
;
21396 resultobj
= SWIG_From_int((int)result
);
21403 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21404 PyObject
*resultobj
;
21405 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21407 PyObject
* obj0
= 0 ;
21408 char *kwnames
[] = {
21409 (char *) "self", NULL
21412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
21413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21417 result
= (long)(arg1
)->GetIndex();
21419 wxPyEndAllowThreads(__tstate
);
21420 if (PyErr_Occurred()) SWIG_fail
;
21422 resultobj
= SWIG_From_long((long)result
);
21429 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21430 PyObject
*resultobj
;
21431 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21433 PyObject
* obj0
= 0 ;
21434 char *kwnames
[] = {
21435 (char *) "self", NULL
21438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
21439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21443 result
= (int)(arg1
)->GetColumn();
21445 wxPyEndAllowThreads(__tstate
);
21446 if (PyErr_Occurred()) SWIG_fail
;
21448 resultobj
= SWIG_From_int((int)result
);
21455 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21456 PyObject
*resultobj
;
21457 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21459 PyObject
* obj0
= 0 ;
21460 char *kwnames
[] = {
21461 (char *) "self", NULL
21464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
21465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21469 result
= (arg1
)->GetPoint();
21471 wxPyEndAllowThreads(__tstate
);
21472 if (PyErr_Occurred()) SWIG_fail
;
21475 wxPoint
* resultptr
;
21476 resultptr
= new wxPoint((wxPoint
&) result
);
21477 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
21485 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21486 PyObject
*resultobj
;
21487 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21489 PyObject
* obj0
= 0 ;
21490 char *kwnames
[] = {
21491 (char *) "self", NULL
21494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
21495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21500 wxString
const &_result_ref
= (arg1
)->GetLabel();
21501 result
= (wxString
*) &_result_ref
;
21504 wxPyEndAllowThreads(__tstate
);
21505 if (PyErr_Occurred()) SWIG_fail
;
21509 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21511 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21520 static PyObject
*_wrap_ListEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21521 PyObject
*resultobj
;
21522 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21524 PyObject
* obj0
= 0 ;
21525 char *kwnames
[] = {
21526 (char *) "self", NULL
21529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
21530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21535 wxString
const &_result_ref
= (arg1
)->GetText();
21536 result
= (wxString
*) &_result_ref
;
21539 wxPyEndAllowThreads(__tstate
);
21540 if (PyErr_Occurred()) SWIG_fail
;
21544 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21546 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21555 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21556 PyObject
*resultobj
;
21557 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21559 PyObject
* obj0
= 0 ;
21560 char *kwnames
[] = {
21561 (char *) "self", NULL
21564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
21565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21569 result
= (int)(arg1
)->GetImage();
21571 wxPyEndAllowThreads(__tstate
);
21572 if (PyErr_Occurred()) SWIG_fail
;
21574 resultobj
= SWIG_From_int((int)result
);
21581 static PyObject
*_wrap_ListEvent_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21582 PyObject
*resultobj
;
21583 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21585 PyObject
* obj0
= 0 ;
21586 char *kwnames
[] = {
21587 (char *) "self", NULL
21590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
21591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21595 result
= (long)(arg1
)->GetData();
21597 wxPyEndAllowThreads(__tstate
);
21598 if (PyErr_Occurred()) SWIG_fail
;
21600 resultobj
= SWIG_From_long((long)result
);
21607 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21608 PyObject
*resultobj
;
21609 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21611 PyObject
* obj0
= 0 ;
21612 char *kwnames
[] = {
21613 (char *) "self", NULL
21616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
21617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21621 result
= (long)(arg1
)->GetMask();
21623 wxPyEndAllowThreads(__tstate
);
21624 if (PyErr_Occurred()) SWIG_fail
;
21626 resultobj
= SWIG_From_long((long)result
);
21633 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21634 PyObject
*resultobj
;
21635 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21636 wxListItem
*result
;
21637 PyObject
* obj0
= 0 ;
21638 char *kwnames
[] = {
21639 (char *) "self", NULL
21642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
21643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21648 wxListItem
const &_result_ref
= (arg1
)->GetItem();
21649 result
= (wxListItem
*) &_result_ref
;
21652 wxPyEndAllowThreads(__tstate
);
21653 if (PyErr_Occurred()) SWIG_fail
;
21655 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
21662 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21663 PyObject
*resultobj
;
21664 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21666 PyObject
* obj0
= 0 ;
21667 char *kwnames
[] = {
21668 (char *) "self", NULL
21671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",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();
21676 result
= (long)(arg1
)->GetCacheFrom();
21678 wxPyEndAllowThreads(__tstate
);
21679 if (PyErr_Occurred()) SWIG_fail
;
21681 resultobj
= SWIG_From_long((long)result
);
21688 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21689 PyObject
*resultobj
;
21690 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21692 PyObject
* obj0
= 0 ;
21693 char *kwnames
[] = {
21694 (char *) "self", NULL
21697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
21698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21702 result
= (long)(arg1
)->GetCacheTo();
21704 wxPyEndAllowThreads(__tstate
);
21705 if (PyErr_Occurred()) SWIG_fail
;
21707 resultobj
= SWIG_From_long((long)result
);
21714 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21715 PyObject
*resultobj
;
21716 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21718 PyObject
* obj0
= 0 ;
21719 char *kwnames
[] = {
21720 (char *) "self", NULL
21723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
21724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21728 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
21730 wxPyEndAllowThreads(__tstate
);
21731 if (PyErr_Occurred()) SWIG_fail
;
21734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21742 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21743 PyObject
*resultobj
;
21744 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21746 PyObject
* obj0
= 0 ;
21747 PyObject
* obj1
= 0 ;
21748 char *kwnames
[] = {
21749 (char *) "self",(char *) "editCancelled", NULL
21752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
21753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21755 arg2
= (bool)SWIG_As_bool(obj1
);
21756 if (PyErr_Occurred()) SWIG_fail
;
21758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21759 (arg1
)->SetEditCanceled(arg2
);
21761 wxPyEndAllowThreads(__tstate
);
21762 if (PyErr_Occurred()) SWIG_fail
;
21764 Py_INCREF(Py_None
); resultobj
= Py_None
;
21771 static PyObject
* ListEvent_swigregister(PyObject
*, PyObject
*args
) {
21773 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21774 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
21776 return Py_BuildValue((char *)"");
21778 static PyObject
*_wrap_new_ListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21779 PyObject
*resultobj
;
21780 wxWindow
*arg1
= (wxWindow
*) 0 ;
21781 int arg2
= (int) -1 ;
21782 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21783 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21784 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21785 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21786 long arg5
= (long) wxLC_ICON
;
21787 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
21788 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
21789 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
21790 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21791 wxPyListCtrl
*result
;
21794 bool temp7
= false ;
21795 PyObject
* obj0
= 0 ;
21796 PyObject
* obj1
= 0 ;
21797 PyObject
* obj2
= 0 ;
21798 PyObject
* obj3
= 0 ;
21799 PyObject
* obj4
= 0 ;
21800 PyObject
* obj5
= 0 ;
21801 PyObject
* obj6
= 0 ;
21802 char *kwnames
[] = {
21803 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21810 arg2
= (int)SWIG_As_int(obj1
);
21811 if (PyErr_Occurred()) SWIG_fail
;
21816 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21822 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21826 arg5
= (long)SWIG_As_long(obj4
);
21827 if (PyErr_Occurred()) SWIG_fail
;
21830 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
21831 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21833 if (arg6
== NULL
) {
21834 PyErr_SetString(PyExc_TypeError
,"null reference");
21840 arg7
= wxString_in_helper(obj6
);
21841 if (arg7
== NULL
) SWIG_fail
;
21846 if (!wxPyCheckForApp()) SWIG_fail
;
21847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21848 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
21850 wxPyEndAllowThreads(__tstate
);
21851 if (PyErr_Occurred()) SWIG_fail
;
21853 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21868 static PyObject
*_wrap_new_PreListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21869 PyObject
*resultobj
;
21870 wxPyListCtrl
*result
;
21871 char *kwnames
[] = {
21875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
21877 if (!wxPyCheckForApp()) SWIG_fail
;
21878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21879 result
= (wxPyListCtrl
*)new wxPyListCtrl();
21881 wxPyEndAllowThreads(__tstate
);
21882 if (PyErr_Occurred()) SWIG_fail
;
21884 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21891 static PyObject
*_wrap_ListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21892 PyObject
*resultobj
;
21893 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21894 wxWindow
*arg2
= (wxWindow
*) 0 ;
21895 int arg3
= (int) -1 ;
21896 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21897 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21898 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21899 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21900 long arg6
= (long) wxLC_ICON
;
21901 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
21902 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
21903 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
21904 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21908 bool temp8
= false ;
21909 PyObject
* obj0
= 0 ;
21910 PyObject
* obj1
= 0 ;
21911 PyObject
* obj2
= 0 ;
21912 PyObject
* obj3
= 0 ;
21913 PyObject
* obj4
= 0 ;
21914 PyObject
* obj5
= 0 ;
21915 PyObject
* obj6
= 0 ;
21916 PyObject
* obj7
= 0 ;
21917 char *kwnames
[] = {
21918 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
21922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21924 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21927 arg3
= (int)SWIG_As_int(obj2
);
21928 if (PyErr_Occurred()) SWIG_fail
;
21933 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21939 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21943 arg6
= (long)SWIG_As_long(obj5
);
21944 if (PyErr_Occurred()) SWIG_fail
;
21947 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
21948 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21950 if (arg7
== NULL
) {
21951 PyErr_SetString(PyExc_TypeError
,"null reference");
21957 arg8
= wxString_in_helper(obj7
);
21958 if (arg8
== NULL
) SWIG_fail
;
21963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21964 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
21966 wxPyEndAllowThreads(__tstate
);
21967 if (PyErr_Occurred()) SWIG_fail
;
21970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21986 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21987 PyObject
*resultobj
;
21988 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21989 PyObject
*arg2
= (PyObject
*) 0 ;
21990 PyObject
*arg3
= (PyObject
*) 0 ;
21991 PyObject
* obj0
= 0 ;
21992 PyObject
* obj1
= 0 ;
21993 PyObject
* obj2
= 0 ;
21994 char *kwnames
[] = {
21995 (char *) "self",(char *) "self",(char *) "_class", NULL
21998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22005 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22007 wxPyEndAllowThreads(__tstate
);
22008 if (PyErr_Occurred()) SWIG_fail
;
22010 Py_INCREF(Py_None
); resultobj
= Py_None
;
22017 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22018 PyObject
*resultobj
;
22019 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22020 wxColour
*arg2
= 0 ;
22023 PyObject
* obj0
= 0 ;
22024 PyObject
* obj1
= 0 ;
22025 char *kwnames
[] = {
22026 (char *) "self",(char *) "col", NULL
22029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22034 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22038 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
22040 wxPyEndAllowThreads(__tstate
);
22041 if (PyErr_Occurred()) SWIG_fail
;
22044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22052 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22053 PyObject
*resultobj
;
22054 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22055 wxColour
*arg2
= 0 ;
22058 PyObject
* obj0
= 0 ;
22059 PyObject
* obj1
= 0 ;
22060 char *kwnames
[] = {
22061 (char *) "self",(char *) "col", NULL
22064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22069 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22073 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
22075 wxPyEndAllowThreads(__tstate
);
22076 if (PyErr_Occurred()) SWIG_fail
;
22079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22087 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22088 PyObject
*resultobj
;
22089 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22091 wxListItem
*result
;
22092 PyObject
* obj0
= 0 ;
22093 PyObject
* obj1
= 0 ;
22094 char *kwnames
[] = {
22095 (char *) "self",(char *) "col", NULL
22098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
22099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22101 arg2
= (int)SWIG_As_int(obj1
);
22102 if (PyErr_Occurred()) SWIG_fail
;
22104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22105 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
22107 wxPyEndAllowThreads(__tstate
);
22108 if (PyErr_Occurred()) SWIG_fail
;
22111 resultobj
= wxPyMake_wxObject(result
, 0);
22119 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22120 PyObject
*resultobj
;
22121 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22123 wxListItem
*arg3
= 0 ;
22125 PyObject
* obj0
= 0 ;
22126 PyObject
* obj1
= 0 ;
22127 PyObject
* obj2
= 0 ;
22128 char *kwnames
[] = {
22129 (char *) "self",(char *) "col",(char *) "item", NULL
22132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22135 arg2
= (int)SWIG_As_int(obj1
);
22136 if (PyErr_Occurred()) SWIG_fail
;
22137 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
22138 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22140 if (arg3
== NULL
) {
22141 PyErr_SetString(PyExc_TypeError
,"null reference");
22145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22146 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
22148 wxPyEndAllowThreads(__tstate
);
22149 if (PyErr_Occurred()) SWIG_fail
;
22152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22160 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22161 PyObject
*resultobj
;
22162 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22165 PyObject
* obj0
= 0 ;
22166 PyObject
* obj1
= 0 ;
22167 char *kwnames
[] = {
22168 (char *) "self",(char *) "col", NULL
22171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
22172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22174 arg2
= (int)SWIG_As_int(obj1
);
22175 if (PyErr_Occurred()) SWIG_fail
;
22177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22178 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
22180 wxPyEndAllowThreads(__tstate
);
22181 if (PyErr_Occurred()) SWIG_fail
;
22183 resultobj
= SWIG_From_int((int)result
);
22190 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22191 PyObject
*resultobj
;
22192 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22196 PyObject
* obj0
= 0 ;
22197 PyObject
* obj1
= 0 ;
22198 PyObject
* obj2
= 0 ;
22199 char *kwnames
[] = {
22200 (char *) "self",(char *) "col",(char *) "width", NULL
22203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22206 arg2
= (int)SWIG_As_int(obj1
);
22207 if (PyErr_Occurred()) SWIG_fail
;
22208 arg3
= (int)SWIG_As_int(obj2
);
22209 if (PyErr_Occurred()) SWIG_fail
;
22211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22212 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
22214 wxPyEndAllowThreads(__tstate
);
22215 if (PyErr_Occurred()) SWIG_fail
;
22218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22226 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22227 PyObject
*resultobj
;
22228 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22230 PyObject
* obj0
= 0 ;
22231 char *kwnames
[] = {
22232 (char *) "self", NULL
22235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
22236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22240 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
22242 wxPyEndAllowThreads(__tstate
);
22243 if (PyErr_Occurred()) SWIG_fail
;
22245 resultobj
= SWIG_From_int((int)result
);
22252 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22253 PyObject
*resultobj
;
22254 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22256 PyObject
* obj0
= 0 ;
22257 char *kwnames
[] = {
22258 (char *) "self", NULL
22261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
22262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22266 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
22268 wxPyEndAllowThreads(__tstate
);
22269 if (PyErr_Occurred()) SWIG_fail
;
22272 wxRect
* resultptr
;
22273 resultptr
= new wxRect((wxRect
&) result
);
22274 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22282 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22283 PyObject
*resultobj
;
22284 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22286 int arg3
= (int) 0 ;
22287 wxListItem
*result
;
22288 PyObject
* obj0
= 0 ;
22289 PyObject
* obj1
= 0 ;
22290 PyObject
* obj2
= 0 ;
22291 char *kwnames
[] = {
22292 (char *) "self",(char *) "itemId",(char *) "col", NULL
22295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22298 arg2
= (long)SWIG_As_long(obj1
);
22299 if (PyErr_Occurred()) SWIG_fail
;
22301 arg3
= (int)SWIG_As_int(obj2
);
22302 if (PyErr_Occurred()) SWIG_fail
;
22305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22306 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
22308 wxPyEndAllowThreads(__tstate
);
22309 if (PyErr_Occurred()) SWIG_fail
;
22312 resultobj
= wxPyMake_wxObject(result
, 0);
22320 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22321 PyObject
*resultobj
;
22322 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22323 wxListItem
*arg2
= 0 ;
22325 PyObject
* obj0
= 0 ;
22326 PyObject
* obj1
= 0 ;
22327 char *kwnames
[] = {
22328 (char *) "self",(char *) "info", NULL
22331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22334 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
22335 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22337 if (arg2
== NULL
) {
22338 PyErr_SetString(PyExc_TypeError
,"null reference");
22342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22343 result
= (bool)(arg1
)->SetItem(*arg2
);
22345 wxPyEndAllowThreads(__tstate
);
22346 if (PyErr_Occurred()) SWIG_fail
;
22349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22357 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22358 PyObject
*resultobj
;
22359 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22362 wxString
*arg4
= 0 ;
22363 int arg5
= (int) -1 ;
22365 bool temp4
= false ;
22366 PyObject
* obj0
= 0 ;
22367 PyObject
* obj1
= 0 ;
22368 PyObject
* obj2
= 0 ;
22369 PyObject
* obj3
= 0 ;
22370 PyObject
* obj4
= 0 ;
22371 char *kwnames
[] = {
22372 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
22375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22378 arg2
= (long)SWIG_As_long(obj1
);
22379 if (PyErr_Occurred()) SWIG_fail
;
22380 arg3
= (int)SWIG_As_int(obj2
);
22381 if (PyErr_Occurred()) SWIG_fail
;
22383 arg4
= wxString_in_helper(obj3
);
22384 if (arg4
== NULL
) SWIG_fail
;
22388 arg5
= (int)SWIG_As_int(obj4
);
22389 if (PyErr_Occurred()) SWIG_fail
;
22392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22393 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
22395 wxPyEndAllowThreads(__tstate
);
22396 if (PyErr_Occurred()) SWIG_fail
;
22398 resultobj
= SWIG_From_long((long)result
);
22413 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22414 PyObject
*resultobj
;
22415 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22419 PyObject
* obj0
= 0 ;
22420 PyObject
* obj1
= 0 ;
22421 PyObject
* obj2
= 0 ;
22422 char *kwnames
[] = {
22423 (char *) "self",(char *) "item",(char *) "stateMask", NULL
22426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22429 arg2
= (long)SWIG_As_long(obj1
);
22430 if (PyErr_Occurred()) SWIG_fail
;
22431 arg3
= (long)SWIG_As_long(obj2
);
22432 if (PyErr_Occurred()) SWIG_fail
;
22434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22435 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
22437 wxPyEndAllowThreads(__tstate
);
22438 if (PyErr_Occurred()) SWIG_fail
;
22440 resultobj
= SWIG_From_int((int)result
);
22447 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22448 PyObject
*resultobj
;
22449 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22454 PyObject
* obj0
= 0 ;
22455 PyObject
* obj1
= 0 ;
22456 PyObject
* obj2
= 0 ;
22457 PyObject
* obj3
= 0 ;
22458 char *kwnames
[] = {
22459 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
22462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22465 arg2
= (long)SWIG_As_long(obj1
);
22466 if (PyErr_Occurred()) SWIG_fail
;
22467 arg3
= (long)SWIG_As_long(obj2
);
22468 if (PyErr_Occurred()) SWIG_fail
;
22469 arg4
= (long)SWIG_As_long(obj3
);
22470 if (PyErr_Occurred()) SWIG_fail
;
22472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22473 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
22475 wxPyEndAllowThreads(__tstate
);
22476 if (PyErr_Occurred()) SWIG_fail
;
22479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22487 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22488 PyObject
*resultobj
;
22489 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22492 int arg4
= (int) -1 ;
22494 PyObject
* obj0
= 0 ;
22495 PyObject
* obj1
= 0 ;
22496 PyObject
* obj2
= 0 ;
22497 PyObject
* obj3
= 0 ;
22498 char *kwnames
[] = {
22499 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
22502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22505 arg2
= (long)SWIG_As_long(obj1
);
22506 if (PyErr_Occurred()) SWIG_fail
;
22507 arg3
= (int)SWIG_As_int(obj2
);
22508 if (PyErr_Occurred()) SWIG_fail
;
22510 arg4
= (int)SWIG_As_int(obj3
);
22511 if (PyErr_Occurred()) SWIG_fail
;
22514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22515 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
22517 wxPyEndAllowThreads(__tstate
);
22518 if (PyErr_Occurred()) SWIG_fail
;
22521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22529 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22530 PyObject
*resultobj
;
22531 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22534 PyObject
* obj0
= 0 ;
22535 PyObject
* obj1
= 0 ;
22536 char *kwnames
[] = {
22537 (char *) "self",(char *) "item", NULL
22540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
22541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22543 arg2
= (long)SWIG_As_long(obj1
);
22544 if (PyErr_Occurred()) SWIG_fail
;
22546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22547 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
22549 wxPyEndAllowThreads(__tstate
);
22550 if (PyErr_Occurred()) SWIG_fail
;
22554 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22556 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22565 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22566 PyObject
*resultobj
;
22567 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22569 wxString
*arg3
= 0 ;
22570 bool temp3
= false ;
22571 PyObject
* obj0
= 0 ;
22572 PyObject
* obj1
= 0 ;
22573 PyObject
* obj2
= 0 ;
22574 char *kwnames
[] = {
22575 (char *) "self",(char *) "item",(char *) "str", NULL
22578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22581 arg2
= (long)SWIG_As_long(obj1
);
22582 if (PyErr_Occurred()) SWIG_fail
;
22584 arg3
= wxString_in_helper(obj2
);
22585 if (arg3
== NULL
) SWIG_fail
;
22589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22590 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
22592 wxPyEndAllowThreads(__tstate
);
22593 if (PyErr_Occurred()) SWIG_fail
;
22595 Py_INCREF(Py_None
); resultobj
= Py_None
;
22610 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22611 PyObject
*resultobj
;
22612 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22615 PyObject
* obj0
= 0 ;
22616 PyObject
* obj1
= 0 ;
22617 char *kwnames
[] = {
22618 (char *) "self",(char *) "item", NULL
22621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
22622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22624 arg2
= (long)SWIG_As_long(obj1
);
22625 if (PyErr_Occurred()) SWIG_fail
;
22627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22628 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
22630 wxPyEndAllowThreads(__tstate
);
22631 if (PyErr_Occurred()) SWIG_fail
;
22633 resultobj
= SWIG_From_long((long)result
);
22640 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22641 PyObject
*resultobj
;
22642 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22646 PyObject
* obj0
= 0 ;
22647 PyObject
* obj1
= 0 ;
22648 PyObject
* obj2
= 0 ;
22649 char *kwnames
[] = {
22650 (char *) "self",(char *) "item",(char *) "data", NULL
22653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22656 arg2
= (long)SWIG_As_long(obj1
);
22657 if (PyErr_Occurred()) SWIG_fail
;
22658 arg3
= (long)SWIG_As_long(obj2
);
22659 if (PyErr_Occurred()) SWIG_fail
;
22661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22662 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
22664 wxPyEndAllowThreads(__tstate
);
22665 if (PyErr_Occurred()) SWIG_fail
;
22668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22676 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22677 PyObject
*resultobj
;
22678 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22681 PyObject
* obj0
= 0 ;
22682 PyObject
* obj1
= 0 ;
22683 char *kwnames
[] = {
22684 (char *) "self",(char *) "item", NULL
22687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
22688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22690 arg2
= (long)SWIG_As_long(obj1
);
22691 if (PyErr_Occurred()) SWIG_fail
;
22693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22694 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
22696 wxPyEndAllowThreads(__tstate
);
22697 if (PyErr_Occurred()) SWIG_fail
;
22700 wxPoint
* resultptr
;
22701 resultptr
= new wxPoint((wxPoint
&) result
);
22702 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22710 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22711 PyObject
*resultobj
;
22712 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22714 int arg3
= (int) wxLIST_RECT_BOUNDS
;
22716 PyObject
* obj0
= 0 ;
22717 PyObject
* obj1
= 0 ;
22718 PyObject
* obj2
= 0 ;
22719 char *kwnames
[] = {
22720 (char *) "self",(char *) "item",(char *) "code", NULL
22723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22726 arg2
= (long)SWIG_As_long(obj1
);
22727 if (PyErr_Occurred()) SWIG_fail
;
22729 arg3
= (int)SWIG_As_int(obj2
);
22730 if (PyErr_Occurred()) SWIG_fail
;
22733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22734 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
22736 wxPyEndAllowThreads(__tstate
);
22737 if (PyErr_Occurred()) SWIG_fail
;
22740 wxRect
* resultptr
;
22741 resultptr
= new wxRect((wxRect
&) result
);
22742 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22750 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22751 PyObject
*resultobj
;
22752 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22754 wxPoint
*arg3
= 0 ;
22757 PyObject
* obj0
= 0 ;
22758 PyObject
* obj1
= 0 ;
22759 PyObject
* obj2
= 0 ;
22760 char *kwnames
[] = {
22761 (char *) "self",(char *) "item",(char *) "pos", NULL
22764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22767 arg2
= (long)SWIG_As_long(obj1
);
22768 if (PyErr_Occurred()) SWIG_fail
;
22771 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22775 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
22777 wxPyEndAllowThreads(__tstate
);
22778 if (PyErr_Occurred()) SWIG_fail
;
22781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22789 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22790 PyObject
*resultobj
;
22791 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22793 PyObject
* obj0
= 0 ;
22794 char *kwnames
[] = {
22795 (char *) "self", NULL
22798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
22799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22803 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
22805 wxPyEndAllowThreads(__tstate
);
22806 if (PyErr_Occurred()) SWIG_fail
;
22808 resultobj
= SWIG_From_int((int)result
);
22815 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22816 PyObject
*resultobj
;
22817 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22819 PyObject
* obj0
= 0 ;
22820 char *kwnames
[] = {
22821 (char *) "self", NULL
22824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
22825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22829 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
22831 wxPyEndAllowThreads(__tstate
);
22832 if (PyErr_Occurred()) SWIG_fail
;
22834 resultobj
= SWIG_From_int((int)result
);
22841 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22842 PyObject
*resultobj
;
22843 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22845 PyObject
* obj0
= 0 ;
22846 char *kwnames
[] = {
22847 (char *) "self", NULL
22850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
22851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22855 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
22857 wxPyEndAllowThreads(__tstate
);
22858 if (PyErr_Occurred()) SWIG_fail
;
22861 wxSize
* resultptr
;
22862 resultptr
= new wxSize((wxSize
&) result
);
22863 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22871 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22872 PyObject
*resultobj
;
22873 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22875 bool arg3
= (bool) false ;
22876 PyObject
* obj0
= 0 ;
22877 PyObject
* obj1
= 0 ;
22878 PyObject
* obj2
= 0 ;
22879 char *kwnames
[] = {
22880 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
22883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22886 arg2
= (int)SWIG_As_int(obj1
);
22887 if (PyErr_Occurred()) SWIG_fail
;
22889 arg3
= (bool)SWIG_As_bool(obj2
);
22890 if (PyErr_Occurred()) SWIG_fail
;
22893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22894 (arg1
)->SetItemSpacing(arg2
,arg3
);
22896 wxPyEndAllowThreads(__tstate
);
22897 if (PyErr_Occurred()) SWIG_fail
;
22899 Py_INCREF(Py_None
); resultobj
= Py_None
;
22906 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22907 PyObject
*resultobj
;
22908 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22910 PyObject
* obj0
= 0 ;
22911 char *kwnames
[] = {
22912 (char *) "self", NULL
22915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
22916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22920 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
22922 wxPyEndAllowThreads(__tstate
);
22923 if (PyErr_Occurred()) SWIG_fail
;
22925 resultobj
= SWIG_From_int((int)result
);
22932 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22933 PyObject
*resultobj
;
22934 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22936 PyObject
* obj0
= 0 ;
22937 char *kwnames
[] = {
22938 (char *) "self", NULL
22941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
22942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22946 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
22948 wxPyEndAllowThreads(__tstate
);
22949 if (PyErr_Occurred()) SWIG_fail
;
22952 wxColour
* resultptr
;
22953 resultptr
= new wxColour((wxColour
&) result
);
22954 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22962 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22963 PyObject
*resultobj
;
22964 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22965 wxColour
*arg2
= 0 ;
22967 PyObject
* obj0
= 0 ;
22968 PyObject
* obj1
= 0 ;
22969 char *kwnames
[] = {
22970 (char *) "self",(char *) "col", NULL
22973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22978 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22982 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22984 wxPyEndAllowThreads(__tstate
);
22985 if (PyErr_Occurred()) SWIG_fail
;
22987 Py_INCREF(Py_None
); resultobj
= Py_None
;
22994 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22995 PyObject
*resultobj
;
22996 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22998 PyObject
* obj0
= 0 ;
22999 char *kwnames
[] = {
23000 (char *) "self", NULL
23003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
23004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23008 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
23010 wxPyEndAllowThreads(__tstate
);
23011 if (PyErr_Occurred()) SWIG_fail
;
23013 resultobj
= SWIG_From_long((long)result
);
23020 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23021 PyObject
*resultobj
;
23022 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23024 bool arg3
= (bool) true ;
23025 PyObject
* obj0
= 0 ;
23026 PyObject
* obj1
= 0 ;
23027 PyObject
* obj2
= 0 ;
23028 char *kwnames
[] = {
23029 (char *) "self",(char *) "style",(char *) "add", NULL
23032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23035 arg2
= (long)SWIG_As_long(obj1
);
23036 if (PyErr_Occurred()) SWIG_fail
;
23038 arg3
= (bool)SWIG_As_bool(obj2
);
23039 if (PyErr_Occurred()) SWIG_fail
;
23042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23043 (arg1
)->SetSingleStyle(arg2
,arg3
);
23045 wxPyEndAllowThreads(__tstate
);
23046 if (PyErr_Occurred()) SWIG_fail
;
23048 Py_INCREF(Py_None
); resultobj
= Py_None
;
23055 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23056 PyObject
*resultobj
;
23057 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23059 PyObject
* obj0
= 0 ;
23060 PyObject
* obj1
= 0 ;
23061 char *kwnames
[] = {
23062 (char *) "self",(char *) "style", NULL
23065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
23066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23068 arg2
= (long)SWIG_As_long(obj1
);
23069 if (PyErr_Occurred()) SWIG_fail
;
23071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23072 (arg1
)->SetWindowStyleFlag(arg2
);
23074 wxPyEndAllowThreads(__tstate
);
23075 if (PyErr_Occurred()) SWIG_fail
;
23077 Py_INCREF(Py_None
); resultobj
= Py_None
;
23084 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23085 PyObject
*resultobj
;
23086 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23088 int arg3
= (int) wxLIST_NEXT_ALL
;
23089 int arg4
= (int) wxLIST_STATE_DONTCARE
;
23091 PyObject
* obj0
= 0 ;
23092 PyObject
* obj1
= 0 ;
23093 PyObject
* obj2
= 0 ;
23094 PyObject
* obj3
= 0 ;
23095 char *kwnames
[] = {
23096 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
23099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23102 arg2
= (long)SWIG_As_long(obj1
);
23103 if (PyErr_Occurred()) SWIG_fail
;
23105 arg3
= (int)SWIG_As_int(obj2
);
23106 if (PyErr_Occurred()) SWIG_fail
;
23109 arg4
= (int)SWIG_As_int(obj3
);
23110 if (PyErr_Occurred()) SWIG_fail
;
23113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23114 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
23116 wxPyEndAllowThreads(__tstate
);
23117 if (PyErr_Occurred()) SWIG_fail
;
23119 resultobj
= SWIG_From_long((long)result
);
23126 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23127 PyObject
*resultobj
;
23128 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23130 wxImageList
*result
;
23131 PyObject
* obj0
= 0 ;
23132 PyObject
* obj1
= 0 ;
23133 char *kwnames
[] = {
23134 (char *) "self",(char *) "which", NULL
23137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
23138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23140 arg2
= (int)SWIG_As_int(obj1
);
23141 if (PyErr_Occurred()) SWIG_fail
;
23143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23144 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
23146 wxPyEndAllowThreads(__tstate
);
23147 if (PyErr_Occurred()) SWIG_fail
;
23150 resultobj
= wxPyMake_wxObject(result
, 0);
23158 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23159 PyObject
*resultobj
;
23160 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23161 wxImageList
*arg2
= (wxImageList
*) 0 ;
23163 PyObject
* obj0
= 0 ;
23164 PyObject
* obj1
= 0 ;
23165 PyObject
* obj2
= 0 ;
23166 char *kwnames
[] = {
23167 (char *) "self",(char *) "imageList",(char *) "which", NULL
23170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23173 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
23174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23175 arg3
= (int)SWIG_As_int(obj2
);
23176 if (PyErr_Occurred()) SWIG_fail
;
23178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23179 (arg1
)->SetImageList(arg2
,arg3
);
23181 wxPyEndAllowThreads(__tstate
);
23182 if (PyErr_Occurred()) SWIG_fail
;
23184 Py_INCREF(Py_None
); resultobj
= Py_None
;
23191 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23192 PyObject
*resultobj
;
23193 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23194 wxImageList
*arg2
= (wxImageList
*) 0 ;
23196 PyObject
* obj0
= 0 ;
23197 PyObject
* obj1
= 0 ;
23198 PyObject
* obj2
= 0 ;
23199 char *kwnames
[] = {
23200 (char *) "self",(char *) "imageList",(char *) "which", NULL
23203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23206 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
23207 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23208 arg3
= (int)SWIG_As_int(obj2
);
23209 if (PyErr_Occurred()) SWIG_fail
;
23211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23212 (arg1
)->AssignImageList(arg2
,arg3
);
23214 wxPyEndAllowThreads(__tstate
);
23215 if (PyErr_Occurred()) SWIG_fail
;
23217 Py_INCREF(Py_None
); resultobj
= Py_None
;
23224 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23225 PyObject
*resultobj
;
23226 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23228 PyObject
* obj0
= 0 ;
23229 char *kwnames
[] = {
23230 (char *) "self", NULL
23233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
23234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23238 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
23240 wxPyEndAllowThreads(__tstate
);
23241 if (PyErr_Occurred()) SWIG_fail
;
23244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23252 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23253 PyObject
*resultobj
;
23254 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23256 PyObject
* obj0
= 0 ;
23257 char *kwnames
[] = {
23258 (char *) "self", NULL
23261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
23262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23266 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
23268 wxPyEndAllowThreads(__tstate
);
23269 if (PyErr_Occurred()) SWIG_fail
;
23272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23280 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23281 PyObject
*resultobj
;
23282 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23284 PyObject
* obj0
= 0 ;
23285 PyObject
* obj1
= 0 ;
23286 char *kwnames
[] = {
23287 (char *) "self",(char *) "item", NULL
23290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23293 arg2
= (long)SWIG_As_long(obj1
);
23294 if (PyErr_Occurred()) SWIG_fail
;
23296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23297 (arg1
)->RefreshItem(arg2
);
23299 wxPyEndAllowThreads(__tstate
);
23300 if (PyErr_Occurred()) SWIG_fail
;
23302 Py_INCREF(Py_None
); resultobj
= Py_None
;
23309 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23310 PyObject
*resultobj
;
23311 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23314 PyObject
* obj0
= 0 ;
23315 PyObject
* obj1
= 0 ;
23316 PyObject
* obj2
= 0 ;
23317 char *kwnames
[] = {
23318 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
23321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23324 arg2
= (long)SWIG_As_long(obj1
);
23325 if (PyErr_Occurred()) SWIG_fail
;
23326 arg3
= (long)SWIG_As_long(obj2
);
23327 if (PyErr_Occurred()) SWIG_fail
;
23329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23330 (arg1
)->RefreshItems(arg2
,arg3
);
23332 wxPyEndAllowThreads(__tstate
);
23333 if (PyErr_Occurred()) SWIG_fail
;
23335 Py_INCREF(Py_None
); resultobj
= Py_None
;
23342 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23343 PyObject
*resultobj
;
23344 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23345 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
23347 PyObject
* obj0
= 0 ;
23348 PyObject
* obj1
= 0 ;
23349 char *kwnames
[] = {
23350 (char *) "self",(char *) "flag", NULL
23353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
23354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23357 arg2
= (int)SWIG_As_int(obj1
);
23358 if (PyErr_Occurred()) SWIG_fail
;
23361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23362 result
= (bool)(arg1
)->Arrange(arg2
);
23364 wxPyEndAllowThreads(__tstate
);
23365 if (PyErr_Occurred()) SWIG_fail
;
23368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23376 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23377 PyObject
*resultobj
;
23378 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23381 PyObject
* obj0
= 0 ;
23382 PyObject
* obj1
= 0 ;
23383 char *kwnames
[] = {
23384 (char *) "self",(char *) "item", NULL
23387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23390 arg2
= (long)SWIG_As_long(obj1
);
23391 if (PyErr_Occurred()) SWIG_fail
;
23393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23394 result
= (bool)(arg1
)->DeleteItem(arg2
);
23396 wxPyEndAllowThreads(__tstate
);
23397 if (PyErr_Occurred()) SWIG_fail
;
23400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23408 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23409 PyObject
*resultobj
;
23410 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23412 PyObject
* obj0
= 0 ;
23413 char *kwnames
[] = {
23414 (char *) "self", NULL
23417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
23418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23422 result
= (bool)(arg1
)->DeleteAllItems();
23424 wxPyEndAllowThreads(__tstate
);
23425 if (PyErr_Occurred()) SWIG_fail
;
23428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23436 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23437 PyObject
*resultobj
;
23438 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23441 PyObject
* obj0
= 0 ;
23442 PyObject
* obj1
= 0 ;
23443 char *kwnames
[] = {
23444 (char *) "self",(char *) "col", NULL
23447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
23448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23450 arg2
= (int)SWIG_As_int(obj1
);
23451 if (PyErr_Occurred()) SWIG_fail
;
23453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23454 result
= (bool)(arg1
)->DeleteColumn(arg2
);
23456 wxPyEndAllowThreads(__tstate
);
23457 if (PyErr_Occurred()) SWIG_fail
;
23460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23468 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23469 PyObject
*resultobj
;
23470 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23472 PyObject
* obj0
= 0 ;
23473 char *kwnames
[] = {
23474 (char *) "self", NULL
23477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
23478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23482 result
= (bool)(arg1
)->DeleteAllColumns();
23484 wxPyEndAllowThreads(__tstate
);
23485 if (PyErr_Occurred()) SWIG_fail
;
23488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23496 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23497 PyObject
*resultobj
;
23498 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23499 PyObject
* obj0
= 0 ;
23500 char *kwnames
[] = {
23501 (char *) "self", NULL
23504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
23505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23509 (arg1
)->ClearAll();
23511 wxPyEndAllowThreads(__tstate
);
23512 if (PyErr_Occurred()) SWIG_fail
;
23514 Py_INCREF(Py_None
); resultobj
= Py_None
;
23521 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23522 PyObject
*resultobj
;
23523 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23525 PyObject
* obj0
= 0 ;
23526 PyObject
* obj1
= 0 ;
23527 char *kwnames
[] = {
23528 (char *) "self",(char *) "item", NULL
23531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
23532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23534 arg2
= (long)SWIG_As_long(obj1
);
23535 if (PyErr_Occurred()) SWIG_fail
;
23537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23538 (arg1
)->EditLabel(arg2
);
23540 wxPyEndAllowThreads(__tstate
);
23541 if (PyErr_Occurred()) SWIG_fail
;
23543 Py_INCREF(Py_None
); resultobj
= Py_None
;
23550 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23551 PyObject
*resultobj
;
23552 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23555 PyObject
* obj0
= 0 ;
23556 PyObject
* obj1
= 0 ;
23557 char *kwnames
[] = {
23558 (char *) "self",(char *) "item", NULL
23561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
23562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23564 arg2
= (long)SWIG_As_long(obj1
);
23565 if (PyErr_Occurred()) SWIG_fail
;
23567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23568 result
= (bool)(arg1
)->EnsureVisible(arg2
);
23570 wxPyEndAllowThreads(__tstate
);
23571 if (PyErr_Occurred()) SWIG_fail
;
23574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23582 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23583 PyObject
*resultobj
;
23584 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23586 wxString
*arg3
= 0 ;
23587 bool arg4
= (bool) false ;
23589 bool temp3
= false ;
23590 PyObject
* obj0
= 0 ;
23591 PyObject
* obj1
= 0 ;
23592 PyObject
* obj2
= 0 ;
23593 PyObject
* obj3
= 0 ;
23594 char *kwnames
[] = {
23595 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
23598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23601 arg2
= (long)SWIG_As_long(obj1
);
23602 if (PyErr_Occurred()) SWIG_fail
;
23604 arg3
= wxString_in_helper(obj2
);
23605 if (arg3
== NULL
) SWIG_fail
;
23609 arg4
= (bool)SWIG_As_bool(obj3
);
23610 if (PyErr_Occurred()) SWIG_fail
;
23613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23614 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
23616 wxPyEndAllowThreads(__tstate
);
23617 if (PyErr_Occurred()) SWIG_fail
;
23619 resultobj
= SWIG_From_long((long)result
);
23634 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23635 PyObject
*resultobj
;
23636 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23640 PyObject
* obj0
= 0 ;
23641 PyObject
* obj1
= 0 ;
23642 PyObject
* obj2
= 0 ;
23643 char *kwnames
[] = {
23644 (char *) "self",(char *) "start",(char *) "data", NULL
23647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23650 arg2
= (long)SWIG_As_long(obj1
);
23651 if (PyErr_Occurred()) SWIG_fail
;
23652 arg3
= (long)SWIG_As_long(obj2
);
23653 if (PyErr_Occurred()) SWIG_fail
;
23655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23656 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
23658 wxPyEndAllowThreads(__tstate
);
23659 if (PyErr_Occurred()) SWIG_fail
;
23661 resultobj
= SWIG_From_long((long)result
);
23668 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23669 PyObject
*resultobj
;
23670 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23672 wxPoint
*arg3
= 0 ;
23676 PyObject
* obj0
= 0 ;
23677 PyObject
* obj1
= 0 ;
23678 PyObject
* obj2
= 0 ;
23679 PyObject
* obj3
= 0 ;
23680 char *kwnames
[] = {
23681 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
23684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23687 arg2
= (long)SWIG_As_long(obj1
);
23688 if (PyErr_Occurred()) SWIG_fail
;
23691 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23693 arg4
= (int)SWIG_As_int(obj3
);
23694 if (PyErr_Occurred()) SWIG_fail
;
23696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23697 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
23699 wxPyEndAllowThreads(__tstate
);
23700 if (PyErr_Occurred()) SWIG_fail
;
23702 resultobj
= SWIG_From_long((long)result
);
23709 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23710 PyObject
*resultobj
;
23711 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23712 wxPoint
*arg2
= 0 ;
23718 PyObject
* obj0
= 0 ;
23719 PyObject
* obj1
= 0 ;
23720 char *kwnames
[] = {
23721 (char *) "self",(char *) "point", NULL
23724 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
23726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23730 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23734 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
23736 wxPyEndAllowThreads(__tstate
);
23737 if (PyErr_Occurred()) SWIG_fail
;
23739 resultobj
= SWIG_From_long((long)result
);
23740 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23741 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23748 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23749 PyObject
*resultobj
;
23750 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23751 wxListItem
*arg2
= 0 ;
23753 PyObject
* obj0
= 0 ;
23754 PyObject
* obj1
= 0 ;
23755 char *kwnames
[] = {
23756 (char *) "self",(char *) "info", NULL
23759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23762 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
23763 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23765 if (arg2
== NULL
) {
23766 PyErr_SetString(PyExc_TypeError
,"null reference");
23770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23771 result
= (long)(arg1
)->InsertItem(*arg2
);
23773 wxPyEndAllowThreads(__tstate
);
23774 if (PyErr_Occurred()) SWIG_fail
;
23776 resultobj
= SWIG_From_long((long)result
);
23783 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23784 PyObject
*resultobj
;
23785 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23787 wxString
*arg3
= 0 ;
23789 bool temp3
= false ;
23790 PyObject
* obj0
= 0 ;
23791 PyObject
* obj1
= 0 ;
23792 PyObject
* obj2
= 0 ;
23793 char *kwnames
[] = {
23794 (char *) "self",(char *) "index",(char *) "label", NULL
23797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23800 arg2
= (long)SWIG_As_long(obj1
);
23801 if (PyErr_Occurred()) SWIG_fail
;
23803 arg3
= wxString_in_helper(obj2
);
23804 if (arg3
== NULL
) SWIG_fail
;
23808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23809 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
23811 wxPyEndAllowThreads(__tstate
);
23812 if (PyErr_Occurred()) SWIG_fail
;
23814 resultobj
= SWIG_From_long((long)result
);
23829 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23830 PyObject
*resultobj
;
23831 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23835 PyObject
* obj0
= 0 ;
23836 PyObject
* obj1
= 0 ;
23837 PyObject
* obj2
= 0 ;
23838 char *kwnames
[] = {
23839 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
23842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23845 arg2
= (long)SWIG_As_long(obj1
);
23846 if (PyErr_Occurred()) SWIG_fail
;
23847 arg3
= (int)SWIG_As_int(obj2
);
23848 if (PyErr_Occurred()) SWIG_fail
;
23850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23851 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
23853 wxPyEndAllowThreads(__tstate
);
23854 if (PyErr_Occurred()) SWIG_fail
;
23856 resultobj
= SWIG_From_long((long)result
);
23863 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23864 PyObject
*resultobj
;
23865 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23867 wxString
*arg3
= 0 ;
23870 bool temp3
= false ;
23871 PyObject
* obj0
= 0 ;
23872 PyObject
* obj1
= 0 ;
23873 PyObject
* obj2
= 0 ;
23874 PyObject
* obj3
= 0 ;
23875 char *kwnames
[] = {
23876 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
23879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23882 arg2
= (long)SWIG_As_long(obj1
);
23883 if (PyErr_Occurred()) SWIG_fail
;
23885 arg3
= wxString_in_helper(obj2
);
23886 if (arg3
== NULL
) SWIG_fail
;
23889 arg4
= (int)SWIG_As_int(obj3
);
23890 if (PyErr_Occurred()) SWIG_fail
;
23892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23893 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
23895 wxPyEndAllowThreads(__tstate
);
23896 if (PyErr_Occurred()) SWIG_fail
;
23898 resultobj
= SWIG_From_long((long)result
);
23913 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23914 PyObject
*resultobj
;
23915 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23917 wxListItem
*arg3
= 0 ;
23919 PyObject
* obj0
= 0 ;
23920 PyObject
* obj1
= 0 ;
23921 PyObject
* obj2
= 0 ;
23922 char *kwnames
[] = {
23923 (char *) "self",(char *) "col",(char *) "info", NULL
23926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23929 arg2
= (long)SWIG_As_long(obj1
);
23930 if (PyErr_Occurred()) SWIG_fail
;
23931 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
23932 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23934 if (arg3
== NULL
) {
23935 PyErr_SetString(PyExc_TypeError
,"null reference");
23939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23940 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
23942 wxPyEndAllowThreads(__tstate
);
23943 if (PyErr_Occurred()) SWIG_fail
;
23945 resultobj
= SWIG_From_long((long)result
);
23952 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23953 PyObject
*resultobj
;
23954 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23956 wxString
*arg3
= 0 ;
23957 int arg4
= (int) wxLIST_FORMAT_LEFT
;
23958 int arg5
= (int) -1 ;
23960 bool temp3
= false ;
23961 PyObject
* obj0
= 0 ;
23962 PyObject
* obj1
= 0 ;
23963 PyObject
* obj2
= 0 ;
23964 PyObject
* obj3
= 0 ;
23965 PyObject
* obj4
= 0 ;
23966 char *kwnames
[] = {
23967 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
23970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23973 arg2
= (long)SWIG_As_long(obj1
);
23974 if (PyErr_Occurred()) SWIG_fail
;
23976 arg3
= wxString_in_helper(obj2
);
23977 if (arg3
== NULL
) SWIG_fail
;
23981 arg4
= (int)SWIG_As_int(obj3
);
23982 if (PyErr_Occurred()) SWIG_fail
;
23985 arg5
= (int)SWIG_As_int(obj4
);
23986 if (PyErr_Occurred()) SWIG_fail
;
23989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23990 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
23992 wxPyEndAllowThreads(__tstate
);
23993 if (PyErr_Occurred()) SWIG_fail
;
23995 resultobj
= SWIG_From_long((long)result
);
24010 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24011 PyObject
*resultobj
;
24012 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24014 PyObject
* obj0
= 0 ;
24015 PyObject
* obj1
= 0 ;
24016 char *kwnames
[] = {
24017 (char *) "self",(char *) "count", NULL
24020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
24021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
24022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24023 arg2
= (long)SWIG_As_long(obj1
);
24024 if (PyErr_Occurred()) SWIG_fail
;
24026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24027 (arg1
)->SetItemCount(arg2
);
24029 wxPyEndAllowThreads(__tstate
);
24030 if (PyErr_Occurred()) SWIG_fail
;
24032 Py_INCREF(Py_None
); resultobj
= Py_None
;
24039 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24040 PyObject
*resultobj
;
24041 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24045 PyObject
* obj0
= 0 ;
24046 PyObject
* obj1
= 0 ;
24047 PyObject
* obj2
= 0 ;
24048 char *kwnames
[] = {
24049 (char *) "self",(char *) "dx",(char *) "dy", NULL
24052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
24054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24055 arg2
= (int)SWIG_As_int(obj1
);
24056 if (PyErr_Occurred()) SWIG_fail
;
24057 arg3
= (int)SWIG_As_int(obj2
);
24058 if (PyErr_Occurred()) SWIG_fail
;
24060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24061 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
24063 wxPyEndAllowThreads(__tstate
);
24064 if (PyErr_Occurred()) SWIG_fail
;
24067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24075 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24076 PyObject
*resultobj
;
24077 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24079 wxColour
*arg3
= 0 ;
24081 PyObject
* obj0
= 0 ;
24082 PyObject
* obj1
= 0 ;
24083 PyObject
* obj2
= 0 ;
24084 char *kwnames
[] = {
24085 (char *) "self",(char *) "item",(char *) "col", NULL
24088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
24090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24091 arg2
= (long)SWIG_As_long(obj1
);
24092 if (PyErr_Occurred()) SWIG_fail
;
24095 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24099 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
24101 wxPyEndAllowThreads(__tstate
);
24102 if (PyErr_Occurred()) SWIG_fail
;
24104 Py_INCREF(Py_None
); resultobj
= Py_None
;
24111 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24112 PyObject
*resultobj
;
24113 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24116 PyObject
* obj0
= 0 ;
24117 PyObject
* obj1
= 0 ;
24118 char *kwnames
[] = {
24119 (char *) "self",(char *) "item", NULL
24122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
24124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24125 arg2
= (long)SWIG_As_long(obj1
);
24126 if (PyErr_Occurred()) SWIG_fail
;
24128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24129 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
24131 wxPyEndAllowThreads(__tstate
);
24132 if (PyErr_Occurred()) SWIG_fail
;
24135 wxColour
* resultptr
;
24136 resultptr
= new wxColour((wxColour
&) result
);
24137 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24145 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24146 PyObject
*resultobj
;
24147 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24149 wxColour
*arg3
= 0 ;
24151 PyObject
* obj0
= 0 ;
24152 PyObject
* obj1
= 0 ;
24153 PyObject
* obj2
= 0 ;
24154 char *kwnames
[] = {
24155 (char *) "self",(char *) "item",(char *) "col", NULL
24158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
24160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24161 arg2
= (long)SWIG_As_long(obj1
);
24162 if (PyErr_Occurred()) SWIG_fail
;
24165 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24169 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
24171 wxPyEndAllowThreads(__tstate
);
24172 if (PyErr_Occurred()) SWIG_fail
;
24174 Py_INCREF(Py_None
); resultobj
= Py_None
;
24181 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24182 PyObject
*resultobj
;
24183 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24186 PyObject
* obj0
= 0 ;
24187 PyObject
* obj1
= 0 ;
24188 char *kwnames
[] = {
24189 (char *) "self",(char *) "item", NULL
24192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
24194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24195 arg2
= (long)SWIG_As_long(obj1
);
24196 if (PyErr_Occurred()) SWIG_fail
;
24198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24199 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
24201 wxPyEndAllowThreads(__tstate
);
24202 if (PyErr_Occurred()) SWIG_fail
;
24205 wxColour
* resultptr
;
24206 resultptr
= new wxColour((wxColour
&) result
);
24207 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24215 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24216 PyObject
*resultobj
;
24217 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24218 PyObject
*arg2
= (PyObject
*) 0 ;
24220 PyObject
* obj0
= 0 ;
24221 PyObject
* obj1
= 0 ;
24222 char *kwnames
[] = {
24223 (char *) "self",(char *) "func", NULL
24226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
24227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
24228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24232 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
24234 wxPyEndAllowThreads(__tstate
);
24235 if (PyErr_Occurred()) SWIG_fail
;
24238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24246 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24247 PyObject
*resultobj
;
24248 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24250 PyObject
* obj0
= 0 ;
24251 char *kwnames
[] = {
24252 (char *) "self", NULL
24255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
24256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
24257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24260 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
24262 wxPyEndAllowThreads(__tstate
);
24263 if (PyErr_Occurred()) SWIG_fail
;
24266 resultobj
= wxPyMake_wxObject(result
, 0);
24274 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24275 PyObject
*resultobj
;
24276 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
24277 wxVisualAttributes result
;
24278 PyObject
* obj0
= 0 ;
24279 char *kwnames
[] = {
24280 (char *) "variant", NULL
24283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
24285 arg1
= (int)SWIG_As_int(obj0
);
24286 if (PyErr_Occurred()) SWIG_fail
;
24289 if (!wxPyCheckForApp()) SWIG_fail
;
24290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24291 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
24293 wxPyEndAllowThreads(__tstate
);
24294 if (PyErr_Occurred()) SWIG_fail
;
24297 wxVisualAttributes
* resultptr
;
24298 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
24299 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
24307 static PyObject
* ListCtrl_swigregister(PyObject
*, PyObject
*args
) {
24309 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24310 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
24312 return Py_BuildValue((char *)"");
24314 static PyObject
*_wrap_new_ListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24315 PyObject
*resultobj
;
24316 wxWindow
*arg1
= (wxWindow
*) 0 ;
24317 int arg2
= (int) -1 ;
24318 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24319 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24320 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24321 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24322 long arg5
= (long) wxLC_REPORT
;
24323 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
24324 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
24325 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
24326 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24327 wxListView
*result
;
24330 bool temp7
= false ;
24331 PyObject
* obj0
= 0 ;
24332 PyObject
* obj1
= 0 ;
24333 PyObject
* obj2
= 0 ;
24334 PyObject
* obj3
= 0 ;
24335 PyObject
* obj4
= 0 ;
24336 PyObject
* obj5
= 0 ;
24337 PyObject
* obj6
= 0 ;
24338 char *kwnames
[] = {
24339 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24346 arg2
= (int)SWIG_As_int(obj1
);
24347 if (PyErr_Occurred()) SWIG_fail
;
24352 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24358 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24362 arg5
= (long)SWIG_As_long(obj4
);
24363 if (PyErr_Occurred()) SWIG_fail
;
24366 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
24367 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24369 if (arg6
== NULL
) {
24370 PyErr_SetString(PyExc_TypeError
,"null reference");
24376 arg7
= wxString_in_helper(obj6
);
24377 if (arg7
== NULL
) SWIG_fail
;
24382 if (!wxPyCheckForApp()) SWIG_fail
;
24383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24384 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
24386 wxPyEndAllowThreads(__tstate
);
24387 if (PyErr_Occurred()) SWIG_fail
;
24389 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
24404 static PyObject
*_wrap_new_PreListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24405 PyObject
*resultobj
;
24406 wxListView
*result
;
24407 char *kwnames
[] = {
24411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
24413 if (!wxPyCheckForApp()) SWIG_fail
;
24414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24415 result
= (wxListView
*)new wxListView();
24417 wxPyEndAllowThreads(__tstate
);
24418 if (PyErr_Occurred()) SWIG_fail
;
24420 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
24427 static PyObject
*_wrap_ListView_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24428 PyObject
*resultobj
;
24429 wxListView
*arg1
= (wxListView
*) 0 ;
24430 wxWindow
*arg2
= (wxWindow
*) 0 ;
24431 int arg3
= (int) -1 ;
24432 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24433 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24434 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24435 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24436 long arg6
= (long) wxLC_REPORT
;
24437 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
24438 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
24439 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
24440 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
24444 bool temp8
= false ;
24445 PyObject
* obj0
= 0 ;
24446 PyObject
* obj1
= 0 ;
24447 PyObject
* obj2
= 0 ;
24448 PyObject
* obj3
= 0 ;
24449 PyObject
* obj4
= 0 ;
24450 PyObject
* obj5
= 0 ;
24451 PyObject
* obj6
= 0 ;
24452 PyObject
* obj7
= 0 ;
24453 char *kwnames
[] = {
24454 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
24458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24460 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24463 arg3
= (int)SWIG_As_int(obj2
);
24464 if (PyErr_Occurred()) SWIG_fail
;
24469 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24475 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24479 arg6
= (long)SWIG_As_long(obj5
);
24480 if (PyErr_Occurred()) SWIG_fail
;
24483 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
24484 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24486 if (arg7
== NULL
) {
24487 PyErr_SetString(PyExc_TypeError
,"null reference");
24493 arg8
= wxString_in_helper(obj7
);
24494 if (arg8
== NULL
) SWIG_fail
;
24499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24500 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
24502 wxPyEndAllowThreads(__tstate
);
24503 if (PyErr_Occurred()) SWIG_fail
;
24506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24522 static PyObject
*_wrap_ListView_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24523 PyObject
*resultobj
;
24524 wxListView
*arg1
= (wxListView
*) 0 ;
24526 bool arg3
= (bool) true ;
24527 PyObject
* obj0
= 0 ;
24528 PyObject
* obj1
= 0 ;
24529 PyObject
* obj2
= 0 ;
24530 char *kwnames
[] = {
24531 (char *) "self",(char *) "n",(char *) "on", NULL
24534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24537 arg2
= (long)SWIG_As_long(obj1
);
24538 if (PyErr_Occurred()) SWIG_fail
;
24540 arg3
= (bool)SWIG_As_bool(obj2
);
24541 if (PyErr_Occurred()) SWIG_fail
;
24544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24545 (arg1
)->Select(arg2
,arg3
);
24547 wxPyEndAllowThreads(__tstate
);
24548 if (PyErr_Occurred()) SWIG_fail
;
24550 Py_INCREF(Py_None
); resultobj
= Py_None
;
24557 static PyObject
*_wrap_ListView_Focus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24558 PyObject
*resultobj
;
24559 wxListView
*arg1
= (wxListView
*) 0 ;
24561 PyObject
* obj0
= 0 ;
24562 PyObject
* obj1
= 0 ;
24563 char *kwnames
[] = {
24564 (char *) "self",(char *) "index", NULL
24567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
24568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24570 arg2
= (long)SWIG_As_long(obj1
);
24571 if (PyErr_Occurred()) SWIG_fail
;
24573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24574 (arg1
)->Focus(arg2
);
24576 wxPyEndAllowThreads(__tstate
);
24577 if (PyErr_Occurred()) SWIG_fail
;
24579 Py_INCREF(Py_None
); resultobj
= Py_None
;
24586 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24587 PyObject
*resultobj
;
24588 wxListView
*arg1
= (wxListView
*) 0 ;
24590 PyObject
* obj0
= 0 ;
24591 char *kwnames
[] = {
24592 (char *) "self", NULL
24595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
24596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24600 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
24602 wxPyEndAllowThreads(__tstate
);
24603 if (PyErr_Occurred()) SWIG_fail
;
24605 resultobj
= SWIG_From_long((long)result
);
24612 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24613 PyObject
*resultobj
;
24614 wxListView
*arg1
= (wxListView
*) 0 ;
24617 PyObject
* obj0
= 0 ;
24618 PyObject
* obj1
= 0 ;
24619 char *kwnames
[] = {
24620 (char *) "self",(char *) "item", NULL
24623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
24624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24626 arg2
= (long)SWIG_As_long(obj1
);
24627 if (PyErr_Occurred()) SWIG_fail
;
24629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24630 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
24632 wxPyEndAllowThreads(__tstate
);
24633 if (PyErr_Occurred()) SWIG_fail
;
24635 resultobj
= SWIG_From_long((long)result
);
24642 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24643 PyObject
*resultobj
;
24644 wxListView
*arg1
= (wxListView
*) 0 ;
24646 PyObject
* obj0
= 0 ;
24647 char *kwnames
[] = {
24648 (char *) "self", NULL
24651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
24652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24656 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
24658 wxPyEndAllowThreads(__tstate
);
24659 if (PyErr_Occurred()) SWIG_fail
;
24661 resultobj
= SWIG_From_long((long)result
);
24668 static PyObject
*_wrap_ListView_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24669 PyObject
*resultobj
;
24670 wxListView
*arg1
= (wxListView
*) 0 ;
24673 PyObject
* obj0
= 0 ;
24674 PyObject
* obj1
= 0 ;
24675 char *kwnames
[] = {
24676 (char *) "self",(char *) "index", NULL
24679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
24680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24682 arg2
= (long)SWIG_As_long(obj1
);
24683 if (PyErr_Occurred()) SWIG_fail
;
24685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24686 result
= (bool)(arg1
)->IsSelected(arg2
);
24688 wxPyEndAllowThreads(__tstate
);
24689 if (PyErr_Occurred()) SWIG_fail
;
24692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24700 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24701 PyObject
*resultobj
;
24702 wxListView
*arg1
= (wxListView
*) 0 ;
24705 PyObject
* obj0
= 0 ;
24706 PyObject
* obj1
= 0 ;
24707 PyObject
* obj2
= 0 ;
24708 char *kwnames
[] = {
24709 (char *) "self",(char *) "col",(char *) "image", NULL
24712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24715 arg2
= (int)SWIG_As_int(obj1
);
24716 if (PyErr_Occurred()) SWIG_fail
;
24717 arg3
= (int)SWIG_As_int(obj2
);
24718 if (PyErr_Occurred()) SWIG_fail
;
24720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24721 (arg1
)->SetColumnImage(arg2
,arg3
);
24723 wxPyEndAllowThreads(__tstate
);
24724 if (PyErr_Occurred()) SWIG_fail
;
24726 Py_INCREF(Py_None
); resultobj
= Py_None
;
24733 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24734 PyObject
*resultobj
;
24735 wxListView
*arg1
= (wxListView
*) 0 ;
24737 PyObject
* obj0
= 0 ;
24738 PyObject
* obj1
= 0 ;
24739 char *kwnames
[] = {
24740 (char *) "self",(char *) "col", NULL
24743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
24744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24746 arg2
= (int)SWIG_As_int(obj1
);
24747 if (PyErr_Occurred()) SWIG_fail
;
24749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24750 (arg1
)->ClearColumnImage(arg2
);
24752 wxPyEndAllowThreads(__tstate
);
24753 if (PyErr_Occurred()) SWIG_fail
;
24755 Py_INCREF(Py_None
); resultobj
= Py_None
;
24762 static PyObject
* ListView_swigregister(PyObject
*, PyObject
*args
) {
24764 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24765 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
24767 return Py_BuildValue((char *)"");
24769 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
24770 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
24775 static PyObject
*_wrap_TreeCtrlNameStr_get() {
24780 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
24782 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
24789 static PyObject
*_wrap_new_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24790 PyObject
*resultobj
;
24791 wxTreeItemId
*result
;
24792 char *kwnames
[] = {
24796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
24798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24799 result
= (wxTreeItemId
*)new wxTreeItemId();
24801 wxPyEndAllowThreads(__tstate
);
24802 if (PyErr_Occurred()) SWIG_fail
;
24804 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
24811 static PyObject
*_wrap_delete_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24812 PyObject
*resultobj
;
24813 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24814 PyObject
* obj0
= 0 ;
24815 char *kwnames
[] = {
24816 (char *) "self", NULL
24819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
24820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24826 wxPyEndAllowThreads(__tstate
);
24827 if (PyErr_Occurred()) SWIG_fail
;
24829 Py_INCREF(Py_None
); resultobj
= Py_None
;
24836 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24837 PyObject
*resultobj
;
24838 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24840 PyObject
* obj0
= 0 ;
24841 char *kwnames
[] = {
24842 (char *) "self", NULL
24845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
24846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24850 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
24852 wxPyEndAllowThreads(__tstate
);
24853 if (PyErr_Occurred()) SWIG_fail
;
24856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24864 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24865 PyObject
*resultobj
;
24866 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24867 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24869 PyObject
* obj0
= 0 ;
24870 PyObject
* obj1
= 0 ;
24871 char *kwnames
[] = {
24872 (char *) "self",(char *) "other", NULL
24875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24878 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24882 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
24884 wxPyEndAllowThreads(__tstate
);
24885 if (PyErr_Occurred()) SWIG_fail
;
24888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24896 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24897 PyObject
*resultobj
;
24898 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24899 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24901 PyObject
* obj0
= 0 ;
24902 PyObject
* obj1
= 0 ;
24903 char *kwnames
[] = {
24904 (char *) "self",(char *) "other", NULL
24907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24910 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24914 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
24916 wxPyEndAllowThreads(__tstate
);
24917 if (PyErr_Occurred()) SWIG_fail
;
24920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24928 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24929 PyObject
*resultobj
;
24930 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24931 void *arg2
= (void *) 0 ;
24932 PyObject
* obj0
= 0 ;
24933 PyObject
* obj1
= 0 ;
24934 char *kwnames
[] = {
24935 (char *) "self",(char *) "m_pItem", NULL
24938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24941 if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24942 if (arg1
) (arg1
)->m_pItem
= arg2
;
24944 Py_INCREF(Py_None
); resultobj
= Py_None
;
24951 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24952 PyObject
*resultobj
;
24953 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24955 PyObject
* obj0
= 0 ;
24956 char *kwnames
[] = {
24957 (char *) "self", NULL
24960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
24961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24963 result
= (void *) ((arg1
)->m_pItem
);
24965 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
24972 static PyObject
* TreeItemId_swigregister(PyObject
*, PyObject
*args
) {
24974 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24975 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
24977 return Py_BuildValue((char *)"");
24979 static PyObject
*_wrap_new_TreeItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24980 PyObject
*resultobj
;
24981 PyObject
*arg1
= (PyObject
*) NULL
;
24982 wxPyTreeItemData
*result
;
24983 PyObject
* obj0
= 0 ;
24984 char *kwnames
[] = {
24985 (char *) "obj", NULL
24988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
24993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24994 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
24996 wxPyEndAllowThreads(__tstate
);
24997 if (PyErr_Occurred()) SWIG_fail
;
24999 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
25006 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25007 PyObject
*resultobj
;
25008 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
25010 PyObject
* obj0
= 0 ;
25011 char *kwnames
[] = {
25012 (char *) "self", NULL
25015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
25016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
25017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25020 result
= (PyObject
*)(arg1
)->GetData();
25022 wxPyEndAllowThreads(__tstate
);
25023 if (PyErr_Occurred()) SWIG_fail
;
25025 resultobj
= result
;
25032 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25033 PyObject
*resultobj
;
25034 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
25035 PyObject
*arg2
= (PyObject
*) 0 ;
25036 PyObject
* obj0
= 0 ;
25037 PyObject
* obj1
= 0 ;
25038 char *kwnames
[] = {
25039 (char *) "self",(char *) "obj", NULL
25042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
25044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25048 (arg1
)->SetData(arg2
);
25050 wxPyEndAllowThreads(__tstate
);
25051 if (PyErr_Occurred()) SWIG_fail
;
25053 Py_INCREF(Py_None
); resultobj
= Py_None
;
25060 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25061 PyObject
*resultobj
;
25062 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
25063 wxTreeItemId
*result
;
25064 PyObject
* obj0
= 0 ;
25065 char *kwnames
[] = {
25066 (char *) "self", NULL
25069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
25070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
25071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25075 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
25076 result
= (wxTreeItemId
*) &_result_ref
;
25079 wxPyEndAllowThreads(__tstate
);
25080 if (PyErr_Occurred()) SWIG_fail
;
25082 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
25089 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25090 PyObject
*resultobj
;
25091 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
25092 wxTreeItemId
*arg2
= 0 ;
25093 PyObject
* obj0
= 0 ;
25094 PyObject
* obj1
= 0 ;
25095 char *kwnames
[] = {
25096 (char *) "self",(char *) "id", NULL
25099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
25100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
25101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25102 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25103 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25105 if (arg2
== NULL
) {
25106 PyErr_SetString(PyExc_TypeError
,"null reference");
25110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25111 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
25113 wxPyEndAllowThreads(__tstate
);
25114 if (PyErr_Occurred()) SWIG_fail
;
25116 Py_INCREF(Py_None
); resultobj
= Py_None
;
25123 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25124 PyObject
*resultobj
;
25125 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
25126 PyObject
* obj0
= 0 ;
25127 char *kwnames
[] = {
25128 (char *) "self", NULL
25131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
25132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
25133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25136 wxPyTreeItemData_Destroy(arg1
);
25138 wxPyEndAllowThreads(__tstate
);
25139 if (PyErr_Occurred()) SWIG_fail
;
25141 Py_INCREF(Py_None
); resultobj
= Py_None
;
25148 static PyObject
* TreeItemData_swigregister(PyObject
*, PyObject
*args
) {
25150 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25151 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
25153 return Py_BuildValue((char *)"");
25155 static PyObject
*_wrap_new_TreeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25156 PyObject
*resultobj
;
25157 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
25158 int arg2
= (int) 0 ;
25159 wxTreeEvent
*result
;
25160 PyObject
* obj0
= 0 ;
25161 PyObject
* obj1
= 0 ;
25162 char *kwnames
[] = {
25163 (char *) "commandType",(char *) "id", NULL
25166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
25168 arg1
= (wxEventType
)SWIG_As_int(obj0
);
25169 if (PyErr_Occurred()) SWIG_fail
;
25172 arg2
= (int)SWIG_As_int(obj1
);
25173 if (PyErr_Occurred()) SWIG_fail
;
25176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25177 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
25179 wxPyEndAllowThreads(__tstate
);
25180 if (PyErr_Occurred()) SWIG_fail
;
25182 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
25189 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25190 PyObject
*resultobj
;
25191 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25192 wxTreeItemId result
;
25193 PyObject
* obj0
= 0 ;
25194 char *kwnames
[] = {
25195 (char *) "self", NULL
25198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
25199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25203 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
25205 wxPyEndAllowThreads(__tstate
);
25206 if (PyErr_Occurred()) SWIG_fail
;
25209 wxTreeItemId
* resultptr
;
25210 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25211 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25219 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25220 PyObject
*resultobj
;
25221 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25222 wxTreeItemId
*arg2
= 0 ;
25223 PyObject
* obj0
= 0 ;
25224 PyObject
* obj1
= 0 ;
25225 char *kwnames
[] = {
25226 (char *) "self",(char *) "item", NULL
25229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25232 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25233 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25235 if (arg2
== NULL
) {
25236 PyErr_SetString(PyExc_TypeError
,"null reference");
25240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25241 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
25243 wxPyEndAllowThreads(__tstate
);
25244 if (PyErr_Occurred()) SWIG_fail
;
25246 Py_INCREF(Py_None
); resultobj
= Py_None
;
25253 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25254 PyObject
*resultobj
;
25255 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25256 wxTreeItemId result
;
25257 PyObject
* obj0
= 0 ;
25258 char *kwnames
[] = {
25259 (char *) "self", NULL
25262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
25263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25267 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
25269 wxPyEndAllowThreads(__tstate
);
25270 if (PyErr_Occurred()) SWIG_fail
;
25273 wxTreeItemId
* resultptr
;
25274 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25275 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25283 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25284 PyObject
*resultobj
;
25285 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25286 wxTreeItemId
*arg2
= 0 ;
25287 PyObject
* obj0
= 0 ;
25288 PyObject
* obj1
= 0 ;
25289 char *kwnames
[] = {
25290 (char *) "self",(char *) "item", NULL
25293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25296 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25297 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25299 if (arg2
== NULL
) {
25300 PyErr_SetString(PyExc_TypeError
,"null reference");
25304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25305 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
25307 wxPyEndAllowThreads(__tstate
);
25308 if (PyErr_Occurred()) SWIG_fail
;
25310 Py_INCREF(Py_None
); resultobj
= Py_None
;
25317 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25318 PyObject
*resultobj
;
25319 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25321 PyObject
* obj0
= 0 ;
25322 char *kwnames
[] = {
25323 (char *) "self", NULL
25326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
25327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25331 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
25333 wxPyEndAllowThreads(__tstate
);
25334 if (PyErr_Occurred()) SWIG_fail
;
25337 wxPoint
* resultptr
;
25338 resultptr
= new wxPoint((wxPoint
&) result
);
25339 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25347 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25348 PyObject
*resultobj
;
25349 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25350 wxPoint
*arg2
= 0 ;
25352 PyObject
* obj0
= 0 ;
25353 PyObject
* obj1
= 0 ;
25354 char *kwnames
[] = {
25355 (char *) "self",(char *) "pt", NULL
25358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
25359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25363 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25367 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
25369 wxPyEndAllowThreads(__tstate
);
25370 if (PyErr_Occurred()) SWIG_fail
;
25372 Py_INCREF(Py_None
); resultobj
= Py_None
;
25379 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25380 PyObject
*resultobj
;
25381 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25382 wxKeyEvent
*result
;
25383 PyObject
* obj0
= 0 ;
25384 char *kwnames
[] = {
25385 (char *) "self", NULL
25388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
25389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25394 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
25395 result
= (wxKeyEvent
*) &_result_ref
;
25398 wxPyEndAllowThreads(__tstate
);
25399 if (PyErr_Occurred()) SWIG_fail
;
25401 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
25408 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25409 PyObject
*resultobj
;
25410 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25412 PyObject
* obj0
= 0 ;
25413 char *kwnames
[] = {
25414 (char *) "self", NULL
25417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",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();
25422 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
25424 wxPyEndAllowThreads(__tstate
);
25425 if (PyErr_Occurred()) SWIG_fail
;
25427 resultobj
= SWIG_From_int((int)result
);
25434 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25435 PyObject
*resultobj
;
25436 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25437 wxKeyEvent
*arg2
= 0 ;
25438 PyObject
* obj0
= 0 ;
25439 PyObject
* obj1
= 0 ;
25440 char *kwnames
[] = {
25441 (char *) "self",(char *) "evt", NULL
25444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
25445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25447 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
25448 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25450 if (arg2
== NULL
) {
25451 PyErr_SetString(PyExc_TypeError
,"null reference");
25455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25456 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
25458 wxPyEndAllowThreads(__tstate
);
25459 if (PyErr_Occurred()) SWIG_fail
;
25461 Py_INCREF(Py_None
); resultobj
= Py_None
;
25468 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25469 PyObject
*resultobj
;
25470 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25472 PyObject
* obj0
= 0 ;
25473 char *kwnames
[] = {
25474 (char *) "self", NULL
25477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
25478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25483 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
25484 result
= (wxString
*) &_result_ref
;
25487 wxPyEndAllowThreads(__tstate
);
25488 if (PyErr_Occurred()) SWIG_fail
;
25492 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
25494 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
25503 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25504 PyObject
*resultobj
;
25505 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25506 wxString
*arg2
= 0 ;
25507 bool temp2
= false ;
25508 PyObject
* obj0
= 0 ;
25509 PyObject
* obj1
= 0 ;
25510 char *kwnames
[] = {
25511 (char *) "self",(char *) "label", NULL
25514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25518 arg2
= wxString_in_helper(obj1
);
25519 if (arg2
== NULL
) SWIG_fail
;
25523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25524 (arg1
)->SetLabel((wxString
const &)*arg2
);
25526 wxPyEndAllowThreads(__tstate
);
25527 if (PyErr_Occurred()) SWIG_fail
;
25529 Py_INCREF(Py_None
); resultobj
= Py_None
;
25544 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25545 PyObject
*resultobj
;
25546 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25548 PyObject
* obj0
= 0 ;
25549 char *kwnames
[] = {
25550 (char *) "self", NULL
25553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
25554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25558 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
25560 wxPyEndAllowThreads(__tstate
);
25561 if (PyErr_Occurred()) SWIG_fail
;
25564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25572 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25573 PyObject
*resultobj
;
25574 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25576 PyObject
* obj0
= 0 ;
25577 PyObject
* obj1
= 0 ;
25578 char *kwnames
[] = {
25579 (char *) "self",(char *) "editCancelled", NULL
25582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
25583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25585 arg2
= (bool)SWIG_As_bool(obj1
);
25586 if (PyErr_Occurred()) SWIG_fail
;
25588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25589 (arg1
)->SetEditCanceled(arg2
);
25591 wxPyEndAllowThreads(__tstate
);
25592 if (PyErr_Occurred()) SWIG_fail
;
25594 Py_INCREF(Py_None
); resultobj
= Py_None
;
25601 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25602 PyObject
*resultobj
;
25603 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25604 wxString
*arg2
= 0 ;
25605 bool temp2
= false ;
25606 PyObject
* obj0
= 0 ;
25607 PyObject
* obj1
= 0 ;
25608 char *kwnames
[] = {
25609 (char *) "self",(char *) "toolTip", NULL
25612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
25613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25616 arg2
= wxString_in_helper(obj1
);
25617 if (arg2
== NULL
) SWIG_fail
;
25621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25622 (arg1
)->SetToolTip((wxString
const &)*arg2
);
25624 wxPyEndAllowThreads(__tstate
);
25625 if (PyErr_Occurred()) SWIG_fail
;
25627 Py_INCREF(Py_None
); resultobj
= Py_None
;
25642 static PyObject
* TreeEvent_swigregister(PyObject
*, PyObject
*args
) {
25644 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25645 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
25647 return Py_BuildValue((char *)"");
25649 static PyObject
*_wrap_new_TreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25650 PyObject
*resultobj
;
25651 wxWindow
*arg1
= (wxWindow
*) 0 ;
25652 int arg2
= (int) -1 ;
25653 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25654 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25655 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25656 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25657 long arg5
= (long) wxTR_DEFAULT_STYLE
;
25658 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
25659 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
25660 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
25661 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25662 wxPyTreeCtrl
*result
;
25665 bool temp7
= false ;
25666 PyObject
* obj0
= 0 ;
25667 PyObject
* obj1
= 0 ;
25668 PyObject
* obj2
= 0 ;
25669 PyObject
* obj3
= 0 ;
25670 PyObject
* obj4
= 0 ;
25671 PyObject
* obj5
= 0 ;
25672 PyObject
* obj6
= 0 ;
25673 char *kwnames
[] = {
25674 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25681 arg2
= (int)SWIG_As_int(obj1
);
25682 if (PyErr_Occurred()) SWIG_fail
;
25687 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25693 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25697 arg5
= (long)SWIG_As_long(obj4
);
25698 if (PyErr_Occurred()) SWIG_fail
;
25701 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
25702 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25704 if (arg6
== NULL
) {
25705 PyErr_SetString(PyExc_TypeError
,"null reference");
25711 arg7
= wxString_in_helper(obj6
);
25712 if (arg7
== NULL
) SWIG_fail
;
25717 if (!wxPyCheckForApp()) SWIG_fail
;
25718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25719 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
25721 wxPyEndAllowThreads(__tstate
);
25722 if (PyErr_Occurred()) SWIG_fail
;
25724 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
25739 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25740 PyObject
*resultobj
;
25741 wxPyTreeCtrl
*result
;
25742 char *kwnames
[] = {
25746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
25748 if (!wxPyCheckForApp()) SWIG_fail
;
25749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25750 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
25752 wxPyEndAllowThreads(__tstate
);
25753 if (PyErr_Occurred()) SWIG_fail
;
25755 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
25762 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25763 PyObject
*resultobj
;
25764 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25765 wxWindow
*arg2
= (wxWindow
*) 0 ;
25766 int arg3
= (int) -1 ;
25767 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25768 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25769 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25770 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25771 long arg6
= (long) wxTR_DEFAULT_STYLE
;
25772 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
25773 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
25774 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
25775 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
25779 bool temp8
= false ;
25780 PyObject
* obj0
= 0 ;
25781 PyObject
* obj1
= 0 ;
25782 PyObject
* obj2
= 0 ;
25783 PyObject
* obj3
= 0 ;
25784 PyObject
* obj4
= 0 ;
25785 PyObject
* obj5
= 0 ;
25786 PyObject
* obj6
= 0 ;
25787 PyObject
* obj7
= 0 ;
25788 char *kwnames
[] = {
25789 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
25793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25795 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25798 arg3
= (int)SWIG_As_int(obj2
);
25799 if (PyErr_Occurred()) SWIG_fail
;
25804 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25810 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25814 arg6
= (long)SWIG_As_long(obj5
);
25815 if (PyErr_Occurred()) SWIG_fail
;
25818 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
25819 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25821 if (arg7
== NULL
) {
25822 PyErr_SetString(PyExc_TypeError
,"null reference");
25828 arg8
= wxString_in_helper(obj7
);
25829 if (arg8
== NULL
) SWIG_fail
;
25834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25835 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
25837 wxPyEndAllowThreads(__tstate
);
25838 if (PyErr_Occurred()) SWIG_fail
;
25841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25857 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25858 PyObject
*resultobj
;
25859 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25860 PyObject
*arg2
= (PyObject
*) 0 ;
25861 PyObject
*arg3
= (PyObject
*) 0 ;
25862 PyObject
* obj0
= 0 ;
25863 PyObject
* obj1
= 0 ;
25864 PyObject
* obj2
= 0 ;
25865 char *kwnames
[] = {
25866 (char *) "self",(char *) "self",(char *) "_class", NULL
25869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25876 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25878 wxPyEndAllowThreads(__tstate
);
25879 if (PyErr_Occurred()) SWIG_fail
;
25881 Py_INCREF(Py_None
); resultobj
= Py_None
;
25888 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25889 PyObject
*resultobj
;
25890 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25892 PyObject
* obj0
= 0 ;
25893 char *kwnames
[] = {
25894 (char *) "self", NULL
25897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
25898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25902 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
25904 wxPyEndAllowThreads(__tstate
);
25905 if (PyErr_Occurred()) SWIG_fail
;
25907 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25914 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25915 PyObject
*resultobj
;
25916 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25917 unsigned int result
;
25918 PyObject
* obj0
= 0 ;
25919 char *kwnames
[] = {
25920 (char *) "self", NULL
25923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
25924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25928 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
25930 wxPyEndAllowThreads(__tstate
);
25931 if (PyErr_Occurred()) SWIG_fail
;
25933 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
25940 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25941 PyObject
*resultobj
;
25942 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25943 unsigned int arg2
;
25944 PyObject
* obj0
= 0 ;
25945 PyObject
* obj1
= 0 ;
25946 char *kwnames
[] = {
25947 (char *) "self",(char *) "indent", NULL
25950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
25951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25953 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
25954 if (PyErr_Occurred()) SWIG_fail
;
25956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25957 (arg1
)->SetIndent(arg2
);
25959 wxPyEndAllowThreads(__tstate
);
25960 if (PyErr_Occurred()) SWIG_fail
;
25962 Py_INCREF(Py_None
); resultobj
= Py_None
;
25969 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25970 PyObject
*resultobj
;
25971 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25972 unsigned int result
;
25973 PyObject
* obj0
= 0 ;
25974 char *kwnames
[] = {
25975 (char *) "self", NULL
25978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
25979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25983 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
25985 wxPyEndAllowThreads(__tstate
);
25986 if (PyErr_Occurred()) SWIG_fail
;
25988 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
25995 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25996 PyObject
*resultobj
;
25997 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25998 unsigned int arg2
;
25999 PyObject
* obj0
= 0 ;
26000 PyObject
* obj1
= 0 ;
26001 char *kwnames
[] = {
26002 (char *) "self",(char *) "spacing", NULL
26005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
26006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26008 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
26009 if (PyErr_Occurred()) SWIG_fail
;
26011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26012 (arg1
)->SetSpacing(arg2
);
26014 wxPyEndAllowThreads(__tstate
);
26015 if (PyErr_Occurred()) SWIG_fail
;
26017 Py_INCREF(Py_None
); resultobj
= Py_None
;
26024 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26025 PyObject
*resultobj
;
26026 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26027 wxImageList
*result
;
26028 PyObject
* obj0
= 0 ;
26029 char *kwnames
[] = {
26030 (char *) "self", NULL
26033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
26034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26038 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
26040 wxPyEndAllowThreads(__tstate
);
26041 if (PyErr_Occurred()) SWIG_fail
;
26044 resultobj
= wxPyMake_wxObject(result
, 0);
26052 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26053 PyObject
*resultobj
;
26054 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26055 wxImageList
*result
;
26056 PyObject
* obj0
= 0 ;
26057 char *kwnames
[] = {
26058 (char *) "self", NULL
26061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
26062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26066 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
26068 wxPyEndAllowThreads(__tstate
);
26069 if (PyErr_Occurred()) SWIG_fail
;
26072 resultobj
= wxPyMake_wxObject(result
, 0);
26080 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26081 PyObject
*resultobj
;
26082 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26083 wxImageList
*arg2
= (wxImageList
*) 0 ;
26084 PyObject
* obj0
= 0 ;
26085 PyObject
* obj1
= 0 ;
26086 char *kwnames
[] = {
26087 (char *) "self",(char *) "imageList", NULL
26090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
26091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26093 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
26094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26097 (arg1
)->SetImageList(arg2
);
26099 wxPyEndAllowThreads(__tstate
);
26100 if (PyErr_Occurred()) SWIG_fail
;
26102 Py_INCREF(Py_None
); resultobj
= Py_None
;
26109 static PyObject
*_wrap_TreeCtrl_SetStateImageList(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_SetStateImageList",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
)->SetStateImageList(arg2
);
26128 wxPyEndAllowThreads(__tstate
);
26129 if (PyErr_Occurred()) SWIG_fail
;
26131 Py_INCREF(Py_None
); resultobj
= Py_None
;
26138 static PyObject
*_wrap_TreeCtrl_AssignImageList(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_AssignImageList",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
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26155 (arg1
)->AssignImageList(arg2
);
26157 wxPyEndAllowThreads(__tstate
);
26158 if (PyErr_Occurred()) SWIG_fail
;
26160 Py_INCREF(Py_None
); resultobj
= Py_None
;
26167 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(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_AssignStateImageList",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
)->AssignStateImageList(arg2
);
26186 wxPyEndAllowThreads(__tstate
);
26187 if (PyErr_Occurred()) SWIG_fail
;
26189 Py_INCREF(Py_None
); resultobj
= Py_None
;
26196 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26197 PyObject
*resultobj
;
26198 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26199 wxTreeItemId
*arg2
= 0 ;
26201 PyObject
* obj0
= 0 ;
26202 PyObject
* obj1
= 0 ;
26203 char *kwnames
[] = {
26204 (char *) "self",(char *) "item", NULL
26207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
26208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26210 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26211 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26213 if (arg2
== NULL
) {
26214 PyErr_SetString(PyExc_TypeError
,"null reference");
26218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26219 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
26221 wxPyEndAllowThreads(__tstate
);
26222 if (PyErr_Occurred()) SWIG_fail
;
26226 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26228 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26237 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26238 PyObject
*resultobj
;
26239 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26240 wxTreeItemId
*arg2
= 0 ;
26241 int arg3
= (int) wxTreeItemIcon_Normal
;
26243 PyObject
* obj0
= 0 ;
26244 PyObject
* obj1
= 0 ;
26245 PyObject
* obj2
= 0 ;
26246 char *kwnames
[] = {
26247 (char *) "self",(char *) "item",(char *) "which", NULL
26250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26253 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26254 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26256 if (arg2
== NULL
) {
26257 PyErr_SetString(PyExc_TypeError
,"null reference");
26261 arg3
= (int)SWIG_As_int(obj2
);
26262 if (PyErr_Occurred()) SWIG_fail
;
26265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26266 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
26268 wxPyEndAllowThreads(__tstate
);
26269 if (PyErr_Occurred()) SWIG_fail
;
26271 resultobj
= SWIG_From_int((int)result
);
26278 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26279 PyObject
*resultobj
;
26280 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26281 wxTreeItemId
*arg2
= 0 ;
26282 wxPyTreeItemData
*result
;
26283 PyObject
* obj0
= 0 ;
26284 PyObject
* obj1
= 0 ;
26285 char *kwnames
[] = {
26286 (char *) "self",(char *) "item", NULL
26289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
26290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26292 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26293 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26295 if (arg2
== NULL
) {
26296 PyErr_SetString(PyExc_TypeError
,"null reference");
26300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26301 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
26303 wxPyEndAllowThreads(__tstate
);
26304 if (PyErr_Occurred()) SWIG_fail
;
26306 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
26313 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26314 PyObject
*resultobj
;
26315 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26316 wxTreeItemId
*arg2
= 0 ;
26318 PyObject
* obj0
= 0 ;
26319 PyObject
* obj1
= 0 ;
26320 char *kwnames
[] = {
26321 (char *) "self",(char *) "item", NULL
26324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
26325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26327 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26328 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26330 if (arg2
== NULL
) {
26331 PyErr_SetString(PyExc_TypeError
,"null reference");
26335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26336 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
26338 wxPyEndAllowThreads(__tstate
);
26339 if (PyErr_Occurred()) SWIG_fail
;
26341 resultobj
= result
;
26348 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26349 PyObject
*resultobj
;
26350 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26351 wxTreeItemId
*arg2
= 0 ;
26353 PyObject
* obj0
= 0 ;
26354 PyObject
* obj1
= 0 ;
26355 char *kwnames
[] = {
26356 (char *) "self",(char *) "item", NULL
26359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26362 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26363 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26365 if (arg2
== NULL
) {
26366 PyErr_SetString(PyExc_TypeError
,"null reference");
26370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26371 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
26373 wxPyEndAllowThreads(__tstate
);
26374 if (PyErr_Occurred()) SWIG_fail
;
26377 wxColour
* resultptr
;
26378 resultptr
= new wxColour((wxColour
&) result
);
26379 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26387 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26388 PyObject
*resultobj
;
26389 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26390 wxTreeItemId
*arg2
= 0 ;
26392 PyObject
* obj0
= 0 ;
26393 PyObject
* obj1
= 0 ;
26394 char *kwnames
[] = {
26395 (char *) "self",(char *) "item", NULL
26398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26401 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26402 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26404 if (arg2
== NULL
) {
26405 PyErr_SetString(PyExc_TypeError
,"null reference");
26409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26410 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
26412 wxPyEndAllowThreads(__tstate
);
26413 if (PyErr_Occurred()) SWIG_fail
;
26416 wxColour
* resultptr
;
26417 resultptr
= new wxColour((wxColour
&) result
);
26418 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26426 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26427 PyObject
*resultobj
;
26428 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26429 wxTreeItemId
*arg2
= 0 ;
26431 PyObject
* obj0
= 0 ;
26432 PyObject
* obj1
= 0 ;
26433 char *kwnames
[] = {
26434 (char *) "self",(char *) "item", NULL
26437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26440 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26441 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26443 if (arg2
== NULL
) {
26444 PyErr_SetString(PyExc_TypeError
,"null reference");
26448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26449 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
26451 wxPyEndAllowThreads(__tstate
);
26452 if (PyErr_Occurred()) SWIG_fail
;
26455 wxFont
* resultptr
;
26456 resultptr
= new wxFont((wxFont
&) result
);
26457 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
26465 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26466 PyObject
*resultobj
;
26467 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26468 wxTreeItemId
*arg2
= 0 ;
26469 wxString
*arg3
= 0 ;
26470 bool temp3
= false ;
26471 PyObject
* obj0
= 0 ;
26472 PyObject
* obj1
= 0 ;
26473 PyObject
* obj2
= 0 ;
26474 char *kwnames
[] = {
26475 (char *) "self",(char *) "item",(char *) "text", NULL
26478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26481 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26482 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26484 if (arg2
== NULL
) {
26485 PyErr_SetString(PyExc_TypeError
,"null reference");
26489 arg3
= wxString_in_helper(obj2
);
26490 if (arg3
== NULL
) SWIG_fail
;
26494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26495 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
26497 wxPyEndAllowThreads(__tstate
);
26498 if (PyErr_Occurred()) SWIG_fail
;
26500 Py_INCREF(Py_None
); resultobj
= Py_None
;
26515 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26516 PyObject
*resultobj
;
26517 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26518 wxTreeItemId
*arg2
= 0 ;
26520 int arg4
= (int) wxTreeItemIcon_Normal
;
26521 PyObject
* obj0
= 0 ;
26522 PyObject
* obj1
= 0 ;
26523 PyObject
* obj2
= 0 ;
26524 PyObject
* obj3
= 0 ;
26525 char *kwnames
[] = {
26526 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
26529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26532 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26533 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26535 if (arg2
== NULL
) {
26536 PyErr_SetString(PyExc_TypeError
,"null reference");
26539 arg3
= (int)SWIG_As_int(obj2
);
26540 if (PyErr_Occurred()) SWIG_fail
;
26542 arg4
= (int)SWIG_As_int(obj3
);
26543 if (PyErr_Occurred()) SWIG_fail
;
26546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26547 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
26549 wxPyEndAllowThreads(__tstate
);
26550 if (PyErr_Occurred()) SWIG_fail
;
26552 Py_INCREF(Py_None
); resultobj
= Py_None
;
26559 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26560 PyObject
*resultobj
;
26561 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26562 wxTreeItemId
*arg2
= 0 ;
26563 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
26564 PyObject
* obj0
= 0 ;
26565 PyObject
* obj1
= 0 ;
26566 PyObject
* obj2
= 0 ;
26567 char *kwnames
[] = {
26568 (char *) "self",(char *) "item",(char *) "data", NULL
26571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26574 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26575 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26577 if (arg2
== NULL
) {
26578 PyErr_SetString(PyExc_TypeError
,"null reference");
26581 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
,
26582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26585 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26587 wxPyEndAllowThreads(__tstate
);
26588 if (PyErr_Occurred()) SWIG_fail
;
26590 Py_INCREF(Py_None
); resultobj
= Py_None
;
26597 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26598 PyObject
*resultobj
;
26599 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26600 wxTreeItemId
*arg2
= 0 ;
26601 PyObject
*arg3
= (PyObject
*) 0 ;
26602 PyObject
* obj0
= 0 ;
26603 PyObject
* obj1
= 0 ;
26604 PyObject
* obj2
= 0 ;
26605 char *kwnames
[] = {
26606 (char *) "self",(char *) "item",(char *) "obj", NULL
26609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26612 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26613 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26615 if (arg2
== NULL
) {
26616 PyErr_SetString(PyExc_TypeError
,"null reference");
26621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26622 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26624 wxPyEndAllowThreads(__tstate
);
26625 if (PyErr_Occurred()) SWIG_fail
;
26627 Py_INCREF(Py_None
); resultobj
= Py_None
;
26634 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26635 PyObject
*resultobj
;
26636 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26637 wxTreeItemId
*arg2
= 0 ;
26638 bool arg3
= (bool) true ;
26639 PyObject
* obj0
= 0 ;
26640 PyObject
* obj1
= 0 ;
26641 PyObject
* obj2
= 0 ;
26642 char *kwnames
[] = {
26643 (char *) "self",(char *) "item",(char *) "has", NULL
26646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26649 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26650 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26652 if (arg2
== NULL
) {
26653 PyErr_SetString(PyExc_TypeError
,"null reference");
26657 arg3
= (bool)SWIG_As_bool(obj2
);
26658 if (PyErr_Occurred()) SWIG_fail
;
26661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26662 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
26664 wxPyEndAllowThreads(__tstate
);
26665 if (PyErr_Occurred()) SWIG_fail
;
26667 Py_INCREF(Py_None
); resultobj
= Py_None
;
26674 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26675 PyObject
*resultobj
;
26676 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26677 wxTreeItemId
*arg2
= 0 ;
26678 bool arg3
= (bool) true ;
26679 PyObject
* obj0
= 0 ;
26680 PyObject
* obj1
= 0 ;
26681 PyObject
* obj2
= 0 ;
26682 char *kwnames
[] = {
26683 (char *) "self",(char *) "item",(char *) "bold", NULL
26686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26689 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26690 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26692 if (arg2
== NULL
) {
26693 PyErr_SetString(PyExc_TypeError
,"null reference");
26697 arg3
= (bool)SWIG_As_bool(obj2
);
26698 if (PyErr_Occurred()) SWIG_fail
;
26701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26702 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
26704 wxPyEndAllowThreads(__tstate
);
26705 if (PyErr_Occurred()) SWIG_fail
;
26707 Py_INCREF(Py_None
); resultobj
= Py_None
;
26714 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26715 PyObject
*resultobj
;
26716 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26717 wxTreeItemId
*arg2
= 0 ;
26718 wxColour
*arg3
= 0 ;
26720 PyObject
* obj0
= 0 ;
26721 PyObject
* obj1
= 0 ;
26722 PyObject
* obj2
= 0 ;
26723 char *kwnames
[] = {
26724 (char *) "self",(char *) "item",(char *) "col", NULL
26727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26730 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26731 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26733 if (arg2
== NULL
) {
26734 PyErr_SetString(PyExc_TypeError
,"null reference");
26739 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26743 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
26745 wxPyEndAllowThreads(__tstate
);
26746 if (PyErr_Occurred()) SWIG_fail
;
26748 Py_INCREF(Py_None
); resultobj
= Py_None
;
26755 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26756 PyObject
*resultobj
;
26757 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26758 wxTreeItemId
*arg2
= 0 ;
26759 wxColour
*arg3
= 0 ;
26761 PyObject
* obj0
= 0 ;
26762 PyObject
* obj1
= 0 ;
26763 PyObject
* obj2
= 0 ;
26764 char *kwnames
[] = {
26765 (char *) "self",(char *) "item",(char *) "col", NULL
26768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26771 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26772 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26774 if (arg2
== NULL
) {
26775 PyErr_SetString(PyExc_TypeError
,"null reference");
26780 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26784 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
26786 wxPyEndAllowThreads(__tstate
);
26787 if (PyErr_Occurred()) SWIG_fail
;
26789 Py_INCREF(Py_None
); resultobj
= Py_None
;
26796 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26797 PyObject
*resultobj
;
26798 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26799 wxTreeItemId
*arg2
= 0 ;
26801 PyObject
* obj0
= 0 ;
26802 PyObject
* obj1
= 0 ;
26803 PyObject
* obj2
= 0 ;
26804 char *kwnames
[] = {
26805 (char *) "self",(char *) "item",(char *) "font", NULL
26808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26811 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26812 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26814 if (arg2
== NULL
) {
26815 PyErr_SetString(PyExc_TypeError
,"null reference");
26818 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
26819 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26821 if (arg3
== NULL
) {
26822 PyErr_SetString(PyExc_TypeError
,"null reference");
26826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26827 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
26829 wxPyEndAllowThreads(__tstate
);
26830 if (PyErr_Occurred()) SWIG_fail
;
26832 Py_INCREF(Py_None
); resultobj
= Py_None
;
26839 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26840 PyObject
*resultobj
;
26841 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26842 wxTreeItemId
*arg2
= 0 ;
26844 PyObject
* obj0
= 0 ;
26845 PyObject
* obj1
= 0 ;
26846 char *kwnames
[] = {
26847 (char *) "self",(char *) "item", NULL
26850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26853 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26854 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26856 if (arg2
== NULL
) {
26857 PyErr_SetString(PyExc_TypeError
,"null reference");
26861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26862 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
26864 wxPyEndAllowThreads(__tstate
);
26865 if (PyErr_Occurred()) SWIG_fail
;
26868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26876 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26877 PyObject
*resultobj
;
26878 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26879 wxTreeItemId
*arg2
= 0 ;
26881 PyObject
* obj0
= 0 ;
26882 PyObject
* obj1
= 0 ;
26883 char *kwnames
[] = {
26884 (char *) "self",(char *) "item", NULL
26887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26890 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26891 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26893 if (arg2
== NULL
) {
26894 PyErr_SetString(PyExc_TypeError
,"null reference");
26898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26899 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
26901 wxPyEndAllowThreads(__tstate
);
26902 if (PyErr_Occurred()) SWIG_fail
;
26905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26913 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26914 PyObject
*resultobj
;
26915 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26916 wxTreeItemId
*arg2
= 0 ;
26918 PyObject
* obj0
= 0 ;
26919 PyObject
* obj1
= 0 ;
26920 char *kwnames
[] = {
26921 (char *) "self",(char *) "item", NULL
26924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
26925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26927 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26928 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26930 if (arg2
== NULL
) {
26931 PyErr_SetString(PyExc_TypeError
,"null reference");
26935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26936 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
26938 wxPyEndAllowThreads(__tstate
);
26939 if (PyErr_Occurred()) SWIG_fail
;
26942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26950 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26951 PyObject
*resultobj
;
26952 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26953 wxTreeItemId
*arg2
= 0 ;
26955 PyObject
* obj0
= 0 ;
26956 PyObject
* obj1
= 0 ;
26957 char *kwnames
[] = {
26958 (char *) "self",(char *) "item", NULL
26961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26964 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26965 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26967 if (arg2
== NULL
) {
26968 PyErr_SetString(PyExc_TypeError
,"null reference");
26972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26973 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
26975 wxPyEndAllowThreads(__tstate
);
26976 if (PyErr_Occurred()) SWIG_fail
;
26979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26987 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26988 PyObject
*resultobj
;
26989 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26990 wxTreeItemId
*arg2
= 0 ;
26992 PyObject
* obj0
= 0 ;
26993 PyObject
* obj1
= 0 ;
26994 char *kwnames
[] = {
26995 (char *) "self",(char *) "item", NULL
26998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
26999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27001 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27002 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27004 if (arg2
== NULL
) {
27005 PyErr_SetString(PyExc_TypeError
,"null reference");
27009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27010 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
27012 wxPyEndAllowThreads(__tstate
);
27013 if (PyErr_Occurred()) SWIG_fail
;
27016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27024 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27025 PyObject
*resultobj
;
27026 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27027 wxTreeItemId
*arg2
= 0 ;
27028 bool arg3
= (bool) true ;
27030 PyObject
* obj0
= 0 ;
27031 PyObject
* obj1
= 0 ;
27032 PyObject
* obj2
= 0 ;
27033 char *kwnames
[] = {
27034 (char *) "self",(char *) "item",(char *) "recursively", NULL
27037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27040 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27041 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27043 if (arg2
== NULL
) {
27044 PyErr_SetString(PyExc_TypeError
,"null reference");
27048 arg3
= (bool)SWIG_As_bool(obj2
);
27049 if (PyErr_Occurred()) SWIG_fail
;
27052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27053 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
27055 wxPyEndAllowThreads(__tstate
);
27056 if (PyErr_Occurred()) SWIG_fail
;
27058 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
27065 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27066 PyObject
*resultobj
;
27067 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27068 wxTreeItemId result
;
27069 PyObject
* obj0
= 0 ;
27070 char *kwnames
[] = {
27071 (char *) "self", NULL
27074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
27075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27079 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
27081 wxPyEndAllowThreads(__tstate
);
27082 if (PyErr_Occurred()) SWIG_fail
;
27085 wxTreeItemId
* resultptr
;
27086 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27087 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27095 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27096 PyObject
*resultobj
;
27097 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27098 wxTreeItemId result
;
27099 PyObject
* obj0
= 0 ;
27100 char *kwnames
[] = {
27101 (char *) "self", NULL
27104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
27105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27109 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
27111 wxPyEndAllowThreads(__tstate
);
27112 if (PyErr_Occurred()) SWIG_fail
;
27115 wxTreeItemId
* resultptr
;
27116 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27117 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27125 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27126 PyObject
*resultobj
;
27127 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27129 PyObject
* obj0
= 0 ;
27130 char *kwnames
[] = {
27131 (char *) "self", NULL
27134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
27135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27139 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
27141 wxPyEndAllowThreads(__tstate
);
27142 if (PyErr_Occurred()) SWIG_fail
;
27144 resultobj
= result
;
27151 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27152 PyObject
*resultobj
;
27153 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27154 wxTreeItemId
*arg2
= 0 ;
27155 wxTreeItemId result
;
27156 PyObject
* obj0
= 0 ;
27157 PyObject
* obj1
= 0 ;
27158 char *kwnames
[] = {
27159 (char *) "self",(char *) "item", NULL
27162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
27163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27165 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27166 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27168 if (arg2
== NULL
) {
27169 PyErr_SetString(PyExc_TypeError
,"null reference");
27173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27174 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
27176 wxPyEndAllowThreads(__tstate
);
27177 if (PyErr_Occurred()) SWIG_fail
;
27180 wxTreeItemId
* resultptr
;
27181 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27182 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27190 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27191 PyObject
*resultobj
;
27192 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27193 wxTreeItemId
*arg2
= 0 ;
27195 PyObject
* obj0
= 0 ;
27196 PyObject
* obj1
= 0 ;
27197 char *kwnames
[] = {
27198 (char *) "self",(char *) "item", NULL
27201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
27202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27204 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27205 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27207 if (arg2
== NULL
) {
27208 PyErr_SetString(PyExc_TypeError
,"null reference");
27212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27213 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
27215 wxPyEndAllowThreads(__tstate
);
27216 if (PyErr_Occurred()) SWIG_fail
;
27218 resultobj
= result
;
27225 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27226 PyObject
*resultobj
;
27227 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27228 wxTreeItemId
*arg2
= 0 ;
27229 void *arg3
= (void *) 0 ;
27231 PyObject
* obj0
= 0 ;
27232 PyObject
* obj1
= 0 ;
27233 PyObject
* obj2
= 0 ;
27234 char *kwnames
[] = {
27235 (char *) "self",(char *) "item",(char *) "cookie", NULL
27238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27241 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27242 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27244 if (arg2
== NULL
) {
27245 PyErr_SetString(PyExc_TypeError
,"null reference");
27248 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27251 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
27253 wxPyEndAllowThreads(__tstate
);
27254 if (PyErr_Occurred()) SWIG_fail
;
27256 resultobj
= result
;
27263 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27264 PyObject
*resultobj
;
27265 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27266 wxTreeItemId
*arg2
= 0 ;
27267 wxTreeItemId result
;
27268 PyObject
* obj0
= 0 ;
27269 PyObject
* obj1
= 0 ;
27270 char *kwnames
[] = {
27271 (char *) "self",(char *) "item", NULL
27274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
27275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27277 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27278 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27280 if (arg2
== NULL
) {
27281 PyErr_SetString(PyExc_TypeError
,"null reference");
27285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27286 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
27288 wxPyEndAllowThreads(__tstate
);
27289 if (PyErr_Occurred()) SWIG_fail
;
27292 wxTreeItemId
* resultptr
;
27293 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27294 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27302 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27303 PyObject
*resultobj
;
27304 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27305 wxTreeItemId
*arg2
= 0 ;
27306 wxTreeItemId result
;
27307 PyObject
* obj0
= 0 ;
27308 PyObject
* obj1
= 0 ;
27309 char *kwnames
[] = {
27310 (char *) "self",(char *) "item", NULL
27313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
27314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27316 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27317 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27319 if (arg2
== NULL
) {
27320 PyErr_SetString(PyExc_TypeError
,"null reference");
27324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27325 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
27327 wxPyEndAllowThreads(__tstate
);
27328 if (PyErr_Occurred()) SWIG_fail
;
27331 wxTreeItemId
* resultptr
;
27332 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27333 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27341 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27342 PyObject
*resultobj
;
27343 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27344 wxTreeItemId
*arg2
= 0 ;
27345 wxTreeItemId result
;
27346 PyObject
* obj0
= 0 ;
27347 PyObject
* obj1
= 0 ;
27348 char *kwnames
[] = {
27349 (char *) "self",(char *) "item", NULL
27352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
27353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27355 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27356 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27358 if (arg2
== NULL
) {
27359 PyErr_SetString(PyExc_TypeError
,"null reference");
27363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27364 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
27366 wxPyEndAllowThreads(__tstate
);
27367 if (PyErr_Occurred()) SWIG_fail
;
27370 wxTreeItemId
* resultptr
;
27371 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27372 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27380 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27381 PyObject
*resultobj
;
27382 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27383 wxTreeItemId result
;
27384 PyObject
* obj0
= 0 ;
27385 char *kwnames
[] = {
27386 (char *) "self", NULL
27389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
27390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27394 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
27396 wxPyEndAllowThreads(__tstate
);
27397 if (PyErr_Occurred()) SWIG_fail
;
27400 wxTreeItemId
* resultptr
;
27401 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27402 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27410 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27411 PyObject
*resultobj
;
27412 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27413 wxTreeItemId
*arg2
= 0 ;
27414 wxTreeItemId result
;
27415 PyObject
* obj0
= 0 ;
27416 PyObject
* obj1
= 0 ;
27417 char *kwnames
[] = {
27418 (char *) "self",(char *) "item", NULL
27421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
27422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27424 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27425 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27427 if (arg2
== NULL
) {
27428 PyErr_SetString(PyExc_TypeError
,"null reference");
27432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27433 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
27435 wxPyEndAllowThreads(__tstate
);
27436 if (PyErr_Occurred()) SWIG_fail
;
27439 wxTreeItemId
* resultptr
;
27440 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27441 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27449 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27450 PyObject
*resultobj
;
27451 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27452 wxTreeItemId
*arg2
= 0 ;
27453 wxTreeItemId result
;
27454 PyObject
* obj0
= 0 ;
27455 PyObject
* obj1
= 0 ;
27456 char *kwnames
[] = {
27457 (char *) "self",(char *) "item", NULL
27460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
27461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27463 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27464 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27466 if (arg2
== NULL
) {
27467 PyErr_SetString(PyExc_TypeError
,"null reference");
27471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27472 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
27474 wxPyEndAllowThreads(__tstate
);
27475 if (PyErr_Occurred()) SWIG_fail
;
27478 wxTreeItemId
* resultptr
;
27479 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27480 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27488 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27489 PyObject
*resultobj
;
27490 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27491 wxString
*arg2
= 0 ;
27492 int arg3
= (int) -1 ;
27493 int arg4
= (int) -1 ;
27494 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
27495 wxTreeItemId result
;
27496 bool temp2
= false ;
27497 PyObject
* obj0
= 0 ;
27498 PyObject
* obj1
= 0 ;
27499 PyObject
* obj2
= 0 ;
27500 PyObject
* obj3
= 0 ;
27501 PyObject
* obj4
= 0 ;
27502 char *kwnames
[] = {
27503 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27510 arg2
= wxString_in_helper(obj1
);
27511 if (arg2
== NULL
) SWIG_fail
;
27515 arg3
= (int)SWIG_As_int(obj2
);
27516 if (PyErr_Occurred()) SWIG_fail
;
27519 arg4
= (int)SWIG_As_int(obj3
);
27520 if (PyErr_Occurred()) SWIG_fail
;
27523 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
,
27524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27528 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
27530 wxPyEndAllowThreads(__tstate
);
27531 if (PyErr_Occurred()) SWIG_fail
;
27534 wxTreeItemId
* resultptr
;
27535 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27536 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27552 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27553 PyObject
*resultobj
;
27554 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27555 wxTreeItemId
*arg2
= 0 ;
27556 wxString
*arg3
= 0 ;
27557 int arg4
= (int) -1 ;
27558 int arg5
= (int) -1 ;
27559 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
27560 wxTreeItemId result
;
27561 bool temp3
= false ;
27562 PyObject
* obj0
= 0 ;
27563 PyObject
* obj1
= 0 ;
27564 PyObject
* obj2
= 0 ;
27565 PyObject
* obj3
= 0 ;
27566 PyObject
* obj4
= 0 ;
27567 PyObject
* obj5
= 0 ;
27568 char *kwnames
[] = {
27569 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27575 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27576 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27578 if (arg2
== NULL
) {
27579 PyErr_SetString(PyExc_TypeError
,"null reference");
27583 arg3
= wxString_in_helper(obj2
);
27584 if (arg3
== NULL
) SWIG_fail
;
27588 arg4
= (int)SWIG_As_int(obj3
);
27589 if (PyErr_Occurred()) SWIG_fail
;
27592 arg5
= (int)SWIG_As_int(obj4
);
27593 if (PyErr_Occurred()) SWIG_fail
;
27596 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
27597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27601 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
27603 wxPyEndAllowThreads(__tstate
);
27604 if (PyErr_Occurred()) SWIG_fail
;
27607 wxTreeItemId
* resultptr
;
27608 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27609 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27625 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27626 PyObject
*resultobj
;
27627 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27628 wxTreeItemId
*arg2
= 0 ;
27629 wxTreeItemId
*arg3
= 0 ;
27630 wxString
*arg4
= 0 ;
27631 int arg5
= (int) -1 ;
27632 int arg6
= (int) -1 ;
27633 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
27634 wxTreeItemId result
;
27635 bool temp4
= false ;
27636 PyObject
* obj0
= 0 ;
27637 PyObject
* obj1
= 0 ;
27638 PyObject
* obj2
= 0 ;
27639 PyObject
* obj3
= 0 ;
27640 PyObject
* obj4
= 0 ;
27641 PyObject
* obj5
= 0 ;
27642 PyObject
* obj6
= 0 ;
27643 char *kwnames
[] = {
27644 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27650 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27651 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27653 if (arg2
== NULL
) {
27654 PyErr_SetString(PyExc_TypeError
,"null reference");
27657 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
,
27658 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27660 if (arg3
== NULL
) {
27661 PyErr_SetString(PyExc_TypeError
,"null reference");
27665 arg4
= wxString_in_helper(obj3
);
27666 if (arg4
== NULL
) SWIG_fail
;
27670 arg5
= (int)SWIG_As_int(obj4
);
27671 if (PyErr_Occurred()) SWIG_fail
;
27674 arg6
= (int)SWIG_As_int(obj5
);
27675 if (PyErr_Occurred()) SWIG_fail
;
27678 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
27679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27683 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
27685 wxPyEndAllowThreads(__tstate
);
27686 if (PyErr_Occurred()) SWIG_fail
;
27689 wxTreeItemId
* resultptr
;
27690 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27691 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27707 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27708 PyObject
*resultobj
;
27709 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27710 wxTreeItemId
*arg2
= 0 ;
27712 wxString
*arg4
= 0 ;
27713 int arg5
= (int) -1 ;
27714 int arg6
= (int) -1 ;
27715 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
27716 wxTreeItemId result
;
27717 bool temp4
= false ;
27718 PyObject
* obj0
= 0 ;
27719 PyObject
* obj1
= 0 ;
27720 PyObject
* obj2
= 0 ;
27721 PyObject
* obj3
= 0 ;
27722 PyObject
* obj4
= 0 ;
27723 PyObject
* obj5
= 0 ;
27724 PyObject
* obj6
= 0 ;
27725 char *kwnames
[] = {
27726 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27732 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27733 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27735 if (arg2
== NULL
) {
27736 PyErr_SetString(PyExc_TypeError
,"null reference");
27739 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
27740 if (PyErr_Occurred()) SWIG_fail
;
27742 arg4
= wxString_in_helper(obj3
);
27743 if (arg4
== NULL
) SWIG_fail
;
27747 arg5
= (int)SWIG_As_int(obj4
);
27748 if (PyErr_Occurred()) SWIG_fail
;
27751 arg6
= (int)SWIG_As_int(obj5
);
27752 if (PyErr_Occurred()) SWIG_fail
;
27755 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
27756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27760 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
27762 wxPyEndAllowThreads(__tstate
);
27763 if (PyErr_Occurred()) SWIG_fail
;
27766 wxTreeItemId
* resultptr
;
27767 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27768 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27784 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27785 PyObject
*resultobj
;
27786 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27787 wxTreeItemId
*arg2
= 0 ;
27788 wxString
*arg3
= 0 ;
27789 int arg4
= (int) -1 ;
27790 int arg5
= (int) -1 ;
27791 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
27792 wxTreeItemId result
;
27793 bool temp3
= false ;
27794 PyObject
* obj0
= 0 ;
27795 PyObject
* obj1
= 0 ;
27796 PyObject
* obj2
= 0 ;
27797 PyObject
* obj3
= 0 ;
27798 PyObject
* obj4
= 0 ;
27799 PyObject
* obj5
= 0 ;
27800 char *kwnames
[] = {
27801 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27807 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27808 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27810 if (arg2
== NULL
) {
27811 PyErr_SetString(PyExc_TypeError
,"null reference");
27815 arg3
= wxString_in_helper(obj2
);
27816 if (arg3
== NULL
) SWIG_fail
;
27820 arg4
= (int)SWIG_As_int(obj3
);
27821 if (PyErr_Occurred()) SWIG_fail
;
27824 arg5
= (int)SWIG_As_int(obj4
);
27825 if (PyErr_Occurred()) SWIG_fail
;
27828 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
27829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27833 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
27835 wxPyEndAllowThreads(__tstate
);
27836 if (PyErr_Occurred()) SWIG_fail
;
27839 wxTreeItemId
* resultptr
;
27840 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27841 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27857 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27858 PyObject
*resultobj
;
27859 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27860 wxTreeItemId
*arg2
= 0 ;
27861 PyObject
* obj0
= 0 ;
27862 PyObject
* obj1
= 0 ;
27863 char *kwnames
[] = {
27864 (char *) "self",(char *) "item", NULL
27867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
27868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27870 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27871 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27873 if (arg2
== NULL
) {
27874 PyErr_SetString(PyExc_TypeError
,"null reference");
27878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27879 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
27881 wxPyEndAllowThreads(__tstate
);
27882 if (PyErr_Occurred()) SWIG_fail
;
27884 Py_INCREF(Py_None
); resultobj
= Py_None
;
27891 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27892 PyObject
*resultobj
;
27893 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27894 wxTreeItemId
*arg2
= 0 ;
27895 PyObject
* obj0
= 0 ;
27896 PyObject
* obj1
= 0 ;
27897 char *kwnames
[] = {
27898 (char *) "self",(char *) "item", NULL
27901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
27902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27904 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27905 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27907 if (arg2
== NULL
) {
27908 PyErr_SetString(PyExc_TypeError
,"null reference");
27912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27913 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
27915 wxPyEndAllowThreads(__tstate
);
27916 if (PyErr_Occurred()) SWIG_fail
;
27918 Py_INCREF(Py_None
); resultobj
= Py_None
;
27925 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27926 PyObject
*resultobj
;
27927 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27928 PyObject
* obj0
= 0 ;
27929 char *kwnames
[] = {
27930 (char *) "self", NULL
27933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
27934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27938 (arg1
)->DeleteAllItems();
27940 wxPyEndAllowThreads(__tstate
);
27941 if (PyErr_Occurred()) SWIG_fail
;
27943 Py_INCREF(Py_None
); resultobj
= Py_None
;
27950 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27951 PyObject
*resultobj
;
27952 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27953 wxTreeItemId
*arg2
= 0 ;
27954 PyObject
* obj0
= 0 ;
27955 PyObject
* obj1
= 0 ;
27956 char *kwnames
[] = {
27957 (char *) "self",(char *) "item", NULL
27960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
27961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27963 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27964 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27966 if (arg2
== NULL
) {
27967 PyErr_SetString(PyExc_TypeError
,"null reference");
27971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27972 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
27974 wxPyEndAllowThreads(__tstate
);
27975 if (PyErr_Occurred()) SWIG_fail
;
27977 Py_INCREF(Py_None
); resultobj
= Py_None
;
27984 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27985 PyObject
*resultobj
;
27986 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27987 wxTreeItemId
*arg2
= 0 ;
27988 PyObject
* obj0
= 0 ;
27989 PyObject
* obj1
= 0 ;
27990 char *kwnames
[] = {
27991 (char *) "self",(char *) "item", NULL
27994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
27995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27997 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27998 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28000 if (arg2
== NULL
) {
28001 PyErr_SetString(PyExc_TypeError
,"null reference");
28005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28006 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
28008 wxPyEndAllowThreads(__tstate
);
28009 if (PyErr_Occurred()) SWIG_fail
;
28011 Py_INCREF(Py_None
); resultobj
= Py_None
;
28018 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28019 PyObject
*resultobj
;
28020 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28021 wxTreeItemId
*arg2
= 0 ;
28022 PyObject
* obj0
= 0 ;
28023 PyObject
* obj1
= 0 ;
28024 char *kwnames
[] = {
28025 (char *) "self",(char *) "item", NULL
28028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
28029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28031 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28032 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28034 if (arg2
== NULL
) {
28035 PyErr_SetString(PyExc_TypeError
,"null reference");
28039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28040 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
28042 wxPyEndAllowThreads(__tstate
);
28043 if (PyErr_Occurred()) SWIG_fail
;
28045 Py_INCREF(Py_None
); resultobj
= Py_None
;
28052 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28053 PyObject
*resultobj
;
28054 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28055 wxTreeItemId
*arg2
= 0 ;
28056 PyObject
* obj0
= 0 ;
28057 PyObject
* obj1
= 0 ;
28058 char *kwnames
[] = {
28059 (char *) "self",(char *) "item", NULL
28062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
28063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28065 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28066 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28068 if (arg2
== NULL
) {
28069 PyErr_SetString(PyExc_TypeError
,"null reference");
28073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28074 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
28076 wxPyEndAllowThreads(__tstate
);
28077 if (PyErr_Occurred()) SWIG_fail
;
28079 Py_INCREF(Py_None
); resultobj
= Py_None
;
28086 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28087 PyObject
*resultobj
;
28088 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28089 PyObject
* obj0
= 0 ;
28090 char *kwnames
[] = {
28091 (char *) "self", NULL
28094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
28095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28099 (arg1
)->Unselect();
28101 wxPyEndAllowThreads(__tstate
);
28102 if (PyErr_Occurred()) SWIG_fail
;
28104 Py_INCREF(Py_None
); resultobj
= Py_None
;
28111 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28112 PyObject
*resultobj
;
28113 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28114 wxTreeItemId
*arg2
= 0 ;
28115 PyObject
* obj0
= 0 ;
28116 PyObject
* obj1
= 0 ;
28117 char *kwnames
[] = {
28118 (char *) "self",(char *) "item", NULL
28121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28124 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28125 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28127 if (arg2
== NULL
) {
28128 PyErr_SetString(PyExc_TypeError
,"null reference");
28132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28133 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
28135 wxPyEndAllowThreads(__tstate
);
28136 if (PyErr_Occurred()) SWIG_fail
;
28138 Py_INCREF(Py_None
); resultobj
= Py_None
;
28145 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28146 PyObject
*resultobj
;
28147 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28148 PyObject
* obj0
= 0 ;
28149 char *kwnames
[] = {
28150 (char *) "self", NULL
28153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
28154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28158 (arg1
)->UnselectAll();
28160 wxPyEndAllowThreads(__tstate
);
28161 if (PyErr_Occurred()) SWIG_fail
;
28163 Py_INCREF(Py_None
); resultobj
= Py_None
;
28170 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28171 PyObject
*resultobj
;
28172 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28173 wxTreeItemId
*arg2
= 0 ;
28174 bool arg3
= (bool) true ;
28175 PyObject
* obj0
= 0 ;
28176 PyObject
* obj1
= 0 ;
28177 PyObject
* obj2
= 0 ;
28178 char *kwnames
[] = {
28179 (char *) "self",(char *) "item",(char *) "select", NULL
28182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28185 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28186 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28188 if (arg2
== NULL
) {
28189 PyErr_SetString(PyExc_TypeError
,"null reference");
28193 arg3
= (bool)SWIG_As_bool(obj2
);
28194 if (PyErr_Occurred()) SWIG_fail
;
28197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28198 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
28200 wxPyEndAllowThreads(__tstate
);
28201 if (PyErr_Occurred()) SWIG_fail
;
28203 Py_INCREF(Py_None
); resultobj
= Py_None
;
28210 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28211 PyObject
*resultobj
;
28212 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28213 wxTreeItemId
*arg2
= 0 ;
28214 PyObject
* obj0
= 0 ;
28215 PyObject
* obj1
= 0 ;
28216 char *kwnames
[] = {
28217 (char *) "self",(char *) "item", NULL
28220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
28221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28223 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28224 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28226 if (arg2
== NULL
) {
28227 PyErr_SetString(PyExc_TypeError
,"null reference");
28231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28232 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
28234 wxPyEndAllowThreads(__tstate
);
28235 if (PyErr_Occurred()) SWIG_fail
;
28237 Py_INCREF(Py_None
); resultobj
= Py_None
;
28244 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28245 PyObject
*resultobj
;
28246 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28247 wxTreeItemId
*arg2
= 0 ;
28248 PyObject
* obj0
= 0 ;
28249 PyObject
* obj1
= 0 ;
28250 char *kwnames
[] = {
28251 (char *) "self",(char *) "item", NULL
28254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
28255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28257 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28258 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28260 if (arg2
== NULL
) {
28261 PyErr_SetString(PyExc_TypeError
,"null reference");
28265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28266 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
28268 wxPyEndAllowThreads(__tstate
);
28269 if (PyErr_Occurred()) SWIG_fail
;
28271 Py_INCREF(Py_None
); resultobj
= Py_None
;
28278 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28279 PyObject
*resultobj
;
28280 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28281 wxTreeItemId
*arg2
= 0 ;
28282 PyObject
* obj0
= 0 ;
28283 PyObject
* obj1
= 0 ;
28284 char *kwnames
[] = {
28285 (char *) "self",(char *) "item", NULL
28288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
28289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28291 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28292 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28294 if (arg2
== NULL
) {
28295 PyErr_SetString(PyExc_TypeError
,"null reference");
28299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28300 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
28302 wxPyEndAllowThreads(__tstate
);
28303 if (PyErr_Occurred()) SWIG_fail
;
28305 Py_INCREF(Py_None
); resultobj
= Py_None
;
28312 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28313 PyObject
*resultobj
;
28314 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28315 wxTreeItemId
*arg2
= 0 ;
28316 PyObject
* obj0
= 0 ;
28317 PyObject
* obj1
= 0 ;
28318 char *kwnames
[] = {
28319 (char *) "self",(char *) "item", NULL
28322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
28323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28325 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28326 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28328 if (arg2
== NULL
) {
28329 PyErr_SetString(PyExc_TypeError
,"null reference");
28333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28334 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
28336 wxPyEndAllowThreads(__tstate
);
28337 if (PyErr_Occurred()) SWIG_fail
;
28339 Py_INCREF(Py_None
); resultobj
= Py_None
;
28346 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28347 PyObject
*resultobj
;
28348 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28349 wxTextCtrl
*result
;
28350 PyObject
* obj0
= 0 ;
28351 char *kwnames
[] = {
28352 (char *) "self", NULL
28355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
28356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28360 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
28362 wxPyEndAllowThreads(__tstate
);
28363 if (PyErr_Occurred()) SWIG_fail
;
28366 resultobj
= wxPyMake_wxObject(result
, 0);
28374 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28375 PyObject
*resultobj
;
28376 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28377 wxTreeItemId
*arg2
= 0 ;
28378 PyObject
* obj0
= 0 ;
28379 PyObject
* obj1
= 0 ;
28380 char *kwnames
[] = {
28381 (char *) "self",(char *) "item", NULL
28384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
28385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28387 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28388 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28390 if (arg2
== NULL
) {
28391 PyErr_SetString(PyExc_TypeError
,"null reference");
28395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28396 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
28398 wxPyEndAllowThreads(__tstate
);
28399 if (PyErr_Occurred()) SWIG_fail
;
28401 Py_INCREF(Py_None
); resultobj
= Py_None
;
28408 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28409 PyObject
*resultobj
;
28410 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28411 wxPoint
*arg2
= 0 ;
28413 wxTreeItemId result
;
28417 PyObject
* obj0
= 0 ;
28418 PyObject
* obj1
= 0 ;
28419 char *kwnames
[] = {
28420 (char *) "self",(char *) "point", NULL
28423 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
28424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
28425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28429 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28433 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
28435 wxPyEndAllowThreads(__tstate
);
28436 if (PyErr_Occurred()) SWIG_fail
;
28439 wxTreeItemId
* resultptr
;
28440 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28441 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28443 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
28444 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
28451 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28452 PyObject
*resultobj
;
28453 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28454 wxTreeItemId
*arg2
= 0 ;
28455 bool arg3
= (bool) false ;
28457 PyObject
* obj0
= 0 ;
28458 PyObject
* obj1
= 0 ;
28459 PyObject
* obj2
= 0 ;
28460 char *kwnames
[] = {
28461 (char *) "self",(char *) "item",(char *) "textOnly", NULL
28464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28467 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28468 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28470 if (arg2
== NULL
) {
28471 PyErr_SetString(PyExc_TypeError
,"null reference");
28475 arg3
= (bool)SWIG_As_bool(obj2
);
28476 if (PyErr_Occurred()) SWIG_fail
;
28479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28480 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
28482 wxPyEndAllowThreads(__tstate
);
28483 if (PyErr_Occurred()) SWIG_fail
;
28485 resultobj
= result
;
28492 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28493 PyObject
*resultobj
;
28494 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
28495 wxVisualAttributes result
;
28496 PyObject
* obj0
= 0 ;
28497 char *kwnames
[] = {
28498 (char *) "variant", NULL
28501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
28503 arg1
= (int)SWIG_As_int(obj0
);
28504 if (PyErr_Occurred()) SWIG_fail
;
28507 if (!wxPyCheckForApp()) SWIG_fail
;
28508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28509 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
28511 wxPyEndAllowThreads(__tstate
);
28512 if (PyErr_Occurred()) SWIG_fail
;
28515 wxVisualAttributes
* resultptr
;
28516 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
28517 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
28525 static PyObject
* TreeCtrl_swigregister(PyObject
*, PyObject
*args
) {
28527 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28528 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
28530 return Py_BuildValue((char *)"");
28532 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
28533 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
28538 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
28543 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
28545 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
28552 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28553 PyObject
*resultobj
;
28554 wxWindow
*arg1
= (wxWindow
*) 0 ;
28555 int arg2
= (int) (int)-1 ;
28556 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
28557 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
28558 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28559 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28560 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28561 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28562 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
28563 wxString
const &arg7_defvalue
= wxPyEmptyString
;
28564 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28565 int arg8
= (int) 0 ;
28566 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
28567 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
28568 wxGenericDirCtrl
*result
;
28569 bool temp3
= false ;
28572 bool temp7
= false ;
28573 bool temp9
= false ;
28574 PyObject
* obj0
= 0 ;
28575 PyObject
* obj1
= 0 ;
28576 PyObject
* obj2
= 0 ;
28577 PyObject
* obj3
= 0 ;
28578 PyObject
* obj4
= 0 ;
28579 PyObject
* obj5
= 0 ;
28580 PyObject
* obj6
= 0 ;
28581 PyObject
* obj7
= 0 ;
28582 PyObject
* obj8
= 0 ;
28583 char *kwnames
[] = {
28584 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
28588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28591 arg2
= (int)SWIG_As_int(obj1
);
28592 if (PyErr_Occurred()) SWIG_fail
;
28596 arg3
= wxString_in_helper(obj2
);
28597 if (arg3
== NULL
) SWIG_fail
;
28604 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28610 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28614 arg6
= (long)SWIG_As_long(obj5
);
28615 if (PyErr_Occurred()) SWIG_fail
;
28619 arg7
= wxString_in_helper(obj6
);
28620 if (arg7
== NULL
) SWIG_fail
;
28625 arg8
= (int)SWIG_As_int(obj7
);
28626 if (PyErr_Occurred()) SWIG_fail
;
28630 arg9
= wxString_in_helper(obj8
);
28631 if (arg9
== NULL
) SWIG_fail
;
28636 if (!wxPyCheckForApp()) SWIG_fail
;
28637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28638 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
28640 wxPyEndAllowThreads(__tstate
);
28641 if (PyErr_Occurred()) SWIG_fail
;
28643 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
28674 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28675 PyObject
*resultobj
;
28676 wxGenericDirCtrl
*result
;
28677 char *kwnames
[] = {
28681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
28683 if (!wxPyCheckForApp()) SWIG_fail
;
28684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28685 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
28687 wxPyEndAllowThreads(__tstate
);
28688 if (PyErr_Occurred()) SWIG_fail
;
28690 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
28697 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28698 PyObject
*resultobj
;
28699 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28700 wxWindow
*arg2
= (wxWindow
*) 0 ;
28701 int arg3
= (int) (int)-1 ;
28702 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
28703 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28704 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
28705 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
28706 wxSize
const &arg6_defvalue
= wxDefaultSize
;
28707 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
28708 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
28709 wxString
const &arg8_defvalue
= wxPyEmptyString
;
28710 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28711 int arg9
= (int) 0 ;
28712 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
28713 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
28715 bool temp4
= false ;
28718 bool temp8
= false ;
28719 bool temp10
= false ;
28720 PyObject
* obj0
= 0 ;
28721 PyObject
* obj1
= 0 ;
28722 PyObject
* obj2
= 0 ;
28723 PyObject
* obj3
= 0 ;
28724 PyObject
* obj4
= 0 ;
28725 PyObject
* obj5
= 0 ;
28726 PyObject
* obj6
= 0 ;
28727 PyObject
* obj7
= 0 ;
28728 PyObject
* obj8
= 0 ;
28729 PyObject
* obj9
= 0 ;
28730 char *kwnames
[] = {
28731 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
28735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28737 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28740 arg3
= (int)SWIG_As_int(obj2
);
28741 if (PyErr_Occurred()) SWIG_fail
;
28745 arg4
= wxString_in_helper(obj3
);
28746 if (arg4
== NULL
) SWIG_fail
;
28753 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
28759 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
28763 arg7
= (long)SWIG_As_long(obj6
);
28764 if (PyErr_Occurred()) SWIG_fail
;
28768 arg8
= wxString_in_helper(obj7
);
28769 if (arg8
== NULL
) SWIG_fail
;
28774 arg9
= (int)SWIG_As_int(obj8
);
28775 if (PyErr_Occurred()) SWIG_fail
;
28779 arg10
= wxString_in_helper(obj9
);
28780 if (arg10
== NULL
) SWIG_fail
;
28785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28786 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
28788 wxPyEndAllowThreads(__tstate
);
28789 if (PyErr_Occurred()) SWIG_fail
;
28792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28824 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28825 PyObject
*resultobj
;
28826 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28827 wxString
*arg2
= 0 ;
28829 bool temp2
= false ;
28830 PyObject
* obj0
= 0 ;
28831 PyObject
* obj1
= 0 ;
28832 char *kwnames
[] = {
28833 (char *) "self",(char *) "path", NULL
28836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28840 arg2
= wxString_in_helper(obj1
);
28841 if (arg2
== NULL
) SWIG_fail
;
28845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28846 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
28848 wxPyEndAllowThreads(__tstate
);
28849 if (PyErr_Occurred()) SWIG_fail
;
28852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28868 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28869 PyObject
*resultobj
;
28870 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28872 PyObject
* obj0
= 0 ;
28873 char *kwnames
[] = {
28874 (char *) "self", NULL
28877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
28878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28882 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
28884 wxPyEndAllowThreads(__tstate
);
28885 if (PyErr_Occurred()) SWIG_fail
;
28889 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28891 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28900 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28901 PyObject
*resultobj
;
28902 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28903 wxString
*arg2
= 0 ;
28904 bool temp2
= false ;
28905 PyObject
* obj0
= 0 ;
28906 PyObject
* obj1
= 0 ;
28907 char *kwnames
[] = {
28908 (char *) "self",(char *) "path", NULL
28911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28915 arg2
= wxString_in_helper(obj1
);
28916 if (arg2
== NULL
) SWIG_fail
;
28920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28921 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
28923 wxPyEndAllowThreads(__tstate
);
28924 if (PyErr_Occurred()) SWIG_fail
;
28926 Py_INCREF(Py_None
); resultobj
= Py_None
;
28941 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28942 PyObject
*resultobj
;
28943 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28945 PyObject
* obj0
= 0 ;
28946 char *kwnames
[] = {
28947 (char *) "self", NULL
28950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
28951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28955 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
28957 wxPyEndAllowThreads(__tstate
);
28958 if (PyErr_Occurred()) SWIG_fail
;
28962 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28964 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28973 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28974 PyObject
*resultobj
;
28975 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28977 PyObject
* obj0
= 0 ;
28978 char *kwnames
[] = {
28979 (char *) "self", NULL
28982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
28983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28987 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
28989 wxPyEndAllowThreads(__tstate
);
28990 if (PyErr_Occurred()) SWIG_fail
;
28994 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28996 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29005 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29006 PyObject
*resultobj
;
29007 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29008 wxString
*arg2
= 0 ;
29009 bool temp2
= false ;
29010 PyObject
* obj0
= 0 ;
29011 PyObject
* obj1
= 0 ;
29012 char *kwnames
[] = {
29013 (char *) "self",(char *) "path", NULL
29016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
29017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29020 arg2
= wxString_in_helper(obj1
);
29021 if (arg2
== NULL
) SWIG_fail
;
29025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29026 (arg1
)->SetPath((wxString
const &)*arg2
);
29028 wxPyEndAllowThreads(__tstate
);
29029 if (PyErr_Occurred()) SWIG_fail
;
29031 Py_INCREF(Py_None
); resultobj
= Py_None
;
29046 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29047 PyObject
*resultobj
;
29048 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29050 PyObject
* obj0
= 0 ;
29051 PyObject
* obj1
= 0 ;
29052 char *kwnames
[] = {
29053 (char *) "self",(char *) "show", NULL
29056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
29057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29059 arg2
= (bool)SWIG_As_bool(obj1
);
29060 if (PyErr_Occurred()) SWIG_fail
;
29062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29063 (arg1
)->ShowHidden(arg2
);
29065 wxPyEndAllowThreads(__tstate
);
29066 if (PyErr_Occurred()) SWIG_fail
;
29068 Py_INCREF(Py_None
); resultobj
= Py_None
;
29075 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29076 PyObject
*resultobj
;
29077 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29079 PyObject
* obj0
= 0 ;
29080 char *kwnames
[] = {
29081 (char *) "self", NULL
29084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
29085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29089 result
= (bool)(arg1
)->GetShowHidden();
29091 wxPyEndAllowThreads(__tstate
);
29092 if (PyErr_Occurred()) SWIG_fail
;
29095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29103 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29104 PyObject
*resultobj
;
29105 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29107 PyObject
* obj0
= 0 ;
29108 char *kwnames
[] = {
29109 (char *) "self", NULL
29112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
29113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29117 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
29119 wxPyEndAllowThreads(__tstate
);
29120 if (PyErr_Occurred()) SWIG_fail
;
29124 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29126 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29135 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29136 PyObject
*resultobj
;
29137 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29138 wxString
*arg2
= 0 ;
29139 bool temp2
= false ;
29140 PyObject
* obj0
= 0 ;
29141 PyObject
* obj1
= 0 ;
29142 char *kwnames
[] = {
29143 (char *) "self",(char *) "filter", NULL
29146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
29147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29150 arg2
= wxString_in_helper(obj1
);
29151 if (arg2
== NULL
) SWIG_fail
;
29155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29156 (arg1
)->SetFilter((wxString
const &)*arg2
);
29158 wxPyEndAllowThreads(__tstate
);
29159 if (PyErr_Occurred()) SWIG_fail
;
29161 Py_INCREF(Py_None
); resultobj
= Py_None
;
29176 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29177 PyObject
*resultobj
;
29178 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29180 PyObject
* obj0
= 0 ;
29181 char *kwnames
[] = {
29182 (char *) "self", NULL
29185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
29186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29190 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
29192 wxPyEndAllowThreads(__tstate
);
29193 if (PyErr_Occurred()) SWIG_fail
;
29195 resultobj
= SWIG_From_int((int)result
);
29202 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29203 PyObject
*resultobj
;
29204 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29206 PyObject
* obj0
= 0 ;
29207 PyObject
* obj1
= 0 ;
29208 char *kwnames
[] = {
29209 (char *) "self",(char *) "n", NULL
29212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
29213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29215 arg2
= (int)SWIG_As_int(obj1
);
29216 if (PyErr_Occurred()) SWIG_fail
;
29218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29219 (arg1
)->SetFilterIndex(arg2
);
29221 wxPyEndAllowThreads(__tstate
);
29222 if (PyErr_Occurred()) SWIG_fail
;
29224 Py_INCREF(Py_None
); resultobj
= Py_None
;
29231 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29232 PyObject
*resultobj
;
29233 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29234 wxTreeItemId result
;
29235 PyObject
* obj0
= 0 ;
29236 char *kwnames
[] = {
29237 (char *) "self", NULL
29240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
29241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29245 result
= (arg1
)->GetRootId();
29247 wxPyEndAllowThreads(__tstate
);
29248 if (PyErr_Occurred()) SWIG_fail
;
29251 wxTreeItemId
* resultptr
;
29252 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
29253 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29261 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29262 PyObject
*resultobj
;
29263 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29264 wxPyTreeCtrl
*result
;
29265 PyObject
* obj0
= 0 ;
29266 char *kwnames
[] = {
29267 (char *) "self", NULL
29270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
29271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29275 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
29277 wxPyEndAllowThreads(__tstate
);
29278 if (PyErr_Occurred()) SWIG_fail
;
29281 resultobj
= wxPyMake_wxObject(result
, 0);
29289 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29290 PyObject
*resultobj
;
29291 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29292 wxDirFilterListCtrl
*result
;
29293 PyObject
* obj0
= 0 ;
29294 char *kwnames
[] = {
29295 (char *) "self", NULL
29298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
29299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29303 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
29305 wxPyEndAllowThreads(__tstate
);
29306 if (PyErr_Occurred()) SWIG_fail
;
29308 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
29315 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29316 PyObject
*resultobj
;
29317 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29318 wxTreeItemId arg2
;
29319 wxString
*arg3
= 0 ;
29321 wxTreeItemId result
;
29322 wxTreeItemId
*argp2
;
29323 bool temp3
= false ;
29326 PyObject
* obj0
= 0 ;
29327 PyObject
* obj1
= 0 ;
29328 PyObject
* obj2
= 0 ;
29329 char *kwnames
[] = {
29330 (char *) "self",(char *) "parentId",(char *) "path", NULL
29333 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
29334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29337 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
,
29338 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
29341 arg3
= wxString_in_helper(obj2
);
29342 if (arg3
== NULL
) SWIG_fail
;
29346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29347 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
29349 wxPyEndAllowThreads(__tstate
);
29350 if (PyErr_Occurred()) SWIG_fail
;
29353 wxTreeItemId
* resultptr
;
29354 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
29355 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29357 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
29358 SWIG_From_bool((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, 0)));
29373 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29374 PyObject
*resultobj
;
29375 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29376 PyObject
* obj0
= 0 ;
29377 char *kwnames
[] = {
29378 (char *) "self", NULL
29381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
29382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29386 (arg1
)->DoResize();
29388 wxPyEndAllowThreads(__tstate
);
29389 if (PyErr_Occurred()) SWIG_fail
;
29391 Py_INCREF(Py_None
); resultobj
= Py_None
;
29398 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29399 PyObject
*resultobj
;
29400 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29401 PyObject
* obj0
= 0 ;
29402 char *kwnames
[] = {
29403 (char *) "self", NULL
29406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
29407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29411 (arg1
)->ReCreateTree();
29413 wxPyEndAllowThreads(__tstate
);
29414 if (PyErr_Occurred()) SWIG_fail
;
29416 Py_INCREF(Py_None
); resultobj
= Py_None
;
29423 static PyObject
* GenericDirCtrl_swigregister(PyObject
*, PyObject
*args
) {
29425 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29426 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
29428 return Py_BuildValue((char *)"");
29430 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29431 PyObject
*resultobj
;
29432 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29433 int arg2
= (int) (int)-1 ;
29434 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29435 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29436 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29437 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29438 long arg5
= (long) 0 ;
29439 wxDirFilterListCtrl
*result
;
29442 PyObject
* obj0
= 0 ;
29443 PyObject
* obj1
= 0 ;
29444 PyObject
* obj2
= 0 ;
29445 PyObject
* obj3
= 0 ;
29446 PyObject
* obj4
= 0 ;
29447 char *kwnames
[] = {
29448 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29455 arg2
= (int)SWIG_As_int(obj1
);
29456 if (PyErr_Occurred()) SWIG_fail
;
29461 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29467 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29471 arg5
= (long)SWIG_As_long(obj4
);
29472 if (PyErr_Occurred()) SWIG_fail
;
29475 if (!wxPyCheckForApp()) SWIG_fail
;
29476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29477 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
29479 wxPyEndAllowThreads(__tstate
);
29480 if (PyErr_Occurred()) SWIG_fail
;
29482 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
29489 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29490 PyObject
*resultobj
;
29491 wxDirFilterListCtrl
*result
;
29492 char *kwnames
[] = {
29496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
29498 if (!wxPyCheckForApp()) SWIG_fail
;
29499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29500 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
29502 wxPyEndAllowThreads(__tstate
);
29503 if (PyErr_Occurred()) SWIG_fail
;
29505 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
29512 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29513 PyObject
*resultobj
;
29514 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
29515 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
29516 int arg3
= (int) (int)-1 ;
29517 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29518 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29519 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29520 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29521 long arg6
= (long) 0 ;
29525 PyObject
* obj0
= 0 ;
29526 PyObject
* obj1
= 0 ;
29527 PyObject
* obj2
= 0 ;
29528 PyObject
* obj3
= 0 ;
29529 PyObject
* obj4
= 0 ;
29530 PyObject
* obj5
= 0 ;
29531 char *kwnames
[] = {
29532 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
29537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29538 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
,
29539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29541 arg3
= (int)SWIG_As_int(obj2
);
29542 if (PyErr_Occurred()) SWIG_fail
;
29547 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29553 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29557 arg6
= (long)SWIG_As_long(obj5
);
29558 if (PyErr_Occurred()) SWIG_fail
;
29561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29562 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
29564 wxPyEndAllowThreads(__tstate
);
29565 if (PyErr_Occurred()) SWIG_fail
;
29568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29576 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29577 PyObject
*resultobj
;
29578 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
29579 wxString
*arg2
= 0 ;
29581 bool temp2
= false ;
29582 PyObject
* obj0
= 0 ;
29583 PyObject
* obj1
= 0 ;
29584 PyObject
* obj2
= 0 ;
29585 char *kwnames
[] = {
29586 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
29589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
29591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29593 arg2
= wxString_in_helper(obj1
);
29594 if (arg2
== NULL
) SWIG_fail
;
29597 arg3
= (int)SWIG_As_int(obj2
);
29598 if (PyErr_Occurred()) SWIG_fail
;
29600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29601 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
29603 wxPyEndAllowThreads(__tstate
);
29604 if (PyErr_Occurred()) SWIG_fail
;
29606 Py_INCREF(Py_None
); resultobj
= Py_None
;
29621 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*, PyObject
*args
) {
29623 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29624 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
29626 return Py_BuildValue((char *)"");
29628 static PyObject
*_wrap_new_PyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29629 PyObject
*resultobj
;
29630 wxWindow
*arg1
= (wxWindow
*) 0 ;
29631 int arg2
= (int) (int)-1 ;
29632 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29633 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29634 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29635 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29636 long arg5
= (long) 0 ;
29637 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
29638 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
29639 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
29640 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29641 wxPyControl
*result
;
29644 bool temp7
= false ;
29645 PyObject
* obj0
= 0 ;
29646 PyObject
* obj1
= 0 ;
29647 PyObject
* obj2
= 0 ;
29648 PyObject
* obj3
= 0 ;
29649 PyObject
* obj4
= 0 ;
29650 PyObject
* obj5
= 0 ;
29651 PyObject
* obj6
= 0 ;
29652 char *kwnames
[] = {
29653 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
29657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29660 arg2
= (int)SWIG_As_int(obj1
);
29661 if (PyErr_Occurred()) SWIG_fail
;
29666 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29672 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29676 arg5
= (long)SWIG_As_long(obj4
);
29677 if (PyErr_Occurred()) SWIG_fail
;
29680 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
29681 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29683 if (arg6
== NULL
) {
29684 PyErr_SetString(PyExc_TypeError
,"null reference");
29690 arg7
= wxString_in_helper(obj6
);
29691 if (arg7
== NULL
) SWIG_fail
;
29696 if (!wxPyCheckForApp()) SWIG_fail
;
29697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29698 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
29700 wxPyEndAllowThreads(__tstate
);
29701 if (PyErr_Occurred()) SWIG_fail
;
29703 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
29718 static PyObject
*_wrap_new_PrePyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29719 PyObject
*resultobj
;
29720 wxPyControl
*result
;
29721 char *kwnames
[] = {
29725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
29727 if (!wxPyCheckForApp()) SWIG_fail
;
29728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29729 result
= (wxPyControl
*)new wxPyControl();
29731 wxPyEndAllowThreads(__tstate
);
29732 if (PyErr_Occurred()) SWIG_fail
;
29734 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
29741 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29742 PyObject
*resultobj
;
29743 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29744 PyObject
*arg2
= (PyObject
*) 0 ;
29745 PyObject
*arg3
= (PyObject
*) 0 ;
29746 PyObject
* obj0
= 0 ;
29747 PyObject
* obj1
= 0 ;
29748 PyObject
* obj2
= 0 ;
29749 char *kwnames
[] = {
29750 (char *) "self",(char *) "self",(char *) "_class", NULL
29753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29760 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29762 wxPyEndAllowThreads(__tstate
);
29763 if (PyErr_Occurred()) SWIG_fail
;
29765 Py_INCREF(Py_None
); resultobj
= Py_None
;
29772 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29773 PyObject
*resultobj
;
29774 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29777 PyObject
* obj0
= 0 ;
29778 PyObject
* obj1
= 0 ;
29779 char *kwnames
[] = {
29780 (char *) "self",(char *) "size", NULL
29783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
29784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29788 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29792 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
29794 wxPyEndAllowThreads(__tstate
);
29795 if (PyErr_Occurred()) SWIG_fail
;
29797 Py_INCREF(Py_None
); resultobj
= Py_None
;
29804 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29805 PyObject
*resultobj
;
29806 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29811 PyObject
* obj0
= 0 ;
29812 PyObject
* obj1
= 0 ;
29813 PyObject
* obj2
= 0 ;
29814 PyObject
* obj3
= 0 ;
29815 PyObject
* obj4
= 0 ;
29816 char *kwnames
[] = {
29817 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29823 arg2
= (int)SWIG_As_int(obj1
);
29824 if (PyErr_Occurred()) SWIG_fail
;
29825 arg3
= (int)SWIG_As_int(obj2
);
29826 if (PyErr_Occurred()) SWIG_fail
;
29827 arg4
= (int)SWIG_As_int(obj3
);
29828 if (PyErr_Occurred()) SWIG_fail
;
29829 arg5
= (int)SWIG_As_int(obj4
);
29830 if (PyErr_Occurred()) SWIG_fail
;
29832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29833 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
29835 wxPyEndAllowThreads(__tstate
);
29836 if (PyErr_Occurred()) SWIG_fail
;
29838 Py_INCREF(Py_None
); resultobj
= Py_None
;
29845 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29846 PyObject
*resultobj
;
29847 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29852 int arg6
= (int) wxSIZE_AUTO
;
29853 PyObject
* obj0
= 0 ;
29854 PyObject
* obj1
= 0 ;
29855 PyObject
* obj2
= 0 ;
29856 PyObject
* obj3
= 0 ;
29857 PyObject
* obj4
= 0 ;
29858 PyObject
* obj5
= 0 ;
29859 char *kwnames
[] = {
29860 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
29863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29866 arg2
= (int)SWIG_As_int(obj1
);
29867 if (PyErr_Occurred()) SWIG_fail
;
29868 arg3
= (int)SWIG_As_int(obj2
);
29869 if (PyErr_Occurred()) SWIG_fail
;
29870 arg4
= (int)SWIG_As_int(obj3
);
29871 if (PyErr_Occurred()) SWIG_fail
;
29872 arg5
= (int)SWIG_As_int(obj4
);
29873 if (PyErr_Occurred()) SWIG_fail
;
29875 arg6
= (int)SWIG_As_int(obj5
);
29876 if (PyErr_Occurred()) SWIG_fail
;
29879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29880 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
29882 wxPyEndAllowThreads(__tstate
);
29883 if (PyErr_Occurred()) SWIG_fail
;
29885 Py_INCREF(Py_None
); resultobj
= Py_None
;
29892 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29893 PyObject
*resultobj
;
29894 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29897 PyObject
* obj0
= 0 ;
29898 PyObject
* obj1
= 0 ;
29899 PyObject
* obj2
= 0 ;
29900 char *kwnames
[] = {
29901 (char *) "self",(char *) "width",(char *) "height", NULL
29904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29907 arg2
= (int)SWIG_As_int(obj1
);
29908 if (PyErr_Occurred()) SWIG_fail
;
29909 arg3
= (int)SWIG_As_int(obj2
);
29910 if (PyErr_Occurred()) SWIG_fail
;
29912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29913 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
29915 wxPyEndAllowThreads(__tstate
);
29916 if (PyErr_Occurred()) SWIG_fail
;
29918 Py_INCREF(Py_None
); resultobj
= Py_None
;
29925 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29926 PyObject
*resultobj
;
29927 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29930 PyObject
* obj0
= 0 ;
29931 PyObject
* obj1
= 0 ;
29932 PyObject
* obj2
= 0 ;
29933 char *kwnames
[] = {
29934 (char *) "self",(char *) "x",(char *) "y", NULL
29937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29940 arg2
= (int)SWIG_As_int(obj1
);
29941 if (PyErr_Occurred()) SWIG_fail
;
29942 arg3
= (int)SWIG_As_int(obj2
);
29943 if (PyErr_Occurred()) SWIG_fail
;
29945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29946 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
29948 wxPyEndAllowThreads(__tstate
);
29949 if (PyErr_Occurred()) SWIG_fail
;
29951 Py_INCREF(Py_None
); resultobj
= Py_None
;
29958 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29959 PyObject
*resultobj
;
29960 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29961 int *arg2
= (int *) 0 ;
29962 int *arg3
= (int *) 0 ;
29967 PyObject
* obj0
= 0 ;
29968 char *kwnames
[] = {
29969 (char *) "self", NULL
29972 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
29973 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
29975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29979 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
29981 wxPyEndAllowThreads(__tstate
);
29982 if (PyErr_Occurred()) SWIG_fail
;
29984 Py_INCREF(Py_None
); resultobj
= Py_None
;
29985 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
29986 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
29987 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29988 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29995 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29996 PyObject
*resultobj
;
29997 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29998 int *arg2
= (int *) 0 ;
29999 int *arg3
= (int *) 0 ;
30004 PyObject
* obj0
= 0 ;
30005 char *kwnames
[] = {
30006 (char *) "self", NULL
30009 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
30010 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
30012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30016 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
30018 wxPyEndAllowThreads(__tstate
);
30019 if (PyErr_Occurred()) SWIG_fail
;
30021 Py_INCREF(Py_None
); resultobj
= Py_None
;
30022 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30023 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30024 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30025 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30032 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30033 PyObject
*resultobj
;
30034 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30035 int *arg2
= (int *) 0 ;
30036 int *arg3
= (int *) 0 ;
30041 PyObject
* obj0
= 0 ;
30042 char *kwnames
[] = {
30043 (char *) "self", NULL
30046 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
30047 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
30049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30053 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
30055 wxPyEndAllowThreads(__tstate
);
30056 if (PyErr_Occurred()) SWIG_fail
;
30058 Py_INCREF(Py_None
); resultobj
= Py_None
;
30059 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30060 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30061 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30062 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30069 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30070 PyObject
*resultobj
;
30071 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30073 PyObject
* obj0
= 0 ;
30074 char *kwnames
[] = {
30075 (char *) "self", NULL
30078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
30079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30083 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
30085 wxPyEndAllowThreads(__tstate
);
30086 if (PyErr_Occurred()) SWIG_fail
;
30089 wxSize
* resultptr
;
30090 resultptr
= new wxSize((wxSize
&) result
);
30091 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
30099 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30100 PyObject
*resultobj
;
30101 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30103 PyObject
* obj0
= 0 ;
30104 char *kwnames
[] = {
30105 (char *) "self", NULL
30108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
30109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30113 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
30115 wxPyEndAllowThreads(__tstate
);
30116 if (PyErr_Occurred()) SWIG_fail
;
30119 wxSize
* resultptr
;
30120 resultptr
= new wxSize((wxSize
&) result
);
30121 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
30129 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30130 PyObject
*resultobj
;
30131 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_InitDialog",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 (arg1
)->base_InitDialog();
30144 wxPyEndAllowThreads(__tstate
);
30145 if (PyErr_Occurred()) SWIG_fail
;
30147 Py_INCREF(Py_None
); resultobj
= Py_None
;
30154 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30155 PyObject
*resultobj
;
30156 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30158 PyObject
* obj0
= 0 ;
30159 char *kwnames
[] = {
30160 (char *) "self", NULL
30163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
30164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30168 result
= (bool)(arg1
)->base_TransferDataToWindow();
30170 wxPyEndAllowThreads(__tstate
);
30171 if (PyErr_Occurred()) SWIG_fail
;
30174 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30182 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30183 PyObject
*resultobj
;
30184 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30186 PyObject
* obj0
= 0 ;
30187 char *kwnames
[] = {
30188 (char *) "self", NULL
30191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
30192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30196 result
= (bool)(arg1
)->base_TransferDataFromWindow();
30198 wxPyEndAllowThreads(__tstate
);
30199 if (PyErr_Occurred()) SWIG_fail
;
30202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30210 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30211 PyObject
*resultobj
;
30212 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30214 PyObject
* obj0
= 0 ;
30215 char *kwnames
[] = {
30216 (char *) "self", NULL
30219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
30220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30224 result
= (bool)(arg1
)->base_Validate();
30226 wxPyEndAllowThreads(__tstate
);
30227 if (PyErr_Occurred()) SWIG_fail
;
30230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30238 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30239 PyObject
*resultobj
;
30240 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30242 PyObject
* obj0
= 0 ;
30243 char *kwnames
[] = {
30244 (char *) "self", NULL
30247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
30248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30252 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
30254 wxPyEndAllowThreads(__tstate
);
30255 if (PyErr_Occurred()) SWIG_fail
;
30258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30266 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30267 PyObject
*resultobj
;
30268 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30270 PyObject
* obj0
= 0 ;
30271 char *kwnames
[] = {
30272 (char *) "self", NULL
30275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
30276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30280 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
30282 wxPyEndAllowThreads(__tstate
);
30283 if (PyErr_Occurred()) SWIG_fail
;
30286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30294 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30295 PyObject
*resultobj
;
30296 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30298 PyObject
* obj0
= 0 ;
30299 char *kwnames
[] = {
30300 (char *) "self", NULL
30303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
30304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30308 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
30310 wxPyEndAllowThreads(__tstate
);
30311 if (PyErr_Occurred()) SWIG_fail
;
30314 wxSize
* resultptr
;
30315 resultptr
= new wxSize((wxSize
&) result
);
30316 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
30324 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30325 PyObject
*resultobj
;
30326 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30327 wxWindow
*arg2
= (wxWindow
*) 0 ;
30328 PyObject
* obj0
= 0 ;
30329 PyObject
* obj1
= 0 ;
30330 char *kwnames
[] = {
30331 (char *) "self",(char *) "child", NULL
30334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
30335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30337 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30341 (arg1
)->base_AddChild(arg2
);
30343 wxPyEndAllowThreads(__tstate
);
30344 if (PyErr_Occurred()) SWIG_fail
;
30346 Py_INCREF(Py_None
); resultobj
= Py_None
;
30353 static PyObject
*_wrap_PyControl_base_RemoveChild(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_RemoveChild",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_RemoveChild(arg2
);
30372 wxPyEndAllowThreads(__tstate
);
30373 if (PyErr_Occurred()) SWIG_fail
;
30375 Py_INCREF(Py_None
); resultobj
= Py_None
;
30382 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30383 PyObject
*resultobj
;
30384 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30386 PyObject
* obj0
= 0 ;
30387 char *kwnames
[] = {
30388 (char *) "self", NULL
30391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
30392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30396 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
30398 wxPyEndAllowThreads(__tstate
);
30399 if (PyErr_Occurred()) SWIG_fail
;
30402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30410 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30411 PyObject
*resultobj
;
30412 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30413 wxColour
*arg2
= 0 ;
30415 PyObject
* obj0
= 0 ;
30416 PyObject
* obj1
= 0 ;
30417 char *kwnames
[] = {
30418 (char *) "self",(char *) "c", NULL
30421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
30422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30426 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30430 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
30432 wxPyEndAllowThreads(__tstate
);
30433 if (PyErr_Occurred()) SWIG_fail
;
30435 Py_INCREF(Py_None
); resultobj
= Py_None
;
30442 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30443 PyObject
*resultobj
;
30444 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30445 wxVisualAttributes result
;
30446 PyObject
* obj0
= 0 ;
30447 char *kwnames
[] = {
30448 (char *) "self", NULL
30451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
30452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30456 result
= (arg1
)->base_GetDefaultAttributes();
30458 wxPyEndAllowThreads(__tstate
);
30459 if (PyErr_Occurred()) SWIG_fail
;
30462 wxVisualAttributes
* resultptr
;
30463 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
30464 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
30472 static PyObject
* PyControl_swigregister(PyObject
*, PyObject
*args
) {
30474 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30475 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
30477 return Py_BuildValue((char *)"");
30479 static PyObject
*_wrap_new_HelpEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30480 PyObject
*resultobj
;
30481 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
30482 int arg2
= (int) 0 ;
30483 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30484 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30485 wxHelpEvent
*result
;
30487 PyObject
* obj0
= 0 ;
30488 PyObject
* obj1
= 0 ;
30489 PyObject
* obj2
= 0 ;
30490 char *kwnames
[] = {
30491 (char *) "type",(char *) "winid",(char *) "pt", NULL
30494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30496 arg1
= (wxEventType
)SWIG_As_int(obj0
);
30497 if (PyErr_Occurred()) SWIG_fail
;
30500 arg2
= (int)SWIG_As_int(obj1
);
30501 if (PyErr_Occurred()) SWIG_fail
;
30506 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30511 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
30513 wxPyEndAllowThreads(__tstate
);
30514 if (PyErr_Occurred()) SWIG_fail
;
30516 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
30523 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30524 PyObject
*resultobj
;
30525 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30527 PyObject
* obj0
= 0 ;
30528 char *kwnames
[] = {
30529 (char *) "self", NULL
30532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
30533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30537 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
30539 wxPyEndAllowThreads(__tstate
);
30540 if (PyErr_Occurred()) SWIG_fail
;
30543 wxPoint
* resultptr
;
30544 resultptr
= new wxPoint((wxPoint
&) result
);
30545 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30553 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30554 PyObject
*resultobj
;
30555 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30556 wxPoint
*arg2
= 0 ;
30558 PyObject
* obj0
= 0 ;
30559 PyObject
* obj1
= 0 ;
30560 char *kwnames
[] = {
30561 (char *) "self",(char *) "pos", NULL
30564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
30565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30569 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30573 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
30575 wxPyEndAllowThreads(__tstate
);
30576 if (PyErr_Occurred()) SWIG_fail
;
30578 Py_INCREF(Py_None
); resultobj
= Py_None
;
30585 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30586 PyObject
*resultobj
;
30587 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30589 PyObject
* obj0
= 0 ;
30590 char *kwnames
[] = {
30591 (char *) "self", NULL
30594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
30595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30600 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
30601 result
= (wxString
*) &_result_ref
;
30604 wxPyEndAllowThreads(__tstate
);
30605 if (PyErr_Occurred()) SWIG_fail
;
30609 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30611 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30620 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30621 PyObject
*resultobj
;
30622 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30623 wxString
*arg2
= 0 ;
30624 bool temp2
= false ;
30625 PyObject
* obj0
= 0 ;
30626 PyObject
* obj1
= 0 ;
30627 char *kwnames
[] = {
30628 (char *) "self",(char *) "link", NULL
30631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
30632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30635 arg2
= wxString_in_helper(obj1
);
30636 if (arg2
== NULL
) SWIG_fail
;
30640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30641 (arg1
)->SetLink((wxString
const &)*arg2
);
30643 wxPyEndAllowThreads(__tstate
);
30644 if (PyErr_Occurred()) SWIG_fail
;
30646 Py_INCREF(Py_None
); resultobj
= Py_None
;
30661 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30662 PyObject
*resultobj
;
30663 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30665 PyObject
* obj0
= 0 ;
30666 char *kwnames
[] = {
30667 (char *) "self", NULL
30670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
30671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30676 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
30677 result
= (wxString
*) &_result_ref
;
30680 wxPyEndAllowThreads(__tstate
);
30681 if (PyErr_Occurred()) SWIG_fail
;
30685 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30687 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30696 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30697 PyObject
*resultobj
;
30698 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30699 wxString
*arg2
= 0 ;
30700 bool temp2
= false ;
30701 PyObject
* obj0
= 0 ;
30702 PyObject
* obj1
= 0 ;
30703 char *kwnames
[] = {
30704 (char *) "self",(char *) "target", NULL
30707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
30708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30711 arg2
= wxString_in_helper(obj1
);
30712 if (arg2
== NULL
) SWIG_fail
;
30716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30717 (arg1
)->SetTarget((wxString
const &)*arg2
);
30719 wxPyEndAllowThreads(__tstate
);
30720 if (PyErr_Occurred()) SWIG_fail
;
30722 Py_INCREF(Py_None
); resultobj
= Py_None
;
30737 static PyObject
* HelpEvent_swigregister(PyObject
*, PyObject
*args
) {
30739 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30740 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
30742 return Py_BuildValue((char *)"");
30744 static PyObject
*_wrap_new_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30745 PyObject
*resultobj
;
30746 wxWindow
*arg1
= (wxWindow
*) NULL
;
30747 bool arg2
= (bool) true ;
30748 wxContextHelp
*result
;
30749 PyObject
* obj0
= 0 ;
30750 PyObject
* obj1
= 0 ;
30751 char *kwnames
[] = {
30752 (char *) "window",(char *) "doNow", NULL
30755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30761 arg2
= (bool)SWIG_As_bool(obj1
);
30762 if (PyErr_Occurred()) SWIG_fail
;
30765 if (!wxPyCheckForApp()) SWIG_fail
;
30766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30767 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
30769 wxPyEndAllowThreads(__tstate
);
30770 if (PyErr_Occurred()) SWIG_fail
;
30772 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
30779 static PyObject
*_wrap_delete_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30780 PyObject
*resultobj
;
30781 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30782 PyObject
* obj0
= 0 ;
30783 char *kwnames
[] = {
30784 (char *) "self", NULL
30787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
30788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30794 wxPyEndAllowThreads(__tstate
);
30795 if (PyErr_Occurred()) SWIG_fail
;
30797 Py_INCREF(Py_None
); resultobj
= Py_None
;
30804 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30805 PyObject
*resultobj
;
30806 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30807 wxWindow
*arg2
= (wxWindow
*) NULL
;
30809 PyObject
* obj0
= 0 ;
30810 PyObject
* obj1
= 0 ;
30811 char *kwnames
[] = {
30812 (char *) "self",(char *) "window", NULL
30815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30819 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30824 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
30826 wxPyEndAllowThreads(__tstate
);
30827 if (PyErr_Occurred()) SWIG_fail
;
30830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30838 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30839 PyObject
*resultobj
;
30840 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30842 PyObject
* obj0
= 0 ;
30843 char *kwnames
[] = {
30844 (char *) "self", NULL
30847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
30848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30852 result
= (bool)(arg1
)->EndContextHelp();
30854 wxPyEndAllowThreads(__tstate
);
30855 if (PyErr_Occurred()) SWIG_fail
;
30858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30866 static PyObject
* ContextHelp_swigregister(PyObject
*, PyObject
*args
) {
30868 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30869 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
30871 return Py_BuildValue((char *)"");
30873 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30874 PyObject
*resultobj
;
30875 wxWindow
*arg1
= (wxWindow
*) 0 ;
30876 int arg2
= (int) wxID_CONTEXT_HELP
;
30877 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30878 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30879 wxSize
const &arg4_defvalue
= wxDefaultSize
;
30880 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
30881 long arg5
= (long) wxBU_AUTODRAW
;
30882 wxContextHelpButton
*result
;
30885 PyObject
* obj0
= 0 ;
30886 PyObject
* obj1
= 0 ;
30887 PyObject
* obj2
= 0 ;
30888 PyObject
* obj3
= 0 ;
30889 PyObject
* obj4
= 0 ;
30890 char *kwnames
[] = {
30891 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
30894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30898 arg2
= (int)SWIG_As_int(obj1
);
30899 if (PyErr_Occurred()) SWIG_fail
;
30904 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30910 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
30914 arg5
= (long)SWIG_As_long(obj4
);
30915 if (PyErr_Occurred()) SWIG_fail
;
30918 if (!wxPyCheckForApp()) SWIG_fail
;
30919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30920 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
30922 wxPyEndAllowThreads(__tstate
);
30923 if (PyErr_Occurred()) SWIG_fail
;
30925 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
30932 static PyObject
* ContextHelpButton_swigregister(PyObject
*, PyObject
*args
) {
30934 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30935 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
30937 return Py_BuildValue((char *)"");
30939 static PyObject
*_wrap_HelpProvider_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30940 PyObject
*resultobj
;
30941 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30942 wxHelpProvider
*result
;
30943 PyObject
* obj0
= 0 ;
30944 char *kwnames
[] = {
30945 (char *) "helpProvider", NULL
30948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
30949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30953 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
30955 wxPyEndAllowThreads(__tstate
);
30956 if (PyErr_Occurred()) SWIG_fail
;
30958 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30965 static PyObject
*_wrap_HelpProvider_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30966 PyObject
*resultobj
;
30967 wxHelpProvider
*result
;
30968 char *kwnames
[] = {
30972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
30974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30975 result
= (wxHelpProvider
*)wxHelpProvider::Get();
30977 wxPyEndAllowThreads(__tstate
);
30978 if (PyErr_Occurred()) SWIG_fail
;
30980 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30987 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30988 PyObject
*resultobj
;
30989 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30990 wxWindow
*arg2
= (wxWindow
*) 0 ;
30992 PyObject
* obj0
= 0 ;
30993 PyObject
* obj1
= 0 ;
30994 char *kwnames
[] = {
30995 (char *) "self",(char *) "window", NULL
30998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
31000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31001 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
31002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31005 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
31007 wxPyEndAllowThreads(__tstate
);
31008 if (PyErr_Occurred()) SWIG_fail
;
31012 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31014 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31023 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31024 PyObject
*resultobj
;
31025 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
31026 wxWindow
*arg2
= (wxWindow
*) 0 ;
31028 PyObject
* obj0
= 0 ;
31029 PyObject
* obj1
= 0 ;
31030 char *kwnames
[] = {
31031 (char *) "self",(char *) "window", NULL
31034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
31035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
31036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31037 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
31038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31041 result
= (bool)(arg1
)->ShowHelp(arg2
);
31043 wxPyEndAllowThreads(__tstate
);
31044 if (PyErr_Occurred()) SWIG_fail
;
31047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31055 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31056 PyObject
*resultobj
;
31057 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
31058 wxWindow
*arg2
= (wxWindow
*) 0 ;
31059 wxString
*arg3
= 0 ;
31060 bool temp3
= false ;
31061 PyObject
* obj0
= 0 ;
31062 PyObject
* obj1
= 0 ;
31063 PyObject
* obj2
= 0 ;
31064 char *kwnames
[] = {
31065 (char *) "self",(char *) "window",(char *) "text", NULL
31068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
31070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31071 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
31072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31074 arg3
= wxString_in_helper(obj2
);
31075 if (arg3
== NULL
) SWIG_fail
;
31079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31080 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
31082 wxPyEndAllowThreads(__tstate
);
31083 if (PyErr_Occurred()) SWIG_fail
;
31085 Py_INCREF(Py_None
); resultobj
= Py_None
;
31100 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31101 PyObject
*resultobj
;
31102 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
31104 wxString
*arg3
= 0 ;
31105 bool temp3
= false ;
31106 PyObject
* obj0
= 0 ;
31107 PyObject
* obj1
= 0 ;
31108 PyObject
* obj2
= 0 ;
31109 char *kwnames
[] = {
31110 (char *) "self",(char *) "id",(char *) "text", NULL
31113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
31115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31116 arg2
= (int)SWIG_As_int(obj1
);
31117 if (PyErr_Occurred()) SWIG_fail
;
31119 arg3
= wxString_in_helper(obj2
);
31120 if (arg3
== NULL
) SWIG_fail
;
31124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31125 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
31127 wxPyEndAllowThreads(__tstate
);
31128 if (PyErr_Occurred()) SWIG_fail
;
31130 Py_INCREF(Py_None
); resultobj
= Py_None
;
31145 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31146 PyObject
*resultobj
;
31147 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
31148 wxWindow
*arg2
= (wxWindow
*) 0 ;
31149 PyObject
* obj0
= 0 ;
31150 PyObject
* obj1
= 0 ;
31151 char *kwnames
[] = {
31152 (char *) "self",(char *) "window", NULL
31155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
31156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
31157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31158 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
31159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31162 (arg1
)->RemoveHelp(arg2
);
31164 wxPyEndAllowThreads(__tstate
);
31165 if (PyErr_Occurred()) SWIG_fail
;
31167 Py_INCREF(Py_None
); resultobj
= Py_None
;
31174 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31175 PyObject
*resultobj
;
31176 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
31177 PyObject
* obj0
= 0 ;
31178 char *kwnames
[] = {
31179 (char *) "self", NULL
31182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
31183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
31184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31187 wxHelpProvider_Destroy(arg1
);
31189 wxPyEndAllowThreads(__tstate
);
31190 if (PyErr_Occurred()) SWIG_fail
;
31192 Py_INCREF(Py_None
); resultobj
= Py_None
;
31199 static PyObject
* HelpProvider_swigregister(PyObject
*, PyObject
*args
) {
31201 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31202 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
31204 return Py_BuildValue((char *)"");
31206 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31207 PyObject
*resultobj
;
31208 wxSimpleHelpProvider
*result
;
31209 char *kwnames
[] = {
31213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
31215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31216 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
31218 wxPyEndAllowThreads(__tstate
);
31219 if (PyErr_Occurred()) SWIG_fail
;
31221 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
31228 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*, PyObject
*args
) {
31230 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31231 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
31233 return Py_BuildValue((char *)"");
31235 static PyObject
*_wrap_new_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31236 PyObject
*resultobj
;
31237 wxBitmap
*arg1
= 0 ;
31238 wxCursor
const &arg2_defvalue
= wxNullCursor
;
31239 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
31240 wxGenericDragImage
*result
;
31241 PyObject
* obj0
= 0 ;
31242 PyObject
* obj1
= 0 ;
31243 char *kwnames
[] = {
31244 (char *) "image",(char *) "cursor", NULL
31247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
31248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
31249 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31251 if (arg1
== NULL
) {
31252 PyErr_SetString(PyExc_TypeError
,"null reference");
31256 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
31257 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31259 if (arg2
== NULL
) {
31260 PyErr_SetString(PyExc_TypeError
,"null reference");
31265 if (!wxPyCheckForApp()) SWIG_fail
;
31266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31267 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
31269 wxPyEndAllowThreads(__tstate
);
31270 if (PyErr_Occurred()) SWIG_fail
;
31272 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
31279 static PyObject
*_wrap_new_DragIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31280 PyObject
*resultobj
;
31282 wxCursor
const &arg2_defvalue
= wxNullCursor
;
31283 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
31284 wxGenericDragImage
*result
;
31285 PyObject
* obj0
= 0 ;
31286 PyObject
* obj1
= 0 ;
31287 char *kwnames
[] = {
31288 (char *) "image",(char *) "cursor", NULL
31291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
31292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
31293 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31295 if (arg1
== NULL
) {
31296 PyErr_SetString(PyExc_TypeError
,"null reference");
31300 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
31301 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31303 if (arg2
== NULL
) {
31304 PyErr_SetString(PyExc_TypeError
,"null reference");
31309 if (!wxPyCheckForApp()) SWIG_fail
;
31310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31311 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
31313 wxPyEndAllowThreads(__tstate
);
31314 if (PyErr_Occurred()) SWIG_fail
;
31316 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
31323 static PyObject
*_wrap_new_DragString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31324 PyObject
*resultobj
;
31325 wxString
*arg1
= 0 ;
31326 wxCursor
const &arg2_defvalue
= wxNullCursor
;
31327 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
31328 wxGenericDragImage
*result
;
31329 bool temp1
= false ;
31330 PyObject
* obj0
= 0 ;
31331 PyObject
* obj1
= 0 ;
31332 char *kwnames
[] = {
31333 (char *) "str",(char *) "cursor", NULL
31336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
31338 arg1
= wxString_in_helper(obj0
);
31339 if (arg1
== NULL
) SWIG_fail
;
31343 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
31344 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31346 if (arg2
== NULL
) {
31347 PyErr_SetString(PyExc_TypeError
,"null reference");
31352 if (!wxPyCheckForApp()) SWIG_fail
;
31353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31354 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
31356 wxPyEndAllowThreads(__tstate
);
31357 if (PyErr_Occurred()) SWIG_fail
;
31359 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
31374 static PyObject
*_wrap_new_DragTreeItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31375 PyObject
*resultobj
;
31376 wxPyTreeCtrl
*arg1
= 0 ;
31377 wxTreeItemId
*arg2
= 0 ;
31378 wxGenericDragImage
*result
;
31379 PyObject
* obj0
= 0 ;
31380 PyObject
* obj1
= 0 ;
31381 char *kwnames
[] = {
31382 (char *) "treeCtrl",(char *) "id", NULL
31385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
31386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
31387 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31389 if (arg1
== NULL
) {
31390 PyErr_SetString(PyExc_TypeError
,"null reference");
31393 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
31394 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31396 if (arg2
== NULL
) {
31397 PyErr_SetString(PyExc_TypeError
,"null reference");
31401 if (!wxPyCheckForApp()) SWIG_fail
;
31402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31403 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
31405 wxPyEndAllowThreads(__tstate
);
31406 if (PyErr_Occurred()) SWIG_fail
;
31408 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
31415 static PyObject
*_wrap_new_DragListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31416 PyObject
*resultobj
;
31417 wxPyListCtrl
*arg1
= 0 ;
31419 wxGenericDragImage
*result
;
31420 PyObject
* obj0
= 0 ;
31421 PyObject
* obj1
= 0 ;
31422 char *kwnames
[] = {
31423 (char *) "listCtrl",(char *) "id", NULL
31426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
31427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
31428 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31430 if (arg1
== NULL
) {
31431 PyErr_SetString(PyExc_TypeError
,"null reference");
31434 arg2
= (long)SWIG_As_long(obj1
);
31435 if (PyErr_Occurred()) SWIG_fail
;
31437 if (!wxPyCheckForApp()) SWIG_fail
;
31438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31439 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
31441 wxPyEndAllowThreads(__tstate
);
31442 if (PyErr_Occurred()) SWIG_fail
;
31444 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
31451 static PyObject
*_wrap_delete_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31452 PyObject
*resultobj
;
31453 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31454 PyObject
* obj0
= 0 ;
31455 char *kwnames
[] = {
31456 (char *) "self", NULL
31459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
31460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31466 wxPyEndAllowThreads(__tstate
);
31467 if (PyErr_Occurred()) SWIG_fail
;
31469 Py_INCREF(Py_None
); resultobj
= Py_None
;
31476 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31477 PyObject
*resultobj
;
31478 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31479 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
31480 PyObject
* obj0
= 0 ;
31481 PyObject
* obj1
= 0 ;
31482 char *kwnames
[] = {
31483 (char *) "self",(char *) "bitmap", NULL
31486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
31487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31489 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
31490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31493 (arg1
)->SetBackingBitmap(arg2
);
31495 wxPyEndAllowThreads(__tstate
);
31496 if (PyErr_Occurred()) SWIG_fail
;
31498 Py_INCREF(Py_None
); resultobj
= Py_None
;
31505 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31506 PyObject
*resultobj
;
31507 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31508 wxPoint
*arg2
= 0 ;
31509 wxWindow
*arg3
= (wxWindow
*) 0 ;
31510 bool arg4
= (bool) false ;
31511 wxRect
*arg5
= (wxRect
*) NULL
;
31514 PyObject
* obj0
= 0 ;
31515 PyObject
* obj1
= 0 ;
31516 PyObject
* obj2
= 0 ;
31517 PyObject
* obj3
= 0 ;
31518 PyObject
* obj4
= 0 ;
31519 char *kwnames
[] = {
31520 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
31523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31528 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31530 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
31531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31533 arg4
= (bool)SWIG_As_bool(obj3
);
31534 if (PyErr_Occurred()) SWIG_fail
;
31537 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
,
31538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31542 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
31544 wxPyEndAllowThreads(__tstate
);
31545 if (PyErr_Occurred()) SWIG_fail
;
31548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31556 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31557 PyObject
*resultobj
;
31558 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31559 wxPoint
*arg2
= 0 ;
31560 wxWindow
*arg3
= (wxWindow
*) 0 ;
31561 wxWindow
*arg4
= (wxWindow
*) 0 ;
31564 PyObject
* obj0
= 0 ;
31565 PyObject
* obj1
= 0 ;
31566 PyObject
* obj2
= 0 ;
31567 PyObject
* obj3
= 0 ;
31568 char *kwnames
[] = {
31569 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
31572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31577 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31579 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
31580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31581 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
31582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31585 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
31587 wxPyEndAllowThreads(__tstate
);
31588 if (PyErr_Occurred()) SWIG_fail
;
31591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31599 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31600 PyObject
*resultobj
;
31601 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31603 PyObject
* obj0
= 0 ;
31604 char *kwnames
[] = {
31605 (char *) "self", NULL
31608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
31609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31613 result
= (bool)(arg1
)->EndDrag();
31615 wxPyEndAllowThreads(__tstate
);
31616 if (PyErr_Occurred()) SWIG_fail
;
31619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31627 static PyObject
*_wrap_DragImage_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31628 PyObject
*resultobj
;
31629 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31630 wxPoint
*arg2
= 0 ;
31633 PyObject
* obj0
= 0 ;
31634 PyObject
* obj1
= 0 ;
31635 char *kwnames
[] = {
31636 (char *) "self",(char *) "pt", NULL
31639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
31640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31644 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31648 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
31650 wxPyEndAllowThreads(__tstate
);
31651 if (PyErr_Occurred()) SWIG_fail
;
31654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31662 static PyObject
*_wrap_DragImage_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31663 PyObject
*resultobj
;
31664 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31666 PyObject
* obj0
= 0 ;
31667 char *kwnames
[] = {
31668 (char *) "self", NULL
31671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
31672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31676 result
= (bool)(arg1
)->Show();
31678 wxPyEndAllowThreads(__tstate
);
31679 if (PyErr_Occurred()) SWIG_fail
;
31682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31690 static PyObject
*_wrap_DragImage_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31691 PyObject
*resultobj
;
31692 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31694 PyObject
* obj0
= 0 ;
31695 char *kwnames
[] = {
31696 (char *) "self", NULL
31699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
31700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31704 result
= (bool)(arg1
)->Hide();
31706 wxPyEndAllowThreads(__tstate
);
31707 if (PyErr_Occurred()) SWIG_fail
;
31710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31718 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31719 PyObject
*resultobj
;
31720 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31721 wxPoint
*arg2
= 0 ;
31724 PyObject
* obj0
= 0 ;
31725 PyObject
* obj1
= 0 ;
31726 char *kwnames
[] = {
31727 (char *) "self",(char *) "pos", NULL
31730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
31731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31735 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31739 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
31741 wxPyEndAllowThreads(__tstate
);
31742 if (PyErr_Occurred()) SWIG_fail
;
31745 wxRect
* resultptr
;
31746 resultptr
= new wxRect((wxRect
&) result
);
31747 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
31755 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31756 PyObject
*resultobj
;
31757 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31759 wxPoint
*arg3
= 0 ;
31762 PyObject
* obj0
= 0 ;
31763 PyObject
* obj1
= 0 ;
31764 PyObject
* obj2
= 0 ;
31765 char *kwnames
[] = {
31766 (char *) "self",(char *) "dc",(char *) "pos", NULL
31769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31772 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31773 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31775 if (arg2
== NULL
) {
31776 PyErr_SetString(PyExc_TypeError
,"null reference");
31781 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31785 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
31787 wxPyEndAllowThreads(__tstate
);
31788 if (PyErr_Occurred()) SWIG_fail
;
31791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31799 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31800 PyObject
*resultobj
;
31801 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31803 wxMemoryDC
*arg3
= 0 ;
31809 PyObject
* obj0
= 0 ;
31810 PyObject
* obj1
= 0 ;
31811 PyObject
* obj2
= 0 ;
31812 PyObject
* obj3
= 0 ;
31813 PyObject
* obj4
= 0 ;
31814 char *kwnames
[] = {
31815 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
31818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31821 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31822 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31824 if (arg2
== NULL
) {
31825 PyErr_SetString(PyExc_TypeError
,"null reference");
31828 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
,
31829 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31831 if (arg3
== NULL
) {
31832 PyErr_SetString(PyExc_TypeError
,"null reference");
31837 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31841 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
31844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31845 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
31847 wxPyEndAllowThreads(__tstate
);
31848 if (PyErr_Occurred()) SWIG_fail
;
31851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31859 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31860 PyObject
*resultobj
;
31861 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31862 wxPoint
*arg2
= 0 ;
31863 wxPoint
*arg3
= 0 ;
31869 PyObject
* obj0
= 0 ;
31870 PyObject
* obj1
= 0 ;
31871 PyObject
* obj2
= 0 ;
31872 PyObject
* obj3
= 0 ;
31873 PyObject
* obj4
= 0 ;
31874 char *kwnames
[] = {
31875 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
31878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31883 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31887 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31889 arg4
= (bool)SWIG_As_bool(obj3
);
31890 if (PyErr_Occurred()) SWIG_fail
;
31891 arg5
= (bool)SWIG_As_bool(obj4
);
31892 if (PyErr_Occurred()) SWIG_fail
;
31894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31895 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
31897 wxPyEndAllowThreads(__tstate
);
31898 if (PyErr_Occurred()) SWIG_fail
;
31901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31909 static PyObject
* DragImage_swigregister(PyObject
*, PyObject
*args
) {
31911 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31912 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
31914 return Py_BuildValue((char *)"");
31916 static PyMethodDef SwigMethods
[] = {
31917 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31918 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31919 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31920 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31921 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31922 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31923 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
31924 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31925 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31926 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31927 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31928 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31929 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31930 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31931 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31932 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31933 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31934 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31935 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31936 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31937 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31938 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
31939 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31940 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31941 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31942 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31943 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31944 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31945 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31946 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31947 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31948 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31949 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31950 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
31951 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31952 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31953 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31954 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31955 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31956 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31957 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31958 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
31959 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31960 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31961 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31962 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31963 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31964 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31965 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31966 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31967 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31968 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31969 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31970 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31971 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31972 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31973 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31974 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31975 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31976 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31977 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31978 { (char *)"ComboBox_IsEditable", (PyCFunction
) _wrap_ComboBox_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31979 { (char *)"ComboBox_Undo", (PyCFunction
) _wrap_ComboBox_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31980 { (char *)"ComboBox_Redo", (PyCFunction
) _wrap_ComboBox_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31981 { (char *)"ComboBox_SelectAll", (PyCFunction
) _wrap_ComboBox_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31982 { (char *)"ComboBox_CanCopy", (PyCFunction
) _wrap_ComboBox_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31983 { (char *)"ComboBox_CanCut", (PyCFunction
) _wrap_ComboBox_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31984 { (char *)"ComboBox_CanPaste", (PyCFunction
) _wrap_ComboBox_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31985 { (char *)"ComboBox_CanUndo", (PyCFunction
) _wrap_ComboBox_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31986 { (char *)"ComboBox_CanRedo", (PyCFunction
) _wrap_ComboBox_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31987 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31988 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
31989 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31990 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31991 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31992 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31993 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31994 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31995 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31996 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31997 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31998 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31999 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32000 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32001 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32002 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
32003 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32004 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32005 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32006 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32007 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
32008 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32009 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32010 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32011 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32012 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32013 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32014 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
32015 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32016 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32017 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32018 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32019 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
32020 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32021 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32022 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32023 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32024 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32025 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32026 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32027 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
32028 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32029 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32030 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32031 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32032 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32033 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32034 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32035 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32036 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32037 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32038 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32039 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32040 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32041 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32042 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32043 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32044 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32045 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32046 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32047 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32048 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32049 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32050 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
32051 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32052 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32053 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32054 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32055 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32056 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32057 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32058 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
32059 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32060 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32061 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32062 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32063 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32064 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32065 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32066 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32067 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32068 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32069 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32070 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32071 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32072 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32073 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32074 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32075 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32076 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32077 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32078 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32079 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32080 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32081 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32082 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32083 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32084 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32085 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32086 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32087 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32088 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32089 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
32090 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32091 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32092 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32093 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32094 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32095 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32096 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32097 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32098 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32099 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32100 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32101 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32102 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32103 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32104 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32105 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32106 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32107 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32108 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32109 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32110 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32111 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32112 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32113 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32114 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32115 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32116 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32117 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32118 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32119 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32120 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32121 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32122 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32123 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32124 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32125 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32126 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32127 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32128 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32129 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32130 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32131 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32132 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32133 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32134 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32135 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32136 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32137 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32138 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32139 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32140 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32141 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32142 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32143 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32144 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32145 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
32146 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32147 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32148 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32149 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32150 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
32151 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32152 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32153 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32154 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32155 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32156 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32157 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32158 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32159 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32160 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32161 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32162 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
32163 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32164 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32165 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32166 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32167 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32168 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32169 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32170 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32171 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32172 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32173 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32174 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32175 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
32176 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32177 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32178 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32179 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32180 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32181 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32182 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32183 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32184 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32185 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32186 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32187 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
32188 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32189 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32190 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32191 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
32192 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32193 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32194 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32195 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32196 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32197 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32198 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32199 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32200 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32201 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32202 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32203 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32204 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32205 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32206 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32207 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32208 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32209 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
32210 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32211 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32212 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32213 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32214 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32215 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32216 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
32217 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32218 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32219 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32220 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32221 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32222 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32223 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32224 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32225 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32226 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32227 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32228 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32229 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32230 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32231 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32232 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32233 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32234 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32235 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32236 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32237 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32238 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32239 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32240 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32241 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32242 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
32243 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32244 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32245 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32246 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32247 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32248 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32249 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32250 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
32251 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
) _wrap_BookCtrlBase_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32252 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32253 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32254 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
) _wrap_BookCtrlBase_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32255 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32256 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32257 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32258 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32259 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
) _wrap_BookCtrlBase_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32260 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32261 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32262 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32263 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32264 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32265 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32266 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
) _wrap_BookCtrlBase_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32267 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32268 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32269 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32270 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32271 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32272 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
32273 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32274 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32275 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32276 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32277 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32278 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
32279 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32280 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32281 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32282 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32283 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32284 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32285 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32286 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32287 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32288 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
32289 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32290 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
32291 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32292 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32293 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32294 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32295 { (char *)"Listbook_GetListView", (PyCFunction
) _wrap_Listbook_GetListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32296 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
32297 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32298 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
32299 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32300 { (char *)"new_PreChoicebook", (PyCFunction
) _wrap_new_PreChoicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32301 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32302 { (char *)"Choicebook_IsVertical", (PyCFunction
) _wrap_Choicebook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32303 { (char *)"Choicebook_DeleteAllPages", (PyCFunction
) _wrap_Choicebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32304 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
32305 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32306 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
32307 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32308 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32309 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32310 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32311 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
, NULL
},
32312 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32313 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32314 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32315 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32316 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
, NULL
},
32317 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32318 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32319 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32320 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32321 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32322 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32323 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32324 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32325 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32326 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32327 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32328 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32329 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32330 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32331 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32332 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32333 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32334 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32335 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32336 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32337 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32338 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32339 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32340 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32341 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32342 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32343 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32344 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32345 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32346 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
32347 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32348 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32349 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32350 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32351 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32352 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32353 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32354 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32355 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32356 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32357 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32358 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32359 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32360 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32361 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32362 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32363 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32364 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32365 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32366 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32367 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32368 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32369 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32370 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32371 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32372 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32373 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32374 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32375 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32376 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32377 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32378 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32379 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32380 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32381 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32382 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32383 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32384 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32385 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32386 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32387 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32388 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32389 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32390 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32391 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
32392 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32393 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32394 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32395 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32396 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32397 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
32398 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32399 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32400 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32401 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32402 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32403 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32404 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32405 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32406 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32407 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32408 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32409 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
32410 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32411 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32412 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32413 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32414 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32415 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32416 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32417 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32418 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32419 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32420 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32421 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32422 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32423 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32424 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32425 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32426 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32427 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32428 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32429 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32430 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32431 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32432 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32433 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32434 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32435 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32436 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32437 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32438 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32439 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32440 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32441 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32442 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32443 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32444 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32445 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32446 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32447 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32448 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32449 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32450 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32451 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32452 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32453 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32454 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32455 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32456 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32457 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32458 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32459 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32460 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32461 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
32462 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32463 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32464 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32465 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32466 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32467 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32468 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32469 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32470 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32471 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32472 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32473 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32474 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32475 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32476 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32477 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32478 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32479 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32480 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32481 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32482 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32483 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32484 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32485 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32486 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32487 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32488 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
32489 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32490 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32491 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32492 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32493 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32494 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32495 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32496 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32497 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32498 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32499 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32500 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32501 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32502 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32503 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32504 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32505 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32506 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32507 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32508 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32509 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32510 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32511 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32512 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32513 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32514 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32515 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32516 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32517 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32518 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32519 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32520 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32521 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32522 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32523 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32524 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32525 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32526 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32527 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32528 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32529 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32530 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32531 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32532 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32533 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32534 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32535 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32536 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32537 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32538 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32539 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32540 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32541 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32542 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32543 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32544 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32545 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32546 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32547 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32548 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32549 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32550 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32551 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32552 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32553 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32554 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32555 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32556 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32557 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32558 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32559 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
32560 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32561 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32562 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32563 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32564 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32565 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32566 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32567 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32568 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32569 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32570 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32571 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
32572 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32573 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32574 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32575 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32576 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32577 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32578 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32579 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
32580 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32581 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32582 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32583 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32584 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32585 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32586 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
32587 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32588 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32589 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32590 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32591 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32592 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32593 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32594 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32595 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32596 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32597 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32598 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32599 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32600 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32601 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32602 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
32603 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32604 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32605 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32606 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32607 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32608 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32609 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32610 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32611 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32612 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32613 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32614 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32615 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32616 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32617 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32618 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32619 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32620 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32621 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32622 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32623 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32624 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32625 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32626 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32627 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32628 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32629 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32630 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32631 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32632 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32633 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32634 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32635 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32636 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32637 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32638 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32639 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32640 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32641 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32642 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32643 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32644 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32645 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32646 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32647 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32648 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32649 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32650 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32651 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32652 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32653 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32654 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32655 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32656 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32657 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32658 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32659 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32660 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32661 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32662 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32663 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32664 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32665 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32666 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32667 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32668 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32669 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32670 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32671 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32672 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32673 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32674 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32675 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32676 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32677 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
32678 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32679 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32680 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32681 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32682 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32683 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32684 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32685 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32686 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32687 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32688 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32689 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32690 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32691 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32692 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32693 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32694 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32695 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32696 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32697 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32698 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32699 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
32700 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32701 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32702 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32703 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32704 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
32705 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32706 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32707 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32708 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32709 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32710 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32711 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32712 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32713 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32714 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32715 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32716 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32717 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32718 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32719 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32720 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32721 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32722 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32723 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32724 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32725 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32726 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32727 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32728 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32729 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32730 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
32731 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32732 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32733 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32734 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32735 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32736 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32737 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32738 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
32739 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32740 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32741 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32742 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32743 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
32744 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32745 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
32746 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32747 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32748 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32749 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32750 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32751 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32752 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32753 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32754 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
32755 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32756 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
32757 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32758 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32759 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32760 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32761 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32762 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32763 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32764 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32765 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32766 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32767 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32768 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32769 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32770 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32771 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32772 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32773 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32774 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
32775 { NULL
, NULL
, 0, NULL
}
32779 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32781 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
32782 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
32784 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
32785 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32787 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
32788 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32790 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
32791 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
32793 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
32794 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32796 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
32797 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
32799 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
32800 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
32802 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
32803 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
32805 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32806 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32808 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32809 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32811 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32812 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32814 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32815 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32817 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32818 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32820 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
32821 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
32823 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
32824 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32826 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32827 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32829 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32830 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32832 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32833 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32835 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
32836 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32838 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32839 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32841 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32842 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32844 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
32845 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
32847 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
32848 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
32850 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
32851 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
32853 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
32854 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
32856 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
32857 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
32859 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32860 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32862 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32863 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32865 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32866 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32868 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32869 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32871 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32872 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32874 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32875 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32877 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32878 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32880 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32881 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32883 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32884 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32886 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32887 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32889 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32890 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32892 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32893 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32895 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32896 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32898 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32899 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32901 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32902 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32904 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32905 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32907 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32908 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32910 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32911 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32913 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32914 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32916 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32917 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32919 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32920 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32922 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32923 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32925 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32926 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32928 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32929 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32931 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32932 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32934 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
32935 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32937 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
32938 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
32940 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
32941 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32943 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
32944 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32946 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
32947 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
32949 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
32950 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32952 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
32953 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32955 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
32956 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
32958 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
32959 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
32961 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
32962 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
32964 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
32965 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
32967 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
32968 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
32970 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
32971 return (void *)((wxControl
*) ((wxPyControl
*) x
));
32973 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
32974 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
32976 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
32977 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32979 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
32980 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
32982 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
32983 return (void *)((wxControl
*) ((wxComboBox
*) x
));
32985 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
32986 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
32988 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
32989 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
32991 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
32992 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
32994 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
32995 return (void *)((wxControl
*) ((wxGauge
*) x
));
32997 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
32998 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
33000 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
33001 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
33003 static void *_p_wxListbookTo_p_wxControl(void *x
) {
33004 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
33006 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
33007 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
33009 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
33010 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
33012 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
33013 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
33015 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
33016 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
33018 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
33019 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
33021 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
33022 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
33024 static void *_p_wxListViewTo_p_wxControl(void *x
) {
33025 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
33027 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
33028 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
33030 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
33031 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
33033 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
33034 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
33036 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
33037 return (void *)((wxControl
*) ((wxStaticText
*) x
));
33039 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
33040 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
33042 static void *_p_wxSliderTo_p_wxControl(void *x
) {
33043 return (void *)((wxControl
*) ((wxSlider
*) x
));
33045 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
33046 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
33048 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
33049 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
33051 static void *_p_wxButtonTo_p_wxControl(void *x
) {
33052 return (void *)((wxControl
*) ((wxButton
*) x
));
33054 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
33055 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
33057 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
33058 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
33060 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
33061 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
33063 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
33064 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33066 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
33067 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
33069 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
33070 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
33072 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
33073 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
33075 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
33076 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
33078 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
33079 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
33081 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
33082 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
33084 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
33085 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
33087 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
33088 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
33090 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
33091 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
33093 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
33094 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
33096 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
33097 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
33099 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
33100 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
33102 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
33103 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
33105 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
33106 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
33108 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
33109 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
33111 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
33112 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
33114 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
33115 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
33117 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
33118 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
33120 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
33121 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
33123 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
33124 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
33126 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
33127 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
33129 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
33130 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
33132 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
33133 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
33135 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
33136 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33138 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
33139 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
33141 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
33142 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
33144 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
33145 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
33147 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
33148 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
33150 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
33151 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
33153 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
33154 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
33156 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
33157 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
33159 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
33160 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
33162 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
33163 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
33165 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
33166 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
33168 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
33169 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
33171 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
33172 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
33174 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
33175 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
33177 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
33178 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
33180 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
33181 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
33183 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
33184 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
33186 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
33187 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
33189 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
33190 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
33192 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
33193 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
33195 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
33196 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
33198 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
33199 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
33201 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
33202 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
33204 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
33205 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
33207 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
33208 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
33210 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
33211 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
33213 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
33214 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
33216 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
33217 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
33219 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
33220 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
33222 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
33223 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
33225 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
33226 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
33228 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
33229 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
33231 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
33232 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
33234 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
33235 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
33237 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
33238 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
33240 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
33241 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
33243 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
33244 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
33246 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
33247 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
33249 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
33250 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
33252 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
33253 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
33255 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
33256 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
33258 static void *_p_wxSizerTo_p_wxObject(void *x
) {
33259 return (void *)((wxObject
*) ((wxSizer
*) x
));
33261 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
33262 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
33264 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
33265 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
33267 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
33268 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
33270 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
33271 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33273 static void *_p_wxEventTo_p_wxObject(void *x
) {
33274 return (void *)((wxObject
*) ((wxEvent
*) x
));
33276 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
33277 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
33279 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
33280 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
33282 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
33283 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
33285 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
33286 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
33288 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
33289 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
33291 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
33292 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33294 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
33295 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
33297 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
33298 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
33300 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
33301 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
33303 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
33304 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
33306 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
33307 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
33309 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
33310 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
33312 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
33313 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
33315 static void *_p_wxControlTo_p_wxObject(void *x
) {
33316 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
33318 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
33319 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
33321 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
33322 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
33324 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
33325 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
33327 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
33328 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
33330 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
33331 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
33333 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
33334 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
33336 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
33337 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
33339 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
33340 return (void *)((wxObject
*) ((wxFSFile
*) x
));
33342 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
33343 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
33345 static void *_p_wxListViewTo_p_wxObject(void *x
) {
33346 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
33348 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
33349 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
33351 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
33352 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
33354 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
33355 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
33357 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
33358 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33360 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
33361 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
33363 static void *_p_wxListbookTo_p_wxObject(void *x
) {
33364 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
33366 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
33367 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
33369 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
33370 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
33372 static void *_p_wxSliderTo_p_wxObject(void *x
) {
33373 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
33375 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
33376 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
33378 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
33379 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
33381 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
33382 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33384 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
33385 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
33387 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
33388 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
33390 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
33391 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
33393 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
33394 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
33396 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
33397 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
33399 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
33400 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
33402 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
33403 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
33405 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
33406 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
33408 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
33409 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
33411 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
33412 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
33414 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
33415 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
33417 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
33418 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
33420 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
33421 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
33423 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
33424 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
33426 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
33427 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
33429 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
33430 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
33432 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
33433 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
33435 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
33436 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
33438 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
33439 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
33441 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
33442 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
33444 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
33445 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
33447 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
33448 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
33450 static void *_p_wxListEventTo_p_wxObject(void *x
) {
33451 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
33453 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
33454 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
33456 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
33457 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
33459 static void *_p_wxButtonTo_p_wxObject(void *x
) {
33460 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
33462 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
33463 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
33465 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
33466 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
33468 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
33469 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
33471 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
33472 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
33474 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
33475 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
33477 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
33478 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
33480 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
33481 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
33483 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
33484 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
33486 static void *_p_wxListItemTo_p_wxObject(void *x
) {
33487 return (void *)((wxObject
*) ((wxListItem
*) x
));
33489 static void *_p_wxImageTo_p_wxObject(void *x
) {
33490 return (void *)((wxObject
*) ((wxImage
*) x
));
33492 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
33493 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
33495 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
33496 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
33498 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
33499 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
33501 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
33502 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
33504 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
33505 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
33507 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
33508 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
33510 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
33511 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
33513 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
33514 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
33516 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
33517 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33519 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
33520 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
33522 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
33523 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
33525 static void *_p_wxWindowTo_p_wxObject(void *x
) {
33526 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
33528 static void *_p_wxMenuTo_p_wxObject(void *x
) {
33529 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
33531 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
33532 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
33534 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
33535 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
33537 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
33538 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33540 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
33541 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
33543 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
33544 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
33546 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
33547 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
33549 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
33550 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
33552 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
33553 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
33555 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
33556 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
33558 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
33559 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
33561 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
33562 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33564 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
33565 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
33567 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
33568 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
33570 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
33571 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
33573 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
33574 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
33576 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
33577 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33579 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
33580 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
33582 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
33583 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
33585 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
33586 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
33588 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
33589 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
33591 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
33592 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
33594 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
33595 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
33597 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
33598 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
33600 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
33601 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
33603 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
33604 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
33606 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
33607 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
33609 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
33610 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
33612 static void *_p_wxControlTo_p_wxWindow(void *x
) {
33613 return (void *)((wxWindow
*) ((wxControl
*) x
));
33615 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
33616 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
33618 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
33619 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33621 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
33622 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
33624 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
33625 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
33627 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
33628 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
33630 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
33631 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
33633 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
33634 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
33636 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
33637 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
33639 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
33640 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
33642 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
33643 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
33645 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
33646 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
33648 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
33649 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
33651 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
33652 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
33654 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
33655 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
33657 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
33658 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
33660 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
33661 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
33663 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
33664 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
33666 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
33667 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
33669 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
33670 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
33672 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
33673 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
33675 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
33676 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
33678 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
33679 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
33681 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
33682 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
33684 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
33685 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
33687 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
33688 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
33690 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
33691 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
33693 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
33694 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
33696 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
33697 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
33699 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
33700 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
33702 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
33703 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
33705 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
33706 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
33708 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
33709 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
33711 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
33712 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
33714 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
33715 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33717 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
33718 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
33720 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
33721 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
33723 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
33724 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33726 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
33727 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33729 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
33730 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33732 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
33733 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
33735 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
33736 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
33738 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
33739 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
33741 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
33742 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33744 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
33745 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
33747 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
33748 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
33750 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
33751 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
33753 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
33754 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
33756 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
33757 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
33759 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
33760 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33762 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
33763 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33765 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
33766 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33768 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
33769 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
33771 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
33772 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
33774 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
33775 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
33777 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
33778 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
33780 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}};
33781 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}};
33782 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}};
33783 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}};
33784 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}};
33785 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}};
33786 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}};
33787 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}};
33788 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}};
33789 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}};
33790 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}};
33791 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}};
33792 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}};
33793 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}};
33794 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}};
33795 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}};
33796 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}};
33797 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}};
33798 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}};
33799 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}};
33800 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}};
33801 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}};
33802 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}};
33803 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}};
33804 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}};
33805 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}};
33806 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}};
33807 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}};
33808 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}};
33809 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}};
33810 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}};
33811 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}};
33812 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}};
33813 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}};
33814 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}};
33815 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}};
33816 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}};
33817 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}};
33818 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}};
33819 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}};
33820 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}};
33821 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}};
33822 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}};
33823 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}};
33824 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}};
33825 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}};
33826 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}};
33827 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}};
33828 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}};
33829 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}};
33830 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}};
33831 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}};
33832 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}};
33833 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}};
33834 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}};
33835 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}};
33836 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}};
33837 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}};
33838 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}};
33839 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}};
33840 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}};
33841 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}};
33842 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}};
33843 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}};
33844 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}};
33845 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}};
33846 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}};
33847 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}};
33848 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}};
33849 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}};
33850 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}};
33851 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}};
33852 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}};
33853 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}};
33854 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}};
33855 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}};
33856 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}};
33857 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}};
33858 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}};
33859 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}};
33860 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}};
33861 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}};
33862 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}};
33863 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}};
33864 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}};
33865 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}};
33866 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}};
33868 static swig_type_info
*swig_types_initial
[] = {
33869 _swigt__p_wxTextUrlEvent
,
33871 _swigt__p_wxCheckBox
,
33872 _swigt__p_wxPyTreeCtrl
,
33874 _swigt__p_wxGenericDirCtrl
,
33876 _swigt__p_wxPyTreeItemData
,
33877 _swigt__p_wxItemContainer
,
33878 _swigt__p_wxPyListCtrl
,
33879 _swigt__p_wxDirFilterListCtrl
,
33880 _swigt__p_wxStaticLine
,
33881 _swigt__p_wxControl
,
33882 _swigt__p_wxPyControl
,
33884 _swigt__p_wxToolBarBase
,
33886 _swigt__p_wxToggleButton
,
33887 _swigt__p_wxRadioButton
,
33888 _swigt__p_wxChoice
,
33889 _swigt__p_wxMemoryDC
,
33890 _swigt__p_wxListItemAttr
,
33895 _swigt__p_wxListView
,
33897 _swigt__p_wxVisualAttributes
,
33898 _swigt__p_wxTextCtrl
,
33899 _swigt__p_wxNotebook
,
33900 _swigt__p_wxChoicebook
,
33901 _swigt__p_wxNotifyEvent
,
33902 _swigt__p_wxArrayString
,
33903 _swigt__p_wxListbook
,
33904 _swigt__p_wxStaticBitmap
,
33905 _swigt__p_wxSlider
,
33906 _swigt__p_wxStaticBox
,
33907 _swigt__p_wxArrayInt
,
33908 _swigt__p_wxContextHelp
,
33910 _swigt__p_wxBookCtrlBase
,
33911 _swigt__p_wxEvtHandler
,
33912 _swigt__p_wxListEvent
,
33913 _swigt__p_wxCheckListBox
,
33914 _swigt__p_wxListBox
,
33915 _swigt__p_wxSpinButton
,
33916 _swigt__p_wxButton
,
33917 _swigt__p_wxBitmapButton
,
33919 _swigt__p_wxContextHelpButton
,
33920 _swigt__p_wxRadioBox
,
33921 _swigt__p_wxScrollBar
,
33923 _swigt__p_wxTreeItemId
,
33924 _swigt__p_wxComboBox
,
33925 _swigt__p_wxHelpEvent
,
33926 _swigt__p_wxListItem
,
33927 _swigt__p_wxNotebookSizer
,
33928 _swigt__p_wxSpinEvent
,
33929 _swigt__p_wxGenericDragImage
,
33930 _swigt__p_wxSpinCtrl
,
33931 _swigt__p_wxImageList
,
33932 _swigt__p_wxHelpProvider
,
33933 _swigt__p_wxTextAttr
,
33934 _swigt__p_wxSimpleHelpProvider
,
33936 _swigt__p_wxChoicebookEvent
,
33937 _swigt__p_wxListbookEvent
,
33938 _swigt__p_wxNotebookEvent
,
33939 _swigt__p_wxObject
,
33940 _swigt__p_wxCursor
,
33941 _swigt__p_wxKeyEvent
,
33942 _swigt__p_wxWindow
,
33943 _swigt__p_wxString
,
33944 _swigt__p_wxBitmap
,
33945 _swigt__p_wxTreeEvent
,
33946 _swigt__p_wxMouseEvent
,
33947 _swigt__p_wxBookCtrlBaseEvent
,
33948 _swigt__p_wxCommandEvent
,
33949 _swigt__p_wxStaticText
,
33950 _swigt__p_wxControlWithItems
,
33951 _swigt__p_wxToolBarToolBase
,
33952 _swigt__p_wxColour
,
33953 _swigt__p_wxToolBar
,
33954 _swigt__p_wxBookCtrlSizer
,
33955 _swigt__p_wxValidator
,
33960 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33962 static swig_const_info swig_const_table
[] = {
33963 {0, 0, 0, 0.0, 0, 0}};
33972 SWIGEXPORT(void) SWIG_init(void) {
33973 static PyObject
*SWIG_globals
= 0;
33974 static int typeinit
= 0;
33977 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
33978 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33979 d
= PyModule_GetDict(m
);
33982 for (i
= 0; swig_types_initial
[i
]; i
++) {
33983 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
33987 SWIG_InstallConstants(d
,swig_const_table
);
33989 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
33990 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
33991 PyDict_SetItemString(d
,"BU_LEFT", SWIG_From_int((int)wxBU_LEFT
));
33992 PyDict_SetItemString(d
,"BU_TOP", SWIG_From_int((int)wxBU_TOP
));
33993 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_From_int((int)wxBU_RIGHT
));
33994 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_From_int((int)wxBU_BOTTOM
));
33995 PyDict_SetItemString(d
,"BU_ALIGN_MASK", SWIG_From_int((int)wxBU_ALIGN_MASK
));
33996 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_From_int((int)wxBU_EXACTFIT
));
33997 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_From_int((int)wxBU_AUTODRAW
));
33998 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
33999 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_From_int((int)wxCHK_2STATE
));
34000 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_From_int((int)wxCHK_3STATE
));
34001 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
34002 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_From_int((int)wxCHK_UNCHECKED
));
34003 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_From_int((int)wxCHK_CHECKED
));
34004 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_From_int((int)wxCHK_UNDETERMINED
));
34005 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
34006 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
34007 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
34008 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_From_int((int)wxGA_HORIZONTAL
));
34009 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_From_int((int)wxGA_VERTICAL
));
34010 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_From_int((int)wxGA_SMOOTH
));
34011 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_From_int((int)wxGA_PROGRESSBAR
));
34012 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
34013 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
34014 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
34015 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
34016 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
34017 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_From_int((int)wxTE_NO_VSCROLL
));
34018 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_From_int((int)wxTE_AUTO_SCROLL
));
34019 PyDict_SetItemString(d
,"TE_READONLY", SWIG_From_int((int)wxTE_READONLY
));
34020 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_From_int((int)wxTE_MULTILINE
));
34021 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_From_int((int)wxTE_PROCESS_TAB
));
34022 PyDict_SetItemString(d
,"TE_LEFT", SWIG_From_int((int)wxTE_LEFT
));
34023 PyDict_SetItemString(d
,"TE_CENTER", SWIG_From_int((int)wxTE_CENTER
));
34024 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_From_int((int)wxTE_RIGHT
));
34025 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_From_int((int)wxTE_CENTRE
));
34026 PyDict_SetItemString(d
,"TE_RICH", SWIG_From_int((int)wxTE_RICH
));
34027 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_From_int((int)wxTE_PROCESS_ENTER
));
34028 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_From_int((int)wxTE_PASSWORD
));
34029 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_From_int((int)wxTE_AUTO_URL
));
34030 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_From_int((int)wxTE_NOHIDESEL
));
34031 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_From_int((int)wxTE_DONTWRAP
));
34032 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_From_int((int)wxTE_LINEWRAP
));
34033 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_From_int((int)wxTE_WORDWRAP
));
34034 PyDict_SetItemString(d
,"TE_RICH2", SWIG_From_int((int)wxTE_RICH2
));
34035 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)wxTEXT_ALIGNMENT_DEFAULT
));
34036 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)wxTEXT_ALIGNMENT_LEFT
));
34037 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)wxTEXT_ALIGNMENT_CENTRE
));
34038 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)wxTEXT_ALIGNMENT_CENTER
));
34039 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)wxTEXT_ALIGNMENT_RIGHT
));
34040 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
34041 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)wxTEXT_ATTR_TEXT_COLOUR
));
34042 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
34043 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)wxTEXT_ATTR_FONT_FACE
));
34044 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)wxTEXT_ATTR_FONT_SIZE
));
34045 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)wxTEXT_ATTR_FONT_WEIGHT
));
34046 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)wxTEXT_ATTR_FONT_ITALIC
));
34047 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)wxTEXT_ATTR_FONT_UNDERLINE
));
34048 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_From_int((int)wxTEXT_ATTR_FONT
));
34049 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)wxTEXT_ATTR_ALIGNMENT
));
34050 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)wxTEXT_ATTR_LEFT_INDENT
));
34051 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)wxTEXT_ATTR_RIGHT_INDENT
));
34052 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_From_int((int)wxTEXT_ATTR_TABS
));
34053 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_From_int((int)wxTE_HT_UNKNOWN
));
34054 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_From_int((int)wxTE_HT_BEFORE
));
34055 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_From_int((int)wxTE_HT_ON_TEXT
));
34056 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_From_int((int)wxTE_HT_BELOW
));
34057 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_From_int((int)wxTE_HT_BEYOND
));
34058 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
34059 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
34060 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
34061 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
34062 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
34063 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
34064 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
34065 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_From_int((int)wxSP_HORIZONTAL
));
34066 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_From_int((int)wxSP_VERTICAL
));
34067 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_From_int((int)wxSP_ARROW_KEYS
));
34068 PyDict_SetItemString(d
,"SP_WRAP", SWIG_From_int((int)wxSP_WRAP
));
34069 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
34070 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
34071 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
34072 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
34073 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
34074 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
34075 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
34076 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_From_int((int)wxNB_FIXEDWIDTH
));
34077 PyDict_SetItemString(d
,"NB_TOP", SWIG_From_int((int)wxNB_TOP
));
34078 PyDict_SetItemString(d
,"NB_LEFT", SWIG_From_int((int)wxNB_LEFT
));
34079 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_From_int((int)wxNB_RIGHT
));
34080 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_From_int((int)wxNB_BOTTOM
));
34081 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_From_int((int)wxNB_MULTILINE
));
34082 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_From_int((int)wxNB_HITTEST_NOWHERE
));
34083 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_From_int((int)wxNB_HITTEST_ONICON
));
34084 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_From_int((int)wxNB_HITTEST_ONLABEL
));
34085 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_From_int((int)wxNB_HITTEST_ONITEM
));
34086 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
34087 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
34088 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_From_int((int)wxLB_DEFAULT
));
34089 PyDict_SetItemString(d
,"LB_TOP", SWIG_From_int((int)wxLB_TOP
));
34090 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_From_int((int)wxLB_BOTTOM
));
34091 PyDict_SetItemString(d
,"LB_LEFT", SWIG_From_int((int)wxLB_LEFT
));
34092 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_From_int((int)wxLB_RIGHT
));
34093 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_From_int((int)wxLB_ALIGN_MASK
));
34094 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
34095 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
34096 PyDict_SetItemString(d
,"CHB_DEFAULT", SWIG_From_int((int)wxCHB_DEFAULT
));
34097 PyDict_SetItemString(d
,"CHB_TOP", SWIG_From_int((int)wxCHB_TOP
));
34098 PyDict_SetItemString(d
,"CHB_BOTTOM", SWIG_From_int((int)wxCHB_BOTTOM
));
34099 PyDict_SetItemString(d
,"CHB_LEFT", SWIG_From_int((int)wxCHB_LEFT
));
34100 PyDict_SetItemString(d
,"CHB_RIGHT", SWIG_From_int((int)wxCHB_RIGHT
));
34101 PyDict_SetItemString(d
,"CHB_ALIGN_MASK", SWIG_From_int((int)wxCHB_ALIGN_MASK
));
34102 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
34103 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
34104 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_From_int((int)wxTOOL_STYLE_BUTTON
));
34105 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)wxTOOL_STYLE_SEPARATOR
));
34106 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_From_int((int)wxTOOL_STYLE_CONTROL
));
34107 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_From_int((int)wxTB_HORIZONTAL
));
34108 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_From_int((int)wxTB_VERTICAL
));
34109 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_From_int((int)wxTB_3DBUTTONS
));
34110 PyDict_SetItemString(d
,"TB_FLAT", SWIG_From_int((int)wxTB_FLAT
));
34111 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_From_int((int)wxTB_DOCKABLE
));
34112 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_From_int((int)wxTB_NOICONS
));
34113 PyDict_SetItemString(d
,"TB_TEXT", SWIG_From_int((int)wxTB_TEXT
));
34114 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_From_int((int)wxTB_NODIVIDER
));
34115 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_From_int((int)wxTB_NOALIGN
));
34116 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_From_int((int)wxTB_HORZ_LAYOUT
));
34117 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_From_int((int)wxTB_HORZ_TEXT
));
34118 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
34119 PyDict_SetItemString(d
,"LC_VRULES", SWIG_From_int((int)wxLC_VRULES
));
34120 PyDict_SetItemString(d
,"LC_HRULES", SWIG_From_int((int)wxLC_HRULES
));
34121 PyDict_SetItemString(d
,"LC_ICON", SWIG_From_int((int)wxLC_ICON
));
34122 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_From_int((int)wxLC_SMALL_ICON
));
34123 PyDict_SetItemString(d
,"LC_LIST", SWIG_From_int((int)wxLC_LIST
));
34124 PyDict_SetItemString(d
,"LC_REPORT", SWIG_From_int((int)wxLC_REPORT
));
34125 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_From_int((int)wxLC_ALIGN_TOP
));
34126 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_From_int((int)wxLC_ALIGN_LEFT
));
34127 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_From_int((int)wxLC_AUTOARRANGE
));
34128 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_From_int((int)wxLC_VIRTUAL
));
34129 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_From_int((int)wxLC_EDIT_LABELS
));
34130 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_From_int((int)wxLC_NO_HEADER
));
34131 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_From_int((int)wxLC_NO_SORT_HEADER
));
34132 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_From_int((int)wxLC_SINGLE_SEL
));
34133 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_From_int((int)wxLC_SORT_ASCENDING
));
34134 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_From_int((int)wxLC_SORT_DESCENDING
));
34135 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_From_int((int)wxLC_MASK_TYPE
));
34136 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_From_int((int)wxLC_MASK_ALIGN
));
34137 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_From_int((int)wxLC_MASK_SORT
));
34138 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_From_int((int)wxLIST_MASK_STATE
));
34139 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_From_int((int)wxLIST_MASK_TEXT
));
34140 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_From_int((int)wxLIST_MASK_IMAGE
));
34141 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_From_int((int)wxLIST_MASK_DATA
));
34142 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_From_int((int)wxLIST_SET_ITEM
));
34143 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_From_int((int)wxLIST_MASK_WIDTH
));
34144 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_From_int((int)wxLIST_MASK_FORMAT
));
34145 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_From_int((int)wxLIST_STATE_DONTCARE
));
34146 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_From_int((int)wxLIST_STATE_DROPHILITED
));
34147 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_From_int((int)wxLIST_STATE_FOCUSED
));
34148 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_From_int((int)wxLIST_STATE_SELECTED
));
34149 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_From_int((int)wxLIST_STATE_CUT
));
34150 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_From_int((int)wxLIST_STATE_DISABLED
));
34151 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_From_int((int)wxLIST_STATE_FILTERED
));
34152 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_From_int((int)wxLIST_STATE_INUSE
));
34153 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_From_int((int)wxLIST_STATE_PICKED
));
34154 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_From_int((int)wxLIST_STATE_SOURCE
));
34155 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_From_int((int)wxLIST_HITTEST_ABOVE
));
34156 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_From_int((int)wxLIST_HITTEST_BELOW
));
34157 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)wxLIST_HITTEST_NOWHERE
));
34158 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)wxLIST_HITTEST_ONITEMICON
));
34159 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)wxLIST_HITTEST_ONITEMLABEL
));
34160 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)wxLIST_HITTEST_ONITEMRIGHT
));
34161 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)wxLIST_HITTEST_ONITEMSTATEICON
));
34162 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)wxLIST_HITTEST_TOLEFT
));
34163 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)wxLIST_HITTEST_TORIGHT
));
34164 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_From_int((int)wxLIST_HITTEST_ONITEM
));
34165 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_From_int((int)wxLIST_NEXT_ABOVE
));
34166 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_From_int((int)wxLIST_NEXT_ALL
));
34167 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_From_int((int)wxLIST_NEXT_BELOW
));
34168 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_From_int((int)wxLIST_NEXT_LEFT
));
34169 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_From_int((int)wxLIST_NEXT_RIGHT
));
34170 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)wxLIST_ALIGN_DEFAULT
));
34171 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_From_int((int)wxLIST_ALIGN_LEFT
));
34172 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_From_int((int)wxLIST_ALIGN_TOP
));
34173 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)wxLIST_ALIGN_SNAP_TO_GRID
));
34174 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_From_int((int)wxLIST_FORMAT_LEFT
));
34175 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_From_int((int)wxLIST_FORMAT_RIGHT
));
34176 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_From_int((int)wxLIST_FORMAT_CENTRE
));
34177 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_From_int((int)wxLIST_FORMAT_CENTER
));
34178 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_From_int((int)wxLIST_AUTOSIZE
));
34179 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)wxLIST_AUTOSIZE_USEHEADER
));
34180 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_From_int((int)wxLIST_RECT_BOUNDS
));
34181 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_From_int((int)wxLIST_RECT_ICON
));
34182 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_From_int((int)wxLIST_RECT_LABEL
));
34183 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_From_int((int)wxLIST_FIND_UP
));
34184 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_From_int((int)wxLIST_FIND_DOWN
));
34185 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_From_int((int)wxLIST_FIND_LEFT
));
34186 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_From_int((int)wxLIST_FIND_RIGHT
));
34187 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
34188 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
34189 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
34190 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
34191 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
34192 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
34193 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
34194 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
34195 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
34196 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
34197 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
34198 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
34199 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
34200 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
34201 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
34202 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
34203 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
34204 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
34205 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
34206 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
34207 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
34208 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
34210 // Map renamed classes back to their common name for OOR
34211 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
34213 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
34214 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_From_int((int)wxTR_NO_BUTTONS
));
34215 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_From_int((int)wxTR_HAS_BUTTONS
));
34216 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_From_int((int)wxTR_NO_LINES
));
34217 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_From_int((int)wxTR_LINES_AT_ROOT
));
34218 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_From_int((int)wxTR_SINGLE
));
34219 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_From_int((int)wxTR_MULTIPLE
));
34220 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_From_int((int)wxTR_EXTENDED
));
34221 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
34222 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_From_int((int)wxTR_EDIT_LABELS
));
34223 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_From_int((int)wxTR_HIDE_ROOT
));
34224 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_From_int((int)wxTR_ROW_LINES
));
34225 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)wxTR_FULL_ROW_HIGHLIGHT
));
34226 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_From_int((int)wxTR_DEFAULT_STYLE
));
34227 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_From_int((int)wxTR_TWIST_BUTTONS
));
34228 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_From_int((int)wxTR_MAC_BUTTONS
));
34229 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_From_int((int)wxTR_AQUA_BUTTONS
));
34230 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_From_int((int)wxTreeItemIcon_Normal
));
34231 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_From_int((int)wxTreeItemIcon_Selected
));
34232 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_From_int((int)wxTreeItemIcon_Expanded
));
34233 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)wxTreeItemIcon_SelectedExpanded
));
34234 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_From_int((int)wxTreeItemIcon_Max
));
34235 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_From_int((int)wxTREE_HITTEST_ABOVE
));
34236 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_From_int((int)wxTREE_HITTEST_BELOW
));
34237 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)wxTREE_HITTEST_NOWHERE
));
34238 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)wxTREE_HITTEST_ONITEMBUTTON
));
34239 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)wxTREE_HITTEST_ONITEMICON
));
34240 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)wxTREE_HITTEST_ONITEMINDENT
));
34241 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)wxTREE_HITTEST_ONITEMLABEL
));
34242 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)wxTREE_HITTEST_ONITEMRIGHT
));
34243 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)wxTREE_HITTEST_ONITEMSTATEICON
));
34244 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)wxTREE_HITTEST_TOLEFT
));
34245 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)wxTREE_HITTEST_TORIGHT
));
34246 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)wxTREE_HITTEST_ONITEMUPPERPART
));
34247 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)wxTREE_HITTEST_ONITEMLOWERPART
));
34248 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_From_int((int)wxTREE_HITTEST_ONITEM
));
34249 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
34250 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
34251 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
34252 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
34253 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
34254 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
34255 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
34256 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
34257 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
34258 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
34259 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
34260 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
34261 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
34262 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
34263 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
34264 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
34265 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
34266 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
34267 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
34268 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
34270 // Map renamed classes back to their common name for OOR
34271 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
34272 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
34274 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
34275 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)wxDIRCTRL_DIR_ONLY
));
34276 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)wxDIRCTRL_SELECT_FIRST
));
34277 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)wxDIRCTRL_SHOW_FILTERS
));
34278 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)wxDIRCTRL_3D_INTERNAL
));
34279 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)wxDIRCTRL_EDIT_LABELS
));
34280 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)wxFRAME_EX_CONTEXTHELP
));
34281 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)wxDIALOG_EX_CONTEXTHELP
));
34282 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
34283 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
34285 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");