1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypePrettyName SWIG_Python_TypePrettyName
47 #define SWIG_TypeQuery SWIG_Python_TypeQuery
48 #define SWIG_TypeClientData SWIG_Python_TypeClientData
49 #define SWIG_PackData SWIG_Python_PackData
50 #define SWIG_UnpackData SWIG_Python_UnpackData
53 /***********************************************************************
54 * common.swg for wxPython
56 * Include only the function prototypes and such from SWIG's common.swg,
57 * but not the runtime functions themselves. This helps keep the
58 * wrapper files clean of unnecessary stuff that is in the libpy.c file
61 ************************************************************************/
65 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
66 # if defined(_MSC_VER) || defined(__GNUC__)
67 # if defined(STATIC_LINKED)
68 # define SWIGEXPORT(a) a
69 # define SWIGIMPORT(a) extern a
71 # define SWIGEXPORT(a) __declspec(dllexport) a
72 # define SWIGIMPORT(a) extern a
75 # if defined(__BORLANDC__)
76 # define SWIGEXPORT(a) a _export
77 # define SWIGIMPORT(a) a _export
79 # define SWIGEXPORT(a) a
80 # define SWIGIMPORT(a) a
84 # define SWIGEXPORT(a) a
85 # define SWIGIMPORT(a) a
89 # define SWIGRUNTIME(a) SWIGEXPORT(a)
91 # define SWIGRUNTIME(a) static a
98 typedef void *(*swig_converter_func
)(void *);
99 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
101 typedef struct swig_type_info
{
103 swig_converter_func converter
;
106 swig_dycast_func dcast
;
107 struct swig_type_info
*next
;
108 struct swig_type_info
*prev
;
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
113 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
114 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
115 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
116 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
117 SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info
*);
118 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
119 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
120 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
129 /***********************************************************************
130 * pyrun.swg for wxPython
132 * Include only the function prototypes and such from SWIG's pyrun.swg,
133 * but not the runtime functions themselves. This helps keep the
134 * wrapper files clean of unnecessary stuff that is in the libpy.c file
137 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
187 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
199 /* Contract support */
201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
209 /* -------- TYPES TABLE (BEGIN) -------- */
211 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
212 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
213 #define SWIGTYPE_p_wxSizer swig_types[2]
214 #define SWIGTYPE_p_wxCheckBox swig_types[3]
215 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[4]
216 #define SWIGTYPE_p_wxEvent swig_types[5]
217 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[6]
218 #define SWIGTYPE_p_bool swig_types[7]
219 #define SWIGTYPE_p_wxPyTreeItemData swig_types[8]
220 #define SWIGTYPE_p_wxItemContainer swig_types[9]
221 #define SWIGTYPE_p_wxPyListCtrl swig_types[10]
222 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[11]
223 #define SWIGTYPE_p_wxStaticLine swig_types[12]
224 #define SWIGTYPE_p_wxControl swig_types[13]
225 #define SWIGTYPE_p_wxPyControl swig_types[14]
226 #define SWIGTYPE_p_wxGauge swig_types[15]
227 #define SWIGTYPE_p_wxToolBarBase swig_types[16]
228 #define SWIGTYPE_p_wxFont swig_types[17]
229 #define SWIGTYPE_p_wxToggleButton swig_types[18]
230 #define SWIGTYPE_p_wxRadioButton swig_types[19]
231 #define SWIGTYPE_p_wxChoice swig_types[20]
232 #define SWIGTYPE_p_wxMemoryDC swig_types[21]
233 #define SWIGTYPE_p_wxListItemAttr swig_types[22]
234 #define SWIGTYPE_p_void swig_types[23]
235 #define SWIGTYPE_p_int swig_types[24]
236 #define SWIGTYPE_p_wxSize swig_types[25]
237 #define SWIGTYPE_p_wxDC swig_types[26]
238 #define SWIGTYPE_p_wxListView swig_types[27]
239 #define SWIGTYPE_p_wxIcon swig_types[28]
240 #define SWIGTYPE_p_wxVisualAttributes swig_types[29]
241 #define SWIGTYPE_p_wxTextCtrl swig_types[30]
242 #define SWIGTYPE_p_wxNotebook swig_types[31]
243 #define SWIGTYPE_p_wxChoicebook swig_types[32]
244 #define SWIGTYPE_p_wxNotifyEvent swig_types[33]
245 #define SWIGTYPE_p_wxArrayString swig_types[34]
246 #define SWIGTYPE_p_wxListbook swig_types[35]
247 #define SWIGTYPE_p_wxStaticBitmap swig_types[36]
248 #define SWIGTYPE_p_wxSlider swig_types[37]
249 #define SWIGTYPE_p_wxStaticBox swig_types[38]
250 #define SWIGTYPE_p_wxArrayInt swig_types[39]
251 #define SWIGTYPE_p_wxContextHelp swig_types[40]
252 #define SWIGTYPE_p_long swig_types[41]
253 #define SWIGTYPE_p_wxEvtHandler swig_types[42]
254 #define SWIGTYPE_p_wxListEvent swig_types[43]
255 #define SWIGTYPE_p_wxCheckListBox swig_types[44]
256 #define SWIGTYPE_p_wxListBox swig_types[45]
257 #define SWIGTYPE_p_wxBookCtrl swig_types[46]
258 #define SWIGTYPE_p_wxSpinButton swig_types[47]
259 #define SWIGTYPE_p_wxButton swig_types[48]
260 #define SWIGTYPE_p_wxBitmapButton swig_types[49]
261 #define SWIGTYPE_p_wxRect swig_types[50]
262 #define SWIGTYPE_p_wxContextHelpButton swig_types[51]
263 #define SWIGTYPE_p_wxRadioBox swig_types[52]
264 #define SWIGTYPE_p_wxScrollBar swig_types[53]
265 #define SWIGTYPE_p_char swig_types[54]
266 #define SWIGTYPE_p_wxTreeItemId swig_types[55]
267 #define SWIGTYPE_p_wxComboBox swig_types[56]
268 #define SWIGTYPE_p_wxHelpEvent swig_types[57]
269 #define SWIGTYPE_p_wxListItem swig_types[58]
270 #define SWIGTYPE_p_wxNotebookSizer swig_types[59]
271 #define SWIGTYPE_p_wxSpinEvent swig_types[60]
272 #define SWIGTYPE_p_wxGenericDragImage swig_types[61]
273 #define SWIGTYPE_p_wxSpinCtrl swig_types[62]
274 #define SWIGTYPE_p_wxImageList swig_types[63]
275 #define SWIGTYPE_p_wxHelpProvider swig_types[64]
276 #define SWIGTYPE_p_wxTextAttr swig_types[65]
277 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[66]
278 #define SWIGTYPE_p_wxPoint swig_types[67]
279 #define SWIGTYPE_p_wxChoicebookEvent swig_types[68]
280 #define SWIGTYPE_p_wxListbookEvent swig_types[69]
281 #define SWIGTYPE_p_wxNotebookEvent swig_types[70]
282 #define SWIGTYPE_p_wxObject swig_types[71]
283 #define SWIGTYPE_p_wxCursor swig_types[72]
284 #define SWIGTYPE_p_wxKeyEvent swig_types[73]
285 #define SWIGTYPE_p_wxWindow swig_types[74]
286 #define SWIGTYPE_p_wxString swig_types[75]
287 #define SWIGTYPE_p_wxBitmap swig_types[76]
288 #define SWIGTYPE_p_wxTreeEvent swig_types[77]
289 #define SWIGTYPE_p_wxMouseEvent swig_types[78]
290 #define SWIGTYPE_p_wxCommandEvent swig_types[79]
291 #define SWIGTYPE_p_wxStaticText swig_types[80]
292 #define SWIGTYPE_p_wxControlWithItems swig_types[81]
293 #define SWIGTYPE_p_wxToolBarToolBase swig_types[82]
294 #define SWIGTYPE_p_wxColour swig_types[83]
295 #define SWIGTYPE_p_wxToolBar swig_types[84]
296 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[85]
297 #define SWIGTYPE_p_wxValidator swig_types[86]
298 static swig_type_info
*swig_types
[88];
300 /* -------- TYPES TABLE (END) -------- */
303 /*-----------------------------------------------
304 @(target):= _controls_.so
305 ------------------------------------------------*/
306 #define SWIG_init init_controls_
308 #define SWIG_name "_controls_"
310 /* Auxiliar swig macros that appear in the header */
312 #define SWIG_OLDOBJ 1
313 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
314 #define SWIG_PYSTR SWIG_NEWOBJ + 1
317 #define SWIGSTATICINLINE(a) static inline a
318 #define SWIGSTATIC(a) static a
319 #define swig_new_array(size,Type) (new Type[(size)])
320 #define swig_delete(cptr) delete cptr
321 #define swig_delete_array(cptr) delete[] cptr
322 #define swig_const_cast(a,Type) const_cast<Type >(a)
323 #define swig_static_cast(a,Type) static_cast<Type >(a)
324 #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
325 #define swig_new_copy(ptr,Type) (new Type(*ptr))
326 #define swig_numeric_cast(a,Type) static_cast<Type >(a)
330 #define SWIGSTATICINLINE(a) static a
331 #define SWIGSTATIC(a) static a
332 #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
333 #define swig_delete(cptr) free((char*)cptr)
334 #define swig_delete_array(cptr) free((char*)cptr)
335 #define swig_const_cast(a,Type) (Type)(a)
336 #define swig_static_cast(a,Type) (Type)(a)
337 #define swig_reinterpret_cast(a,Type) (Type)(a)
338 #define swig_numeric_cast(a,Type) (Type)(a)
339 #define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
341 #endif /* __cplusplus */
344 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
345 #define SWIG_From_signed_SS_char PyInt_FromLong
347 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
348 #define SWIG_From_unsigned_SS_char PyInt_FromLong
350 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
351 #define SWIG_From_short PyInt_FromLong
353 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
354 #define SWIG_From_unsigned_SS_short PyInt_FromLong
356 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
357 #define SWIG_From_int PyInt_FromLong
359 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
360 #define SWIG_From_long PyInt_FromLong
362 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
363 #define SWIG_From_float PyFloat_FromDouble
365 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
366 #define SWIG_From_double PyFloat_FromDouble
370 #include "wx/wxPython/wxPython.h"
371 #include "wx/wxPython/pyclasses.h"
373 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
374 static const wxString
wxPyEmptyString(wxEmptyString
);
375 static const wxString
wxPyControlNameStr(wxControlNameStr
);
377 const wxArrayString wxPyEmptyStringArray
;
379 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
384 SWIGSTATICINLINE(int)
385 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
388 if (value
< min_value
) {
390 PyErr_Format(PyExc_OverflowError
,
391 "value %ld is less than '%s' minimum %ld",
392 value
, errmsg
, min_value
);
395 } else if (value
> max_value
) {
397 PyErr_Format(PyExc_OverflowError
,
398 "value %ld is greater than '%s' maximum %ld",
399 value
, errmsg
, max_value
);
407 // See my_fragments.i
408 SWIGSTATICINLINE(int)
409 SWIG_AsVal_long(PyObject
* obj
, long* val
)
411 if (PyNumber_Check(obj
)) {
412 if (val
) *val
= PyInt_AsLong(obj
);
416 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
417 obj
->ob_type
->tp_name
);
418 PyErr_SetObject(PyExc_TypeError
, errmsg
);
425 #if INT_MAX != LONG_MAX
426 SWIGSTATICINLINE(int)
427 SWIG_AsVal_int(PyObject
*obj
, int *val
)
429 const char* errmsg
= val
? "int" : 0;
431 if (SWIG_AsVal_long(obj
, &v
)) {
432 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
433 if (val
) *val
= swig_numeric_cast(v
, int);
442 PyErr_SetString(PyExc_TypeError
, "an int is expected");
447 SWIGSTATICINLINE(int)
448 SWIG_AsVal_int(PyObject
*obj
, int *val
)
450 return SWIG_AsVal_long(obj
,(long*)val
);
455 SWIGSTATICINLINE(int)
456 SWIG_As_int(PyObject
* obj
)
459 if (!SWIG_AsVal_int(obj
, &v
)) {
461 this is needed to make valgrind/purify happier. the other
462 solution is throw an exception, but since this code should work
465 memset((void*)&v
, 0, sizeof(int));
471 SWIGSTATICINLINE(long)
472 SWIG_As_long(PyObject
* obj
)
475 if (!SWIG_AsVal_long(obj
, &v
)) {
477 this is needed to make valgrind/purify happier. the other
478 solution is throw an exception, but since this code should work
481 memset((void*)&v
, 0, sizeof(long));
487 SWIGSTATICINLINE(int)
488 SWIG_Check_int(PyObject
* obj
)
490 return SWIG_AsVal_int(obj
, (int*)0);
494 SWIGSTATICINLINE(int)
495 SWIG_Check_long(PyObject
* obj
)
497 return SWIG_AsVal_long(obj
, (long*)0);
500 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
502 SWIGSTATICINLINE(int)
503 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
505 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
506 if (obj
== Py_True
) {
507 if (val
) *val
= true;
510 if (obj
== Py_False
) {
511 if (val
) *val
= false;
515 if (SWIG_AsVal_int(obj
, &res
)) {
516 if (val
) *val
= (bool)res
;
520 PyErr_SetString(PyExc_TypeError
, "a bool is expected");
526 SWIGSTATICINLINE(bool)
527 SWIG_As_bool(PyObject
* obj
)
530 if (!SWIG_AsVal_bool(obj
, &v
)) {
532 this is needed to make valgrind/purify happier. the other
533 solution is throw an exception, but since this code should work
536 memset((void*)&v
, 0, sizeof(bool));
542 SWIGSTATICINLINE(int)
543 SWIG_Check_bool(PyObject
* obj
)
545 return SWIG_AsVal_bool(obj
, (bool*)0);
548 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
549 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
550 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
551 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
552 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
553 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
555 #include <wx/checklst.h>
558 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
559 void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
561 wxPyClientData
* data
= new wxPyClientData(clientData
);
562 self
->Insert(item
, pos
, data
);
564 self
->Insert(item
, pos
);
566 PyObject
*wxListBox_GetSelections(wxListBox
*self
){
568 self
->GetSelections(lst
);
569 PyObject
*tup
= PyTuple_New(lst
.GetCount());
570 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
571 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
575 void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
577 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
578 self
->GetItem(item
)->SetTextColour(c
);
581 void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
583 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
584 self
->GetItem(item
)->SetBackgroundColour(c
);
587 void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
589 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
590 self
->GetItem(item
)->SetFont(f
);
593 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
595 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
601 } else if (target
== Py_None
) {
605 if (!PyTuple_Check(target
)) {
607 target
= PyTuple_New(1);
608 PyTuple_SetItem(target
, 0, o2
);
611 PyTuple_SetItem(o3
, 0, o
);
614 target
= PySequence_Concat(o2
, o3
);
623 // See my_fragments.i
624 SWIGSTATICINLINE(int)
625 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
628 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
629 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
633 *val
= (unsigned long)v
;
638 SWIGSTATICINLINE(unsigned long)
639 SWIG_As_unsigned_SS_long(PyObject
* obj
)
642 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
644 this is needed to make valgrind/purify happier. the other
645 solution is throw an exception, but since this code should work
648 memset((void*)&v
, 0, sizeof(unsigned long));
654 SWIGSTATICINLINE(int)
655 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
657 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
660 void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
661 self
->AppendText(text
);
663 wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
664 return self
->GetValue().Mid(from
, to
- from
);
666 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
667 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
668 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
669 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
670 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
672 #include <wx/slider.h>
675 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
676 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
679 // implement dummy items for platforms that don't have this class
681 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
683 class wxToggleButton
: public wxControl
686 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
687 const wxPoint
&, const wxSize
&, long,
688 const wxValidator
&, const wxString
&)
689 { wxPyRaiseNotImplemented(); }
692 { wxPyRaiseNotImplemented(); }
696 static const wxString
wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME
);
698 SWIGSTATICINLINE(PyObject
* )
699 SWIG_From_unsigned_SS_long(unsigned long value
)
701 return (value
> LONG_MAX
) ?
702 PyLong_FromUnsignedLong(value
)
703 : PyInt_FromLong(swig_numeric_cast(value
,long));
706 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
707 PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
708 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
710 Py_INCREF(udata
->m_obj
);
717 void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
718 self
->SetClientData(new wxPyUserData(clientData
));
720 wxToolBarToolBase
*wxToolBarBase_DoAddTool(wxToolBarBase
*self
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
,wxItemKind kind
,wxString
const &shortHelp
,wxString
const &longHelp
,PyObject
*clientData
){
721 wxPyUserData
* udata
= NULL
;
722 if (clientData
&& clientData
!= Py_None
)
723 udata
= new wxPyUserData(clientData
);
724 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
725 shortHelp
, longHelp
, udata
);
727 wxToolBarToolBase
*wxToolBarBase_DoInsertTool(wxToolBarBase
*self
,size_t pos
,int id
,wxString
const &label
,wxBitmap
const &bitmap
,wxBitmap
const &bmpDisabled
,wxItemKind kind
,wxString
const &shortHelp
,wxString
const &longHelp
,PyObject
*clientData
){
728 wxPyUserData
* udata
= NULL
;
729 if (clientData
&& clientData
!= Py_None
)
730 udata
= new wxPyUserData(clientData
);
731 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
732 shortHelp
, longHelp
, udata
);
734 PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
735 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
737 Py_INCREF(udata
->m_obj
);
744 void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
745 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
748 #include <wx/listctrl.h>
750 static const wxString
wxPyListCtrlNameStr(_T("wxListCtrl"));
751 void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
752 // Python aware sorting function for wxPyListCtrl
753 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
755 PyObject
* func
= (PyObject
*)funcPtr
;
756 bool blocked
= wxPyBeginBlockThreads();
758 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
759 PyObject
* result
= PyEval_CallObject(func
, args
);
762 retval
= PyInt_AsLong(result
);
766 wxPyEndBlockThreads(blocked
);
770 // C++ Version of a Python aware class
771 class wxPyListCtrl
: public wxListCtrl
{
772 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
774 wxPyListCtrl() : wxListCtrl() {}
775 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
779 const wxValidator
& validator
,
780 const wxString
& name
) :
781 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
783 bool Create(wxWindow
* parent
, wxWindowID id
,
787 const wxValidator
& validator
,
788 const wxString
& name
) {
789 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
792 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
793 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
795 // use the virtual version to avoid a confusing assert in the base class
796 DEC_PYCALLBACK_INT_LONG_virtual(OnGetItemImage
);
801 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
803 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
804 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
805 IMP_PYCALLBACK_INT_LONG_virtual(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
808 wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
810 item
.SetMask( wxLIST_MASK_STATE
|
818 if (self
->GetColumn(col
, item
))
819 return new wxListItem(item
);
823 wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
){
824 wxListItem
* info
= new wxListItem
;
825 info
->m_itemId
= itemId
;
827 info
->m_mask
= 0xFFFF;
828 self
->GetItem(*info
);
831 wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
833 self
->GetItemPosition(item
, pos
);
836 wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
){
838 self
->GetItemRect(item
, rect
, code
);
842 bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
843 if (!PyCallable_Check(func
))
845 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
847 wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
851 return (wxWindow
*)self
->m_mainWin
;
855 #include <wx/treectrl.h>
856 #include "wx/wxPython/pytree.h"
858 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
859 bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : false; }
860 bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : true; }
861 void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
862 // C++ version of Python aware wxTreeCtrl
863 class wxPyTreeCtrl
: public wxTreeCtrl
{
864 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
866 wxPyTreeCtrl() : wxTreeCtrl() {}
867 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
871 const wxValidator
& validator
,
872 const wxString
& name
) :
873 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
875 bool Create(wxWindow
*parent
, wxWindowID id
,
879 const wxValidator
& validator
,
880 const wxString
& name
) {
881 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
885 int OnCompareItems(const wxTreeItemId
& item1
,
886 const wxTreeItemId
& item2
) {
889 bool blocked
= wxPyBeginBlockThreads();
890 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
891 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), false);
892 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), false);
893 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
897 wxPyEndBlockThreads(blocked
);
899 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
905 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
909 #if UINT_MAX < LONG_MAX
910 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
911 #define SWIG_From_unsigned_SS_int SWIG_From_long
914 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
915 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
920 SWIGSTATICINLINE(int)
921 SWIG_CheckUnsignedLongInRange(unsigned long value
,
922 unsigned long max_value
,
925 if (value
> max_value
) {
927 PyErr_Format(PyExc_OverflowError
,
928 "value %ld is greater than '%s' minimum %ld",
929 value
, errmsg
, max_value
);
937 #if UINT_MAX != ULONG_MAX
938 SWIGSTATICINLINE(int)
939 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
941 const char* errmsg
= val
? "unsigned int" : 0;
943 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
944 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
945 if (val
) *val
= swig_numeric_cast(v
, unsigned int);
952 PyErr_SetString(PyExc_TypeError
, "an unsigned int is expected");
957 SWIGSTATICINLINE(unsigned int)
958 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
960 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
965 SWIGSTATICINLINE(unsigned int)
966 SWIG_As_unsigned_SS_int(PyObject
* obj
)
969 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
971 this is needed to make valgrind/purify happier. the other
972 solution is throw an exception, but since this code should work
975 memset((void*)&v
, 0, sizeof(unsigned int));
981 SWIGSTATICINLINE(int)
982 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
984 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
987 wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
988 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
990 data
= new wxPyTreeItemData();
991 data
->SetId(item
); // set the id
992 self
->SetItemData(item
, data
);
996 PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
997 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
999 data
= new wxPyTreeItemData();
1000 data
->SetId(item
); // set the id
1001 self
->SetItemData(item
, data
);
1003 return data
->GetData();
1005 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
1006 data
->SetId(item
); // set the id
1007 self
->SetItemData(item
, data
);
1009 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
1010 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
1012 data
= new wxPyTreeItemData(obj
);
1013 data
->SetId(item
); // set the id
1014 self
->SetItemData(item
, data
);
1018 PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
1019 bool blocked
= wxPyBeginBlockThreads();
1020 PyObject
* rval
= PyList_New(0);
1021 wxArrayTreeItemIds array
;
1023 num
= self
->GetSelections(array
);
1024 for (x
=0; x
< num
; x
++) {
1025 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
1026 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), true);
1027 PyList_Append(rval
, item
);
1030 wxPyEndBlockThreads(blocked
);
1033 PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
1035 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
1036 bool blocked
= wxPyBeginBlockThreads();
1037 PyObject
* tup
= PyTuple_New(2);
1038 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
1039 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
1040 wxPyEndBlockThreads(blocked
);
1043 PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
1044 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
1045 bool blocked
= wxPyBeginBlockThreads();
1046 PyObject
* tup
= PyTuple_New(2);
1047 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), true));
1048 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
1049 wxPyEndBlockThreads(blocked
);
1052 PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
){
1054 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
1055 bool blocked
= wxPyBeginBlockThreads();
1056 wxRect
* r
= new wxRect(rect
);
1057 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), true);
1058 wxPyEndBlockThreads(blocked
);
1064 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
1066 SWIGSTATICINLINE(PyObject
*)
1067 SWIG_From_bool(bool value
)
1069 PyObject
*obj
= value
? Py_True
: Py_False
;
1075 // C++ version of Python aware wxControl
1076 class wxPyControl
: public wxControl
1078 DECLARE_DYNAMIC_CLASS(wxPyControl
)
1080 wxPyControl() : wxControl() {}
1081 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
1082 const wxPoint
& pos
= wxDefaultPosition
,
1083 const wxSize
& size
= wxDefaultSize
,
1085 const wxValidator
& validator
=wxDefaultValidator
,
1086 const wxString
& name
= wxPyControlNameStr
)
1087 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
1089 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
1091 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1092 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1093 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1094 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1096 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1097 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1098 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1100 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1101 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1103 DEC_PYCALLBACK__(InitDialog
);
1104 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1105 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1106 DEC_PYCALLBACK_BOOL_(Validate
);
1108 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1109 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1110 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1112 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1113 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1115 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1116 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1117 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1122 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
1124 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
1125 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
1126 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
1127 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
1129 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
1130 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
1131 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
1133 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
1134 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
1136 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
1137 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
1138 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
1139 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
1141 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
1142 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
1143 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
1145 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
1146 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
1148 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
1149 IMP_PYCALLBACK__COLOUR(wxPyControl
, wxControl
, ApplyParentThemeBackground
);
1150 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
1154 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
1156 #include <wx/generic/dragimgg.h>
1161 static int _wrap_ButtonNameStr_set(PyObject
*) {
1162 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
1167 static PyObject
*_wrap_ButtonNameStr_get() {
1172 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1174 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1181 static PyObject
*_wrap_new_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1182 PyObject
*resultobj
;
1183 wxWindow
*arg1
= (wxWindow
*) 0 ;
1184 int arg2
= (int) -1 ;
1185 wxString
const &arg3_defvalue
= wxPyEmptyString
;
1186 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
1187 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1188 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1189 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1190 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1191 long arg6
= (long) 0 ;
1192 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1193 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1194 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1195 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1197 bool temp3
= false ;
1200 bool temp8
= false ;
1201 PyObject
* obj0
= 0 ;
1202 PyObject
* obj1
= 0 ;
1203 PyObject
* obj2
= 0 ;
1204 PyObject
* obj3
= 0 ;
1205 PyObject
* obj4
= 0 ;
1206 PyObject
* obj5
= 0 ;
1207 PyObject
* obj6
= 0 ;
1208 PyObject
* obj7
= 0 ;
1210 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1217 arg2
= (int)SWIG_As_int(obj1
);
1218 if (PyErr_Occurred()) SWIG_fail
;
1222 arg3
= wxString_in_helper(obj2
);
1223 if (arg3
== NULL
) SWIG_fail
;
1230 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1236 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1240 arg6
= (long)SWIG_As_long(obj5
);
1241 if (PyErr_Occurred()) SWIG_fail
;
1244 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1245 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1248 PyErr_SetString(PyExc_TypeError
,"null reference");
1254 arg8
= wxString_in_helper(obj7
);
1255 if (arg8
== NULL
) SWIG_fail
;
1260 if (!wxPyCheckForApp()) SWIG_fail
;
1261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1262 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1264 wxPyEndAllowThreads(__tstate
);
1265 if (PyErr_Occurred()) SWIG_fail
;
1267 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
1290 static PyObject
*_wrap_new_PreButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1291 PyObject
*resultobj
;
1297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
1299 if (!wxPyCheckForApp()) SWIG_fail
;
1300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1301 result
= (wxButton
*)new wxButton();
1303 wxPyEndAllowThreads(__tstate
);
1304 if (PyErr_Occurred()) SWIG_fail
;
1306 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
1313 static PyObject
*_wrap_Button_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1314 PyObject
*resultobj
;
1315 wxButton
*arg1
= (wxButton
*) 0 ;
1316 wxWindow
*arg2
= (wxWindow
*) 0 ;
1317 int arg3
= (int) -1 ;
1318 wxString
const &arg4_defvalue
= wxPyEmptyString
;
1319 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
1320 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1321 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1322 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1323 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1324 long arg7
= (long) 0 ;
1325 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1326 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1327 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1328 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1330 bool temp4
= false ;
1333 bool temp9
= false ;
1334 PyObject
* obj0
= 0 ;
1335 PyObject
* obj1
= 0 ;
1336 PyObject
* obj2
= 0 ;
1337 PyObject
* obj3
= 0 ;
1338 PyObject
* obj4
= 0 ;
1339 PyObject
* obj5
= 0 ;
1340 PyObject
* obj6
= 0 ;
1341 PyObject
* obj7
= 0 ;
1342 PyObject
* obj8
= 0 ;
1344 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1350 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1353 arg3
= (int)SWIG_As_int(obj2
);
1354 if (PyErr_Occurred()) SWIG_fail
;
1358 arg4
= wxString_in_helper(obj3
);
1359 if (arg4
== NULL
) SWIG_fail
;
1366 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1372 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1376 arg7
= (long)SWIG_As_long(obj6
);
1377 if (PyErr_Occurred()) SWIG_fail
;
1380 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1381 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1384 PyErr_SetString(PyExc_TypeError
,"null reference");
1390 arg9
= wxString_in_helper(obj8
);
1391 if (arg9
== NULL
) SWIG_fail
;
1396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1397 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1399 wxPyEndAllowThreads(__tstate
);
1400 if (PyErr_Occurred()) SWIG_fail
;
1403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1427 static PyObject
*_wrap_Button_SetDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1428 PyObject
*resultobj
;
1429 wxButton
*arg1
= (wxButton
*) 0 ;
1430 PyObject
* obj0
= 0 ;
1432 (char *) "self", NULL
1435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1440 (arg1
)->SetDefault();
1442 wxPyEndAllowThreads(__tstate
);
1443 if (PyErr_Occurred()) SWIG_fail
;
1445 Py_INCREF(Py_None
); resultobj
= Py_None
;
1452 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1453 PyObject
*resultobj
;
1459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1462 result
= wxButton::GetDefaultSize();
1464 wxPyEndAllowThreads(__tstate
);
1465 if (PyErr_Occurred()) SWIG_fail
;
1469 resultptr
= new wxSize((wxSize
&) result
);
1470 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
1478 static PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1479 PyObject
*resultobj
;
1480 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
1481 wxVisualAttributes result
;
1482 PyObject
* obj0
= 0 ;
1484 (char *) "variant", NULL
1487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
1489 arg1
= (int)SWIG_As_int(obj0
);
1490 if (PyErr_Occurred()) SWIG_fail
;
1493 if (!wxPyCheckForApp()) SWIG_fail
;
1494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1495 result
= wxButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
1497 wxPyEndAllowThreads(__tstate
);
1498 if (PyErr_Occurred()) SWIG_fail
;
1501 wxVisualAttributes
* resultptr
;
1502 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
1503 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
1511 static PyObject
* Button_swigregister(PyObject
*, PyObject
*args
) {
1513 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1514 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1516 return Py_BuildValue((char *)"");
1518 static PyObject
*_wrap_new_BitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1519 PyObject
*resultobj
;
1520 wxWindow
*arg1
= (wxWindow
*) 0 ;
1521 int arg2
= (int) -1 ;
1522 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
1523 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
1524 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1525 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1526 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1527 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1528 long arg6
= (long) wxBU_AUTODRAW
;
1529 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1530 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1531 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1532 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1533 wxBitmapButton
*result
;
1536 bool temp8
= false ;
1537 PyObject
* obj0
= 0 ;
1538 PyObject
* obj1
= 0 ;
1539 PyObject
* obj2
= 0 ;
1540 PyObject
* obj3
= 0 ;
1541 PyObject
* obj4
= 0 ;
1542 PyObject
* obj5
= 0 ;
1543 PyObject
* obj6
= 0 ;
1544 PyObject
* obj7
= 0 ;
1546 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1553 arg2
= (int)SWIG_As_int(obj1
);
1554 if (PyErr_Occurred()) SWIG_fail
;
1557 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
1558 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1561 PyErr_SetString(PyExc_TypeError
,"null reference");
1568 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1574 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1578 arg6
= (long)SWIG_As_long(obj5
);
1579 if (PyErr_Occurred()) SWIG_fail
;
1582 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1583 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1586 PyErr_SetString(PyExc_TypeError
,"null reference");
1592 arg8
= wxString_in_helper(obj7
);
1593 if (arg8
== NULL
) SWIG_fail
;
1598 if (!wxPyCheckForApp()) SWIG_fail
;
1599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1600 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1602 wxPyEndAllowThreads(__tstate
);
1603 if (PyErr_Occurred()) SWIG_fail
;
1605 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
1620 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1621 PyObject
*resultobj
;
1622 wxBitmapButton
*result
;
1627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1629 if (!wxPyCheckForApp()) SWIG_fail
;
1630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1631 result
= (wxBitmapButton
*)new wxBitmapButton();
1633 wxPyEndAllowThreads(__tstate
);
1634 if (PyErr_Occurred()) SWIG_fail
;
1636 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
1643 static PyObject
*_wrap_BitmapButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1644 PyObject
*resultobj
;
1645 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1646 wxWindow
*arg2
= (wxWindow
*) 0 ;
1647 int arg3
= (int) -1 ;
1648 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
1649 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
1650 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1651 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1652 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1653 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1654 long arg7
= (long) wxBU_AUTODRAW
;
1655 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1656 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1657 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1658 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1662 bool temp9
= false ;
1663 PyObject
* obj0
= 0 ;
1664 PyObject
* obj1
= 0 ;
1665 PyObject
* obj2
= 0 ;
1666 PyObject
* obj3
= 0 ;
1667 PyObject
* obj4
= 0 ;
1668 PyObject
* obj5
= 0 ;
1669 PyObject
* obj6
= 0 ;
1670 PyObject
* obj7
= 0 ;
1671 PyObject
* obj8
= 0 ;
1673 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1679 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1682 arg3
= (int)SWIG_As_int(obj2
);
1683 if (PyErr_Occurred()) SWIG_fail
;
1686 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
1687 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1690 PyErr_SetString(PyExc_TypeError
,"null reference");
1697 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1703 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1707 arg7
= (long)SWIG_As_long(obj6
);
1708 if (PyErr_Occurred()) SWIG_fail
;
1711 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1712 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1715 PyErr_SetString(PyExc_TypeError
,"null reference");
1721 arg9
= wxString_in_helper(obj8
);
1722 if (arg9
== NULL
) SWIG_fail
;
1727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1728 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1730 wxPyEndAllowThreads(__tstate
);
1731 if (PyErr_Occurred()) SWIG_fail
;
1734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1750 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1751 PyObject
*resultobj
;
1752 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1754 PyObject
* obj0
= 0 ;
1756 (char *) "self", NULL
1759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1764 result
= (arg1
)->GetBitmapLabel();
1766 wxPyEndAllowThreads(__tstate
);
1767 if (PyErr_Occurred()) SWIG_fail
;
1770 wxBitmap
* resultptr
;
1771 resultptr
= new wxBitmap((wxBitmap
&) result
);
1772 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1780 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1781 PyObject
*resultobj
;
1782 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1784 PyObject
* obj0
= 0 ;
1786 (char *) "self", NULL
1789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1794 result
= (arg1
)->GetBitmapDisabled();
1796 wxPyEndAllowThreads(__tstate
);
1797 if (PyErr_Occurred()) SWIG_fail
;
1800 wxBitmap
* resultptr
;
1801 resultptr
= new wxBitmap((wxBitmap
&) result
);
1802 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1810 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1811 PyObject
*resultobj
;
1812 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1814 PyObject
* obj0
= 0 ;
1816 (char *) "self", NULL
1819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1824 result
= (arg1
)->GetBitmapFocus();
1826 wxPyEndAllowThreads(__tstate
);
1827 if (PyErr_Occurred()) SWIG_fail
;
1830 wxBitmap
* resultptr
;
1831 resultptr
= new wxBitmap((wxBitmap
&) result
);
1832 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1840 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1841 PyObject
*resultobj
;
1842 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1844 PyObject
* obj0
= 0 ;
1846 (char *) "self", NULL
1849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1854 result
= (arg1
)->GetBitmapSelected();
1856 wxPyEndAllowThreads(__tstate
);
1857 if (PyErr_Occurred()) SWIG_fail
;
1860 wxBitmap
* resultptr
;
1861 resultptr
= new wxBitmap((wxBitmap
&) result
);
1862 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1870 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1871 PyObject
*resultobj
;
1872 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1873 wxBitmap
*arg2
= 0 ;
1874 PyObject
* obj0
= 0 ;
1875 PyObject
* obj1
= 0 ;
1877 (char *) "self",(char *) "bitmap", NULL
1880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1883 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1884 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1887 PyErr_SetString(PyExc_TypeError
,"null reference");
1891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1892 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1894 wxPyEndAllowThreads(__tstate
);
1895 if (PyErr_Occurred()) SWIG_fail
;
1897 Py_INCREF(Py_None
); resultobj
= Py_None
;
1904 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1905 PyObject
*resultobj
;
1906 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1907 wxBitmap
*arg2
= 0 ;
1908 PyObject
* obj0
= 0 ;
1909 PyObject
* obj1
= 0 ;
1911 (char *) "self",(char *) "bitmap", NULL
1914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1917 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1918 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1921 PyErr_SetString(PyExc_TypeError
,"null reference");
1925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1926 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1928 wxPyEndAllowThreads(__tstate
);
1929 if (PyErr_Occurred()) SWIG_fail
;
1931 Py_INCREF(Py_None
); resultobj
= Py_None
;
1938 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1939 PyObject
*resultobj
;
1940 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1941 wxBitmap
*arg2
= 0 ;
1942 PyObject
* obj0
= 0 ;
1943 PyObject
* obj1
= 0 ;
1945 (char *) "self",(char *) "bitmap", NULL
1948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1951 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1952 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1955 PyErr_SetString(PyExc_TypeError
,"null reference");
1959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1960 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1962 wxPyEndAllowThreads(__tstate
);
1963 if (PyErr_Occurred()) SWIG_fail
;
1965 Py_INCREF(Py_None
); resultobj
= Py_None
;
1972 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1973 PyObject
*resultobj
;
1974 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1975 wxBitmap
*arg2
= 0 ;
1976 PyObject
* obj0
= 0 ;
1977 PyObject
* obj1
= 0 ;
1979 (char *) "self",(char *) "bitmap", NULL
1982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1985 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1986 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1989 PyErr_SetString(PyExc_TypeError
,"null reference");
1993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1994 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1996 wxPyEndAllowThreads(__tstate
);
1997 if (PyErr_Occurred()) SWIG_fail
;
1999 Py_INCREF(Py_None
); resultobj
= Py_None
;
2006 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2007 PyObject
*resultobj
;
2008 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2011 PyObject
* obj0
= 0 ;
2012 PyObject
* obj1
= 0 ;
2013 PyObject
* obj2
= 0 ;
2015 (char *) "self",(char *) "x",(char *) "y", NULL
2018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
2020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2021 arg2
= (int)SWIG_As_int(obj1
);
2022 if (PyErr_Occurred()) SWIG_fail
;
2023 arg3
= (int)SWIG_As_int(obj2
);
2024 if (PyErr_Occurred()) SWIG_fail
;
2026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2027 (arg1
)->SetMargins(arg2
,arg3
);
2029 wxPyEndAllowThreads(__tstate
);
2030 if (PyErr_Occurred()) SWIG_fail
;
2032 Py_INCREF(Py_None
); resultobj
= Py_None
;
2039 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2040 PyObject
*resultobj
;
2041 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2043 PyObject
* obj0
= 0 ;
2045 (char *) "self", NULL
2048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
2049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
2050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2053 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
2055 wxPyEndAllowThreads(__tstate
);
2056 if (PyErr_Occurred()) SWIG_fail
;
2058 resultobj
= SWIG_From_int((int)result
);
2065 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2066 PyObject
*resultobj
;
2067 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2069 PyObject
* obj0
= 0 ;
2071 (char *) "self", NULL
2074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
2075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
2076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2079 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
2081 wxPyEndAllowThreads(__tstate
);
2082 if (PyErr_Occurred()) SWIG_fail
;
2084 resultobj
= SWIG_From_int((int)result
);
2091 static PyObject
* BitmapButton_swigregister(PyObject
*, PyObject
*args
) {
2093 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2094 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
2096 return Py_BuildValue((char *)"");
2098 static int _wrap_CheckBoxNameStr_set(PyObject
*) {
2099 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
2104 static PyObject
*_wrap_CheckBoxNameStr_get() {
2109 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
2111 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
2118 static PyObject
*_wrap_new_CheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2119 PyObject
*resultobj
;
2120 wxWindow
*arg1
= (wxWindow
*) 0 ;
2121 int arg2
= (int) -1 ;
2122 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2123 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2124 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2125 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2126 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2127 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2128 long arg6
= (long) 0 ;
2129 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2130 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2131 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
2132 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2134 bool temp3
= false ;
2137 bool temp8
= false ;
2138 PyObject
* obj0
= 0 ;
2139 PyObject
* obj1
= 0 ;
2140 PyObject
* obj2
= 0 ;
2141 PyObject
* obj3
= 0 ;
2142 PyObject
* obj4
= 0 ;
2143 PyObject
* obj5
= 0 ;
2144 PyObject
* obj6
= 0 ;
2145 PyObject
* obj7
= 0 ;
2147 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2154 arg2
= (int)SWIG_As_int(obj1
);
2155 if (PyErr_Occurred()) SWIG_fail
;
2159 arg3
= wxString_in_helper(obj2
);
2160 if (arg3
== NULL
) SWIG_fail
;
2167 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2173 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2177 arg6
= (long)SWIG_As_long(obj5
);
2178 if (PyErr_Occurred()) SWIG_fail
;
2181 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2182 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2185 PyErr_SetString(PyExc_TypeError
,"null reference");
2191 arg8
= wxString_in_helper(obj7
);
2192 if (arg8
== NULL
) SWIG_fail
;
2197 if (!wxPyCheckForApp()) SWIG_fail
;
2198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2199 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2201 wxPyEndAllowThreads(__tstate
);
2202 if (PyErr_Occurred()) SWIG_fail
;
2204 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2227 static PyObject
*_wrap_new_PreCheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2228 PyObject
*resultobj
;
2234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
2236 if (!wxPyCheckForApp()) SWIG_fail
;
2237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2238 result
= (wxCheckBox
*)new wxCheckBox();
2240 wxPyEndAllowThreads(__tstate
);
2241 if (PyErr_Occurred()) SWIG_fail
;
2243 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2250 static PyObject
*_wrap_CheckBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2251 PyObject
*resultobj
;
2252 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2253 wxWindow
*arg2
= (wxWindow
*) 0 ;
2254 int arg3
= (int) -1 ;
2255 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2256 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2257 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2258 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2259 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2260 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2261 long arg7
= (long) 0 ;
2262 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2263 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2264 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
2265 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2267 bool temp4
= false ;
2270 bool temp9
= false ;
2271 PyObject
* obj0
= 0 ;
2272 PyObject
* obj1
= 0 ;
2273 PyObject
* obj2
= 0 ;
2274 PyObject
* obj3
= 0 ;
2275 PyObject
* obj4
= 0 ;
2276 PyObject
* obj5
= 0 ;
2277 PyObject
* obj6
= 0 ;
2278 PyObject
* obj7
= 0 ;
2279 PyObject
* obj8
= 0 ;
2281 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2287 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2290 arg3
= (int)SWIG_As_int(obj2
);
2291 if (PyErr_Occurred()) SWIG_fail
;
2295 arg4
= wxString_in_helper(obj3
);
2296 if (arg4
== NULL
) SWIG_fail
;
2303 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2309 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2313 arg7
= (long)SWIG_As_long(obj6
);
2314 if (PyErr_Occurred()) SWIG_fail
;
2317 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2318 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2321 PyErr_SetString(PyExc_TypeError
,"null reference");
2327 arg9
= wxString_in_helper(obj8
);
2328 if (arg9
== NULL
) SWIG_fail
;
2333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2334 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2336 wxPyEndAllowThreads(__tstate
);
2337 if (PyErr_Occurred()) SWIG_fail
;
2340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2364 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2365 PyObject
*resultobj
;
2366 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2368 PyObject
* obj0
= 0 ;
2370 (char *) "self", NULL
2373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
2374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2378 result
= (bool)(arg1
)->GetValue();
2380 wxPyEndAllowThreads(__tstate
);
2381 if (PyErr_Occurred()) SWIG_fail
;
2384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2392 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2393 PyObject
*resultobj
;
2394 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2396 PyObject
* obj0
= 0 ;
2398 (char *) "self", NULL
2401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
2402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2406 result
= (bool)(arg1
)->IsChecked();
2408 wxPyEndAllowThreads(__tstate
);
2409 if (PyErr_Occurred()) SWIG_fail
;
2412 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2420 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2421 PyObject
*resultobj
;
2422 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2424 PyObject
* obj0
= 0 ;
2425 PyObject
* obj1
= 0 ;
2427 (char *) "self",(char *) "state", NULL
2430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2433 arg2
= (bool)SWIG_As_bool(obj1
);
2434 if (PyErr_Occurred()) SWIG_fail
;
2436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2437 (arg1
)->SetValue(arg2
);
2439 wxPyEndAllowThreads(__tstate
);
2440 if (PyErr_Occurred()) SWIG_fail
;
2442 Py_INCREF(Py_None
); resultobj
= Py_None
;
2449 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2450 PyObject
*resultobj
;
2451 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2453 PyObject
* obj0
= 0 ;
2455 (char *) "self", NULL
2458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2463 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2465 wxPyEndAllowThreads(__tstate
);
2466 if (PyErr_Occurred()) SWIG_fail
;
2468 resultobj
= SWIG_From_int((int)result
);
2475 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2476 PyObject
*resultobj
;
2477 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2479 PyObject
* obj0
= 0 ;
2480 PyObject
* obj1
= 0 ;
2482 (char *) "self",(char *) "state", NULL
2485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2488 arg2
= (int)SWIG_As_int(obj1
);
2489 if (PyErr_Occurred()) SWIG_fail
;
2491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2492 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2494 wxPyEndAllowThreads(__tstate
);
2495 if (PyErr_Occurred()) SWIG_fail
;
2497 Py_INCREF(Py_None
); resultobj
= Py_None
;
2504 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2505 PyObject
*resultobj
;
2506 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2508 PyObject
* obj0
= 0 ;
2510 (char *) "self", NULL
2513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2518 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2520 wxPyEndAllowThreads(__tstate
);
2521 if (PyErr_Occurred()) SWIG_fail
;
2524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2532 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2533 PyObject
*resultobj
;
2534 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2536 PyObject
* obj0
= 0 ;
2538 (char *) "self", NULL
2541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2546 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2548 wxPyEndAllowThreads(__tstate
);
2549 if (PyErr_Occurred()) SWIG_fail
;
2552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2560 static PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2561 PyObject
*resultobj
;
2562 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2563 wxVisualAttributes result
;
2564 PyObject
* obj0
= 0 ;
2566 (char *) "variant", NULL
2569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2571 arg1
= (int)SWIG_As_int(obj0
);
2572 if (PyErr_Occurred()) SWIG_fail
;
2575 if (!wxPyCheckForApp()) SWIG_fail
;
2576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2577 result
= wxCheckBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2579 wxPyEndAllowThreads(__tstate
);
2580 if (PyErr_Occurred()) SWIG_fail
;
2583 wxVisualAttributes
* resultptr
;
2584 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2585 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2593 static PyObject
* CheckBox_swigregister(PyObject
*, PyObject
*args
) {
2595 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2596 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2598 return Py_BuildValue((char *)"");
2600 static int _wrap_ChoiceNameStr_set(PyObject
*) {
2601 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2606 static PyObject
*_wrap_ChoiceNameStr_get() {
2611 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2613 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2620 static PyObject
*_wrap_new_Choice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2621 PyObject
*resultobj
;
2622 wxWindow
*arg1
= (wxWindow
*) 0 ;
2623 int arg2
= (int) -1 ;
2624 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2625 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2626 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2627 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2628 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
2629 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
2630 long arg6
= (long) 0 ;
2631 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2632 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2633 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
2634 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2638 bool temp5
= false ;
2639 bool temp8
= false ;
2640 PyObject
* obj0
= 0 ;
2641 PyObject
* obj1
= 0 ;
2642 PyObject
* obj2
= 0 ;
2643 PyObject
* obj3
= 0 ;
2644 PyObject
* obj4
= 0 ;
2645 PyObject
* obj5
= 0 ;
2646 PyObject
* obj6
= 0 ;
2647 PyObject
* obj7
= 0 ;
2649 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2656 arg2
= (int)SWIG_As_int(obj1
);
2657 if (PyErr_Occurred()) SWIG_fail
;
2662 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2668 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2673 if (! PySequence_Check(obj4
)) {
2674 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2677 arg5
= new wxArrayString
;
2679 int i
, len
=PySequence_Length(obj4
);
2680 for (i
=0; i
<len
; i
++) {
2681 PyObject
* item
= PySequence_GetItem(obj4
, i
);
2683 PyObject
* str
= PyObject_Unicode(item
);
2685 PyObject
* str
= PyObject_Str(item
);
2687 if (PyErr_Occurred()) SWIG_fail
;
2688 arg5
->Add(Py2wxString(str
));
2695 arg6
= (long)SWIG_As_long(obj5
);
2696 if (PyErr_Occurred()) SWIG_fail
;
2699 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2700 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2703 PyErr_SetString(PyExc_TypeError
,"null reference");
2709 arg8
= wxString_in_helper(obj7
);
2710 if (arg8
== NULL
) SWIG_fail
;
2715 if (!wxPyCheckForApp()) SWIG_fail
;
2716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2717 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2719 wxPyEndAllowThreads(__tstate
);
2720 if (PyErr_Occurred()) SWIG_fail
;
2722 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2724 if (temp5
) delete arg5
;
2733 if (temp5
) delete arg5
;
2743 static PyObject
*_wrap_new_PreChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2744 PyObject
*resultobj
;
2750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2752 if (!wxPyCheckForApp()) SWIG_fail
;
2753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2754 result
= (wxChoice
*)new wxChoice();
2756 wxPyEndAllowThreads(__tstate
);
2757 if (PyErr_Occurred()) SWIG_fail
;
2759 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2766 static PyObject
*_wrap_Choice_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2767 PyObject
*resultobj
;
2768 wxChoice
*arg1
= (wxChoice
*) 0 ;
2769 wxWindow
*arg2
= (wxWindow
*) 0 ;
2770 int arg3
= (int) -1 ;
2771 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2772 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2773 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2774 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2775 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2776 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2777 long arg7
= (long) 0 ;
2778 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2779 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2780 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2781 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2785 bool temp6
= false ;
2786 bool temp9
= false ;
2787 PyObject
* obj0
= 0 ;
2788 PyObject
* obj1
= 0 ;
2789 PyObject
* obj2
= 0 ;
2790 PyObject
* obj3
= 0 ;
2791 PyObject
* obj4
= 0 ;
2792 PyObject
* obj5
= 0 ;
2793 PyObject
* obj6
= 0 ;
2794 PyObject
* obj7
= 0 ;
2795 PyObject
* obj8
= 0 ;
2797 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2803 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2806 arg3
= (int)SWIG_As_int(obj2
);
2807 if (PyErr_Occurred()) SWIG_fail
;
2812 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2818 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2823 if (! PySequence_Check(obj5
)) {
2824 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2827 arg6
= new wxArrayString
;
2829 int i
, len
=PySequence_Length(obj5
);
2830 for (i
=0; i
<len
; i
++) {
2831 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2833 PyObject
* str
= PyObject_Unicode(item
);
2835 PyObject
* str
= PyObject_Str(item
);
2837 if (PyErr_Occurred()) SWIG_fail
;
2838 arg6
->Add(Py2wxString(str
));
2845 arg7
= (long)SWIG_As_long(obj6
);
2846 if (PyErr_Occurred()) SWIG_fail
;
2849 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2850 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2853 PyErr_SetString(PyExc_TypeError
,"null reference");
2859 arg9
= wxString_in_helper(obj8
);
2860 if (arg9
== NULL
) SWIG_fail
;
2865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2866 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2868 wxPyEndAllowThreads(__tstate
);
2869 if (PyErr_Occurred()) SWIG_fail
;
2872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2875 if (temp6
) delete arg6
;
2884 if (temp6
) delete arg6
;
2894 static PyObject
*_wrap_Choice_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2895 PyObject
*resultobj
;
2896 wxChoice
*arg1
= (wxChoice
*) 0 ;
2898 PyObject
* obj0
= 0 ;
2899 PyObject
* obj1
= 0 ;
2901 (char *) "self",(char *) "n", NULL
2904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2907 arg2
= (int)SWIG_As_int(obj1
);
2908 if (PyErr_Occurred()) SWIG_fail
;
2910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2911 (arg1
)->SetSelection(arg2
);
2913 wxPyEndAllowThreads(__tstate
);
2914 if (PyErr_Occurred()) SWIG_fail
;
2916 Py_INCREF(Py_None
); resultobj
= Py_None
;
2923 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2924 PyObject
*resultobj
;
2925 wxChoice
*arg1
= (wxChoice
*) 0 ;
2926 wxString
*arg2
= 0 ;
2928 bool temp2
= false ;
2929 PyObject
* obj0
= 0 ;
2930 PyObject
* obj1
= 0 ;
2932 (char *) "self",(char *) "string", NULL
2935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2939 arg2
= wxString_in_helper(obj1
);
2940 if (arg2
== NULL
) SWIG_fail
;
2944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2945 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
2947 wxPyEndAllowThreads(__tstate
);
2948 if (PyErr_Occurred()) SWIG_fail
;
2951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2967 static PyObject
*_wrap_Choice_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2968 PyObject
*resultobj
;
2969 wxChoice
*arg1
= (wxChoice
*) 0 ;
2971 wxString
*arg3
= 0 ;
2972 bool temp3
= false ;
2973 PyObject
* obj0
= 0 ;
2974 PyObject
* obj1
= 0 ;
2975 PyObject
* obj2
= 0 ;
2977 (char *) "self",(char *) "n",(char *) "string", NULL
2980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2983 arg2
= (int)SWIG_As_int(obj1
);
2984 if (PyErr_Occurred()) SWIG_fail
;
2986 arg3
= wxString_in_helper(obj2
);
2987 if (arg3
== NULL
) SWIG_fail
;
2991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2992 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2994 wxPyEndAllowThreads(__tstate
);
2995 if (PyErr_Occurred()) SWIG_fail
;
2997 Py_INCREF(Py_None
); resultobj
= Py_None
;
3012 static PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3013 PyObject
*resultobj
;
3014 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
3015 wxVisualAttributes result
;
3016 PyObject
* obj0
= 0 ;
3018 (char *) "variant", NULL
3021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3023 arg1
= (int)SWIG_As_int(obj0
);
3024 if (PyErr_Occurred()) SWIG_fail
;
3027 if (!wxPyCheckForApp()) SWIG_fail
;
3028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3029 result
= wxChoice::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3031 wxPyEndAllowThreads(__tstate
);
3032 if (PyErr_Occurred()) SWIG_fail
;
3035 wxVisualAttributes
* resultptr
;
3036 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
3037 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3045 static PyObject
* Choice_swigregister(PyObject
*, PyObject
*args
) {
3047 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3048 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
3050 return Py_BuildValue((char *)"");
3052 static int _wrap_ComboBoxNameStr_set(PyObject
*) {
3053 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
3058 static PyObject
*_wrap_ComboBoxNameStr_get() {
3063 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
3065 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
3072 static PyObject
*_wrap_new_ComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3073 PyObject
*resultobj
;
3074 wxWindow
*arg1
= (wxWindow
*) 0 ;
3075 int arg2
= (int) -1 ;
3076 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3077 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3078 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3079 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3080 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3081 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3082 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
3083 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
3084 long arg7
= (long) 0 ;
3085 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3086 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3087 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
3088 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3090 bool temp3
= false ;
3093 bool temp6
= false ;
3094 bool temp9
= false ;
3095 PyObject
* obj0
= 0 ;
3096 PyObject
* obj1
= 0 ;
3097 PyObject
* obj2
= 0 ;
3098 PyObject
* obj3
= 0 ;
3099 PyObject
* obj4
= 0 ;
3100 PyObject
* obj5
= 0 ;
3101 PyObject
* obj6
= 0 ;
3102 PyObject
* obj7
= 0 ;
3103 PyObject
* obj8
= 0 ;
3105 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3112 arg2
= (int)SWIG_As_int(obj1
);
3113 if (PyErr_Occurred()) SWIG_fail
;
3117 arg3
= wxString_in_helper(obj2
);
3118 if (arg3
== NULL
) SWIG_fail
;
3125 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3131 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3136 if (! PySequence_Check(obj5
)) {
3137 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3140 arg6
= new wxArrayString
;
3142 int i
, len
=PySequence_Length(obj5
);
3143 for (i
=0; i
<len
; i
++) {
3144 PyObject
* item
= PySequence_GetItem(obj5
, i
);
3146 PyObject
* str
= PyObject_Unicode(item
);
3148 PyObject
* str
= PyObject_Str(item
);
3150 if (PyErr_Occurred()) SWIG_fail
;
3151 arg6
->Add(Py2wxString(str
));
3158 arg7
= (long)SWIG_As_long(obj6
);
3159 if (PyErr_Occurred()) SWIG_fail
;
3162 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
3163 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3166 PyErr_SetString(PyExc_TypeError
,"null reference");
3172 arg9
= wxString_in_helper(obj8
);
3173 if (arg9
== NULL
) SWIG_fail
;
3178 if (!wxPyCheckForApp()) SWIG_fail
;
3179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3180 result
= (wxComboBox
*)new wxComboBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
3182 wxPyEndAllowThreads(__tstate
);
3183 if (PyErr_Occurred()) SWIG_fail
;
3185 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
3191 if (temp6
) delete arg6
;
3204 if (temp6
) delete arg6
;
3214 static PyObject
*_wrap_new_PreComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3215 PyObject
*resultobj
;
3221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
3223 if (!wxPyCheckForApp()) SWIG_fail
;
3224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3225 result
= (wxComboBox
*)new wxComboBox();
3227 wxPyEndAllowThreads(__tstate
);
3228 if (PyErr_Occurred()) SWIG_fail
;
3230 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
3237 static PyObject
*_wrap_ComboBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3238 PyObject
*resultobj
;
3239 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3240 wxWindow
*arg2
= (wxWindow
*) 0 ;
3241 int arg3
= (int) -1 ;
3242 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3243 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3244 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3245 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3246 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3247 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3248 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
3249 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
3250 long arg8
= (long) 0 ;
3251 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
3252 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
3253 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
3254 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
3256 bool temp4
= false ;
3259 bool temp7
= false ;
3260 bool temp10
= false ;
3261 PyObject
* obj0
= 0 ;
3262 PyObject
* obj1
= 0 ;
3263 PyObject
* obj2
= 0 ;
3264 PyObject
* obj3
= 0 ;
3265 PyObject
* obj4
= 0 ;
3266 PyObject
* obj5
= 0 ;
3267 PyObject
* obj6
= 0 ;
3268 PyObject
* obj7
= 0 ;
3269 PyObject
* obj8
= 0 ;
3270 PyObject
* obj9
= 0 ;
3272 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
3276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3278 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3281 arg3
= (int)SWIG_As_int(obj2
);
3282 if (PyErr_Occurred()) SWIG_fail
;
3286 arg4
= wxString_in_helper(obj3
);
3287 if (arg4
== NULL
) SWIG_fail
;
3294 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3300 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3305 if (! PySequence_Check(obj6
)) {
3306 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3309 arg7
= new wxArrayString
;
3311 int i
, len
=PySequence_Length(obj6
);
3312 for (i
=0; i
<len
; i
++) {
3313 PyObject
* item
= PySequence_GetItem(obj6
, i
);
3315 PyObject
* str
= PyObject_Unicode(item
);
3317 PyObject
* str
= PyObject_Str(item
);
3319 if (PyErr_Occurred()) SWIG_fail
;
3320 arg7
->Add(Py2wxString(str
));
3327 arg8
= (long)SWIG_As_long(obj7
);
3328 if (PyErr_Occurred()) SWIG_fail
;
3331 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
3332 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3335 PyErr_SetString(PyExc_TypeError
,"null reference");
3341 arg10
= wxString_in_helper(obj9
);
3342 if (arg10
== NULL
) SWIG_fail
;
3347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3348 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxArrayString
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
3350 wxPyEndAllowThreads(__tstate
);
3351 if (PyErr_Occurred()) SWIG_fail
;
3354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3361 if (temp7
) delete arg7
;
3374 if (temp7
) delete arg7
;
3384 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3385 PyObject
*resultobj
;
3386 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3388 PyObject
* obj0
= 0 ;
3390 (char *) "self", NULL
3393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
3394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3398 result
= ((wxComboBox
const *)arg1
)->GetValue();
3400 wxPyEndAllowThreads(__tstate
);
3401 if (PyErr_Occurred()) SWIG_fail
;
3405 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3407 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3416 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3417 PyObject
*resultobj
;
3418 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3419 wxString
*arg2
= 0 ;
3420 bool temp2
= false ;
3421 PyObject
* obj0
= 0 ;
3422 PyObject
* obj1
= 0 ;
3424 (char *) "self",(char *) "value", NULL
3427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3431 arg2
= wxString_in_helper(obj1
);
3432 if (arg2
== NULL
) SWIG_fail
;
3436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3437 (arg1
)->SetValue((wxString
const &)*arg2
);
3439 wxPyEndAllowThreads(__tstate
);
3440 if (PyErr_Occurred()) SWIG_fail
;
3442 Py_INCREF(Py_None
); resultobj
= Py_None
;
3457 static PyObject
*_wrap_ComboBox_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3458 PyObject
*resultobj
;
3459 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3460 PyObject
* obj0
= 0 ;
3462 (char *) "self", NULL
3465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
3466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3472 wxPyEndAllowThreads(__tstate
);
3473 if (PyErr_Occurred()) SWIG_fail
;
3475 Py_INCREF(Py_None
); resultobj
= Py_None
;
3482 static PyObject
*_wrap_ComboBox_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3483 PyObject
*resultobj
;
3484 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3485 PyObject
* obj0
= 0 ;
3487 (char *) "self", NULL
3490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3497 wxPyEndAllowThreads(__tstate
);
3498 if (PyErr_Occurred()) SWIG_fail
;
3500 Py_INCREF(Py_None
); resultobj
= Py_None
;
3507 static PyObject
*_wrap_ComboBox_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3508 PyObject
*resultobj
;
3509 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3510 PyObject
* obj0
= 0 ;
3512 (char *) "self", NULL
3515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3522 wxPyEndAllowThreads(__tstate
);
3523 if (PyErr_Occurred()) SWIG_fail
;
3525 Py_INCREF(Py_None
); resultobj
= Py_None
;
3532 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3533 PyObject
*resultobj
;
3534 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3536 PyObject
* obj0
= 0 ;
3537 PyObject
* obj1
= 0 ;
3539 (char *) "self",(char *) "pos", NULL
3542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3545 arg2
= (long)SWIG_As_long(obj1
);
3546 if (PyErr_Occurred()) SWIG_fail
;
3548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3549 (arg1
)->SetInsertionPoint(arg2
);
3551 wxPyEndAllowThreads(__tstate
);
3552 if (PyErr_Occurred()) SWIG_fail
;
3554 Py_INCREF(Py_None
); resultobj
= Py_None
;
3561 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3562 PyObject
*resultobj
;
3563 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3565 PyObject
* obj0
= 0 ;
3567 (char *) "self", NULL
3570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3575 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3577 wxPyEndAllowThreads(__tstate
);
3578 if (PyErr_Occurred()) SWIG_fail
;
3580 resultobj
= SWIG_From_long((long)result
);
3587 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3588 PyObject
*resultobj
;
3589 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3591 PyObject
* obj0
= 0 ;
3593 (char *) "self", NULL
3596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3601 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3603 wxPyEndAllowThreads(__tstate
);
3604 if (PyErr_Occurred()) SWIG_fail
;
3606 resultobj
= SWIG_From_long((long)result
);
3613 static PyObject
*_wrap_ComboBox_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3614 PyObject
*resultobj
;
3615 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3618 wxString
*arg4
= 0 ;
3619 bool temp4
= false ;
3620 PyObject
* obj0
= 0 ;
3621 PyObject
* obj1
= 0 ;
3622 PyObject
* obj2
= 0 ;
3623 PyObject
* obj3
= 0 ;
3625 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3631 arg2
= (long)SWIG_As_long(obj1
);
3632 if (PyErr_Occurred()) SWIG_fail
;
3633 arg3
= (long)SWIG_As_long(obj2
);
3634 if (PyErr_Occurred()) SWIG_fail
;
3636 arg4
= wxString_in_helper(obj3
);
3637 if (arg4
== NULL
) SWIG_fail
;
3641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3642 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3644 wxPyEndAllowThreads(__tstate
);
3645 if (PyErr_Occurred()) SWIG_fail
;
3647 Py_INCREF(Py_None
); resultobj
= Py_None
;
3662 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3663 PyObject
*resultobj
;
3664 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3666 PyObject
* obj0
= 0 ;
3667 PyObject
* obj1
= 0 ;
3669 (char *) "self",(char *) "n", NULL
3672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3675 arg2
= (int)SWIG_As_int(obj1
);
3676 if (PyErr_Occurred()) SWIG_fail
;
3678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3679 (arg1
)->SetSelection(arg2
);
3681 wxPyEndAllowThreads(__tstate
);
3682 if (PyErr_Occurred()) SWIG_fail
;
3684 Py_INCREF(Py_None
); resultobj
= Py_None
;
3691 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3692 PyObject
*resultobj
;
3693 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3696 PyObject
* obj0
= 0 ;
3697 PyObject
* obj1
= 0 ;
3698 PyObject
* obj2
= 0 ;
3700 (char *) "self",(char *) "from",(char *) "to", NULL
3703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3706 arg2
= (long)SWIG_As_long(obj1
);
3707 if (PyErr_Occurred()) SWIG_fail
;
3708 arg3
= (long)SWIG_As_long(obj2
);
3709 if (PyErr_Occurred()) SWIG_fail
;
3711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3712 (arg1
)->SetSelection(arg2
,arg3
);
3714 wxPyEndAllowThreads(__tstate
);
3715 if (PyErr_Occurred()) SWIG_fail
;
3717 Py_INCREF(Py_None
); resultobj
= Py_None
;
3724 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3725 PyObject
*resultobj
;
3726 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3727 wxString
*arg2
= 0 ;
3729 bool temp2
= false ;
3730 PyObject
* obj0
= 0 ;
3731 PyObject
* obj1
= 0 ;
3733 (char *) "self",(char *) "string", NULL
3736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3740 arg2
= wxString_in_helper(obj1
);
3741 if (arg2
== NULL
) SWIG_fail
;
3745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3746 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
3748 wxPyEndAllowThreads(__tstate
);
3749 if (PyErr_Occurred()) SWIG_fail
;
3752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3768 static PyObject
*_wrap_ComboBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3769 PyObject
*resultobj
;
3770 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3772 wxString
*arg3
= 0 ;
3773 bool temp3
= false ;
3774 PyObject
* obj0
= 0 ;
3775 PyObject
* obj1
= 0 ;
3776 PyObject
* obj2
= 0 ;
3778 (char *) "self",(char *) "n",(char *) "string", NULL
3781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3784 arg2
= (int)SWIG_As_int(obj1
);
3785 if (PyErr_Occurred()) SWIG_fail
;
3787 arg3
= wxString_in_helper(obj2
);
3788 if (arg3
== NULL
) SWIG_fail
;
3792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3793 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
3795 wxPyEndAllowThreads(__tstate
);
3796 if (PyErr_Occurred()) SWIG_fail
;
3798 Py_INCREF(Py_None
); resultobj
= Py_None
;
3813 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3814 PyObject
*resultobj
;
3815 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3817 PyObject
* obj0
= 0 ;
3818 PyObject
* obj1
= 0 ;
3820 (char *) "self",(char *) "editable", NULL
3823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3826 arg2
= (bool)SWIG_As_bool(obj1
);
3827 if (PyErr_Occurred()) SWIG_fail
;
3829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3830 (arg1
)->SetEditable(arg2
);
3832 wxPyEndAllowThreads(__tstate
);
3833 if (PyErr_Occurred()) SWIG_fail
;
3835 Py_INCREF(Py_None
); resultobj
= Py_None
;
3842 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3843 PyObject
*resultobj
;
3844 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3845 PyObject
* obj0
= 0 ;
3847 (char *) "self", NULL
3850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3855 (arg1
)->SetInsertionPointEnd();
3857 wxPyEndAllowThreads(__tstate
);
3858 if (PyErr_Occurred()) SWIG_fail
;
3860 Py_INCREF(Py_None
); resultobj
= Py_None
;
3867 static PyObject
*_wrap_ComboBox_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3868 PyObject
*resultobj
;
3869 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3872 PyObject
* obj0
= 0 ;
3873 PyObject
* obj1
= 0 ;
3874 PyObject
* obj2
= 0 ;
3876 (char *) "self",(char *) "from",(char *) "to", NULL
3879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3882 arg2
= (long)SWIG_As_long(obj1
);
3883 if (PyErr_Occurred()) SWIG_fail
;
3884 arg3
= (long)SWIG_As_long(obj2
);
3885 if (PyErr_Occurred()) SWIG_fail
;
3887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3888 (arg1
)->Remove(arg2
,arg3
);
3890 wxPyEndAllowThreads(__tstate
);
3891 if (PyErr_Occurred()) SWIG_fail
;
3893 Py_INCREF(Py_None
); resultobj
= Py_None
;
3900 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3901 PyObject
*resultobj
;
3902 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
3903 wxVisualAttributes result
;
3904 PyObject
* obj0
= 0 ;
3906 (char *) "variant", NULL
3909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3911 arg1
= (int)SWIG_As_int(obj0
);
3912 if (PyErr_Occurred()) SWIG_fail
;
3915 if (!wxPyCheckForApp()) SWIG_fail
;
3916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3917 result
= wxComboBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3919 wxPyEndAllowThreads(__tstate
);
3920 if (PyErr_Occurred()) SWIG_fail
;
3923 wxVisualAttributes
* resultptr
;
3924 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
3925 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3933 static PyObject
* ComboBox_swigregister(PyObject
*, PyObject
*args
) {
3935 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3936 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3938 return Py_BuildValue((char *)"");
3940 static int _wrap_GaugeNameStr_set(PyObject
*) {
3941 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3946 static PyObject
*_wrap_GaugeNameStr_get() {
3951 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3953 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3960 static PyObject
*_wrap_new_Gauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3961 PyObject
*resultobj
;
3962 wxWindow
*arg1
= (wxWindow
*) 0 ;
3963 int arg2
= (int) -1 ;
3964 int arg3
= (int) 100 ;
3965 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3966 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3967 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3968 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3969 long arg6
= (long) wxGA_HORIZONTAL
;
3970 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3971 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3972 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3973 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3977 bool temp8
= false ;
3978 PyObject
* obj0
= 0 ;
3979 PyObject
* obj1
= 0 ;
3980 PyObject
* obj2
= 0 ;
3981 PyObject
* obj3
= 0 ;
3982 PyObject
* obj4
= 0 ;
3983 PyObject
* obj5
= 0 ;
3984 PyObject
* obj6
= 0 ;
3985 PyObject
* obj7
= 0 ;
3987 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3994 arg2
= (int)SWIG_As_int(obj1
);
3995 if (PyErr_Occurred()) SWIG_fail
;
3998 arg3
= (int)SWIG_As_int(obj2
);
3999 if (PyErr_Occurred()) SWIG_fail
;
4004 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4010 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4014 arg6
= (long)SWIG_As_long(obj5
);
4015 if (PyErr_Occurred()) SWIG_fail
;
4018 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
4019 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4022 PyErr_SetString(PyExc_TypeError
,"null reference");
4028 arg8
= wxString_in_helper(obj7
);
4029 if (arg8
== NULL
) SWIG_fail
;
4034 if (!wxPyCheckForApp()) SWIG_fail
;
4035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4036 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4038 wxPyEndAllowThreads(__tstate
);
4039 if (PyErr_Occurred()) SWIG_fail
;
4041 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
4056 static PyObject
*_wrap_new_PreGauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4057 PyObject
*resultobj
;
4063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
4065 if (!wxPyCheckForApp()) SWIG_fail
;
4066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4067 result
= (wxGauge
*)new wxGauge();
4069 wxPyEndAllowThreads(__tstate
);
4070 if (PyErr_Occurred()) SWIG_fail
;
4072 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
4079 static PyObject
*_wrap_Gauge_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4080 PyObject
*resultobj
;
4081 wxGauge
*arg1
= (wxGauge
*) 0 ;
4082 wxWindow
*arg2
= (wxWindow
*) 0 ;
4083 int arg3
= (int) -1 ;
4084 int arg4
= (int) 100 ;
4085 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4086 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4087 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4088 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4089 long arg7
= (long) wxGA_HORIZONTAL
;
4090 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4091 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4092 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
4093 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4097 bool temp9
= false ;
4098 PyObject
* obj0
= 0 ;
4099 PyObject
* obj1
= 0 ;
4100 PyObject
* obj2
= 0 ;
4101 PyObject
* obj3
= 0 ;
4102 PyObject
* obj4
= 0 ;
4103 PyObject
* obj5
= 0 ;
4104 PyObject
* obj6
= 0 ;
4105 PyObject
* obj7
= 0 ;
4106 PyObject
* obj8
= 0 ;
4108 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4114 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4117 arg3
= (int)SWIG_As_int(obj2
);
4118 if (PyErr_Occurred()) SWIG_fail
;
4121 arg4
= (int)SWIG_As_int(obj3
);
4122 if (PyErr_Occurred()) SWIG_fail
;
4127 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4133 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4137 arg7
= (long)SWIG_As_long(obj6
);
4138 if (PyErr_Occurred()) SWIG_fail
;
4141 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
4142 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4145 PyErr_SetString(PyExc_TypeError
,"null reference");
4151 arg9
= wxString_in_helper(obj8
);
4152 if (arg9
== NULL
) SWIG_fail
;
4157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4158 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4160 wxPyEndAllowThreads(__tstate
);
4161 if (PyErr_Occurred()) SWIG_fail
;
4164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4180 static PyObject
*_wrap_Gauge_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4181 PyObject
*resultobj
;
4182 wxGauge
*arg1
= (wxGauge
*) 0 ;
4184 PyObject
* obj0
= 0 ;
4185 PyObject
* obj1
= 0 ;
4187 (char *) "self",(char *) "range", NULL
4190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
4191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4193 arg2
= (int)SWIG_As_int(obj1
);
4194 if (PyErr_Occurred()) SWIG_fail
;
4196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4197 (arg1
)->SetRange(arg2
);
4199 wxPyEndAllowThreads(__tstate
);
4200 if (PyErr_Occurred()) SWIG_fail
;
4202 Py_INCREF(Py_None
); resultobj
= Py_None
;
4209 static PyObject
*_wrap_Gauge_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4210 PyObject
*resultobj
;
4211 wxGauge
*arg1
= (wxGauge
*) 0 ;
4213 PyObject
* obj0
= 0 ;
4215 (char *) "self", NULL
4218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
4219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4223 result
= (int)((wxGauge
const *)arg1
)->GetRange();
4225 wxPyEndAllowThreads(__tstate
);
4226 if (PyErr_Occurred()) SWIG_fail
;
4228 resultobj
= SWIG_From_int((int)result
);
4235 static PyObject
*_wrap_Gauge_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4236 PyObject
*resultobj
;
4237 wxGauge
*arg1
= (wxGauge
*) 0 ;
4239 PyObject
* obj0
= 0 ;
4240 PyObject
* obj1
= 0 ;
4242 (char *) "self",(char *) "pos", NULL
4245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
4246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4248 arg2
= (int)SWIG_As_int(obj1
);
4249 if (PyErr_Occurred()) SWIG_fail
;
4251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4252 (arg1
)->SetValue(arg2
);
4254 wxPyEndAllowThreads(__tstate
);
4255 if (PyErr_Occurred()) SWIG_fail
;
4257 Py_INCREF(Py_None
); resultobj
= Py_None
;
4264 static PyObject
*_wrap_Gauge_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4265 PyObject
*resultobj
;
4266 wxGauge
*arg1
= (wxGauge
*) 0 ;
4268 PyObject
* obj0
= 0 ;
4270 (char *) "self", NULL
4273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
4274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4278 result
= (int)((wxGauge
const *)arg1
)->GetValue();
4280 wxPyEndAllowThreads(__tstate
);
4281 if (PyErr_Occurred()) SWIG_fail
;
4283 resultobj
= SWIG_From_int((int)result
);
4290 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4291 PyObject
*resultobj
;
4292 wxGauge
*arg1
= (wxGauge
*) 0 ;
4294 PyObject
* obj0
= 0 ;
4296 (char *) "self", NULL
4299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
4300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4304 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
4306 wxPyEndAllowThreads(__tstate
);
4307 if (PyErr_Occurred()) SWIG_fail
;
4310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4318 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4319 PyObject
*resultobj
;
4320 wxGauge
*arg1
= (wxGauge
*) 0 ;
4322 PyObject
* obj0
= 0 ;
4323 PyObject
* obj1
= 0 ;
4325 (char *) "self",(char *) "w", NULL
4328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4331 arg2
= (int)SWIG_As_int(obj1
);
4332 if (PyErr_Occurred()) SWIG_fail
;
4334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4335 (arg1
)->SetShadowWidth(arg2
);
4337 wxPyEndAllowThreads(__tstate
);
4338 if (PyErr_Occurred()) SWIG_fail
;
4340 Py_INCREF(Py_None
); resultobj
= Py_None
;
4347 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4348 PyObject
*resultobj
;
4349 wxGauge
*arg1
= (wxGauge
*) 0 ;
4351 PyObject
* obj0
= 0 ;
4353 (char *) "self", NULL
4356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
4357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4361 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
4363 wxPyEndAllowThreads(__tstate
);
4364 if (PyErr_Occurred()) SWIG_fail
;
4366 resultobj
= SWIG_From_int((int)result
);
4373 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4374 PyObject
*resultobj
;
4375 wxGauge
*arg1
= (wxGauge
*) 0 ;
4377 PyObject
* obj0
= 0 ;
4378 PyObject
* obj1
= 0 ;
4380 (char *) "self",(char *) "w", NULL
4383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
4384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4386 arg2
= (int)SWIG_As_int(obj1
);
4387 if (PyErr_Occurred()) SWIG_fail
;
4389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4390 (arg1
)->SetBezelFace(arg2
);
4392 wxPyEndAllowThreads(__tstate
);
4393 if (PyErr_Occurred()) SWIG_fail
;
4395 Py_INCREF(Py_None
); resultobj
= Py_None
;
4402 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4403 PyObject
*resultobj
;
4404 wxGauge
*arg1
= (wxGauge
*) 0 ;
4406 PyObject
* obj0
= 0 ;
4408 (char *) "self", NULL
4411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
4412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4416 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
4418 wxPyEndAllowThreads(__tstate
);
4419 if (PyErr_Occurred()) SWIG_fail
;
4421 resultobj
= SWIG_From_int((int)result
);
4428 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4429 PyObject
*resultobj
;
4430 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4431 wxVisualAttributes result
;
4432 PyObject
* obj0
= 0 ;
4434 (char *) "variant", NULL
4437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4439 arg1
= (int)SWIG_As_int(obj0
);
4440 if (PyErr_Occurred()) SWIG_fail
;
4443 if (!wxPyCheckForApp()) SWIG_fail
;
4444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4445 result
= wxGauge::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4447 wxPyEndAllowThreads(__tstate
);
4448 if (PyErr_Occurred()) SWIG_fail
;
4451 wxVisualAttributes
* resultptr
;
4452 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4453 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4461 static PyObject
* Gauge_swigregister(PyObject
*, PyObject
*args
) {
4463 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4464 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
4466 return Py_BuildValue((char *)"");
4468 static int _wrap_StaticBitmapNameStr_set(PyObject
*) {
4469 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
4474 static PyObject
*_wrap_StaticBitmapNameStr_get() {
4479 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4481 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4488 static int _wrap_StaticBoxNameStr_set(PyObject
*) {
4489 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
4494 static PyObject
*_wrap_StaticBoxNameStr_get() {
4499 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4501 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4508 static int _wrap_StaticTextNameStr_set(PyObject
*) {
4509 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
4514 static PyObject
*_wrap_StaticTextNameStr_get() {
4519 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4521 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4528 static PyObject
*_wrap_new_StaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4529 PyObject
*resultobj
;
4530 wxWindow
*arg1
= (wxWindow
*) 0 ;
4531 int arg2
= (int) -1 ;
4532 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4533 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4534 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4535 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4536 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4537 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4538 long arg6
= (long) 0 ;
4539 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
4540 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4541 wxStaticBox
*result
;
4542 bool temp3
= false ;
4545 bool temp7
= false ;
4546 PyObject
* obj0
= 0 ;
4547 PyObject
* obj1
= 0 ;
4548 PyObject
* obj2
= 0 ;
4549 PyObject
* obj3
= 0 ;
4550 PyObject
* obj4
= 0 ;
4551 PyObject
* obj5
= 0 ;
4552 PyObject
* obj6
= 0 ;
4554 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4561 arg2
= (int)SWIG_As_int(obj1
);
4562 if (PyErr_Occurred()) SWIG_fail
;
4566 arg3
= wxString_in_helper(obj2
);
4567 if (arg3
== NULL
) SWIG_fail
;
4574 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4580 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4584 arg6
= (long)SWIG_As_long(obj5
);
4585 if (PyErr_Occurred()) SWIG_fail
;
4589 arg7
= wxString_in_helper(obj6
);
4590 if (arg7
== NULL
) SWIG_fail
;
4595 if (!wxPyCheckForApp()) SWIG_fail
;
4596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4597 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4599 wxPyEndAllowThreads(__tstate
);
4600 if (PyErr_Occurred()) SWIG_fail
;
4602 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
4625 static PyObject
*_wrap_new_PreStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4626 PyObject
*resultobj
;
4627 wxStaticBox
*result
;
4632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4634 if (!wxPyCheckForApp()) SWIG_fail
;
4635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4636 result
= (wxStaticBox
*)new wxStaticBox();
4638 wxPyEndAllowThreads(__tstate
);
4639 if (PyErr_Occurred()) SWIG_fail
;
4641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
4648 static PyObject
*_wrap_StaticBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4649 PyObject
*resultobj
;
4650 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4651 wxWindow
*arg2
= (wxWindow
*) 0 ;
4652 int arg3
= (int) -1 ;
4653 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4654 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4655 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4656 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4657 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4658 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4659 long arg7
= (long) 0 ;
4660 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4661 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4663 bool temp4
= false ;
4666 bool temp8
= false ;
4667 PyObject
* obj0
= 0 ;
4668 PyObject
* obj1
= 0 ;
4669 PyObject
* obj2
= 0 ;
4670 PyObject
* obj3
= 0 ;
4671 PyObject
* obj4
= 0 ;
4672 PyObject
* obj5
= 0 ;
4673 PyObject
* obj6
= 0 ;
4674 PyObject
* obj7
= 0 ;
4676 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
4681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4682 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4685 arg3
= (int)SWIG_As_int(obj2
);
4686 if (PyErr_Occurred()) SWIG_fail
;
4690 arg4
= wxString_in_helper(obj3
);
4691 if (arg4
== NULL
) SWIG_fail
;
4698 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4704 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4708 arg7
= (long)SWIG_As_long(obj6
);
4709 if (PyErr_Occurred()) SWIG_fail
;
4713 arg8
= wxString_in_helper(obj7
);
4714 if (arg8
== NULL
) SWIG_fail
;
4719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4720 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4722 wxPyEndAllowThreads(__tstate
);
4723 if (PyErr_Occurred()) SWIG_fail
;
4726 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4750 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4751 PyObject
*resultobj
;
4752 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4753 wxVisualAttributes result
;
4754 PyObject
* obj0
= 0 ;
4756 (char *) "variant", NULL
4759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4761 arg1
= (int)SWIG_As_int(obj0
);
4762 if (PyErr_Occurred()) SWIG_fail
;
4765 if (!wxPyCheckForApp()) SWIG_fail
;
4766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4767 result
= wxStaticBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4769 wxPyEndAllowThreads(__tstate
);
4770 if (PyErr_Occurred()) SWIG_fail
;
4773 wxVisualAttributes
* resultptr
;
4774 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4775 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4783 static PyObject
* StaticBox_swigregister(PyObject
*, PyObject
*args
) {
4785 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4786 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4788 return Py_BuildValue((char *)"");
4790 static PyObject
*_wrap_new_StaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4791 PyObject
*resultobj
;
4792 wxWindow
*arg1
= (wxWindow
*) 0 ;
4793 int arg2
= (int) -1 ;
4794 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4795 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4796 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4797 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4798 long arg5
= (long) wxLI_HORIZONTAL
;
4799 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4800 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4801 wxStaticLine
*result
;
4804 bool temp6
= false ;
4805 PyObject
* obj0
= 0 ;
4806 PyObject
* obj1
= 0 ;
4807 PyObject
* obj2
= 0 ;
4808 PyObject
* obj3
= 0 ;
4809 PyObject
* obj4
= 0 ;
4810 PyObject
* obj5
= 0 ;
4812 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4819 arg2
= (int)SWIG_As_int(obj1
);
4820 if (PyErr_Occurred()) SWIG_fail
;
4825 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4831 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4835 arg5
= (long)SWIG_As_long(obj4
);
4836 if (PyErr_Occurred()) SWIG_fail
;
4840 arg6
= wxString_in_helper(obj5
);
4841 if (arg6
== NULL
) SWIG_fail
;
4846 if (!wxPyCheckForApp()) SWIG_fail
;
4847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4848 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4850 wxPyEndAllowThreads(__tstate
);
4851 if (PyErr_Occurred()) SWIG_fail
;
4853 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4868 static PyObject
*_wrap_new_PreStaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4869 PyObject
*resultobj
;
4870 wxStaticLine
*result
;
4875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4877 if (!wxPyCheckForApp()) SWIG_fail
;
4878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4879 result
= (wxStaticLine
*)new wxStaticLine();
4881 wxPyEndAllowThreads(__tstate
);
4882 if (PyErr_Occurred()) SWIG_fail
;
4884 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4891 static PyObject
*_wrap_StaticLine_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4892 PyObject
*resultobj
;
4893 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4894 wxWindow
*arg2
= (wxWindow
*) 0 ;
4895 int arg3
= (int) -1 ;
4896 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4897 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4898 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4899 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4900 long arg6
= (long) wxLI_HORIZONTAL
;
4901 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4902 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4906 bool temp7
= false ;
4907 PyObject
* obj0
= 0 ;
4908 PyObject
* obj1
= 0 ;
4909 PyObject
* obj2
= 0 ;
4910 PyObject
* obj3
= 0 ;
4911 PyObject
* obj4
= 0 ;
4912 PyObject
* obj5
= 0 ;
4913 PyObject
* obj6
= 0 ;
4915 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4921 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4924 arg3
= (int)SWIG_As_int(obj2
);
4925 if (PyErr_Occurred()) SWIG_fail
;
4930 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4936 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4940 arg6
= (long)SWIG_As_long(obj5
);
4941 if (PyErr_Occurred()) SWIG_fail
;
4945 arg7
= wxString_in_helper(obj6
);
4946 if (arg7
== NULL
) SWIG_fail
;
4951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4952 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4954 wxPyEndAllowThreads(__tstate
);
4955 if (PyErr_Occurred()) SWIG_fail
;
4958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4974 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4975 PyObject
*resultobj
;
4976 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4978 PyObject
* obj0
= 0 ;
4980 (char *) "self", NULL
4983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4988 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4990 wxPyEndAllowThreads(__tstate
);
4991 if (PyErr_Occurred()) SWIG_fail
;
4994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5002 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5003 PyObject
*resultobj
;
5009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
5011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5012 result
= (int)wxStaticLine::GetDefaultSize();
5014 wxPyEndAllowThreads(__tstate
);
5015 if (PyErr_Occurred()) SWIG_fail
;
5017 resultobj
= SWIG_From_int((int)result
);
5024 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5025 PyObject
*resultobj
;
5026 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5027 wxVisualAttributes result
;
5028 PyObject
* obj0
= 0 ;
5030 (char *) "variant", NULL
5033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5035 arg1
= (int)SWIG_As_int(obj0
);
5036 if (PyErr_Occurred()) SWIG_fail
;
5039 if (!wxPyCheckForApp()) SWIG_fail
;
5040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5041 result
= wxStaticLine::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5043 wxPyEndAllowThreads(__tstate
);
5044 if (PyErr_Occurred()) SWIG_fail
;
5047 wxVisualAttributes
* resultptr
;
5048 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5049 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5057 static PyObject
* StaticLine_swigregister(PyObject
*, PyObject
*args
) {
5059 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5060 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
5062 return Py_BuildValue((char *)"");
5064 static PyObject
*_wrap_new_StaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5065 PyObject
*resultobj
;
5066 wxWindow
*arg1
= (wxWindow
*) 0 ;
5067 int arg2
= (int) -1 ;
5068 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5069 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5070 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5071 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5072 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5073 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5074 long arg6
= (long) 0 ;
5075 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
5076 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5077 wxStaticText
*result
;
5078 bool temp3
= false ;
5081 bool temp7
= false ;
5082 PyObject
* obj0
= 0 ;
5083 PyObject
* obj1
= 0 ;
5084 PyObject
* obj2
= 0 ;
5085 PyObject
* obj3
= 0 ;
5086 PyObject
* obj4
= 0 ;
5087 PyObject
* obj5
= 0 ;
5088 PyObject
* obj6
= 0 ;
5090 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5097 arg2
= (int)SWIG_As_int(obj1
);
5098 if (PyErr_Occurred()) SWIG_fail
;
5102 arg3
= wxString_in_helper(obj2
);
5103 if (arg3
== NULL
) SWIG_fail
;
5110 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5116 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5120 arg6
= (long)SWIG_As_long(obj5
);
5121 if (PyErr_Occurred()) SWIG_fail
;
5125 arg7
= wxString_in_helper(obj6
);
5126 if (arg7
== NULL
) SWIG_fail
;
5131 if (!wxPyCheckForApp()) SWIG_fail
;
5132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5133 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5135 wxPyEndAllowThreads(__tstate
);
5136 if (PyErr_Occurred()) SWIG_fail
;
5138 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
5161 static PyObject
*_wrap_new_PreStaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5162 PyObject
*resultobj
;
5163 wxStaticText
*result
;
5168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
5170 if (!wxPyCheckForApp()) SWIG_fail
;
5171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5172 result
= (wxStaticText
*)new wxStaticText();
5174 wxPyEndAllowThreads(__tstate
);
5175 if (PyErr_Occurred()) SWIG_fail
;
5177 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
5184 static PyObject
*_wrap_StaticText_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5185 PyObject
*resultobj
;
5186 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
5187 wxWindow
*arg2
= (wxWindow
*) 0 ;
5188 int arg3
= (int) -1 ;
5189 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5190 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5191 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5192 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5193 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5194 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5195 long arg7
= (long) 0 ;
5196 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
5197 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5199 bool temp4
= false ;
5202 bool temp8
= false ;
5203 PyObject
* obj0
= 0 ;
5204 PyObject
* obj1
= 0 ;
5205 PyObject
* obj2
= 0 ;
5206 PyObject
* obj3
= 0 ;
5207 PyObject
* obj4
= 0 ;
5208 PyObject
* obj5
= 0 ;
5209 PyObject
* obj6
= 0 ;
5210 PyObject
* obj7
= 0 ;
5212 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticText
,
5217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5218 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5221 arg3
= (int)SWIG_As_int(obj2
);
5222 if (PyErr_Occurred()) SWIG_fail
;
5226 arg4
= wxString_in_helper(obj3
);
5227 if (arg4
== NULL
) SWIG_fail
;
5234 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5240 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5244 arg7
= (long)SWIG_As_long(obj6
);
5245 if (PyErr_Occurred()) SWIG_fail
;
5249 arg8
= wxString_in_helper(obj7
);
5250 if (arg8
== NULL
) SWIG_fail
;
5255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5256 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5258 wxPyEndAllowThreads(__tstate
);
5259 if (PyErr_Occurred()) SWIG_fail
;
5262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5286 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5287 PyObject
*resultobj
;
5288 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5289 wxVisualAttributes result
;
5290 PyObject
* obj0
= 0 ;
5292 (char *) "variant", NULL
5295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5297 arg1
= (int)SWIG_As_int(obj0
);
5298 if (PyErr_Occurred()) SWIG_fail
;
5301 if (!wxPyCheckForApp()) SWIG_fail
;
5302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5303 result
= wxStaticText::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5305 wxPyEndAllowThreads(__tstate
);
5306 if (PyErr_Occurred()) SWIG_fail
;
5309 wxVisualAttributes
* resultptr
;
5310 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5311 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5319 static PyObject
* StaticText_swigregister(PyObject
*, PyObject
*args
) {
5321 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5322 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
5324 return Py_BuildValue((char *)"");
5326 static PyObject
*_wrap_new_StaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5327 PyObject
*resultobj
;
5328 wxWindow
*arg1
= (wxWindow
*) 0 ;
5329 int arg2
= (int) -1 ;
5330 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
5331 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
5332 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5333 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5334 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5335 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5336 long arg6
= (long) 0 ;
5337 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
5338 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5339 wxStaticBitmap
*result
;
5342 bool temp7
= false ;
5343 PyObject
* obj0
= 0 ;
5344 PyObject
* obj1
= 0 ;
5345 PyObject
* obj2
= 0 ;
5346 PyObject
* obj3
= 0 ;
5347 PyObject
* obj4
= 0 ;
5348 PyObject
* obj5
= 0 ;
5349 PyObject
* obj6
= 0 ;
5351 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5358 arg2
= (int)SWIG_As_int(obj1
);
5359 if (PyErr_Occurred()) SWIG_fail
;
5362 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
5363 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5366 PyErr_SetString(PyExc_TypeError
,"null reference");
5373 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5379 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5383 arg6
= (long)SWIG_As_long(obj5
);
5384 if (PyErr_Occurred()) SWIG_fail
;
5388 arg7
= wxString_in_helper(obj6
);
5389 if (arg7
== NULL
) SWIG_fail
;
5394 if (!wxPyCheckForApp()) SWIG_fail
;
5395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5396 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5398 wxPyEndAllowThreads(__tstate
);
5399 if (PyErr_Occurred()) SWIG_fail
;
5401 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5416 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5417 PyObject
*resultobj
;
5418 wxStaticBitmap
*result
;
5423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
5425 if (!wxPyCheckForApp()) SWIG_fail
;
5426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5427 result
= (wxStaticBitmap
*)new wxStaticBitmap();
5429 wxPyEndAllowThreads(__tstate
);
5430 if (PyErr_Occurred()) SWIG_fail
;
5432 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5439 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5440 PyObject
*resultobj
;
5441 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5442 wxWindow
*arg2
= (wxWindow
*) 0 ;
5443 int arg3
= (int) -1 ;
5444 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
5445 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
5446 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5447 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5448 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5449 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5450 long arg7
= (long) 0 ;
5451 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
5452 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5456 bool temp8
= false ;
5457 PyObject
* obj0
= 0 ;
5458 PyObject
* obj1
= 0 ;
5459 PyObject
* obj2
= 0 ;
5460 PyObject
* obj3
= 0 ;
5461 PyObject
* obj4
= 0 ;
5462 PyObject
* obj5
= 0 ;
5463 PyObject
* obj6
= 0 ;
5464 PyObject
* obj7
= 0 ;
5466 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5472 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5475 arg3
= (int)SWIG_As_int(obj2
);
5476 if (PyErr_Occurred()) SWIG_fail
;
5479 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
5480 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5483 PyErr_SetString(PyExc_TypeError
,"null reference");
5490 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5496 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5500 arg7
= (long)SWIG_As_long(obj6
);
5501 if (PyErr_Occurred()) SWIG_fail
;
5505 arg8
= wxString_in_helper(obj7
);
5506 if (arg8
== NULL
) SWIG_fail
;
5511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5512 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5514 wxPyEndAllowThreads(__tstate
);
5515 if (PyErr_Occurred()) SWIG_fail
;
5518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5534 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5535 PyObject
*resultobj
;
5536 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5538 PyObject
* obj0
= 0 ;
5540 (char *) "self", NULL
5543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
5544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5548 result
= (arg1
)->GetBitmap();
5550 wxPyEndAllowThreads(__tstate
);
5551 if (PyErr_Occurred()) SWIG_fail
;
5554 wxBitmap
* resultptr
;
5555 resultptr
= new wxBitmap((wxBitmap
&) result
);
5556 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5564 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5565 PyObject
*resultobj
;
5566 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5567 wxBitmap
*arg2
= 0 ;
5568 PyObject
* obj0
= 0 ;
5569 PyObject
* obj1
= 0 ;
5571 (char *) "self",(char *) "bitmap", NULL
5574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5577 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5578 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5581 PyErr_SetString(PyExc_TypeError
,"null reference");
5585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5586 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
5588 wxPyEndAllowThreads(__tstate
);
5589 if (PyErr_Occurred()) SWIG_fail
;
5591 Py_INCREF(Py_None
); resultobj
= Py_None
;
5598 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5599 PyObject
*resultobj
;
5600 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5602 PyObject
* obj0
= 0 ;
5603 PyObject
* obj1
= 0 ;
5605 (char *) "self",(char *) "icon", NULL
5608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
5609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5611 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
5612 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5615 PyErr_SetString(PyExc_TypeError
,"null reference");
5619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5620 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5622 wxPyEndAllowThreads(__tstate
);
5623 if (PyErr_Occurred()) SWIG_fail
;
5625 Py_INCREF(Py_None
); resultobj
= Py_None
;
5632 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5633 PyObject
*resultobj
;
5634 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5635 wxVisualAttributes result
;
5636 PyObject
* obj0
= 0 ;
5638 (char *) "variant", NULL
5641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5643 arg1
= (int)SWIG_As_int(obj0
);
5644 if (PyErr_Occurred()) SWIG_fail
;
5647 if (!wxPyCheckForApp()) SWIG_fail
;
5648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5649 result
= wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5651 wxPyEndAllowThreads(__tstate
);
5652 if (PyErr_Occurred()) SWIG_fail
;
5655 wxVisualAttributes
* resultptr
;
5656 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5657 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5665 static PyObject
* StaticBitmap_swigregister(PyObject
*, PyObject
*args
) {
5667 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5668 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
5670 return Py_BuildValue((char *)"");
5672 static int _wrap_ListBoxNameStr_set(PyObject
*) {
5673 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
5678 static PyObject
*_wrap_ListBoxNameStr_get() {
5683 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5685 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5692 static PyObject
*_wrap_new_ListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5693 PyObject
*resultobj
;
5694 wxWindow
*arg1
= (wxWindow
*) 0 ;
5695 int arg2
= (int) -1 ;
5696 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5697 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5698 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5699 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5700 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5701 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5702 long arg6
= (long) 0 ;
5703 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5704 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5705 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5706 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5710 bool temp5
= false ;
5711 bool temp8
= false ;
5712 PyObject
* obj0
= 0 ;
5713 PyObject
* obj1
= 0 ;
5714 PyObject
* obj2
= 0 ;
5715 PyObject
* obj3
= 0 ;
5716 PyObject
* obj4
= 0 ;
5717 PyObject
* obj5
= 0 ;
5718 PyObject
* obj6
= 0 ;
5719 PyObject
* obj7
= 0 ;
5721 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5728 arg2
= (int)SWIG_As_int(obj1
);
5729 if (PyErr_Occurred()) SWIG_fail
;
5734 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5740 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5745 if (! PySequence_Check(obj4
)) {
5746 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5749 arg5
= new wxArrayString
;
5751 int i
, len
=PySequence_Length(obj4
);
5752 for (i
=0; i
<len
; i
++) {
5753 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5755 PyObject
* str
= PyObject_Unicode(item
);
5757 PyObject
* str
= PyObject_Str(item
);
5759 if (PyErr_Occurred()) SWIG_fail
;
5760 arg5
->Add(Py2wxString(str
));
5767 arg6
= (long)SWIG_As_long(obj5
);
5768 if (PyErr_Occurred()) SWIG_fail
;
5771 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
5772 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5775 PyErr_SetString(PyExc_TypeError
,"null reference");
5781 arg8
= wxString_in_helper(obj7
);
5782 if (arg8
== NULL
) SWIG_fail
;
5787 if (!wxPyCheckForApp()) SWIG_fail
;
5788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5789 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5791 wxPyEndAllowThreads(__tstate
);
5792 if (PyErr_Occurred()) SWIG_fail
;
5794 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5796 if (temp5
) delete arg5
;
5805 if (temp5
) delete arg5
;
5815 static PyObject
*_wrap_new_PreListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5816 PyObject
*resultobj
;
5822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5824 if (!wxPyCheckForApp()) SWIG_fail
;
5825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5826 result
= (wxListBox
*)new wxListBox();
5828 wxPyEndAllowThreads(__tstate
);
5829 if (PyErr_Occurred()) SWIG_fail
;
5831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5838 static PyObject
*_wrap_ListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5839 PyObject
*resultobj
;
5840 wxListBox
*arg1
= (wxListBox
*) 0 ;
5841 wxWindow
*arg2
= (wxWindow
*) 0 ;
5842 int arg3
= (int) -1 ;
5843 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5844 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5845 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5846 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5847 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5848 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5849 long arg7
= (long) 0 ;
5850 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5851 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5852 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5853 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5857 bool temp6
= false ;
5858 bool temp9
= false ;
5859 PyObject
* obj0
= 0 ;
5860 PyObject
* obj1
= 0 ;
5861 PyObject
* obj2
= 0 ;
5862 PyObject
* obj3
= 0 ;
5863 PyObject
* obj4
= 0 ;
5864 PyObject
* obj5
= 0 ;
5865 PyObject
* obj6
= 0 ;
5866 PyObject
* obj7
= 0 ;
5867 PyObject
* obj8
= 0 ;
5869 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5875 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5878 arg3
= (int)SWIG_As_int(obj2
);
5879 if (PyErr_Occurred()) SWIG_fail
;
5884 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5890 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5895 if (! PySequence_Check(obj5
)) {
5896 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5899 arg6
= new wxArrayString
;
5901 int i
, len
=PySequence_Length(obj5
);
5902 for (i
=0; i
<len
; i
++) {
5903 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5905 PyObject
* str
= PyObject_Unicode(item
);
5907 PyObject
* str
= PyObject_Str(item
);
5909 if (PyErr_Occurred()) SWIG_fail
;
5910 arg6
->Add(Py2wxString(str
));
5917 arg7
= (long)SWIG_As_long(obj6
);
5918 if (PyErr_Occurred()) SWIG_fail
;
5921 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
5922 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5925 PyErr_SetString(PyExc_TypeError
,"null reference");
5931 arg9
= wxString_in_helper(obj8
);
5932 if (arg9
== NULL
) SWIG_fail
;
5937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5938 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5940 wxPyEndAllowThreads(__tstate
);
5941 if (PyErr_Occurred()) SWIG_fail
;
5944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5947 if (temp6
) delete arg6
;
5956 if (temp6
) delete arg6
;
5966 static PyObject
*_wrap_ListBox_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5967 PyObject
*resultobj
;
5968 wxListBox
*arg1
= (wxListBox
*) 0 ;
5969 wxString
*arg2
= 0 ;
5971 PyObject
*arg4
= (PyObject
*) NULL
;
5972 bool temp2
= false ;
5973 PyObject
* obj0
= 0 ;
5974 PyObject
* obj1
= 0 ;
5975 PyObject
* obj2
= 0 ;
5976 PyObject
* obj3
= 0 ;
5978 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5985 arg2
= wxString_in_helper(obj1
);
5986 if (arg2
== NULL
) SWIG_fail
;
5989 arg3
= (int)SWIG_As_int(obj2
);
5990 if (PyErr_Occurred()) SWIG_fail
;
5995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5996 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5998 wxPyEndAllowThreads(__tstate
);
5999 if (PyErr_Occurred()) SWIG_fail
;
6001 Py_INCREF(Py_None
); resultobj
= Py_None
;
6016 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6017 PyObject
*resultobj
;
6018 wxListBox
*arg1
= (wxListBox
*) 0 ;
6019 wxArrayString
*arg2
= 0 ;
6021 bool temp2
= false ;
6022 PyObject
* obj0
= 0 ;
6023 PyObject
* obj1
= 0 ;
6024 PyObject
* obj2
= 0 ;
6026 (char *) "self",(char *) "items",(char *) "pos", NULL
6029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6033 if (! PySequence_Check(obj1
)) {
6034 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6037 arg2
= new wxArrayString
;
6039 int i
, len
=PySequence_Length(obj1
);
6040 for (i
=0; i
<len
; i
++) {
6041 PyObject
* item
= PySequence_GetItem(obj1
, i
);
6043 PyObject
* str
= PyObject_Unicode(item
);
6045 PyObject
* str
= PyObject_Str(item
);
6047 if (PyErr_Occurred()) SWIG_fail
;
6048 arg2
->Add(Py2wxString(str
));
6053 arg3
= (int)SWIG_As_int(obj2
);
6054 if (PyErr_Occurred()) SWIG_fail
;
6056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6057 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
6059 wxPyEndAllowThreads(__tstate
);
6060 if (PyErr_Occurred()) SWIG_fail
;
6062 Py_INCREF(Py_None
); resultobj
= Py_None
;
6064 if (temp2
) delete arg2
;
6069 if (temp2
) delete arg2
;
6075 static PyObject
*_wrap_ListBox_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6076 PyObject
*resultobj
;
6077 wxListBox
*arg1
= (wxListBox
*) 0 ;
6078 wxArrayString
*arg2
= 0 ;
6079 bool temp2
= false ;
6080 PyObject
* obj0
= 0 ;
6081 PyObject
* obj1
= 0 ;
6083 (char *) "self",(char *) "items", NULL
6086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
6087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6090 if (! PySequence_Check(obj1
)) {
6091 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6094 arg2
= new wxArrayString
;
6096 int i
, len
=PySequence_Length(obj1
);
6097 for (i
=0; i
<len
; i
++) {
6098 PyObject
* item
= PySequence_GetItem(obj1
, i
);
6100 PyObject
* str
= PyObject_Unicode(item
);
6102 PyObject
* str
= PyObject_Str(item
);
6104 if (PyErr_Occurred()) SWIG_fail
;
6105 arg2
->Add(Py2wxString(str
));
6111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6112 (arg1
)->Set((wxArrayString
const &)*arg2
);
6114 wxPyEndAllowThreads(__tstate
);
6115 if (PyErr_Occurred()) SWIG_fail
;
6117 Py_INCREF(Py_None
); resultobj
= Py_None
;
6119 if (temp2
) delete arg2
;
6124 if (temp2
) delete arg2
;
6130 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6131 PyObject
*resultobj
;
6132 wxListBox
*arg1
= (wxListBox
*) 0 ;
6135 PyObject
* obj0
= 0 ;
6136 PyObject
* obj1
= 0 ;
6138 (char *) "self",(char *) "n", NULL
6141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
6142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6144 arg2
= (int)SWIG_As_int(obj1
);
6145 if (PyErr_Occurred()) SWIG_fail
;
6147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6148 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
6150 wxPyEndAllowThreads(__tstate
);
6151 if (PyErr_Occurred()) SWIG_fail
;
6154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6162 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6163 PyObject
*resultobj
;
6164 wxListBox
*arg1
= (wxListBox
*) 0 ;
6166 bool arg3
= (bool) true ;
6167 PyObject
* obj0
= 0 ;
6168 PyObject
* obj1
= 0 ;
6169 PyObject
* obj2
= 0 ;
6171 (char *) "self",(char *) "n",(char *) "select", NULL
6174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6177 arg2
= (int)SWIG_As_int(obj1
);
6178 if (PyErr_Occurred()) SWIG_fail
;
6180 arg3
= (bool)SWIG_As_bool(obj2
);
6181 if (PyErr_Occurred()) SWIG_fail
;
6184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6185 (arg1
)->SetSelection(arg2
,arg3
);
6187 wxPyEndAllowThreads(__tstate
);
6188 if (PyErr_Occurred()) SWIG_fail
;
6190 Py_INCREF(Py_None
); resultobj
= Py_None
;
6197 static PyObject
*_wrap_ListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6198 PyObject
*resultobj
;
6199 wxListBox
*arg1
= (wxListBox
*) 0 ;
6201 PyObject
* obj0
= 0 ;
6202 PyObject
* obj1
= 0 ;
6204 (char *) "self",(char *) "n", NULL
6207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
6208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6210 arg2
= (int)SWIG_As_int(obj1
);
6211 if (PyErr_Occurred()) SWIG_fail
;
6213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6214 (arg1
)->Select(arg2
);
6216 wxPyEndAllowThreads(__tstate
);
6217 if (PyErr_Occurred()) SWIG_fail
;
6219 Py_INCREF(Py_None
); resultobj
= Py_None
;
6226 static PyObject
*_wrap_ListBox_Deselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6227 PyObject
*resultobj
;
6228 wxListBox
*arg1
= (wxListBox
*) 0 ;
6230 PyObject
* obj0
= 0 ;
6231 PyObject
* obj1
= 0 ;
6233 (char *) "self",(char *) "n", NULL
6236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
6237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6239 arg2
= (int)SWIG_As_int(obj1
);
6240 if (PyErr_Occurred()) SWIG_fail
;
6242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6243 (arg1
)->Deselect(arg2
);
6245 wxPyEndAllowThreads(__tstate
);
6246 if (PyErr_Occurred()) SWIG_fail
;
6248 Py_INCREF(Py_None
); resultobj
= Py_None
;
6255 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6256 PyObject
*resultobj
;
6257 wxListBox
*arg1
= (wxListBox
*) 0 ;
6258 int arg2
= (int) -1 ;
6259 PyObject
* obj0
= 0 ;
6260 PyObject
* obj1
= 0 ;
6262 (char *) "self",(char *) "itemToLeaveSelected", NULL
6265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
6266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6269 arg2
= (int)SWIG_As_int(obj1
);
6270 if (PyErr_Occurred()) SWIG_fail
;
6273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6274 (arg1
)->DeselectAll(arg2
);
6276 wxPyEndAllowThreads(__tstate
);
6277 if (PyErr_Occurred()) SWIG_fail
;
6279 Py_INCREF(Py_None
); resultobj
= Py_None
;
6286 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6287 PyObject
*resultobj
;
6288 wxListBox
*arg1
= (wxListBox
*) 0 ;
6289 wxString
*arg2
= 0 ;
6290 bool arg3
= (bool) true ;
6292 bool temp2
= false ;
6293 PyObject
* obj0
= 0 ;
6294 PyObject
* obj1
= 0 ;
6295 PyObject
* obj2
= 0 ;
6297 (char *) "self",(char *) "s",(char *) "select", NULL
6300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6304 arg2
= wxString_in_helper(obj1
);
6305 if (arg2
== NULL
) SWIG_fail
;
6309 arg3
= (bool)SWIG_As_bool(obj2
);
6310 if (PyErr_Occurred()) SWIG_fail
;
6313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6314 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
6316 wxPyEndAllowThreads(__tstate
);
6317 if (PyErr_Occurred()) SWIG_fail
;
6320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6336 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6337 PyObject
*resultobj
;
6338 wxListBox
*arg1
= (wxListBox
*) 0 ;
6340 PyObject
* obj0
= 0 ;
6342 (char *) "self", NULL
6345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
6346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6350 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
6352 wxPyEndAllowThreads(__tstate
);
6353 if (PyErr_Occurred()) SWIG_fail
;
6362 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6363 PyObject
*resultobj
;
6364 wxListBox
*arg1
= (wxListBox
*) 0 ;
6366 PyObject
* obj0
= 0 ;
6367 PyObject
* obj1
= 0 ;
6369 (char *) "self",(char *) "n", NULL
6372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
6373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6375 arg2
= (int)SWIG_As_int(obj1
);
6376 if (PyErr_Occurred()) SWIG_fail
;
6378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6379 (arg1
)->SetFirstItem(arg2
);
6381 wxPyEndAllowThreads(__tstate
);
6382 if (PyErr_Occurred()) SWIG_fail
;
6384 Py_INCREF(Py_None
); resultobj
= Py_None
;
6391 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6392 PyObject
*resultobj
;
6393 wxListBox
*arg1
= (wxListBox
*) 0 ;
6394 wxString
*arg2
= 0 ;
6395 bool temp2
= false ;
6396 PyObject
* obj0
= 0 ;
6397 PyObject
* obj1
= 0 ;
6399 (char *) "self",(char *) "s", NULL
6402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
6403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6406 arg2
= wxString_in_helper(obj1
);
6407 if (arg2
== NULL
) SWIG_fail
;
6411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6412 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
6414 wxPyEndAllowThreads(__tstate
);
6415 if (PyErr_Occurred()) SWIG_fail
;
6417 Py_INCREF(Py_None
); resultobj
= Py_None
;
6432 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6433 PyObject
*resultobj
;
6434 wxListBox
*arg1
= (wxListBox
*) 0 ;
6436 PyObject
* obj0
= 0 ;
6437 PyObject
* obj1
= 0 ;
6439 (char *) "self",(char *) "n", NULL
6442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6445 arg2
= (int)SWIG_As_int(obj1
);
6446 if (PyErr_Occurred()) SWIG_fail
;
6448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6449 (arg1
)->EnsureVisible(arg2
);
6451 wxPyEndAllowThreads(__tstate
);
6452 if (PyErr_Occurred()) SWIG_fail
;
6454 Py_INCREF(Py_None
); resultobj
= Py_None
;
6461 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6462 PyObject
*resultobj
;
6463 wxListBox
*arg1
= (wxListBox
*) 0 ;
6464 wxString
*arg2
= 0 ;
6465 bool temp2
= false ;
6466 PyObject
* obj0
= 0 ;
6467 PyObject
* obj1
= 0 ;
6469 (char *) "self",(char *) "s", NULL
6472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6476 arg2
= wxString_in_helper(obj1
);
6477 if (arg2
== NULL
) SWIG_fail
;
6481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6482 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
6484 wxPyEndAllowThreads(__tstate
);
6485 if (PyErr_Occurred()) SWIG_fail
;
6487 Py_INCREF(Py_None
); resultobj
= Py_None
;
6502 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6503 PyObject
*resultobj
;
6504 wxListBox
*arg1
= (wxListBox
*) 0 ;
6506 PyObject
* obj0
= 0 ;
6508 (char *) "self", NULL
6511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
6512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6516 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
6518 wxPyEndAllowThreads(__tstate
);
6519 if (PyErr_Occurred()) SWIG_fail
;
6522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6530 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6531 PyObject
*resultobj
;
6532 wxListBox
*arg1
= (wxListBox
*) 0 ;
6534 wxColour
*arg3
= 0 ;
6536 PyObject
* obj0
= 0 ;
6537 PyObject
* obj1
= 0 ;
6538 PyObject
* obj2
= 0 ;
6540 (char *) "self",(char *) "item",(char *) "c", NULL
6543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6546 arg2
= (int)SWIG_As_int(obj1
);
6547 if (PyErr_Occurred()) SWIG_fail
;
6550 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6554 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6556 wxPyEndAllowThreads(__tstate
);
6557 if (PyErr_Occurred()) SWIG_fail
;
6559 Py_INCREF(Py_None
); resultobj
= Py_None
;
6566 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6567 PyObject
*resultobj
;
6568 wxListBox
*arg1
= (wxListBox
*) 0 ;
6570 wxColour
*arg3
= 0 ;
6572 PyObject
* obj0
= 0 ;
6573 PyObject
* obj1
= 0 ;
6574 PyObject
* obj2
= 0 ;
6576 (char *) "self",(char *) "item",(char *) "c", NULL
6579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6582 arg2
= (int)SWIG_As_int(obj1
);
6583 if (PyErr_Occurred()) SWIG_fail
;
6586 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6590 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6592 wxPyEndAllowThreads(__tstate
);
6593 if (PyErr_Occurred()) SWIG_fail
;
6595 Py_INCREF(Py_None
); resultobj
= Py_None
;
6602 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6603 PyObject
*resultobj
;
6604 wxListBox
*arg1
= (wxListBox
*) 0 ;
6607 PyObject
* obj0
= 0 ;
6608 PyObject
* obj1
= 0 ;
6609 PyObject
* obj2
= 0 ;
6611 (char *) "self",(char *) "item",(char *) "f", NULL
6614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6617 arg2
= (int)SWIG_As_int(obj1
);
6618 if (PyErr_Occurred()) SWIG_fail
;
6619 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6620 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6623 PyErr_SetString(PyExc_TypeError
,"null reference");
6627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6628 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
6630 wxPyEndAllowThreads(__tstate
);
6631 if (PyErr_Occurred()) SWIG_fail
;
6633 Py_INCREF(Py_None
); resultobj
= Py_None
;
6640 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6641 PyObject
*resultobj
;
6642 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6643 wxVisualAttributes result
;
6644 PyObject
* obj0
= 0 ;
6646 (char *) "variant", NULL
6649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6651 arg1
= (int)SWIG_As_int(obj0
);
6652 if (PyErr_Occurred()) SWIG_fail
;
6655 if (!wxPyCheckForApp()) SWIG_fail
;
6656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6657 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6659 wxPyEndAllowThreads(__tstate
);
6660 if (PyErr_Occurred()) SWIG_fail
;
6663 wxVisualAttributes
* resultptr
;
6664 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6665 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6673 static PyObject
* ListBox_swigregister(PyObject
*, PyObject
*args
) {
6675 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6676 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
6678 return Py_BuildValue((char *)"");
6680 static PyObject
*_wrap_new_CheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6681 PyObject
*resultobj
;
6682 wxWindow
*arg1
= (wxWindow
*) 0 ;
6683 int arg2
= (int) -1 ;
6684 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6685 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6686 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6687 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6688 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
6689 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
6690 long arg6
= (long) 0 ;
6691 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6692 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6693 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
6694 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6695 wxCheckListBox
*result
;
6698 bool temp5
= false ;
6699 bool temp8
= false ;
6700 PyObject
* obj0
= 0 ;
6701 PyObject
* obj1
= 0 ;
6702 PyObject
* obj2
= 0 ;
6703 PyObject
* obj3
= 0 ;
6704 PyObject
* obj4
= 0 ;
6705 PyObject
* obj5
= 0 ;
6706 PyObject
* obj6
= 0 ;
6707 PyObject
* obj7
= 0 ;
6709 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6716 arg2
= (int)SWIG_As_int(obj1
);
6717 if (PyErr_Occurred()) SWIG_fail
;
6722 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6728 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6733 if (! PySequence_Check(obj4
)) {
6734 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6737 arg5
= new wxArrayString
;
6739 int i
, len
=PySequence_Length(obj4
);
6740 for (i
=0; i
<len
; i
++) {
6741 PyObject
* item
= PySequence_GetItem(obj4
, i
);
6743 PyObject
* str
= PyObject_Unicode(item
);
6745 PyObject
* str
= PyObject_Str(item
);
6747 if (PyErr_Occurred()) SWIG_fail
;
6748 arg5
->Add(Py2wxString(str
));
6755 arg6
= (long)SWIG_As_long(obj5
);
6756 if (PyErr_Occurred()) SWIG_fail
;
6759 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
6760 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6763 PyErr_SetString(PyExc_TypeError
,"null reference");
6769 arg8
= wxString_in_helper(obj7
);
6770 if (arg8
== NULL
) SWIG_fail
;
6775 if (!wxPyCheckForApp()) SWIG_fail
;
6776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6777 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6779 wxPyEndAllowThreads(__tstate
);
6780 if (PyErr_Occurred()) SWIG_fail
;
6782 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6784 if (temp5
) delete arg5
;
6793 if (temp5
) delete arg5
;
6803 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6804 PyObject
*resultobj
;
6805 wxCheckListBox
*result
;
6810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
6812 if (!wxPyCheckForApp()) SWIG_fail
;
6813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6814 result
= (wxCheckListBox
*)new wxCheckListBox();
6816 wxPyEndAllowThreads(__tstate
);
6817 if (PyErr_Occurred()) SWIG_fail
;
6819 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6826 static PyObject
*_wrap_CheckListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6827 PyObject
*resultobj
;
6828 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6829 wxWindow
*arg2
= (wxWindow
*) 0 ;
6830 int arg3
= (int) -1 ;
6831 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6832 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6833 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6834 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6835 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
6836 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
6837 long arg7
= (long) 0 ;
6838 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6839 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6840 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
6841 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6845 bool temp6
= false ;
6846 bool temp9
= false ;
6847 PyObject
* obj0
= 0 ;
6848 PyObject
* obj1
= 0 ;
6849 PyObject
* obj2
= 0 ;
6850 PyObject
* obj3
= 0 ;
6851 PyObject
* obj4
= 0 ;
6852 PyObject
* obj5
= 0 ;
6853 PyObject
* obj6
= 0 ;
6854 PyObject
* obj7
= 0 ;
6855 PyObject
* obj8
= 0 ;
6857 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
6861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6863 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6866 arg3
= (int)SWIG_As_int(obj2
);
6867 if (PyErr_Occurred()) SWIG_fail
;
6872 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6878 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6883 if (! PySequence_Check(obj5
)) {
6884 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6887 arg6
= new wxArrayString
;
6889 int i
, len
=PySequence_Length(obj5
);
6890 for (i
=0; i
<len
; i
++) {
6891 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6893 PyObject
* str
= PyObject_Unicode(item
);
6895 PyObject
* str
= PyObject_Str(item
);
6897 if (PyErr_Occurred()) SWIG_fail
;
6898 arg6
->Add(Py2wxString(str
));
6905 arg7
= (long)SWIG_As_long(obj6
);
6906 if (PyErr_Occurred()) SWIG_fail
;
6909 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
6910 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6913 PyErr_SetString(PyExc_TypeError
,"null reference");
6919 arg9
= wxString_in_helper(obj8
);
6920 if (arg9
== NULL
) SWIG_fail
;
6925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6926 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6928 wxPyEndAllowThreads(__tstate
);
6929 if (PyErr_Occurred()) SWIG_fail
;
6932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6935 if (temp6
) delete arg6
;
6944 if (temp6
) delete arg6
;
6954 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6955 PyObject
*resultobj
;
6956 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6959 PyObject
* obj0
= 0 ;
6960 PyObject
* obj1
= 0 ;
6962 (char *) "self",(char *) "index", NULL
6965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
6966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6968 arg2
= (int)SWIG_As_int(obj1
);
6969 if (PyErr_Occurred()) SWIG_fail
;
6971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6972 result
= (bool)(arg1
)->IsChecked(arg2
);
6974 wxPyEndAllowThreads(__tstate
);
6975 if (PyErr_Occurred()) SWIG_fail
;
6978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6986 static PyObject
*_wrap_CheckListBox_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6987 PyObject
*resultobj
;
6988 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6990 int arg3
= (int) true ;
6991 PyObject
* obj0
= 0 ;
6992 PyObject
* obj1
= 0 ;
6993 PyObject
* obj2
= 0 ;
6995 (char *) "self",(char *) "index",(char *) "check", NULL
6998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
7000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7001 arg2
= (int)SWIG_As_int(obj1
);
7002 if (PyErr_Occurred()) SWIG_fail
;
7004 arg3
= (int)SWIG_As_int(obj2
);
7005 if (PyErr_Occurred()) SWIG_fail
;
7008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7009 (arg1
)->Check(arg2
,arg3
);
7011 wxPyEndAllowThreads(__tstate
);
7012 if (PyErr_Occurred()) SWIG_fail
;
7014 Py_INCREF(Py_None
); resultobj
= Py_None
;
7021 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7022 PyObject
*resultobj
;
7023 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
7027 PyObject
* obj0
= 0 ;
7028 PyObject
* obj1
= 0 ;
7030 (char *) "self",(char *) "pt", NULL
7033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
7034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
7035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7038 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7042 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
7044 wxPyEndAllowThreads(__tstate
);
7045 if (PyErr_Occurred()) SWIG_fail
;
7047 resultobj
= SWIG_From_int((int)result
);
7054 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7055 PyObject
*resultobj
;
7056 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
7060 PyObject
* obj0
= 0 ;
7061 PyObject
* obj1
= 0 ;
7062 PyObject
* obj2
= 0 ;
7064 (char *) "self",(char *) "x",(char *) "y", NULL
7067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
7069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7070 arg2
= (int)SWIG_As_int(obj1
);
7071 if (PyErr_Occurred()) SWIG_fail
;
7072 arg3
= (int)SWIG_As_int(obj2
);
7073 if (PyErr_Occurred()) SWIG_fail
;
7075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7076 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
7078 wxPyEndAllowThreads(__tstate
);
7079 if (PyErr_Occurred()) SWIG_fail
;
7081 resultobj
= SWIG_From_int((int)result
);
7088 static PyObject
* CheckListBox_swigregister(PyObject
*, PyObject
*args
) {
7090 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7091 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
7093 return Py_BuildValue((char *)"");
7095 static int _wrap_TextCtrlNameStr_set(PyObject
*) {
7096 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
7101 static PyObject
*_wrap_TextCtrlNameStr_get() {
7106 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
7108 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
7115 static PyObject
*_wrap_new_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7116 PyObject
*resultobj
;
7117 wxColour
const &arg1_defvalue
= wxNullColour
;
7118 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
7119 wxColour
const &arg2_defvalue
= wxNullColour
;
7120 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
7121 wxFont
const &arg3_defvalue
= wxNullFont
;
7122 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
7123 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
7127 PyObject
* obj0
= 0 ;
7128 PyObject
* obj1
= 0 ;
7129 PyObject
* obj2
= 0 ;
7130 PyObject
* obj3
= 0 ;
7132 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
7135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7139 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
7145 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7149 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
7150 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7153 PyErr_SetString(PyExc_TypeError
,"null reference");
7158 arg4
= (int)SWIG_As_int(obj3
);
7159 if (PyErr_Occurred()) SWIG_fail
;
7162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7163 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
7165 wxPyEndAllowThreads(__tstate
);
7166 if (PyErr_Occurred()) SWIG_fail
;
7168 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
7175 static PyObject
*_wrap_delete_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7176 PyObject
*resultobj
;
7177 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7178 PyObject
* obj0
= 0 ;
7180 (char *) "self", NULL
7183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
7184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7190 wxPyEndAllowThreads(__tstate
);
7191 if (PyErr_Occurred()) SWIG_fail
;
7193 Py_INCREF(Py_None
); resultobj
= Py_None
;
7200 static PyObject
*_wrap_TextAttr_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7201 PyObject
*resultobj
;
7202 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7203 PyObject
* obj0
= 0 ;
7205 (char *) "self", NULL
7208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
7209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7215 wxPyEndAllowThreads(__tstate
);
7216 if (PyErr_Occurred()) SWIG_fail
;
7218 Py_INCREF(Py_None
); resultobj
= Py_None
;
7225 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7226 PyObject
*resultobj
;
7227 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7228 wxColour
*arg2
= 0 ;
7230 PyObject
* obj0
= 0 ;
7231 PyObject
* obj1
= 0 ;
7233 (char *) "self",(char *) "colText", NULL
7236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7241 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7245 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
7247 wxPyEndAllowThreads(__tstate
);
7248 if (PyErr_Occurred()) SWIG_fail
;
7250 Py_INCREF(Py_None
); resultobj
= Py_None
;
7257 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7258 PyObject
*resultobj
;
7259 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7260 wxColour
*arg2
= 0 ;
7262 PyObject
* obj0
= 0 ;
7263 PyObject
* obj1
= 0 ;
7265 (char *) "self",(char *) "colBack", NULL
7268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7273 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7277 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
7279 wxPyEndAllowThreads(__tstate
);
7280 if (PyErr_Occurred()) SWIG_fail
;
7282 Py_INCREF(Py_None
); resultobj
= Py_None
;
7289 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7290 PyObject
*resultobj
;
7291 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7293 long arg3
= (long) wxTEXT_ATTR_FONT
;
7294 PyObject
* obj0
= 0 ;
7295 PyObject
* obj1
= 0 ;
7296 PyObject
* obj2
= 0 ;
7298 (char *) "self",(char *) "font",(char *) "flags", NULL
7301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7304 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7305 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7308 PyErr_SetString(PyExc_TypeError
,"null reference");
7312 arg3
= (long)SWIG_As_long(obj2
);
7313 if (PyErr_Occurred()) SWIG_fail
;
7316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7317 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
7319 wxPyEndAllowThreads(__tstate
);
7320 if (PyErr_Occurred()) SWIG_fail
;
7322 Py_INCREF(Py_None
); resultobj
= Py_None
;
7329 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7330 PyObject
*resultobj
;
7331 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7333 PyObject
* obj0
= 0 ;
7334 PyObject
* obj1
= 0 ;
7336 (char *) "self",(char *) "alignment", NULL
7339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7342 arg2
= (int)SWIG_As_int(obj1
);
7343 if (PyErr_Occurred()) SWIG_fail
;
7345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7346 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
7348 wxPyEndAllowThreads(__tstate
);
7349 if (PyErr_Occurred()) SWIG_fail
;
7351 Py_INCREF(Py_None
); resultobj
= Py_None
;
7358 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7359 PyObject
*resultobj
;
7360 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7361 wxArrayInt
*arg2
= 0 ;
7362 bool temp2
= false ;
7363 PyObject
* obj0
= 0 ;
7364 PyObject
* obj1
= 0 ;
7366 (char *) "self",(char *) "tabs", NULL
7369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
7370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7373 if (! PySequence_Check(obj1
)) {
7374 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
7377 arg2
= new wxArrayInt
;
7379 int i
, len
=PySequence_Length(obj1
);
7380 for (i
=0; i
<len
; i
++) {
7381 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7382 PyObject
* number
= PyNumber_Int(item
);
7383 arg2
->Add(PyInt_AS_LONG(number
));
7389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7390 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
7392 wxPyEndAllowThreads(__tstate
);
7393 if (PyErr_Occurred()) SWIG_fail
;
7395 Py_INCREF(Py_None
); resultobj
= Py_None
;
7397 if (temp2
) delete arg2
;
7402 if (temp2
) delete arg2
;
7408 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7409 PyObject
*resultobj
;
7410 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7412 int arg3
= (int) 0 ;
7413 PyObject
* obj0
= 0 ;
7414 PyObject
* obj1
= 0 ;
7415 PyObject
* obj2
= 0 ;
7417 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
7420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7423 arg2
= (int)SWIG_As_int(obj1
);
7424 if (PyErr_Occurred()) SWIG_fail
;
7426 arg3
= (int)SWIG_As_int(obj2
);
7427 if (PyErr_Occurred()) SWIG_fail
;
7430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7431 (arg1
)->SetLeftIndent(arg2
,arg3
);
7433 wxPyEndAllowThreads(__tstate
);
7434 if (PyErr_Occurred()) SWIG_fail
;
7436 Py_INCREF(Py_None
); resultobj
= Py_None
;
7443 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7444 PyObject
*resultobj
;
7445 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7447 PyObject
* obj0
= 0 ;
7448 PyObject
* obj1
= 0 ;
7450 (char *) "self",(char *) "indent", NULL
7453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
7454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7456 arg2
= (int)SWIG_As_int(obj1
);
7457 if (PyErr_Occurred()) SWIG_fail
;
7459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7460 (arg1
)->SetRightIndent(arg2
);
7462 wxPyEndAllowThreads(__tstate
);
7463 if (PyErr_Occurred()) SWIG_fail
;
7465 Py_INCREF(Py_None
); resultobj
= Py_None
;
7472 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7473 PyObject
*resultobj
;
7474 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7476 PyObject
* obj0
= 0 ;
7477 PyObject
* obj1
= 0 ;
7479 (char *) "self",(char *) "flags", NULL
7482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7485 arg2
= (long)SWIG_As_long(obj1
);
7486 if (PyErr_Occurred()) SWIG_fail
;
7488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7489 (arg1
)->SetFlags(arg2
);
7491 wxPyEndAllowThreads(__tstate
);
7492 if (PyErr_Occurred()) SWIG_fail
;
7494 Py_INCREF(Py_None
); resultobj
= Py_None
;
7501 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7502 PyObject
*resultobj
;
7503 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7505 PyObject
* obj0
= 0 ;
7507 (char *) "self", NULL
7510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
7511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7515 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
7517 wxPyEndAllowThreads(__tstate
);
7518 if (PyErr_Occurred()) SWIG_fail
;
7521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7529 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7530 PyObject
*resultobj
;
7531 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7533 PyObject
* obj0
= 0 ;
7535 (char *) "self", NULL
7538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
7539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7543 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
7545 wxPyEndAllowThreads(__tstate
);
7546 if (PyErr_Occurred()) SWIG_fail
;
7549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7557 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7558 PyObject
*resultobj
;
7559 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7561 PyObject
* obj0
= 0 ;
7563 (char *) "self", NULL
7566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
7567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7571 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
7573 wxPyEndAllowThreads(__tstate
);
7574 if (PyErr_Occurred()) SWIG_fail
;
7577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7585 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7586 PyObject
*resultobj
;
7587 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7589 PyObject
* obj0
= 0 ;
7591 (char *) "self", NULL
7594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
7595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7599 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
7601 wxPyEndAllowThreads(__tstate
);
7602 if (PyErr_Occurred()) SWIG_fail
;
7605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7613 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7614 PyObject
*resultobj
;
7615 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7617 PyObject
* obj0
= 0 ;
7619 (char *) "self", NULL
7622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
7623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7627 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
7629 wxPyEndAllowThreads(__tstate
);
7630 if (PyErr_Occurred()) SWIG_fail
;
7633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7641 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7642 PyObject
*resultobj
;
7643 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7645 PyObject
* obj0
= 0 ;
7647 (char *) "self", NULL
7650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
7651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7655 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
7657 wxPyEndAllowThreads(__tstate
);
7658 if (PyErr_Occurred()) SWIG_fail
;
7661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7669 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7670 PyObject
*resultobj
;
7671 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7673 PyObject
* obj0
= 0 ;
7675 (char *) "self", NULL
7678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
7679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7683 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
7685 wxPyEndAllowThreads(__tstate
);
7686 if (PyErr_Occurred()) SWIG_fail
;
7689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7697 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7698 PyObject
*resultobj
;
7699 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7702 PyObject
* obj0
= 0 ;
7703 PyObject
* obj1
= 0 ;
7705 (char *) "self",(char *) "flag", NULL
7708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
7709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7711 arg2
= (long)SWIG_As_long(obj1
);
7712 if (PyErr_Occurred()) SWIG_fail
;
7714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7715 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
7717 wxPyEndAllowThreads(__tstate
);
7718 if (PyErr_Occurred()) SWIG_fail
;
7721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7729 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7730 PyObject
*resultobj
;
7731 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7733 PyObject
* obj0
= 0 ;
7735 (char *) "self", NULL
7738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
7739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7744 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
7745 result
= (wxColour
*) &_result_ref
;
7748 wxPyEndAllowThreads(__tstate
);
7749 if (PyErr_Occurred()) SWIG_fail
;
7751 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7758 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7759 PyObject
*resultobj
;
7760 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7762 PyObject
* obj0
= 0 ;
7764 (char *) "self", NULL
7767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
7768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7773 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
7774 result
= (wxColour
*) &_result_ref
;
7777 wxPyEndAllowThreads(__tstate
);
7778 if (PyErr_Occurred()) SWIG_fail
;
7780 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7787 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7788 PyObject
*resultobj
;
7789 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7791 PyObject
* obj0
= 0 ;
7793 (char *) "self", NULL
7796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
7797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7802 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7803 result
= (wxFont
*) &_result_ref
;
7806 wxPyEndAllowThreads(__tstate
);
7807 if (PyErr_Occurred()) SWIG_fail
;
7810 wxFont
* resultptr
= new wxFont(*result
);
7811 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
7819 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7820 PyObject
*resultobj
;
7821 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7823 PyObject
* obj0
= 0 ;
7825 (char *) "self", NULL
7828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
7829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7833 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7835 wxPyEndAllowThreads(__tstate
);
7836 if (PyErr_Occurred()) SWIG_fail
;
7838 resultobj
= SWIG_From_int((int)result
);
7845 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7846 PyObject
*resultobj
;
7847 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7849 PyObject
* obj0
= 0 ;
7851 (char *) "self", NULL
7854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
7855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7860 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7861 result
= (wxArrayInt
*) &_result_ref
;
7864 wxPyEndAllowThreads(__tstate
);
7865 if (PyErr_Occurred()) SWIG_fail
;
7868 resultobj
= PyList_New(0);
7870 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7871 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7872 PyList_Append(resultobj
, val
);
7882 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7883 PyObject
*resultobj
;
7884 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7886 PyObject
* obj0
= 0 ;
7888 (char *) "self", NULL
7891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7896 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7898 wxPyEndAllowThreads(__tstate
);
7899 if (PyErr_Occurred()) SWIG_fail
;
7901 resultobj
= SWIG_From_long((long)result
);
7908 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7909 PyObject
*resultobj
;
7910 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7912 PyObject
* obj0
= 0 ;
7914 (char *) "self", NULL
7917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftSubIndent",kwnames
,&obj0
)) goto fail
;
7918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7922 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
7924 wxPyEndAllowThreads(__tstate
);
7925 if (PyErr_Occurred()) SWIG_fail
;
7927 resultobj
= SWIG_From_long((long)result
);
7934 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7935 PyObject
*resultobj
;
7936 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7938 PyObject
* obj0
= 0 ;
7940 (char *) "self", NULL
7943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
7944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7948 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
7950 wxPyEndAllowThreads(__tstate
);
7951 if (PyErr_Occurred()) SWIG_fail
;
7953 resultobj
= SWIG_From_long((long)result
);
7960 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7961 PyObject
*resultobj
;
7962 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7964 PyObject
* obj0
= 0 ;
7966 (char *) "self", NULL
7969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
7970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7974 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
7976 wxPyEndAllowThreads(__tstate
);
7977 if (PyErr_Occurred()) SWIG_fail
;
7979 resultobj
= SWIG_From_long((long)result
);
7986 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7987 PyObject
*resultobj
;
7988 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7990 PyObject
* obj0
= 0 ;
7992 (char *) "self", NULL
7995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
7996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8000 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
8002 wxPyEndAllowThreads(__tstate
);
8003 if (PyErr_Occurred()) SWIG_fail
;
8006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8014 static PyObject
*_wrap_TextAttr_Combine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8015 PyObject
*resultobj
;
8016 wxTextAttr
*arg1
= 0 ;
8017 wxTextAttr
*arg2
= 0 ;
8018 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
8020 PyObject
* obj0
= 0 ;
8021 PyObject
* obj1
= 0 ;
8022 PyObject
* obj2
= 0 ;
8024 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
8027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
8029 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8032 PyErr_SetString(PyExc_TypeError
,"null reference");
8035 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
8036 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8039 PyErr_SetString(PyExc_TypeError
,"null reference");
8042 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextCtrl
,
8043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8046 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
8048 wxPyEndAllowThreads(__tstate
);
8049 if (PyErr_Occurred()) SWIG_fail
;
8052 wxTextAttr
* resultptr
;
8053 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
8054 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
8062 static PyObject
* TextAttr_swigregister(PyObject
*, PyObject
*args
) {
8064 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8065 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
8067 return Py_BuildValue((char *)"");
8069 static PyObject
*_wrap_new_TextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8070 PyObject
*resultobj
;
8071 wxWindow
*arg1
= (wxWindow
*) 0 ;
8072 int arg2
= (int) -1 ;
8073 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8074 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8075 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8076 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8077 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8078 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8079 long arg6
= (long) 0 ;
8080 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8081 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8082 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
8083 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8085 bool temp3
= false ;
8088 bool temp8
= false ;
8089 PyObject
* obj0
= 0 ;
8090 PyObject
* obj1
= 0 ;
8091 PyObject
* obj2
= 0 ;
8092 PyObject
* obj3
= 0 ;
8093 PyObject
* obj4
= 0 ;
8094 PyObject
* obj5
= 0 ;
8095 PyObject
* obj6
= 0 ;
8096 PyObject
* obj7
= 0 ;
8098 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
8102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8105 arg2
= (int)SWIG_As_int(obj1
);
8106 if (PyErr_Occurred()) SWIG_fail
;
8110 arg3
= wxString_in_helper(obj2
);
8111 if (arg3
== NULL
) SWIG_fail
;
8118 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8124 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8128 arg6
= (long)SWIG_As_long(obj5
);
8129 if (PyErr_Occurred()) SWIG_fail
;
8132 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
8133 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8136 PyErr_SetString(PyExc_TypeError
,"null reference");
8142 arg8
= wxString_in_helper(obj7
);
8143 if (arg8
== NULL
) SWIG_fail
;
8148 if (!wxPyCheckForApp()) SWIG_fail
;
8149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8150 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8152 wxPyEndAllowThreads(__tstate
);
8153 if (PyErr_Occurred()) SWIG_fail
;
8155 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
8178 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8179 PyObject
*resultobj
;
8185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
8187 if (!wxPyCheckForApp()) SWIG_fail
;
8188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8189 result
= (wxTextCtrl
*)new wxTextCtrl();
8191 wxPyEndAllowThreads(__tstate
);
8192 if (PyErr_Occurred()) SWIG_fail
;
8194 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
8201 static PyObject
*_wrap_TextCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8202 PyObject
*resultobj
;
8203 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8204 wxWindow
*arg2
= (wxWindow
*) 0 ;
8205 int arg3
= (int) -1 ;
8206 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8207 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8208 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8209 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8210 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8211 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8212 long arg7
= (long) 0 ;
8213 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8214 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8215 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
8216 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8218 bool temp4
= false ;
8221 bool temp9
= false ;
8222 PyObject
* obj0
= 0 ;
8223 PyObject
* obj1
= 0 ;
8224 PyObject
* obj2
= 0 ;
8225 PyObject
* obj3
= 0 ;
8226 PyObject
* obj4
= 0 ;
8227 PyObject
* obj5
= 0 ;
8228 PyObject
* obj6
= 0 ;
8229 PyObject
* obj7
= 0 ;
8230 PyObject
* obj8
= 0 ;
8232 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8238 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8241 arg3
= (int)SWIG_As_int(obj2
);
8242 if (PyErr_Occurred()) SWIG_fail
;
8246 arg4
= wxString_in_helper(obj3
);
8247 if (arg4
== NULL
) SWIG_fail
;
8254 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8260 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8264 arg7
= (long)SWIG_As_long(obj6
);
8265 if (PyErr_Occurred()) SWIG_fail
;
8268 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
8269 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8272 PyErr_SetString(PyExc_TypeError
,"null reference");
8278 arg9
= wxString_in_helper(obj8
);
8279 if (arg9
== NULL
) SWIG_fail
;
8284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8285 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8287 wxPyEndAllowThreads(__tstate
);
8288 if (PyErr_Occurred()) SWIG_fail
;
8291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8315 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8316 PyObject
*resultobj
;
8317 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8319 PyObject
* obj0
= 0 ;
8321 (char *) "self", NULL
8324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
8325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8329 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
8331 wxPyEndAllowThreads(__tstate
);
8332 if (PyErr_Occurred()) SWIG_fail
;
8336 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8338 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8347 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8348 PyObject
*resultobj
;
8349 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8350 wxString
*arg2
= 0 ;
8351 bool temp2
= false ;
8352 PyObject
* obj0
= 0 ;
8353 PyObject
* obj1
= 0 ;
8355 (char *) "self",(char *) "value", NULL
8358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
8359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8362 arg2
= wxString_in_helper(obj1
);
8363 if (arg2
== NULL
) SWIG_fail
;
8367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8368 (arg1
)->SetValue((wxString
const &)*arg2
);
8370 wxPyEndAllowThreads(__tstate
);
8371 if (PyErr_Occurred()) SWIG_fail
;
8373 Py_INCREF(Py_None
); resultobj
= Py_None
;
8388 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8389 PyObject
*resultobj
;
8390 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8394 PyObject
* obj0
= 0 ;
8395 PyObject
* obj1
= 0 ;
8396 PyObject
* obj2
= 0 ;
8398 (char *) "self",(char *) "from",(char *) "to", NULL
8401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8404 arg2
= (long)SWIG_As_long(obj1
);
8405 if (PyErr_Occurred()) SWIG_fail
;
8406 arg3
= (long)SWIG_As_long(obj2
);
8407 if (PyErr_Occurred()) SWIG_fail
;
8409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8410 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
8412 wxPyEndAllowThreads(__tstate
);
8413 if (PyErr_Occurred()) SWIG_fail
;
8417 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8419 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8428 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8429 PyObject
*resultobj
;
8430 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8433 PyObject
* obj0
= 0 ;
8434 PyObject
* obj1
= 0 ;
8436 (char *) "self",(char *) "lineNo", NULL
8439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8442 arg2
= (long)SWIG_As_long(obj1
);
8443 if (PyErr_Occurred()) SWIG_fail
;
8445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8446 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
8448 wxPyEndAllowThreads(__tstate
);
8449 if (PyErr_Occurred()) SWIG_fail
;
8451 resultobj
= SWIG_From_int((int)result
);
8458 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8459 PyObject
*resultobj
;
8460 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8463 PyObject
* obj0
= 0 ;
8464 PyObject
* obj1
= 0 ;
8466 (char *) "self",(char *) "lineNo", NULL
8469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
8470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8472 arg2
= (long)SWIG_As_long(obj1
);
8473 if (PyErr_Occurred()) SWIG_fail
;
8475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8476 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
8478 wxPyEndAllowThreads(__tstate
);
8479 if (PyErr_Occurred()) SWIG_fail
;
8483 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8485 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8494 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8495 PyObject
*resultobj
;
8496 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8498 PyObject
* obj0
= 0 ;
8500 (char *) "self", NULL
8503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
8504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8508 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
8510 wxPyEndAllowThreads(__tstate
);
8511 if (PyErr_Occurred()) SWIG_fail
;
8513 resultobj
= SWIG_From_int((int)result
);
8520 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8521 PyObject
*resultobj
;
8522 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8524 PyObject
* obj0
= 0 ;
8526 (char *) "self", NULL
8529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
8530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8534 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
8536 wxPyEndAllowThreads(__tstate
);
8537 if (PyErr_Occurred()) SWIG_fail
;
8540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8548 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8549 PyObject
*resultobj
;
8550 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8552 PyObject
* obj0
= 0 ;
8554 (char *) "self", NULL
8557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
8558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8562 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
8564 wxPyEndAllowThreads(__tstate
);
8565 if (PyErr_Occurred()) SWIG_fail
;
8568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8576 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8577 PyObject
*resultobj
;
8578 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8580 PyObject
* obj0
= 0 ;
8582 (char *) "self", NULL
8585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
8586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8590 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
8592 wxPyEndAllowThreads(__tstate
);
8593 if (PyErr_Occurred()) SWIG_fail
;
8596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8604 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8605 PyObject
*resultobj
;
8606 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8608 PyObject
* obj0
= 0 ;
8610 (char *) "self", NULL
8613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
8614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8618 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
8620 wxPyEndAllowThreads(__tstate
);
8621 if (PyErr_Occurred()) SWIG_fail
;
8624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8632 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8633 PyObject
*resultobj
;
8634 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8635 long *arg2
= (long *) 0 ;
8636 long *arg3
= (long *) 0 ;
8641 PyObject
* obj0
= 0 ;
8643 (char *) "self", NULL
8646 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
8647 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
8648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
8649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8653 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
8655 wxPyEndAllowThreads(__tstate
);
8656 if (PyErr_Occurred()) SWIG_fail
;
8658 Py_INCREF(Py_None
); resultobj
= Py_None
;
8659 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
8660 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
8661 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
8662 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
8669 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8670 PyObject
*resultobj
;
8671 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8673 PyObject
* obj0
= 0 ;
8675 (char *) "self", NULL
8678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
8679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8683 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
8685 wxPyEndAllowThreads(__tstate
);
8686 if (PyErr_Occurred()) SWIG_fail
;
8690 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8692 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8701 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8702 PyObject
*resultobj
;
8703 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8704 PyObject
* obj0
= 0 ;
8706 (char *) "self", NULL
8709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
8710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8716 wxPyEndAllowThreads(__tstate
);
8717 if (PyErr_Occurred()) SWIG_fail
;
8719 Py_INCREF(Py_None
); resultobj
= Py_None
;
8726 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8727 PyObject
*resultobj
;
8728 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8731 wxString
*arg4
= 0 ;
8732 bool temp4
= false ;
8733 PyObject
* obj0
= 0 ;
8734 PyObject
* obj1
= 0 ;
8735 PyObject
* obj2
= 0 ;
8736 PyObject
* obj3
= 0 ;
8738 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8744 arg2
= (long)SWIG_As_long(obj1
);
8745 if (PyErr_Occurred()) SWIG_fail
;
8746 arg3
= (long)SWIG_As_long(obj2
);
8747 if (PyErr_Occurred()) SWIG_fail
;
8749 arg4
= wxString_in_helper(obj3
);
8750 if (arg4
== NULL
) SWIG_fail
;
8754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8755 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
8757 wxPyEndAllowThreads(__tstate
);
8758 if (PyErr_Occurred()) SWIG_fail
;
8760 Py_INCREF(Py_None
); resultobj
= Py_None
;
8775 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8776 PyObject
*resultobj
;
8777 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8780 PyObject
* obj0
= 0 ;
8781 PyObject
* obj1
= 0 ;
8782 PyObject
* obj2
= 0 ;
8784 (char *) "self",(char *) "from",(char *) "to", NULL
8787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8790 arg2
= (long)SWIG_As_long(obj1
);
8791 if (PyErr_Occurred()) SWIG_fail
;
8792 arg3
= (long)SWIG_As_long(obj2
);
8793 if (PyErr_Occurred()) SWIG_fail
;
8795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8796 (arg1
)->Remove(arg2
,arg3
);
8798 wxPyEndAllowThreads(__tstate
);
8799 if (PyErr_Occurred()) SWIG_fail
;
8801 Py_INCREF(Py_None
); resultobj
= Py_None
;
8808 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8809 PyObject
*resultobj
;
8810 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8811 wxString
*arg2
= 0 ;
8813 bool temp2
= false ;
8814 PyObject
* obj0
= 0 ;
8815 PyObject
* obj1
= 0 ;
8817 (char *) "self",(char *) "file", NULL
8820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8824 arg2
= wxString_in_helper(obj1
);
8825 if (arg2
== NULL
) SWIG_fail
;
8829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8830 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
8832 wxPyEndAllowThreads(__tstate
);
8833 if (PyErr_Occurred()) SWIG_fail
;
8836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8852 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8853 PyObject
*resultobj
;
8854 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8855 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8856 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8858 bool temp2
= false ;
8859 PyObject
* obj0
= 0 ;
8860 PyObject
* obj1
= 0 ;
8862 (char *) "self",(char *) "file", NULL
8865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8870 arg2
= wxString_in_helper(obj1
);
8871 if (arg2
== NULL
) SWIG_fail
;
8876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8877 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8879 wxPyEndAllowThreads(__tstate
);
8880 if (PyErr_Occurred()) SWIG_fail
;
8883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8899 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8900 PyObject
*resultobj
;
8901 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8902 PyObject
* obj0
= 0 ;
8904 (char *) "self", NULL
8907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8912 (arg1
)->MarkDirty();
8914 wxPyEndAllowThreads(__tstate
);
8915 if (PyErr_Occurred()) SWIG_fail
;
8917 Py_INCREF(Py_None
); resultobj
= Py_None
;
8924 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8925 PyObject
*resultobj
;
8926 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8927 PyObject
* obj0
= 0 ;
8929 (char *) "self", NULL
8932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8937 (arg1
)->DiscardEdits();
8939 wxPyEndAllowThreads(__tstate
);
8940 if (PyErr_Occurred()) SWIG_fail
;
8942 Py_INCREF(Py_None
); resultobj
= Py_None
;
8949 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8950 PyObject
*resultobj
;
8951 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8952 unsigned long arg2
;
8953 PyObject
* obj0
= 0 ;
8954 PyObject
* obj1
= 0 ;
8956 (char *) "self",(char *) "len", NULL
8959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8962 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
8963 if (PyErr_Occurred()) SWIG_fail
;
8965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8966 (arg1
)->SetMaxLength(arg2
);
8968 wxPyEndAllowThreads(__tstate
);
8969 if (PyErr_Occurred()) SWIG_fail
;
8971 Py_INCREF(Py_None
); resultobj
= Py_None
;
8978 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8979 PyObject
*resultobj
;
8980 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8981 wxString
*arg2
= 0 ;
8982 bool temp2
= false ;
8983 PyObject
* obj0
= 0 ;
8984 PyObject
* obj1
= 0 ;
8986 (char *) "self",(char *) "text", NULL
8989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
8990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8993 arg2
= wxString_in_helper(obj1
);
8994 if (arg2
== NULL
) SWIG_fail
;
8998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8999 (arg1
)->WriteText((wxString
const &)*arg2
);
9001 wxPyEndAllowThreads(__tstate
);
9002 if (PyErr_Occurred()) SWIG_fail
;
9004 Py_INCREF(Py_None
); resultobj
= Py_None
;
9019 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9020 PyObject
*resultobj
;
9021 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9022 wxString
*arg2
= 0 ;
9023 bool temp2
= false ;
9024 PyObject
* obj0
= 0 ;
9025 PyObject
* obj1
= 0 ;
9027 (char *) "self",(char *) "text", NULL
9030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
9031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9034 arg2
= wxString_in_helper(obj1
);
9035 if (arg2
== NULL
) SWIG_fail
;
9039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9040 (arg1
)->AppendText((wxString
const &)*arg2
);
9042 wxPyEndAllowThreads(__tstate
);
9043 if (PyErr_Occurred()) SWIG_fail
;
9045 Py_INCREF(Py_None
); resultobj
= Py_None
;
9060 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9061 PyObject
*resultobj
;
9062 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9063 wxKeyEvent
*arg2
= 0 ;
9065 PyObject
* obj0
= 0 ;
9066 PyObject
* obj1
= 0 ;
9068 (char *) "self",(char *) "event", NULL
9071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
9072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9074 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
9075 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9078 PyErr_SetString(PyExc_TypeError
,"null reference");
9082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9083 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
9085 wxPyEndAllowThreads(__tstate
);
9086 if (PyErr_Occurred()) SWIG_fail
;
9089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9097 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9098 PyObject
*resultobj
;
9099 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9102 wxTextAttr
*arg4
= 0 ;
9104 PyObject
* obj0
= 0 ;
9105 PyObject
* obj1
= 0 ;
9106 PyObject
* obj2
= 0 ;
9107 PyObject
* obj3
= 0 ;
9109 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
9112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9115 arg2
= (long)SWIG_As_long(obj1
);
9116 if (PyErr_Occurred()) SWIG_fail
;
9117 arg3
= (long)SWIG_As_long(obj2
);
9118 if (PyErr_Occurred()) SWIG_fail
;
9119 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxTextAttr
,
9120 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9123 PyErr_SetString(PyExc_TypeError
,"null reference");
9127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9128 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
9130 wxPyEndAllowThreads(__tstate
);
9131 if (PyErr_Occurred()) SWIG_fail
;
9134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9142 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9143 PyObject
*resultobj
;
9144 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9146 wxTextAttr
*arg3
= 0 ;
9148 PyObject
* obj0
= 0 ;
9149 PyObject
* obj1
= 0 ;
9150 PyObject
* obj2
= 0 ;
9152 (char *) "self",(char *) "position",(char *) "style", NULL
9155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9158 arg2
= (long)SWIG_As_long(obj1
);
9159 if (PyErr_Occurred()) SWIG_fail
;
9160 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextAttr
,
9161 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9164 PyErr_SetString(PyExc_TypeError
,"null reference");
9168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9169 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
9171 wxPyEndAllowThreads(__tstate
);
9172 if (PyErr_Occurred()) SWIG_fail
;
9175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9183 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9184 PyObject
*resultobj
;
9185 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9186 wxTextAttr
*arg2
= 0 ;
9188 PyObject
* obj0
= 0 ;
9189 PyObject
* obj1
= 0 ;
9191 (char *) "self",(char *) "style", NULL
9194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
9195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9197 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
9198 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9201 PyErr_SetString(PyExc_TypeError
,"null reference");
9205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9206 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
9208 wxPyEndAllowThreads(__tstate
);
9209 if (PyErr_Occurred()) SWIG_fail
;
9212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9220 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9221 PyObject
*resultobj
;
9222 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9224 PyObject
* obj0
= 0 ;
9226 (char *) "self", NULL
9229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
9230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9235 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
9236 result
= (wxTextAttr
*) &_result_ref
;
9239 wxPyEndAllowThreads(__tstate
);
9240 if (PyErr_Occurred()) SWIG_fail
;
9242 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
9249 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9250 PyObject
*resultobj
;
9251 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9255 PyObject
* obj0
= 0 ;
9256 PyObject
* obj1
= 0 ;
9257 PyObject
* obj2
= 0 ;
9259 (char *) "self",(char *) "x",(char *) "y", NULL
9262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9265 arg2
= (long)SWIG_As_long(obj1
);
9266 if (PyErr_Occurred()) SWIG_fail
;
9267 arg3
= (long)SWIG_As_long(obj2
);
9268 if (PyErr_Occurred()) SWIG_fail
;
9270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9271 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
9273 wxPyEndAllowThreads(__tstate
);
9274 if (PyErr_Occurred()) SWIG_fail
;
9276 resultobj
= SWIG_From_long((long)result
);
9283 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9284 PyObject
*resultobj
;
9285 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9287 long *arg3
= (long *) 0 ;
9288 long *arg4
= (long *) 0 ;
9293 PyObject
* obj0
= 0 ;
9294 PyObject
* obj1
= 0 ;
9296 (char *) "self",(char *) "pos", NULL
9299 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
9300 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
9301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
9302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9304 arg2
= (long)SWIG_As_long(obj1
);
9305 if (PyErr_Occurred()) SWIG_fail
;
9307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9308 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
9310 wxPyEndAllowThreads(__tstate
);
9311 if (PyErr_Occurred()) SWIG_fail
;
9313 Py_INCREF(Py_None
); resultobj
= Py_None
;
9314 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
9315 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
9316 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
9317 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
9324 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9325 PyObject
*resultobj
;
9326 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9328 PyObject
* obj0
= 0 ;
9329 PyObject
* obj1
= 0 ;
9331 (char *) "self",(char *) "pos", NULL
9334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9337 arg2
= (long)SWIG_As_long(obj1
);
9338 if (PyErr_Occurred()) SWIG_fail
;
9340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9341 (arg1
)->ShowPosition(arg2
);
9343 wxPyEndAllowThreads(__tstate
);
9344 if (PyErr_Occurred()) SWIG_fail
;
9346 Py_INCREF(Py_None
); resultobj
= Py_None
;
9353 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9354 PyObject
*resultobj
;
9355 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9357 long *arg3
= (long *) 0 ;
9358 long *arg4
= (long *) 0 ;
9365 PyObject
* obj0
= 0 ;
9366 PyObject
* obj1
= 0 ;
9368 (char *) "self",(char *) "pt", NULL
9371 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
9372 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
9373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9378 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9382 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
9384 wxPyEndAllowThreads(__tstate
);
9385 if (PyErr_Occurred()) SWIG_fail
;
9387 resultobj
= SWIG_From_int((int)result
);
9388 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
9389 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
9390 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
9391 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
9398 static PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9399 PyObject
*resultobj
;
9400 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9402 long *arg3
= (long *) 0 ;
9407 PyObject
* obj0
= 0 ;
9408 PyObject
* obj1
= 0 ;
9410 (char *) "self",(char *) "pt", NULL
9413 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
9414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) goto fail
;
9415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9419 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9423 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
9425 wxPyEndAllowThreads(__tstate
);
9426 if (PyErr_Occurred()) SWIG_fail
;
9428 resultobj
= SWIG_From_int((int)result
);
9429 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
9430 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
9437 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9438 PyObject
*resultobj
;
9439 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9440 PyObject
* obj0
= 0 ;
9442 (char *) "self", NULL
9445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
9446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9452 wxPyEndAllowThreads(__tstate
);
9453 if (PyErr_Occurred()) SWIG_fail
;
9455 Py_INCREF(Py_None
); resultobj
= Py_None
;
9462 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9463 PyObject
*resultobj
;
9464 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9465 PyObject
* obj0
= 0 ;
9467 (char *) "self", NULL
9470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
9471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9477 wxPyEndAllowThreads(__tstate
);
9478 if (PyErr_Occurred()) SWIG_fail
;
9480 Py_INCREF(Py_None
); resultobj
= Py_None
;
9487 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9488 PyObject
*resultobj
;
9489 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9490 PyObject
* obj0
= 0 ;
9492 (char *) "self", NULL
9495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
9496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9502 wxPyEndAllowThreads(__tstate
);
9503 if (PyErr_Occurred()) SWIG_fail
;
9505 Py_INCREF(Py_None
); resultobj
= Py_None
;
9512 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9513 PyObject
*resultobj
;
9514 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9516 PyObject
* obj0
= 0 ;
9518 (char *) "self", NULL
9521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
9522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9526 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
9528 wxPyEndAllowThreads(__tstate
);
9529 if (PyErr_Occurred()) SWIG_fail
;
9532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9540 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9541 PyObject
*resultobj
;
9542 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9544 PyObject
* obj0
= 0 ;
9546 (char *) "self", NULL
9549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
9550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9554 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
9556 wxPyEndAllowThreads(__tstate
);
9557 if (PyErr_Occurred()) SWIG_fail
;
9560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9568 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9569 PyObject
*resultobj
;
9570 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9572 PyObject
* obj0
= 0 ;
9574 (char *) "self", NULL
9577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
9578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9582 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
9584 wxPyEndAllowThreads(__tstate
);
9585 if (PyErr_Occurred()) SWIG_fail
;
9588 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9596 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9597 PyObject
*resultobj
;
9598 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9599 PyObject
* obj0
= 0 ;
9601 (char *) "self", NULL
9604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
9605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9611 wxPyEndAllowThreads(__tstate
);
9612 if (PyErr_Occurred()) SWIG_fail
;
9614 Py_INCREF(Py_None
); resultobj
= Py_None
;
9621 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9622 PyObject
*resultobj
;
9623 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9624 PyObject
* obj0
= 0 ;
9626 (char *) "self", NULL
9629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
9630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9636 wxPyEndAllowThreads(__tstate
);
9637 if (PyErr_Occurred()) SWIG_fail
;
9639 Py_INCREF(Py_None
); resultobj
= Py_None
;
9646 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9647 PyObject
*resultobj
;
9648 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9650 PyObject
* obj0
= 0 ;
9652 (char *) "self", NULL
9655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
9656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9660 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
9662 wxPyEndAllowThreads(__tstate
);
9663 if (PyErr_Occurred()) SWIG_fail
;
9666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9674 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9675 PyObject
*resultobj
;
9676 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9678 PyObject
* obj0
= 0 ;
9680 (char *) "self", NULL
9683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
9684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9688 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
9690 wxPyEndAllowThreads(__tstate
);
9691 if (PyErr_Occurred()) SWIG_fail
;
9694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9702 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9703 PyObject
*resultobj
;
9704 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9706 PyObject
* obj0
= 0 ;
9707 PyObject
* obj1
= 0 ;
9709 (char *) "self",(char *) "pos", NULL
9712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
9713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9715 arg2
= (long)SWIG_As_long(obj1
);
9716 if (PyErr_Occurred()) SWIG_fail
;
9718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9719 (arg1
)->SetInsertionPoint(arg2
);
9721 wxPyEndAllowThreads(__tstate
);
9722 if (PyErr_Occurred()) SWIG_fail
;
9724 Py_INCREF(Py_None
); resultobj
= Py_None
;
9731 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9732 PyObject
*resultobj
;
9733 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9734 PyObject
* obj0
= 0 ;
9736 (char *) "self", NULL
9739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
9740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9744 (arg1
)->SetInsertionPointEnd();
9746 wxPyEndAllowThreads(__tstate
);
9747 if (PyErr_Occurred()) SWIG_fail
;
9749 Py_INCREF(Py_None
); resultobj
= Py_None
;
9756 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9757 PyObject
*resultobj
;
9758 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9760 PyObject
* obj0
= 0 ;
9762 (char *) "self", NULL
9765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
9766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9770 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
9772 wxPyEndAllowThreads(__tstate
);
9773 if (PyErr_Occurred()) SWIG_fail
;
9775 resultobj
= SWIG_From_long((long)result
);
9782 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9783 PyObject
*resultobj
;
9784 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9786 PyObject
* obj0
= 0 ;
9788 (char *) "self", NULL
9791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
9792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9796 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
9798 wxPyEndAllowThreads(__tstate
);
9799 if (PyErr_Occurred()) SWIG_fail
;
9801 resultobj
= SWIG_From_long((long)result
);
9808 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9809 PyObject
*resultobj
;
9810 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9813 PyObject
* obj0
= 0 ;
9814 PyObject
* obj1
= 0 ;
9815 PyObject
* obj2
= 0 ;
9817 (char *) "self",(char *) "from",(char *) "to", NULL
9820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9823 arg2
= (long)SWIG_As_long(obj1
);
9824 if (PyErr_Occurred()) SWIG_fail
;
9825 arg3
= (long)SWIG_As_long(obj2
);
9826 if (PyErr_Occurred()) SWIG_fail
;
9828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9829 (arg1
)->SetSelection(arg2
,arg3
);
9831 wxPyEndAllowThreads(__tstate
);
9832 if (PyErr_Occurred()) SWIG_fail
;
9834 Py_INCREF(Py_None
); resultobj
= Py_None
;
9841 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9842 PyObject
*resultobj
;
9843 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9844 PyObject
* obj0
= 0 ;
9846 (char *) "self", NULL
9849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
9850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9854 (arg1
)->SelectAll();
9856 wxPyEndAllowThreads(__tstate
);
9857 if (PyErr_Occurred()) SWIG_fail
;
9859 Py_INCREF(Py_None
); resultobj
= Py_None
;
9866 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9867 PyObject
*resultobj
;
9868 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9870 PyObject
* obj0
= 0 ;
9871 PyObject
* obj1
= 0 ;
9873 (char *) "self",(char *) "editable", NULL
9876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
9877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9879 arg2
= (bool)SWIG_As_bool(obj1
);
9880 if (PyErr_Occurred()) SWIG_fail
;
9882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9883 (arg1
)->SetEditable(arg2
);
9885 wxPyEndAllowThreads(__tstate
);
9886 if (PyErr_Occurred()) SWIG_fail
;
9888 Py_INCREF(Py_None
); resultobj
= Py_None
;
9895 static PyObject
*_wrap_TextCtrl_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9896 PyObject
*resultobj
;
9897 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9898 wxString
*arg2
= 0 ;
9899 bool temp2
= false ;
9900 PyObject
* obj0
= 0 ;
9901 PyObject
* obj1
= 0 ;
9903 (char *) "self",(char *) "text", NULL
9906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9910 arg2
= wxString_in_helper(obj1
);
9911 if (arg2
== NULL
) SWIG_fail
;
9915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9916 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
9918 wxPyEndAllowThreads(__tstate
);
9919 if (PyErr_Occurred()) SWIG_fail
;
9921 Py_INCREF(Py_None
); resultobj
= Py_None
;
9936 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9937 PyObject
*resultobj
;
9938 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9942 PyObject
* obj0
= 0 ;
9943 PyObject
* obj1
= 0 ;
9944 PyObject
* obj2
= 0 ;
9946 (char *) "self",(char *) "from",(char *) "to", NULL
9949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9952 arg2
= (long)SWIG_As_long(obj1
);
9953 if (PyErr_Occurred()) SWIG_fail
;
9954 arg3
= (long)SWIG_As_long(obj2
);
9955 if (PyErr_Occurred()) SWIG_fail
;
9957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9958 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
9960 wxPyEndAllowThreads(__tstate
);
9961 if (PyErr_Occurred()) SWIG_fail
;
9965 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9967 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9976 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9977 PyObject
*resultobj
;
9978 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
9979 wxVisualAttributes result
;
9980 PyObject
* obj0
= 0 ;
9982 (char *) "variant", NULL
9985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
9987 arg1
= (int)SWIG_As_int(obj0
);
9988 if (PyErr_Occurred()) SWIG_fail
;
9991 if (!wxPyCheckForApp()) SWIG_fail
;
9992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9993 result
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
9995 wxPyEndAllowThreads(__tstate
);
9996 if (PyErr_Occurred()) SWIG_fail
;
9999 wxVisualAttributes
* resultptr
;
10000 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10001 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10009 static PyObject
* TextCtrl_swigregister(PyObject
*, PyObject
*args
) {
10011 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10012 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
10014 return Py_BuildValue((char *)"");
10016 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10017 PyObject
*resultobj
;
10019 wxMouseEvent
*arg2
= 0 ;
10022 wxTextUrlEvent
*result
;
10023 PyObject
* obj0
= 0 ;
10024 PyObject
* obj1
= 0 ;
10025 PyObject
* obj2
= 0 ;
10026 PyObject
* obj3
= 0 ;
10027 char *kwnames
[] = {
10028 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
10031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10032 arg1
= (int)SWIG_As_int(obj0
);
10033 if (PyErr_Occurred()) SWIG_fail
;
10034 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
,
10035 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10037 if (arg2
== NULL
) {
10038 PyErr_SetString(PyExc_TypeError
,"null reference");
10041 arg3
= (long)SWIG_As_long(obj2
);
10042 if (PyErr_Occurred()) SWIG_fail
;
10043 arg4
= (long)SWIG_As_long(obj3
);
10044 if (PyErr_Occurred()) SWIG_fail
;
10046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10047 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
10049 wxPyEndAllowThreads(__tstate
);
10050 if (PyErr_Occurred()) SWIG_fail
;
10052 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
10059 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10060 PyObject
*resultobj
;
10061 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
10062 wxMouseEvent
*result
;
10063 PyObject
* obj0
= 0 ;
10064 char *kwnames
[] = {
10065 (char *) "self", NULL
10068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
10069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
10070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10074 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
10075 result
= (wxMouseEvent
*) &_result_ref
;
10078 wxPyEndAllowThreads(__tstate
);
10079 if (PyErr_Occurred()) SWIG_fail
;
10081 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
10088 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10089 PyObject
*resultobj
;
10090 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
10092 PyObject
* obj0
= 0 ;
10093 char *kwnames
[] = {
10094 (char *) "self", NULL
10097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
10098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
10099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10102 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
10104 wxPyEndAllowThreads(__tstate
);
10105 if (PyErr_Occurred()) SWIG_fail
;
10107 resultobj
= SWIG_From_long((long)result
);
10114 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10115 PyObject
*resultobj
;
10116 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
10118 PyObject
* obj0
= 0 ;
10119 char *kwnames
[] = {
10120 (char *) "self", NULL
10123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
10124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
10125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10128 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
10130 wxPyEndAllowThreads(__tstate
);
10131 if (PyErr_Occurred()) SWIG_fail
;
10133 resultobj
= SWIG_From_long((long)result
);
10140 static PyObject
* TextUrlEvent_swigregister(PyObject
*, PyObject
*args
) {
10142 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10143 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
10145 return Py_BuildValue((char *)"");
10147 static int _wrap_ScrollBarNameStr_set(PyObject
*) {
10148 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
10153 static PyObject
*_wrap_ScrollBarNameStr_get() {
10158 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
10160 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
10167 static PyObject
*_wrap_new_ScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10168 PyObject
*resultobj
;
10169 wxWindow
*arg1
= (wxWindow
*) 0 ;
10170 int arg2
= (int) -1 ;
10171 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10172 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10173 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10174 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10175 long arg5
= (long) wxSB_HORIZONTAL
;
10176 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
10177 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
10178 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
10179 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10180 wxScrollBar
*result
;
10183 bool temp7
= false ;
10184 PyObject
* obj0
= 0 ;
10185 PyObject
* obj1
= 0 ;
10186 PyObject
* obj2
= 0 ;
10187 PyObject
* obj3
= 0 ;
10188 PyObject
* obj4
= 0 ;
10189 PyObject
* obj5
= 0 ;
10190 PyObject
* obj6
= 0 ;
10191 char *kwnames
[] = {
10192 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10199 arg2
= (int)SWIG_As_int(obj1
);
10200 if (PyErr_Occurred()) SWIG_fail
;
10205 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10211 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10215 arg5
= (long)SWIG_As_long(obj4
);
10216 if (PyErr_Occurred()) SWIG_fail
;
10219 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
10220 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10222 if (arg6
== NULL
) {
10223 PyErr_SetString(PyExc_TypeError
,"null reference");
10229 arg7
= wxString_in_helper(obj6
);
10230 if (arg7
== NULL
) SWIG_fail
;
10235 if (!wxPyCheckForApp()) SWIG_fail
;
10236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10237 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
10239 wxPyEndAllowThreads(__tstate
);
10240 if (PyErr_Occurred()) SWIG_fail
;
10242 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10257 static PyObject
*_wrap_new_PreScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10258 PyObject
*resultobj
;
10259 wxScrollBar
*result
;
10260 char *kwnames
[] = {
10264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
10266 if (!wxPyCheckForApp()) SWIG_fail
;
10267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10268 result
= (wxScrollBar
*)new wxScrollBar();
10270 wxPyEndAllowThreads(__tstate
);
10271 if (PyErr_Occurred()) SWIG_fail
;
10273 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10280 static PyObject
*_wrap_ScrollBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10281 PyObject
*resultobj
;
10282 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10283 wxWindow
*arg2
= (wxWindow
*) 0 ;
10284 int arg3
= (int) -1 ;
10285 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10286 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10287 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10288 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10289 long arg6
= (long) wxSB_HORIZONTAL
;
10290 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10291 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10292 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
10293 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10297 bool temp8
= false ;
10298 PyObject
* obj0
= 0 ;
10299 PyObject
* obj1
= 0 ;
10300 PyObject
* obj2
= 0 ;
10301 PyObject
* obj3
= 0 ;
10302 PyObject
* obj4
= 0 ;
10303 PyObject
* obj5
= 0 ;
10304 PyObject
* obj6
= 0 ;
10305 PyObject
* obj7
= 0 ;
10306 char *kwnames
[] = {
10307 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
10311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10313 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10316 arg3
= (int)SWIG_As_int(obj2
);
10317 if (PyErr_Occurred()) SWIG_fail
;
10322 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10328 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10332 arg6
= (long)SWIG_As_long(obj5
);
10333 if (PyErr_Occurred()) SWIG_fail
;
10336 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
10337 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10339 if (arg7
== NULL
) {
10340 PyErr_SetString(PyExc_TypeError
,"null reference");
10346 arg8
= wxString_in_helper(obj7
);
10347 if (arg8
== NULL
) SWIG_fail
;
10352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10353 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10355 wxPyEndAllowThreads(__tstate
);
10356 if (PyErr_Occurred()) SWIG_fail
;
10359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10375 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10376 PyObject
*resultobj
;
10377 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10379 PyObject
* obj0
= 0 ;
10380 char *kwnames
[] = {
10381 (char *) "self", NULL
10384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
10385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10389 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
10391 wxPyEndAllowThreads(__tstate
);
10392 if (PyErr_Occurred()) SWIG_fail
;
10394 resultobj
= SWIG_From_int((int)result
);
10401 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10402 PyObject
*resultobj
;
10403 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10405 PyObject
* obj0
= 0 ;
10406 char *kwnames
[] = {
10407 (char *) "self", NULL
10410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
10411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10415 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
10417 wxPyEndAllowThreads(__tstate
);
10418 if (PyErr_Occurred()) SWIG_fail
;
10420 resultobj
= SWIG_From_int((int)result
);
10427 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10428 PyObject
*resultobj
;
10429 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10431 PyObject
* obj0
= 0 ;
10432 char *kwnames
[] = {
10433 (char *) "self", NULL
10436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
10437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10441 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
10443 wxPyEndAllowThreads(__tstate
);
10444 if (PyErr_Occurred()) SWIG_fail
;
10446 resultobj
= SWIG_From_int((int)result
);
10453 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10454 PyObject
*resultobj
;
10455 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10457 PyObject
* obj0
= 0 ;
10458 char *kwnames
[] = {
10459 (char *) "self", NULL
10462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
10463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10467 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
10469 wxPyEndAllowThreads(__tstate
);
10470 if (PyErr_Occurred()) SWIG_fail
;
10472 resultobj
= SWIG_From_int((int)result
);
10479 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10480 PyObject
*resultobj
;
10481 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10483 PyObject
* obj0
= 0 ;
10484 char *kwnames
[] = {
10485 (char *) "self", NULL
10488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
10489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10493 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
10495 wxPyEndAllowThreads(__tstate
);
10496 if (PyErr_Occurred()) SWIG_fail
;
10499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10507 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10508 PyObject
*resultobj
;
10509 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10511 PyObject
* obj0
= 0 ;
10512 PyObject
* obj1
= 0 ;
10513 char *kwnames
[] = {
10514 (char *) "self",(char *) "viewStart", NULL
10517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10520 arg2
= (int)SWIG_As_int(obj1
);
10521 if (PyErr_Occurred()) SWIG_fail
;
10523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10524 (arg1
)->SetThumbPosition(arg2
);
10526 wxPyEndAllowThreads(__tstate
);
10527 if (PyErr_Occurred()) SWIG_fail
;
10529 Py_INCREF(Py_None
); resultobj
= Py_None
;
10536 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10537 PyObject
*resultobj
;
10538 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10543 bool arg6
= (bool) true ;
10544 PyObject
* obj0
= 0 ;
10545 PyObject
* obj1
= 0 ;
10546 PyObject
* obj2
= 0 ;
10547 PyObject
* obj3
= 0 ;
10548 PyObject
* obj4
= 0 ;
10549 PyObject
* obj5
= 0 ;
10550 char *kwnames
[] = {
10551 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
10554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10557 arg2
= (int)SWIG_As_int(obj1
);
10558 if (PyErr_Occurred()) SWIG_fail
;
10559 arg3
= (int)SWIG_As_int(obj2
);
10560 if (PyErr_Occurred()) SWIG_fail
;
10561 arg4
= (int)SWIG_As_int(obj3
);
10562 if (PyErr_Occurred()) SWIG_fail
;
10563 arg5
= (int)SWIG_As_int(obj4
);
10564 if (PyErr_Occurred()) SWIG_fail
;
10566 arg6
= (bool)SWIG_As_bool(obj5
);
10567 if (PyErr_Occurred()) SWIG_fail
;
10570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10571 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
10573 wxPyEndAllowThreads(__tstate
);
10574 if (PyErr_Occurred()) SWIG_fail
;
10576 Py_INCREF(Py_None
); resultobj
= Py_None
;
10583 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10584 PyObject
*resultobj
;
10585 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10586 wxVisualAttributes result
;
10587 PyObject
* obj0
= 0 ;
10588 char *kwnames
[] = {
10589 (char *) "variant", NULL
10592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10594 arg1
= (int)SWIG_As_int(obj0
);
10595 if (PyErr_Occurred()) SWIG_fail
;
10598 if (!wxPyCheckForApp()) SWIG_fail
;
10599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10600 result
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10602 wxPyEndAllowThreads(__tstate
);
10603 if (PyErr_Occurred()) SWIG_fail
;
10606 wxVisualAttributes
* resultptr
;
10607 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10608 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10616 static PyObject
* ScrollBar_swigregister(PyObject
*, PyObject
*args
) {
10618 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10619 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
10621 return Py_BuildValue((char *)"");
10623 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*) {
10624 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
10629 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
10634 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10636 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10643 static int _wrap_SpinCtrlNameStr_set(PyObject
*) {
10644 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
10649 static PyObject
*_wrap_SpinCtrlNameStr_get() {
10654 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10656 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10663 static PyObject
*_wrap_new_SpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10664 PyObject
*resultobj
;
10665 wxWindow
*arg1
= (wxWindow
*) 0 ;
10666 int arg2
= (int) -1 ;
10667 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10668 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10669 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10670 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10671 long arg5
= (long) wxSP_HORIZONTAL
;
10672 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
10673 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10674 wxSpinButton
*result
;
10677 bool temp6
= false ;
10678 PyObject
* obj0
= 0 ;
10679 PyObject
* obj1
= 0 ;
10680 PyObject
* obj2
= 0 ;
10681 PyObject
* obj3
= 0 ;
10682 PyObject
* obj4
= 0 ;
10683 PyObject
* obj5
= 0 ;
10684 char *kwnames
[] = {
10685 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10692 arg2
= (int)SWIG_As_int(obj1
);
10693 if (PyErr_Occurred()) SWIG_fail
;
10698 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10704 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10708 arg5
= (long)SWIG_As_long(obj4
);
10709 if (PyErr_Occurred()) SWIG_fail
;
10713 arg6
= wxString_in_helper(obj5
);
10714 if (arg6
== NULL
) SWIG_fail
;
10719 if (!wxPyCheckForApp()) SWIG_fail
;
10720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10721 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10723 wxPyEndAllowThreads(__tstate
);
10724 if (PyErr_Occurred()) SWIG_fail
;
10726 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10741 static PyObject
*_wrap_new_PreSpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10742 PyObject
*resultobj
;
10743 wxSpinButton
*result
;
10744 char *kwnames
[] = {
10748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
10750 if (!wxPyCheckForApp()) SWIG_fail
;
10751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10752 result
= (wxSpinButton
*)new wxSpinButton();
10754 wxPyEndAllowThreads(__tstate
);
10755 if (PyErr_Occurred()) SWIG_fail
;
10757 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10764 static PyObject
*_wrap_SpinButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10765 PyObject
*resultobj
;
10766 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10767 wxWindow
*arg2
= (wxWindow
*) 0 ;
10768 int arg3
= (int) -1 ;
10769 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10770 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10771 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10772 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10773 long arg6
= (long) wxSP_HORIZONTAL
;
10774 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
10775 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10779 bool temp7
= false ;
10780 PyObject
* obj0
= 0 ;
10781 PyObject
* obj1
= 0 ;
10782 PyObject
* obj2
= 0 ;
10783 PyObject
* obj3
= 0 ;
10784 PyObject
* obj4
= 0 ;
10785 PyObject
* obj5
= 0 ;
10786 PyObject
* obj6
= 0 ;
10787 char *kwnames
[] = {
10788 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10794 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10797 arg3
= (int)SWIG_As_int(obj2
);
10798 if (PyErr_Occurred()) SWIG_fail
;
10803 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10809 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10813 arg6
= (long)SWIG_As_long(obj5
);
10814 if (PyErr_Occurred()) SWIG_fail
;
10818 arg7
= wxString_in_helper(obj6
);
10819 if (arg7
== NULL
) SWIG_fail
;
10824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10825 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10827 wxPyEndAllowThreads(__tstate
);
10828 if (PyErr_Occurred()) SWIG_fail
;
10831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10847 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10848 PyObject
*resultobj
;
10849 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10851 PyObject
* obj0
= 0 ;
10852 char *kwnames
[] = {
10853 (char *) "self", NULL
10856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
10857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10861 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
10863 wxPyEndAllowThreads(__tstate
);
10864 if (PyErr_Occurred()) SWIG_fail
;
10866 resultobj
= SWIG_From_int((int)result
);
10873 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10874 PyObject
*resultobj
;
10875 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10877 PyObject
* obj0
= 0 ;
10878 char *kwnames
[] = {
10879 (char *) "self", NULL
10882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
10883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10887 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
10889 wxPyEndAllowThreads(__tstate
);
10890 if (PyErr_Occurred()) SWIG_fail
;
10892 resultobj
= SWIG_From_int((int)result
);
10899 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10900 PyObject
*resultobj
;
10901 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10903 PyObject
* obj0
= 0 ;
10904 char *kwnames
[] = {
10905 (char *) "self", NULL
10908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
10909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10913 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
10915 wxPyEndAllowThreads(__tstate
);
10916 if (PyErr_Occurred()) SWIG_fail
;
10918 resultobj
= SWIG_From_int((int)result
);
10925 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10926 PyObject
*resultobj
;
10927 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10929 PyObject
* obj0
= 0 ;
10930 PyObject
* obj1
= 0 ;
10931 char *kwnames
[] = {
10932 (char *) "self",(char *) "val", NULL
10935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10938 arg2
= (int)SWIG_As_int(obj1
);
10939 if (PyErr_Occurred()) SWIG_fail
;
10941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10942 (arg1
)->SetValue(arg2
);
10944 wxPyEndAllowThreads(__tstate
);
10945 if (PyErr_Occurred()) SWIG_fail
;
10947 Py_INCREF(Py_None
); resultobj
= Py_None
;
10954 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10955 PyObject
*resultobj
;
10956 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10958 PyObject
* obj0
= 0 ;
10959 PyObject
* obj1
= 0 ;
10960 char *kwnames
[] = {
10961 (char *) "self",(char *) "minVal", NULL
10964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
10965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10967 arg2
= (int)SWIG_As_int(obj1
);
10968 if (PyErr_Occurred()) SWIG_fail
;
10970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10971 (arg1
)->SetMin(arg2
);
10973 wxPyEndAllowThreads(__tstate
);
10974 if (PyErr_Occurred()) SWIG_fail
;
10976 Py_INCREF(Py_None
); resultobj
= Py_None
;
10983 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10984 PyObject
*resultobj
;
10985 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10987 PyObject
* obj0
= 0 ;
10988 PyObject
* obj1
= 0 ;
10989 char *kwnames
[] = {
10990 (char *) "self",(char *) "maxVal", NULL
10993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
10994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10996 arg2
= (int)SWIG_As_int(obj1
);
10997 if (PyErr_Occurred()) SWIG_fail
;
10999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11000 (arg1
)->SetMax(arg2
);
11002 wxPyEndAllowThreads(__tstate
);
11003 if (PyErr_Occurred()) SWIG_fail
;
11005 Py_INCREF(Py_None
); resultobj
= Py_None
;
11012 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11013 PyObject
*resultobj
;
11014 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
11017 PyObject
* obj0
= 0 ;
11018 PyObject
* obj1
= 0 ;
11019 PyObject
* obj2
= 0 ;
11020 char *kwnames
[] = {
11021 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
11026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11027 arg2
= (int)SWIG_As_int(obj1
);
11028 if (PyErr_Occurred()) SWIG_fail
;
11029 arg3
= (int)SWIG_As_int(obj2
);
11030 if (PyErr_Occurred()) SWIG_fail
;
11032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11033 (arg1
)->SetRange(arg2
,arg3
);
11035 wxPyEndAllowThreads(__tstate
);
11036 if (PyErr_Occurred()) SWIG_fail
;
11038 Py_INCREF(Py_None
); resultobj
= Py_None
;
11045 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11046 PyObject
*resultobj
;
11047 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
11049 PyObject
* obj0
= 0 ;
11050 char *kwnames
[] = {
11051 (char *) "self", NULL
11054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
11055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
11056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11059 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
11061 wxPyEndAllowThreads(__tstate
);
11062 if (PyErr_Occurred()) SWIG_fail
;
11065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11073 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11074 PyObject
*resultobj
;
11075 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
11076 wxVisualAttributes result
;
11077 PyObject
* obj0
= 0 ;
11078 char *kwnames
[] = {
11079 (char *) "variant", NULL
11082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11084 arg1
= (int)SWIG_As_int(obj0
);
11085 if (PyErr_Occurred()) SWIG_fail
;
11088 if (!wxPyCheckForApp()) SWIG_fail
;
11089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11090 result
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11092 wxPyEndAllowThreads(__tstate
);
11093 if (PyErr_Occurred()) SWIG_fail
;
11096 wxVisualAttributes
* resultptr
;
11097 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
11098 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11106 static PyObject
* SpinButton_swigregister(PyObject
*, PyObject
*args
) {
11108 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11109 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
11111 return Py_BuildValue((char *)"");
11113 static PyObject
*_wrap_new_SpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11114 PyObject
*resultobj
;
11115 wxWindow
*arg1
= (wxWindow
*) 0 ;
11116 int arg2
= (int) -1 ;
11117 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11118 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11119 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11120 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11121 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11122 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11123 long arg6
= (long) wxSP_ARROW_KEYS
;
11124 int arg7
= (int) 0 ;
11125 int arg8
= (int) 100 ;
11126 int arg9
= (int) 0 ;
11127 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
11128 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11129 wxSpinCtrl
*result
;
11130 bool temp3
= false ;
11133 bool temp10
= false ;
11134 PyObject
* obj0
= 0 ;
11135 PyObject
* obj1
= 0 ;
11136 PyObject
* obj2
= 0 ;
11137 PyObject
* obj3
= 0 ;
11138 PyObject
* obj4
= 0 ;
11139 PyObject
* obj5
= 0 ;
11140 PyObject
* obj6
= 0 ;
11141 PyObject
* obj7
= 0 ;
11142 PyObject
* obj8
= 0 ;
11143 PyObject
* obj9
= 0 ;
11144 char *kwnames
[] = {
11145 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11152 arg2
= (int)SWIG_As_int(obj1
);
11153 if (PyErr_Occurred()) SWIG_fail
;
11157 arg3
= wxString_in_helper(obj2
);
11158 if (arg3
== NULL
) SWIG_fail
;
11165 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11171 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11175 arg6
= (long)SWIG_As_long(obj5
);
11176 if (PyErr_Occurred()) SWIG_fail
;
11179 arg7
= (int)SWIG_As_int(obj6
);
11180 if (PyErr_Occurred()) SWIG_fail
;
11183 arg8
= (int)SWIG_As_int(obj7
);
11184 if (PyErr_Occurred()) SWIG_fail
;
11187 arg9
= (int)SWIG_As_int(obj8
);
11188 if (PyErr_Occurred()) SWIG_fail
;
11192 arg10
= wxString_in_helper(obj9
);
11193 if (arg10
== NULL
) SWIG_fail
;
11198 if (!wxPyCheckForApp()) SWIG_fail
;
11199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11200 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
11202 wxPyEndAllowThreads(__tstate
);
11203 if (PyErr_Occurred()) SWIG_fail
;
11205 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11228 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11229 PyObject
*resultobj
;
11230 wxSpinCtrl
*result
;
11231 char *kwnames
[] = {
11235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
11237 if (!wxPyCheckForApp()) SWIG_fail
;
11238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11239 result
= (wxSpinCtrl
*)new wxSpinCtrl();
11241 wxPyEndAllowThreads(__tstate
);
11242 if (PyErr_Occurred()) SWIG_fail
;
11244 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11251 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11252 PyObject
*resultobj
;
11253 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11254 wxWindow
*arg2
= (wxWindow
*) 0 ;
11255 int arg3
= (int) -1 ;
11256 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11257 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11258 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11259 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11260 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11261 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11262 long arg7
= (long) wxSP_ARROW_KEYS
;
11263 int arg8
= (int) 0 ;
11264 int arg9
= (int) 100 ;
11265 int arg10
= (int) 0 ;
11266 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
11267 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11269 bool temp4
= false ;
11272 bool temp11
= false ;
11273 PyObject
* obj0
= 0 ;
11274 PyObject
* obj1
= 0 ;
11275 PyObject
* obj2
= 0 ;
11276 PyObject
* obj3
= 0 ;
11277 PyObject
* obj4
= 0 ;
11278 PyObject
* obj5
= 0 ;
11279 PyObject
* obj6
= 0 ;
11280 PyObject
* obj7
= 0 ;
11281 PyObject
* obj8
= 0 ;
11282 PyObject
* obj9
= 0 ;
11283 PyObject
* obj10
= 0 ;
11284 char *kwnames
[] = {
11285 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11291 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11294 arg3
= (int)SWIG_As_int(obj2
);
11295 if (PyErr_Occurred()) SWIG_fail
;
11299 arg4
= wxString_in_helper(obj3
);
11300 if (arg4
== NULL
) SWIG_fail
;
11307 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11313 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11317 arg7
= (long)SWIG_As_long(obj6
);
11318 if (PyErr_Occurred()) SWIG_fail
;
11321 arg8
= (int)SWIG_As_int(obj7
);
11322 if (PyErr_Occurred()) SWIG_fail
;
11325 arg9
= (int)SWIG_As_int(obj8
);
11326 if (PyErr_Occurred()) SWIG_fail
;
11329 arg10
= (int)SWIG_As_int(obj9
);
11330 if (PyErr_Occurred()) SWIG_fail
;
11334 arg11
= wxString_in_helper(obj10
);
11335 if (arg11
== NULL
) SWIG_fail
;
11340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11341 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
11343 wxPyEndAllowThreads(__tstate
);
11344 if (PyErr_Occurred()) SWIG_fail
;
11347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11371 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11372 PyObject
*resultobj
;
11373 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11375 PyObject
* obj0
= 0 ;
11376 char *kwnames
[] = {
11377 (char *) "self", NULL
11380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
11381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11385 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
11387 wxPyEndAllowThreads(__tstate
);
11388 if (PyErr_Occurred()) SWIG_fail
;
11390 resultobj
= SWIG_From_int((int)result
);
11397 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11398 PyObject
*resultobj
;
11399 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11401 PyObject
* obj0
= 0 ;
11402 PyObject
* obj1
= 0 ;
11403 char *kwnames
[] = {
11404 (char *) "self",(char *) "value", NULL
11407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11410 arg2
= (int)SWIG_As_int(obj1
);
11411 if (PyErr_Occurred()) SWIG_fail
;
11413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11414 (arg1
)->SetValue(arg2
);
11416 wxPyEndAllowThreads(__tstate
);
11417 if (PyErr_Occurred()) SWIG_fail
;
11419 Py_INCREF(Py_None
); resultobj
= Py_None
;
11426 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11427 PyObject
*resultobj
;
11428 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11429 wxString
*arg2
= 0 ;
11430 bool temp2
= false ;
11431 PyObject
* obj0
= 0 ;
11432 PyObject
* obj1
= 0 ;
11433 char *kwnames
[] = {
11434 (char *) "self",(char *) "text", NULL
11437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
11438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11441 arg2
= wxString_in_helper(obj1
);
11442 if (arg2
== NULL
) SWIG_fail
;
11446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11447 (arg1
)->SetValue((wxString
const &)*arg2
);
11449 wxPyEndAllowThreads(__tstate
);
11450 if (PyErr_Occurred()) SWIG_fail
;
11452 Py_INCREF(Py_None
); resultobj
= Py_None
;
11467 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11468 PyObject
*resultobj
;
11469 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11472 PyObject
* obj0
= 0 ;
11473 PyObject
* obj1
= 0 ;
11474 PyObject
* obj2
= 0 ;
11475 char *kwnames
[] = {
11476 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11482 arg2
= (int)SWIG_As_int(obj1
);
11483 if (PyErr_Occurred()) SWIG_fail
;
11484 arg3
= (int)SWIG_As_int(obj2
);
11485 if (PyErr_Occurred()) SWIG_fail
;
11487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11488 (arg1
)->SetRange(arg2
,arg3
);
11490 wxPyEndAllowThreads(__tstate
);
11491 if (PyErr_Occurred()) SWIG_fail
;
11493 Py_INCREF(Py_None
); resultobj
= Py_None
;
11500 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11501 PyObject
*resultobj
;
11502 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11504 PyObject
* obj0
= 0 ;
11505 char *kwnames
[] = {
11506 (char *) "self", NULL
11509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
11510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11514 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
11516 wxPyEndAllowThreads(__tstate
);
11517 if (PyErr_Occurred()) SWIG_fail
;
11519 resultobj
= SWIG_From_int((int)result
);
11526 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11527 PyObject
*resultobj
;
11528 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11530 PyObject
* obj0
= 0 ;
11531 char *kwnames
[] = {
11532 (char *) "self", NULL
11535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
11536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11540 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
11542 wxPyEndAllowThreads(__tstate
);
11543 if (PyErr_Occurred()) SWIG_fail
;
11545 resultobj
= SWIG_From_int((int)result
);
11552 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11553 PyObject
*resultobj
;
11554 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11557 PyObject
* obj0
= 0 ;
11558 PyObject
* obj1
= 0 ;
11559 PyObject
* obj2
= 0 ;
11560 char *kwnames
[] = {
11561 (char *) "self",(char *) "from",(char *) "to", NULL
11564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11567 arg2
= (long)SWIG_As_long(obj1
);
11568 if (PyErr_Occurred()) SWIG_fail
;
11569 arg3
= (long)SWIG_As_long(obj2
);
11570 if (PyErr_Occurred()) SWIG_fail
;
11572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11573 (arg1
)->SetSelection(arg2
,arg3
);
11575 wxPyEndAllowThreads(__tstate
);
11576 if (PyErr_Occurred()) SWIG_fail
;
11578 Py_INCREF(Py_None
); resultobj
= Py_None
;
11585 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11586 PyObject
*resultobj
;
11587 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
11588 wxVisualAttributes result
;
11589 PyObject
* obj0
= 0 ;
11590 char *kwnames
[] = {
11591 (char *) "variant", NULL
11594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11596 arg1
= (int)SWIG_As_int(obj0
);
11597 if (PyErr_Occurred()) SWIG_fail
;
11600 if (!wxPyCheckForApp()) SWIG_fail
;
11601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11602 result
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11604 wxPyEndAllowThreads(__tstate
);
11605 if (PyErr_Occurred()) SWIG_fail
;
11608 wxVisualAttributes
* resultptr
;
11609 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
11610 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11618 static PyObject
* SpinCtrl_swigregister(PyObject
*, PyObject
*args
) {
11620 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11621 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
11623 return Py_BuildValue((char *)"");
11625 static PyObject
*_wrap_new_SpinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11626 PyObject
*resultobj
;
11627 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11628 int arg2
= (int) 0 ;
11629 wxSpinEvent
*result
;
11630 PyObject
* obj0
= 0 ;
11631 PyObject
* obj1
= 0 ;
11632 char *kwnames
[] = {
11633 (char *) "commandType",(char *) "winid", NULL
11636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11638 arg1
= (wxEventType
)SWIG_As_int(obj0
);
11639 if (PyErr_Occurred()) SWIG_fail
;
11642 arg2
= (int)SWIG_As_int(obj1
);
11643 if (PyErr_Occurred()) SWIG_fail
;
11646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11647 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
11649 wxPyEndAllowThreads(__tstate
);
11650 if (PyErr_Occurred()) SWIG_fail
;
11652 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
11659 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11660 PyObject
*resultobj
;
11661 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11663 PyObject
* obj0
= 0 ;
11664 char *kwnames
[] = {
11665 (char *) "self", NULL
11668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11673 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
11675 wxPyEndAllowThreads(__tstate
);
11676 if (PyErr_Occurred()) SWIG_fail
;
11678 resultobj
= SWIG_From_int((int)result
);
11685 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11686 PyObject
*resultobj
;
11687 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11689 PyObject
* obj0
= 0 ;
11690 PyObject
* obj1
= 0 ;
11691 char *kwnames
[] = {
11692 (char *) "self",(char *) "pos", NULL
11695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11698 arg2
= (int)SWIG_As_int(obj1
);
11699 if (PyErr_Occurred()) SWIG_fail
;
11701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11702 (arg1
)->SetPosition(arg2
);
11704 wxPyEndAllowThreads(__tstate
);
11705 if (PyErr_Occurred()) SWIG_fail
;
11707 Py_INCREF(Py_None
); resultobj
= Py_None
;
11714 static PyObject
* SpinEvent_swigregister(PyObject
*, PyObject
*args
) {
11716 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11717 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
11719 return Py_BuildValue((char *)"");
11721 static int _wrap_RadioBoxNameStr_set(PyObject
*) {
11722 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
11727 static PyObject
*_wrap_RadioBoxNameStr_get() {
11732 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11734 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11741 static int _wrap_RadioButtonNameStr_set(PyObject
*) {
11742 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
11747 static PyObject
*_wrap_RadioButtonNameStr_get() {
11752 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11754 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11761 static PyObject
*_wrap_new_RadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11762 PyObject
*resultobj
;
11763 wxWindow
*arg1
= (wxWindow
*) 0 ;
11764 int arg2
= (int) -1 ;
11765 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11766 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11767 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11768 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11769 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11770 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11771 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
11772 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
11773 int arg7
= (int) 0 ;
11774 long arg8
= (long) wxRA_HORIZONTAL
;
11775 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11776 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11777 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
11778 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11779 wxRadioBox
*result
;
11780 bool temp3
= false ;
11783 bool temp6
= false ;
11784 bool temp10
= false ;
11785 PyObject
* obj0
= 0 ;
11786 PyObject
* obj1
= 0 ;
11787 PyObject
* obj2
= 0 ;
11788 PyObject
* obj3
= 0 ;
11789 PyObject
* obj4
= 0 ;
11790 PyObject
* obj5
= 0 ;
11791 PyObject
* obj6
= 0 ;
11792 PyObject
* obj7
= 0 ;
11793 PyObject
* obj8
= 0 ;
11794 PyObject
* obj9
= 0 ;
11795 char *kwnames
[] = {
11796 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11803 arg2
= (int)SWIG_As_int(obj1
);
11804 if (PyErr_Occurred()) SWIG_fail
;
11808 arg3
= wxString_in_helper(obj2
);
11809 if (arg3
== NULL
) SWIG_fail
;
11816 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11822 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11827 if (! PySequence_Check(obj5
)) {
11828 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11831 arg6
= new wxArrayString
;
11833 int i
, len
=PySequence_Length(obj5
);
11834 for (i
=0; i
<len
; i
++) {
11835 PyObject
* item
= PySequence_GetItem(obj5
, i
);
11837 PyObject
* str
= PyObject_Unicode(item
);
11839 PyObject
* str
= PyObject_Str(item
);
11841 if (PyErr_Occurred()) SWIG_fail
;
11842 arg6
->Add(Py2wxString(str
));
11849 arg7
= (int)SWIG_As_int(obj6
);
11850 if (PyErr_Occurred()) SWIG_fail
;
11853 arg8
= (long)SWIG_As_long(obj7
);
11854 if (PyErr_Occurred()) SWIG_fail
;
11857 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
11858 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11860 if (arg9
== NULL
) {
11861 PyErr_SetString(PyExc_TypeError
,"null reference");
11867 arg10
= wxString_in_helper(obj9
);
11868 if (arg10
== NULL
) SWIG_fail
;
11873 if (!wxPyCheckForApp()) SWIG_fail
;
11874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11875 result
= (wxRadioBox
*)new wxRadioBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
11877 wxPyEndAllowThreads(__tstate
);
11878 if (PyErr_Occurred()) SWIG_fail
;
11880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11886 if (temp6
) delete arg6
;
11899 if (temp6
) delete arg6
;
11909 static PyObject
*_wrap_new_PreRadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11910 PyObject
*resultobj
;
11911 wxRadioBox
*result
;
11912 char *kwnames
[] = {
11916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
11918 if (!wxPyCheckForApp()) SWIG_fail
;
11919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11920 result
= (wxRadioBox
*)new wxRadioBox();
11922 wxPyEndAllowThreads(__tstate
);
11923 if (PyErr_Occurred()) SWIG_fail
;
11925 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11932 static PyObject
*_wrap_RadioBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11933 PyObject
*resultobj
;
11934 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11935 wxWindow
*arg2
= (wxWindow
*) 0 ;
11936 int arg3
= (int) -1 ;
11937 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11938 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11939 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11940 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11941 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11942 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11943 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
11944 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
11945 int arg8
= (int) 0 ;
11946 long arg9
= (long) wxRA_HORIZONTAL
;
11947 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11948 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11949 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
11950 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11952 bool temp4
= false ;
11955 bool temp7
= false ;
11956 bool temp11
= false ;
11957 PyObject
* obj0
= 0 ;
11958 PyObject
* obj1
= 0 ;
11959 PyObject
* obj2
= 0 ;
11960 PyObject
* obj3
= 0 ;
11961 PyObject
* obj4
= 0 ;
11962 PyObject
* obj5
= 0 ;
11963 PyObject
* obj6
= 0 ;
11964 PyObject
* obj7
= 0 ;
11965 PyObject
* obj8
= 0 ;
11966 PyObject
* obj9
= 0 ;
11967 PyObject
* obj10
= 0 ;
11968 char *kwnames
[] = {
11969 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11975 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11978 arg3
= (int)SWIG_As_int(obj2
);
11979 if (PyErr_Occurred()) SWIG_fail
;
11983 arg4
= wxString_in_helper(obj3
);
11984 if (arg4
== NULL
) SWIG_fail
;
11991 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11997 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12002 if (! PySequence_Check(obj6
)) {
12003 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
12006 arg7
= new wxArrayString
;
12008 int i
, len
=PySequence_Length(obj6
);
12009 for (i
=0; i
<len
; i
++) {
12010 PyObject
* item
= PySequence_GetItem(obj6
, i
);
12012 PyObject
* str
= PyObject_Unicode(item
);
12014 PyObject
* str
= PyObject_Str(item
);
12016 if (PyErr_Occurred()) SWIG_fail
;
12017 arg7
->Add(Py2wxString(str
));
12024 arg8
= (int)SWIG_As_int(obj7
);
12025 if (PyErr_Occurred()) SWIG_fail
;
12028 arg9
= (long)SWIG_As_long(obj8
);
12029 if (PyErr_Occurred()) SWIG_fail
;
12032 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
12033 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12035 if (arg10
== NULL
) {
12036 PyErr_SetString(PyExc_TypeError
,"null reference");
12042 arg11
= wxString_in_helper(obj10
);
12043 if (arg11
== NULL
) SWIG_fail
;
12048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12049 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxArrayString
const &)*arg7
,arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
12051 wxPyEndAllowThreads(__tstate
);
12052 if (PyErr_Occurred()) SWIG_fail
;
12055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12062 if (temp7
) delete arg7
;
12075 if (temp7
) delete arg7
;
12085 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12086 PyObject
*resultobj
;
12087 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12089 PyObject
* obj0
= 0 ;
12090 PyObject
* obj1
= 0 ;
12091 char *kwnames
[] = {
12092 (char *) "self",(char *) "n", NULL
12095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12098 arg2
= (int)SWIG_As_int(obj1
);
12099 if (PyErr_Occurred()) SWIG_fail
;
12101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12102 (arg1
)->SetSelection(arg2
);
12104 wxPyEndAllowThreads(__tstate
);
12105 if (PyErr_Occurred()) SWIG_fail
;
12107 Py_INCREF(Py_None
); resultobj
= Py_None
;
12114 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12115 PyObject
*resultobj
;
12116 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12118 PyObject
* obj0
= 0 ;
12119 char *kwnames
[] = {
12120 (char *) "self", NULL
12123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
12124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12128 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
12130 wxPyEndAllowThreads(__tstate
);
12131 if (PyErr_Occurred()) SWIG_fail
;
12133 resultobj
= SWIG_From_int((int)result
);
12140 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12141 PyObject
*resultobj
;
12142 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12144 PyObject
* obj0
= 0 ;
12145 char *kwnames
[] = {
12146 (char *) "self", NULL
12149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12154 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
12156 wxPyEndAllowThreads(__tstate
);
12157 if (PyErr_Occurred()) SWIG_fail
;
12161 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12163 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12172 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12173 PyObject
*resultobj
;
12174 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12175 wxString
*arg2
= 0 ;
12177 bool temp2
= false ;
12178 PyObject
* obj0
= 0 ;
12179 PyObject
* obj1
= 0 ;
12180 char *kwnames
[] = {
12181 (char *) "self",(char *) "s", NULL
12184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12188 arg2
= wxString_in_helper(obj1
);
12189 if (arg2
== NULL
) SWIG_fail
;
12193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12194 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
12196 wxPyEndAllowThreads(__tstate
);
12197 if (PyErr_Occurred()) SWIG_fail
;
12200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12216 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12217 PyObject
*resultobj
;
12218 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12220 PyObject
* obj0
= 0 ;
12221 char *kwnames
[] = {
12222 (char *) "self", NULL
12225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
12226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12230 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
12232 wxPyEndAllowThreads(__tstate
);
12233 if (PyErr_Occurred()) SWIG_fail
;
12235 resultobj
= SWIG_From_int((int)result
);
12242 static PyObject
*_wrap_RadioBox_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12243 PyObject
*resultobj
;
12244 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12245 wxString
*arg2
= 0 ;
12247 bool temp2
= false ;
12248 PyObject
* obj0
= 0 ;
12249 PyObject
* obj1
= 0 ;
12250 char *kwnames
[] = {
12251 (char *) "self",(char *) "s", NULL
12254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
12255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12258 arg2
= wxString_in_helper(obj1
);
12259 if (arg2
== NULL
) SWIG_fail
;
12263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12264 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
12266 wxPyEndAllowThreads(__tstate
);
12267 if (PyErr_Occurred()) SWIG_fail
;
12269 resultobj
= SWIG_From_int((int)result
);
12284 static PyObject
*_wrap_RadioBox_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12285 PyObject
*resultobj
;
12286 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12289 PyObject
* obj0
= 0 ;
12290 PyObject
* obj1
= 0 ;
12291 char *kwnames
[] = {
12292 (char *) "self",(char *) "n", NULL
12295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12298 arg2
= (int)SWIG_As_int(obj1
);
12299 if (PyErr_Occurred()) SWIG_fail
;
12301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12302 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
12304 wxPyEndAllowThreads(__tstate
);
12305 if (PyErr_Occurred()) SWIG_fail
;
12309 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12311 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12320 static PyObject
*_wrap_RadioBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12321 PyObject
*resultobj
;
12322 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12324 wxString
*arg3
= 0 ;
12325 bool temp3
= false ;
12326 PyObject
* obj0
= 0 ;
12327 PyObject
* obj1
= 0 ;
12328 PyObject
* obj2
= 0 ;
12329 char *kwnames
[] = {
12330 (char *) "self",(char *) "n",(char *) "label", NULL
12333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12336 arg2
= (int)SWIG_As_int(obj1
);
12337 if (PyErr_Occurred()) SWIG_fail
;
12339 arg3
= wxString_in_helper(obj2
);
12340 if (arg3
== NULL
) SWIG_fail
;
12344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12345 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
12347 wxPyEndAllowThreads(__tstate
);
12348 if (PyErr_Occurred()) SWIG_fail
;
12350 Py_INCREF(Py_None
); resultobj
= Py_None
;
12365 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12366 PyObject
*resultobj
;
12367 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12369 bool arg3
= (bool) true ;
12370 PyObject
* obj0
= 0 ;
12371 PyObject
* obj1
= 0 ;
12372 PyObject
* obj2
= 0 ;
12373 char *kwnames
[] = {
12374 (char *) "self",(char *) "n",(char *) "enable", NULL
12377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12380 arg2
= (int)SWIG_As_int(obj1
);
12381 if (PyErr_Occurred()) SWIG_fail
;
12383 arg3
= (bool)SWIG_As_bool(obj2
);
12384 if (PyErr_Occurred()) SWIG_fail
;
12387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12388 (arg1
)->Enable(arg2
,arg3
);
12390 wxPyEndAllowThreads(__tstate
);
12391 if (PyErr_Occurred()) SWIG_fail
;
12393 Py_INCREF(Py_None
); resultobj
= Py_None
;
12400 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12401 PyObject
*resultobj
;
12402 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12404 bool arg3
= (bool) true ;
12405 PyObject
* obj0
= 0 ;
12406 PyObject
* obj1
= 0 ;
12407 PyObject
* obj2
= 0 ;
12408 char *kwnames
[] = {
12409 (char *) "self",(char *) "n",(char *) "show", NULL
12412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12415 arg2
= (int)SWIG_As_int(obj1
);
12416 if (PyErr_Occurred()) SWIG_fail
;
12418 arg3
= (bool)SWIG_As_bool(obj2
);
12419 if (PyErr_Occurred()) SWIG_fail
;
12422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12423 (arg1
)->Show(arg2
,arg3
);
12425 wxPyEndAllowThreads(__tstate
);
12426 if (PyErr_Occurred()) SWIG_fail
;
12428 Py_INCREF(Py_None
); resultobj
= Py_None
;
12435 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12436 PyObject
*resultobj
;
12437 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12439 PyObject
* obj0
= 0 ;
12440 char *kwnames
[] = {
12441 (char *) "self", NULL
12444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
12445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12449 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
12451 wxPyEndAllowThreads(__tstate
);
12452 if (PyErr_Occurred()) SWIG_fail
;
12454 resultobj
= SWIG_From_int((int)result
);
12461 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12462 PyObject
*resultobj
;
12463 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12465 PyObject
* obj0
= 0 ;
12466 char *kwnames
[] = {
12467 (char *) "self", NULL
12470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
12471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12475 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
12477 wxPyEndAllowThreads(__tstate
);
12478 if (PyErr_Occurred()) SWIG_fail
;
12480 resultobj
= SWIG_From_int((int)result
);
12487 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12488 PyObject
*resultobj
;
12489 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12494 PyObject
* obj0
= 0 ;
12495 PyObject
* obj1
= 0 ;
12496 PyObject
* obj2
= 0 ;
12497 PyObject
* obj3
= 0 ;
12498 char *kwnames
[] = {
12499 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
12502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12505 arg2
= (int)SWIG_As_int(obj1
);
12506 if (PyErr_Occurred()) SWIG_fail
;
12507 arg3
= (int)SWIG_As_int(obj2
);
12508 if (PyErr_Occurred()) SWIG_fail
;
12509 arg4
= (long)SWIG_As_long(obj3
);
12510 if (PyErr_Occurred()) SWIG_fail
;
12512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12513 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
12515 wxPyEndAllowThreads(__tstate
);
12516 if (PyErr_Occurred()) SWIG_fail
;
12518 resultobj
= SWIG_From_int((int)result
);
12525 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12526 PyObject
*resultobj
;
12527 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12528 wxVisualAttributes result
;
12529 PyObject
* obj0
= 0 ;
12530 char *kwnames
[] = {
12531 (char *) "variant", NULL
12534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12536 arg1
= (int)SWIG_As_int(obj0
);
12537 if (PyErr_Occurred()) SWIG_fail
;
12540 if (!wxPyCheckForApp()) SWIG_fail
;
12541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12542 result
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12544 wxPyEndAllowThreads(__tstate
);
12545 if (PyErr_Occurred()) SWIG_fail
;
12548 wxVisualAttributes
* resultptr
;
12549 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12550 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12558 static PyObject
* RadioBox_swigregister(PyObject
*, PyObject
*args
) {
12560 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12561 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
12563 return Py_BuildValue((char *)"");
12565 static PyObject
*_wrap_new_RadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12566 PyObject
*resultobj
;
12567 wxWindow
*arg1
= (wxWindow
*) 0 ;
12568 int arg2
= (int) -1 ;
12569 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12570 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12571 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12572 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12573 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12574 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12575 long arg6
= (long) 0 ;
12576 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12577 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12578 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
12579 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12580 wxRadioButton
*result
;
12581 bool temp3
= false ;
12584 bool temp8
= false ;
12585 PyObject
* obj0
= 0 ;
12586 PyObject
* obj1
= 0 ;
12587 PyObject
* obj2
= 0 ;
12588 PyObject
* obj3
= 0 ;
12589 PyObject
* obj4
= 0 ;
12590 PyObject
* obj5
= 0 ;
12591 PyObject
* obj6
= 0 ;
12592 PyObject
* obj7
= 0 ;
12593 char *kwnames
[] = {
12594 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12601 arg2
= (int)SWIG_As_int(obj1
);
12602 if (PyErr_Occurred()) SWIG_fail
;
12606 arg3
= wxString_in_helper(obj2
);
12607 if (arg3
== NULL
) SWIG_fail
;
12614 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12620 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12624 arg6
= (long)SWIG_As_long(obj5
);
12625 if (PyErr_Occurred()) SWIG_fail
;
12628 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
12629 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12631 if (arg7
== NULL
) {
12632 PyErr_SetString(PyExc_TypeError
,"null reference");
12638 arg8
= wxString_in_helper(obj7
);
12639 if (arg8
== NULL
) SWIG_fail
;
12644 if (!wxPyCheckForApp()) SWIG_fail
;
12645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12646 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12648 wxPyEndAllowThreads(__tstate
);
12649 if (PyErr_Occurred()) SWIG_fail
;
12651 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12674 static PyObject
*_wrap_new_PreRadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12675 PyObject
*resultobj
;
12676 wxRadioButton
*result
;
12677 char *kwnames
[] = {
12681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
12683 if (!wxPyCheckForApp()) SWIG_fail
;
12684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12685 result
= (wxRadioButton
*)new wxRadioButton();
12687 wxPyEndAllowThreads(__tstate
);
12688 if (PyErr_Occurred()) SWIG_fail
;
12690 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12697 static PyObject
*_wrap_RadioButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12698 PyObject
*resultobj
;
12699 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12700 wxWindow
*arg2
= (wxWindow
*) 0 ;
12701 int arg3
= (int) -1 ;
12702 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12703 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12704 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12705 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12706 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12707 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12708 long arg7
= (long) 0 ;
12709 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
12710 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
12711 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
12712 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
12714 bool temp4
= false ;
12717 bool temp9
= false ;
12718 PyObject
* obj0
= 0 ;
12719 PyObject
* obj1
= 0 ;
12720 PyObject
* obj2
= 0 ;
12721 PyObject
* obj3
= 0 ;
12722 PyObject
* obj4
= 0 ;
12723 PyObject
* obj5
= 0 ;
12724 PyObject
* obj6
= 0 ;
12725 PyObject
* obj7
= 0 ;
12726 PyObject
* obj8
= 0 ;
12727 char *kwnames
[] = {
12728 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
12732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12734 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12737 arg3
= (int)SWIG_As_int(obj2
);
12738 if (PyErr_Occurred()) SWIG_fail
;
12742 arg4
= wxString_in_helper(obj3
);
12743 if (arg4
== NULL
) SWIG_fail
;
12750 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12756 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12760 arg7
= (long)SWIG_As_long(obj6
);
12761 if (PyErr_Occurred()) SWIG_fail
;
12764 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
12765 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12767 if (arg8
== NULL
) {
12768 PyErr_SetString(PyExc_TypeError
,"null reference");
12774 arg9
= wxString_in_helper(obj8
);
12775 if (arg9
== NULL
) SWIG_fail
;
12780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12781 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
12783 wxPyEndAllowThreads(__tstate
);
12784 if (PyErr_Occurred()) SWIG_fail
;
12787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12811 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12812 PyObject
*resultobj
;
12813 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12815 PyObject
* obj0
= 0 ;
12816 char *kwnames
[] = {
12817 (char *) "self", NULL
12820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
12821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12825 result
= (bool)(arg1
)->GetValue();
12827 wxPyEndAllowThreads(__tstate
);
12828 if (PyErr_Occurred()) SWIG_fail
;
12831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12839 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12840 PyObject
*resultobj
;
12841 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12843 PyObject
* obj0
= 0 ;
12844 PyObject
* obj1
= 0 ;
12845 char *kwnames
[] = {
12846 (char *) "self",(char *) "value", NULL
12849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12852 arg2
= (bool)SWIG_As_bool(obj1
);
12853 if (PyErr_Occurred()) SWIG_fail
;
12855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12856 (arg1
)->SetValue(arg2
);
12858 wxPyEndAllowThreads(__tstate
);
12859 if (PyErr_Occurred()) SWIG_fail
;
12861 Py_INCREF(Py_None
); resultobj
= Py_None
;
12868 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12869 PyObject
*resultobj
;
12870 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12871 wxVisualAttributes result
;
12872 PyObject
* obj0
= 0 ;
12873 char *kwnames
[] = {
12874 (char *) "variant", NULL
12877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12879 arg1
= (int)SWIG_As_int(obj0
);
12880 if (PyErr_Occurred()) SWIG_fail
;
12883 if (!wxPyCheckForApp()) SWIG_fail
;
12884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12885 result
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12887 wxPyEndAllowThreads(__tstate
);
12888 if (PyErr_Occurred()) SWIG_fail
;
12891 wxVisualAttributes
* resultptr
;
12892 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12893 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12901 static PyObject
* RadioButton_swigregister(PyObject
*, PyObject
*args
) {
12903 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12904 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
12906 return Py_BuildValue((char *)"");
12908 static int _wrap_SliderNameStr_set(PyObject
*) {
12909 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
12914 static PyObject
*_wrap_SliderNameStr_get() {
12919 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12921 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12928 static PyObject
*_wrap_new_Slider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12929 PyObject
*resultobj
;
12930 wxWindow
*arg1
= (wxWindow
*) 0 ;
12931 int arg2
= (int) -1 ;
12932 int arg3
= (int) 0 ;
12933 int arg4
= (int) 0 ;
12934 int arg5
= (int) 100 ;
12935 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12936 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12937 wxSize
const &arg7_defvalue
= wxDefaultSize
;
12938 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
12939 long arg8
= (long) wxSL_HORIZONTAL
;
12940 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
12941 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
12942 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
12943 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12947 bool temp10
= false ;
12948 PyObject
* obj0
= 0 ;
12949 PyObject
* obj1
= 0 ;
12950 PyObject
* obj2
= 0 ;
12951 PyObject
* obj3
= 0 ;
12952 PyObject
* obj4
= 0 ;
12953 PyObject
* obj5
= 0 ;
12954 PyObject
* obj6
= 0 ;
12955 PyObject
* obj7
= 0 ;
12956 PyObject
* obj8
= 0 ;
12957 PyObject
* obj9
= 0 ;
12958 char *kwnames
[] = {
12959 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12966 arg2
= (int)SWIG_As_int(obj1
);
12967 if (PyErr_Occurred()) SWIG_fail
;
12970 arg3
= (int)SWIG_As_int(obj2
);
12971 if (PyErr_Occurred()) SWIG_fail
;
12974 arg4
= (int)SWIG_As_int(obj3
);
12975 if (PyErr_Occurred()) SWIG_fail
;
12978 arg5
= (int)SWIG_As_int(obj4
);
12979 if (PyErr_Occurred()) SWIG_fail
;
12984 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12990 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
12994 arg8
= (long)SWIG_As_long(obj7
);
12995 if (PyErr_Occurred()) SWIG_fail
;
12998 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
12999 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13001 if (arg9
== NULL
) {
13002 PyErr_SetString(PyExc_TypeError
,"null reference");
13008 arg10
= wxString_in_helper(obj9
);
13009 if (arg10
== NULL
) SWIG_fail
;
13014 if (!wxPyCheckForApp()) SWIG_fail
;
13015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13016 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
13018 wxPyEndAllowThreads(__tstate
);
13019 if (PyErr_Occurred()) SWIG_fail
;
13021 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
13036 static PyObject
*_wrap_new_PreSlider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13037 PyObject
*resultobj
;
13039 char *kwnames
[] = {
13043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
13045 if (!wxPyCheckForApp()) SWIG_fail
;
13046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13047 result
= (wxSlider
*)new wxSlider();
13049 wxPyEndAllowThreads(__tstate
);
13050 if (PyErr_Occurred()) SWIG_fail
;
13052 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
13059 static PyObject
*_wrap_Slider_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13060 PyObject
*resultobj
;
13061 wxSlider
*arg1
= (wxSlider
*) 0 ;
13062 wxWindow
*arg2
= (wxWindow
*) 0 ;
13063 int arg3
= (int) -1 ;
13064 int arg4
= (int) 0 ;
13065 int arg5
= (int) 0 ;
13066 int arg6
= (int) 100 ;
13067 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
13068 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
13069 wxSize
const &arg8_defvalue
= wxDefaultSize
;
13070 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
13071 long arg9
= (long) wxSL_HORIZONTAL
;
13072 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
13073 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
13074 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
13075 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13079 bool temp11
= false ;
13080 PyObject
* obj0
= 0 ;
13081 PyObject
* obj1
= 0 ;
13082 PyObject
* obj2
= 0 ;
13083 PyObject
* obj3
= 0 ;
13084 PyObject
* obj4
= 0 ;
13085 PyObject
* obj5
= 0 ;
13086 PyObject
* obj6
= 0 ;
13087 PyObject
* obj7
= 0 ;
13088 PyObject
* obj8
= 0 ;
13089 PyObject
* obj9
= 0 ;
13090 PyObject
* obj10
= 0 ;
13091 char *kwnames
[] = {
13092 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13098 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13101 arg3
= (int)SWIG_As_int(obj2
);
13102 if (PyErr_Occurred()) SWIG_fail
;
13105 arg4
= (int)SWIG_As_int(obj3
);
13106 if (PyErr_Occurred()) SWIG_fail
;
13109 arg5
= (int)SWIG_As_int(obj4
);
13110 if (PyErr_Occurred()) SWIG_fail
;
13113 arg6
= (int)SWIG_As_int(obj5
);
13114 if (PyErr_Occurred()) SWIG_fail
;
13119 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
13125 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
13129 arg9
= (long)SWIG_As_long(obj8
);
13130 if (PyErr_Occurred()) SWIG_fail
;
13133 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
13134 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13136 if (arg10
== NULL
) {
13137 PyErr_SetString(PyExc_TypeError
,"null reference");
13143 arg11
= wxString_in_helper(obj10
);
13144 if (arg11
== NULL
) SWIG_fail
;
13149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13150 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
13152 wxPyEndAllowThreads(__tstate
);
13153 if (PyErr_Occurred()) SWIG_fail
;
13156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13172 static PyObject
*_wrap_Slider_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13173 PyObject
*resultobj
;
13174 wxSlider
*arg1
= (wxSlider
*) 0 ;
13176 PyObject
* obj0
= 0 ;
13177 char *kwnames
[] = {
13178 (char *) "self", NULL
13181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
13182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13186 result
= (int)((wxSlider
const *)arg1
)->GetValue();
13188 wxPyEndAllowThreads(__tstate
);
13189 if (PyErr_Occurred()) SWIG_fail
;
13191 resultobj
= SWIG_From_int((int)result
);
13198 static PyObject
*_wrap_Slider_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13199 PyObject
*resultobj
;
13200 wxSlider
*arg1
= (wxSlider
*) 0 ;
13202 PyObject
* obj0
= 0 ;
13203 PyObject
* obj1
= 0 ;
13204 char *kwnames
[] = {
13205 (char *) "self",(char *) "value", NULL
13208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13211 arg2
= (int)SWIG_As_int(obj1
);
13212 if (PyErr_Occurred()) SWIG_fail
;
13214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13215 (arg1
)->SetValue(arg2
);
13217 wxPyEndAllowThreads(__tstate
);
13218 if (PyErr_Occurred()) SWIG_fail
;
13220 Py_INCREF(Py_None
); resultobj
= Py_None
;
13227 static PyObject
*_wrap_Slider_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13228 PyObject
*resultobj
;
13229 wxSlider
*arg1
= (wxSlider
*) 0 ;
13232 PyObject
* obj0
= 0 ;
13233 PyObject
* obj1
= 0 ;
13234 PyObject
* obj2
= 0 ;
13235 char *kwnames
[] = {
13236 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
13239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13242 arg2
= (int)SWIG_As_int(obj1
);
13243 if (PyErr_Occurred()) SWIG_fail
;
13244 arg3
= (int)SWIG_As_int(obj2
);
13245 if (PyErr_Occurred()) SWIG_fail
;
13247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13248 (arg1
)->SetRange(arg2
,arg3
);
13250 wxPyEndAllowThreads(__tstate
);
13251 if (PyErr_Occurred()) SWIG_fail
;
13253 Py_INCREF(Py_None
); resultobj
= Py_None
;
13260 static PyObject
*_wrap_Slider_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13261 PyObject
*resultobj
;
13262 wxSlider
*arg1
= (wxSlider
*) 0 ;
13264 PyObject
* obj0
= 0 ;
13265 char *kwnames
[] = {
13266 (char *) "self", NULL
13269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
13270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13274 result
= (int)((wxSlider
const *)arg1
)->GetMin();
13276 wxPyEndAllowThreads(__tstate
);
13277 if (PyErr_Occurred()) SWIG_fail
;
13279 resultobj
= SWIG_From_int((int)result
);
13286 static PyObject
*_wrap_Slider_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13287 PyObject
*resultobj
;
13288 wxSlider
*arg1
= (wxSlider
*) 0 ;
13290 PyObject
* obj0
= 0 ;
13291 char *kwnames
[] = {
13292 (char *) "self", NULL
13295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
13296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13300 result
= (int)((wxSlider
const *)arg1
)->GetMax();
13302 wxPyEndAllowThreads(__tstate
);
13303 if (PyErr_Occurred()) SWIG_fail
;
13305 resultobj
= SWIG_From_int((int)result
);
13312 static PyObject
*_wrap_Slider_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13313 PyObject
*resultobj
;
13314 wxSlider
*arg1
= (wxSlider
*) 0 ;
13316 PyObject
* obj0
= 0 ;
13317 PyObject
* obj1
= 0 ;
13318 char *kwnames
[] = {
13319 (char *) "self",(char *) "minValue", NULL
13322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
13323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13325 arg2
= (int)SWIG_As_int(obj1
);
13326 if (PyErr_Occurred()) SWIG_fail
;
13328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13329 (arg1
)->SetMin(arg2
);
13331 wxPyEndAllowThreads(__tstate
);
13332 if (PyErr_Occurred()) SWIG_fail
;
13334 Py_INCREF(Py_None
); resultobj
= Py_None
;
13341 static PyObject
*_wrap_Slider_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13342 PyObject
*resultobj
;
13343 wxSlider
*arg1
= (wxSlider
*) 0 ;
13345 PyObject
* obj0
= 0 ;
13346 PyObject
* obj1
= 0 ;
13347 char *kwnames
[] = {
13348 (char *) "self",(char *) "maxValue", NULL
13351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
13352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13354 arg2
= (int)SWIG_As_int(obj1
);
13355 if (PyErr_Occurred()) SWIG_fail
;
13357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13358 (arg1
)->SetMax(arg2
);
13360 wxPyEndAllowThreads(__tstate
);
13361 if (PyErr_Occurred()) SWIG_fail
;
13363 Py_INCREF(Py_None
); resultobj
= Py_None
;
13370 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13371 PyObject
*resultobj
;
13372 wxSlider
*arg1
= (wxSlider
*) 0 ;
13374 PyObject
* obj0
= 0 ;
13375 PyObject
* obj1
= 0 ;
13376 char *kwnames
[] = {
13377 (char *) "self",(char *) "lineSize", NULL
13380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13383 arg2
= (int)SWIG_As_int(obj1
);
13384 if (PyErr_Occurred()) SWIG_fail
;
13386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13387 (arg1
)->SetLineSize(arg2
);
13389 wxPyEndAllowThreads(__tstate
);
13390 if (PyErr_Occurred()) SWIG_fail
;
13392 Py_INCREF(Py_None
); resultobj
= Py_None
;
13399 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13400 PyObject
*resultobj
;
13401 wxSlider
*arg1
= (wxSlider
*) 0 ;
13403 PyObject
* obj0
= 0 ;
13404 PyObject
* obj1
= 0 ;
13405 char *kwnames
[] = {
13406 (char *) "self",(char *) "pageSize", NULL
13409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13412 arg2
= (int)SWIG_As_int(obj1
);
13413 if (PyErr_Occurred()) SWIG_fail
;
13415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13416 (arg1
)->SetPageSize(arg2
);
13418 wxPyEndAllowThreads(__tstate
);
13419 if (PyErr_Occurred()) SWIG_fail
;
13421 Py_INCREF(Py_None
); resultobj
= Py_None
;
13428 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13429 PyObject
*resultobj
;
13430 wxSlider
*arg1
= (wxSlider
*) 0 ;
13432 PyObject
* obj0
= 0 ;
13433 char *kwnames
[] = {
13434 (char *) "self", NULL
13437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
13438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13442 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
13444 wxPyEndAllowThreads(__tstate
);
13445 if (PyErr_Occurred()) SWIG_fail
;
13447 resultobj
= SWIG_From_int((int)result
);
13454 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13455 PyObject
*resultobj
;
13456 wxSlider
*arg1
= (wxSlider
*) 0 ;
13458 PyObject
* obj0
= 0 ;
13459 char *kwnames
[] = {
13460 (char *) "self", NULL
13463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
13464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13468 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
13470 wxPyEndAllowThreads(__tstate
);
13471 if (PyErr_Occurred()) SWIG_fail
;
13473 resultobj
= SWIG_From_int((int)result
);
13480 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13481 PyObject
*resultobj
;
13482 wxSlider
*arg1
= (wxSlider
*) 0 ;
13484 PyObject
* obj0
= 0 ;
13485 PyObject
* obj1
= 0 ;
13486 char *kwnames
[] = {
13487 (char *) "self",(char *) "lenPixels", NULL
13490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
13491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13493 arg2
= (int)SWIG_As_int(obj1
);
13494 if (PyErr_Occurred()) SWIG_fail
;
13496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13497 (arg1
)->SetThumbLength(arg2
);
13499 wxPyEndAllowThreads(__tstate
);
13500 if (PyErr_Occurred()) SWIG_fail
;
13502 Py_INCREF(Py_None
); resultobj
= Py_None
;
13509 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13510 PyObject
*resultobj
;
13511 wxSlider
*arg1
= (wxSlider
*) 0 ;
13513 PyObject
* obj0
= 0 ;
13514 char *kwnames
[] = {
13515 (char *) "self", NULL
13518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
13519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13523 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
13525 wxPyEndAllowThreads(__tstate
);
13526 if (PyErr_Occurred()) SWIG_fail
;
13528 resultobj
= SWIG_From_int((int)result
);
13535 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13536 PyObject
*resultobj
;
13537 wxSlider
*arg1
= (wxSlider
*) 0 ;
13539 int arg3
= (int) 1 ;
13540 PyObject
* obj0
= 0 ;
13541 PyObject
* obj1
= 0 ;
13542 PyObject
* obj2
= 0 ;
13543 char *kwnames
[] = {
13544 (char *) "self",(char *) "n",(char *) "pos", NULL
13547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13550 arg2
= (int)SWIG_As_int(obj1
);
13551 if (PyErr_Occurred()) SWIG_fail
;
13553 arg3
= (int)SWIG_As_int(obj2
);
13554 if (PyErr_Occurred()) SWIG_fail
;
13557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13558 (arg1
)->SetTickFreq(arg2
,arg3
);
13560 wxPyEndAllowThreads(__tstate
);
13561 if (PyErr_Occurred()) SWIG_fail
;
13563 Py_INCREF(Py_None
); resultobj
= Py_None
;
13570 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13571 PyObject
*resultobj
;
13572 wxSlider
*arg1
= (wxSlider
*) 0 ;
13574 PyObject
* obj0
= 0 ;
13575 char *kwnames
[] = {
13576 (char *) "self", NULL
13579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
13580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13584 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
13586 wxPyEndAllowThreads(__tstate
);
13587 if (PyErr_Occurred()) SWIG_fail
;
13589 resultobj
= SWIG_From_int((int)result
);
13596 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13597 PyObject
*resultobj
;
13598 wxSlider
*arg1
= (wxSlider
*) 0 ;
13599 PyObject
* obj0
= 0 ;
13600 char *kwnames
[] = {
13601 (char *) "self", NULL
13604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
13605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13609 (arg1
)->ClearTicks();
13611 wxPyEndAllowThreads(__tstate
);
13612 if (PyErr_Occurred()) SWIG_fail
;
13614 Py_INCREF(Py_None
); resultobj
= Py_None
;
13621 static PyObject
*_wrap_Slider_SetTick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13622 PyObject
*resultobj
;
13623 wxSlider
*arg1
= (wxSlider
*) 0 ;
13625 PyObject
* obj0
= 0 ;
13626 PyObject
* obj1
= 0 ;
13627 char *kwnames
[] = {
13628 (char *) "self",(char *) "tickPos", NULL
13631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
13632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13634 arg2
= (int)SWIG_As_int(obj1
);
13635 if (PyErr_Occurred()) SWIG_fail
;
13637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13638 (arg1
)->SetTick(arg2
);
13640 wxPyEndAllowThreads(__tstate
);
13641 if (PyErr_Occurred()) SWIG_fail
;
13643 Py_INCREF(Py_None
); resultobj
= Py_None
;
13650 static PyObject
*_wrap_Slider_ClearSel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13651 PyObject
*resultobj
;
13652 wxSlider
*arg1
= (wxSlider
*) 0 ;
13653 PyObject
* obj0
= 0 ;
13654 char *kwnames
[] = {
13655 (char *) "self", NULL
13658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
13659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13663 (arg1
)->ClearSel();
13665 wxPyEndAllowThreads(__tstate
);
13666 if (PyErr_Occurred()) SWIG_fail
;
13668 Py_INCREF(Py_None
); resultobj
= Py_None
;
13675 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13676 PyObject
*resultobj
;
13677 wxSlider
*arg1
= (wxSlider
*) 0 ;
13679 PyObject
* obj0
= 0 ;
13680 char *kwnames
[] = {
13681 (char *) "self", NULL
13684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
13685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13689 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
13691 wxPyEndAllowThreads(__tstate
);
13692 if (PyErr_Occurred()) SWIG_fail
;
13694 resultobj
= SWIG_From_int((int)result
);
13701 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13702 PyObject
*resultobj
;
13703 wxSlider
*arg1
= (wxSlider
*) 0 ;
13705 PyObject
* obj0
= 0 ;
13706 char *kwnames
[] = {
13707 (char *) "self", NULL
13710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
13711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13715 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
13717 wxPyEndAllowThreads(__tstate
);
13718 if (PyErr_Occurred()) SWIG_fail
;
13720 resultobj
= SWIG_From_int((int)result
);
13727 static PyObject
*_wrap_Slider_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13728 PyObject
*resultobj
;
13729 wxSlider
*arg1
= (wxSlider
*) 0 ;
13732 PyObject
* obj0
= 0 ;
13733 PyObject
* obj1
= 0 ;
13734 PyObject
* obj2
= 0 ;
13735 char *kwnames
[] = {
13736 (char *) "self",(char *) "min",(char *) "max", NULL
13739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13742 arg2
= (int)SWIG_As_int(obj1
);
13743 if (PyErr_Occurred()) SWIG_fail
;
13744 arg3
= (int)SWIG_As_int(obj2
);
13745 if (PyErr_Occurred()) SWIG_fail
;
13747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13748 (arg1
)->SetSelection(arg2
,arg3
);
13750 wxPyEndAllowThreads(__tstate
);
13751 if (PyErr_Occurred()) SWIG_fail
;
13753 Py_INCREF(Py_None
); resultobj
= Py_None
;
13760 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13761 PyObject
*resultobj
;
13762 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
13763 wxVisualAttributes result
;
13764 PyObject
* obj0
= 0 ;
13765 char *kwnames
[] = {
13766 (char *) "variant", NULL
13769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13771 arg1
= (int)SWIG_As_int(obj0
);
13772 if (PyErr_Occurred()) SWIG_fail
;
13775 if (!wxPyCheckForApp()) SWIG_fail
;
13776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13777 result
= wxSlider::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13779 wxPyEndAllowThreads(__tstate
);
13780 if (PyErr_Occurred()) SWIG_fail
;
13783 wxVisualAttributes
* resultptr
;
13784 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
13785 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13793 static PyObject
* Slider_swigregister(PyObject
*, PyObject
*args
) {
13795 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13796 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
13798 return Py_BuildValue((char *)"");
13800 static int _wrap_ToggleButtonNameStr_set(PyObject
*) {
13801 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
13806 static PyObject
*_wrap_ToggleButtonNameStr_get() {
13811 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13813 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13820 static PyObject
*_wrap_new_ToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13821 PyObject
*resultobj
;
13822 wxWindow
*arg1
= (wxWindow
*) 0 ;
13823 int arg2
= (int) -1 ;
13824 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13825 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13826 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13827 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13828 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13829 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13830 long arg6
= (long) 0 ;
13831 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
13832 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
13833 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
13834 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13835 wxToggleButton
*result
;
13836 bool temp3
= false ;
13839 bool temp8
= false ;
13840 PyObject
* obj0
= 0 ;
13841 PyObject
* obj1
= 0 ;
13842 PyObject
* obj2
= 0 ;
13843 PyObject
* obj3
= 0 ;
13844 PyObject
* obj4
= 0 ;
13845 PyObject
* obj5
= 0 ;
13846 PyObject
* obj6
= 0 ;
13847 PyObject
* obj7
= 0 ;
13848 char *kwnames
[] = {
13849 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
13853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13856 arg2
= (int)SWIG_As_int(obj1
);
13857 if (PyErr_Occurred()) SWIG_fail
;
13861 arg3
= wxString_in_helper(obj2
);
13862 if (arg3
== NULL
) SWIG_fail
;
13869 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13875 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13879 arg6
= (long)SWIG_As_long(obj5
);
13880 if (PyErr_Occurred()) SWIG_fail
;
13883 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
13884 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13886 if (arg7
== NULL
) {
13887 PyErr_SetString(PyExc_TypeError
,"null reference");
13893 arg8
= wxString_in_helper(obj7
);
13894 if (arg8
== NULL
) SWIG_fail
;
13899 if (!wxPyCheckForApp()) SWIG_fail
;
13900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13901 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
13903 wxPyEndAllowThreads(__tstate
);
13904 if (PyErr_Occurred()) SWIG_fail
;
13906 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13929 static PyObject
*_wrap_new_PreToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13930 PyObject
*resultobj
;
13931 wxToggleButton
*result
;
13932 char *kwnames
[] = {
13936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
13938 if (!wxPyCheckForApp()) SWIG_fail
;
13939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13940 result
= (wxToggleButton
*)new wxToggleButton();
13942 wxPyEndAllowThreads(__tstate
);
13943 if (PyErr_Occurred()) SWIG_fail
;
13945 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13952 static PyObject
*_wrap_ToggleButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13953 PyObject
*resultobj
;
13954 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13955 wxWindow
*arg2
= (wxWindow
*) 0 ;
13956 int arg3
= (int) -1 ;
13957 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13958 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13959 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13960 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13961 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13962 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13963 long arg7
= (long) 0 ;
13964 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
13965 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
13966 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
13967 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
13969 bool temp4
= false ;
13972 bool temp9
= false ;
13973 PyObject
* obj0
= 0 ;
13974 PyObject
* obj1
= 0 ;
13975 PyObject
* obj2
= 0 ;
13976 PyObject
* obj3
= 0 ;
13977 PyObject
* obj4
= 0 ;
13978 PyObject
* obj5
= 0 ;
13979 PyObject
* obj6
= 0 ;
13980 PyObject
* obj7
= 0 ;
13981 PyObject
* obj8
= 0 ;
13982 char *kwnames
[] = {
13983 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
13987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13989 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13992 arg3
= (int)SWIG_As_int(obj2
);
13993 if (PyErr_Occurred()) SWIG_fail
;
13997 arg4
= wxString_in_helper(obj3
);
13998 if (arg4
== NULL
) SWIG_fail
;
14005 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14011 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14015 arg7
= (long)SWIG_As_long(obj6
);
14016 if (PyErr_Occurred()) SWIG_fail
;
14019 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
14020 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14022 if (arg8
== NULL
) {
14023 PyErr_SetString(PyExc_TypeError
,"null reference");
14029 arg9
= wxString_in_helper(obj8
);
14030 if (arg9
== NULL
) SWIG_fail
;
14035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14036 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
14038 wxPyEndAllowThreads(__tstate
);
14039 if (PyErr_Occurred()) SWIG_fail
;
14042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14066 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14067 PyObject
*resultobj
;
14068 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14070 PyObject
* obj0
= 0 ;
14071 PyObject
* obj1
= 0 ;
14072 char *kwnames
[] = {
14073 (char *) "self",(char *) "value", NULL
14076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14079 arg2
= (bool)SWIG_As_bool(obj1
);
14080 if (PyErr_Occurred()) SWIG_fail
;
14082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14083 (arg1
)->SetValue(arg2
);
14085 wxPyEndAllowThreads(__tstate
);
14086 if (PyErr_Occurred()) SWIG_fail
;
14088 Py_INCREF(Py_None
); resultobj
= Py_None
;
14095 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14096 PyObject
*resultobj
;
14097 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14099 PyObject
* obj0
= 0 ;
14100 char *kwnames
[] = {
14101 (char *) "self", NULL
14104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
14105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14109 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
14111 wxPyEndAllowThreads(__tstate
);
14112 if (PyErr_Occurred()) SWIG_fail
;
14115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14123 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14124 PyObject
*resultobj
;
14125 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14126 wxString
*arg2
= 0 ;
14127 bool temp2
= false ;
14128 PyObject
* obj0
= 0 ;
14129 PyObject
* obj1
= 0 ;
14130 char *kwnames
[] = {
14131 (char *) "self",(char *) "label", NULL
14134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
14135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14138 arg2
= wxString_in_helper(obj1
);
14139 if (arg2
== NULL
) SWIG_fail
;
14143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14144 (arg1
)->SetLabel((wxString
const &)*arg2
);
14146 wxPyEndAllowThreads(__tstate
);
14147 if (PyErr_Occurred()) SWIG_fail
;
14149 Py_INCREF(Py_None
); resultobj
= Py_None
;
14164 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14165 PyObject
*resultobj
;
14166 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14167 wxVisualAttributes result
;
14168 PyObject
* obj0
= 0 ;
14169 char *kwnames
[] = {
14170 (char *) "variant", NULL
14173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14175 arg1
= (int)SWIG_As_int(obj0
);
14176 if (PyErr_Occurred()) SWIG_fail
;
14179 if (!wxPyCheckForApp()) SWIG_fail
;
14180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14181 result
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14183 wxPyEndAllowThreads(__tstate
);
14184 if (PyErr_Occurred()) SWIG_fail
;
14187 wxVisualAttributes
* resultptr
;
14188 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14189 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14197 static PyObject
* ToggleButton_swigregister(PyObject
*, PyObject
*args
) {
14199 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14200 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
14202 return Py_BuildValue((char *)"");
14204 static int _wrap_NOTEBOOK_NAME_set(PyObject
*) {
14205 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
14210 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
14215 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
14217 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
14224 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14225 PyObject
*resultobj
;
14226 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14228 PyObject
* obj0
= 0 ;
14229 char *kwnames
[] = {
14230 (char *) "self", NULL
14233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
14234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14238 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
14240 wxPyEndAllowThreads(__tstate
);
14241 if (PyErr_Occurred()) SWIG_fail
;
14243 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
14250 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14251 PyObject
*resultobj
;
14252 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14255 PyObject
* obj0
= 0 ;
14256 PyObject
* obj1
= 0 ;
14257 char *kwnames
[] = {
14258 (char *) "self",(char *) "n", NULL
14261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14264 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14265 if (PyErr_Occurred()) SWIG_fail
;
14267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14268 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
14270 wxPyEndAllowThreads(__tstate
);
14271 if (PyErr_Occurred()) SWIG_fail
;
14274 resultobj
= wxPyMake_wxObject(result
, 0);
14282 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14283 PyObject
*resultobj
;
14284 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14286 PyObject
* obj0
= 0 ;
14287 char *kwnames
[] = {
14288 (char *) "self", NULL
14291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
14292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14296 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
14298 wxPyEndAllowThreads(__tstate
);
14299 if (PyErr_Occurred()) SWIG_fail
;
14301 resultobj
= SWIG_From_int((int)result
);
14308 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14309 PyObject
*resultobj
;
14310 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14312 wxString
*arg3
= 0 ;
14314 bool temp3
= false ;
14315 PyObject
* obj0
= 0 ;
14316 PyObject
* obj1
= 0 ;
14317 PyObject
* obj2
= 0 ;
14318 char *kwnames
[] = {
14319 (char *) "self",(char *) "n",(char *) "strText", NULL
14322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14325 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14326 if (PyErr_Occurred()) SWIG_fail
;
14328 arg3
= wxString_in_helper(obj2
);
14329 if (arg3
== NULL
) SWIG_fail
;
14333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14334 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
14336 wxPyEndAllowThreads(__tstate
);
14337 if (PyErr_Occurred()) SWIG_fail
;
14340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14356 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14357 PyObject
*resultobj
;
14358 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14361 PyObject
* obj0
= 0 ;
14362 PyObject
* obj1
= 0 ;
14363 char *kwnames
[] = {
14364 (char *) "self",(char *) "n", NULL
14367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
14368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14370 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14371 if (PyErr_Occurred()) SWIG_fail
;
14373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14374 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
14376 wxPyEndAllowThreads(__tstate
);
14377 if (PyErr_Occurred()) SWIG_fail
;
14381 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14383 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14392 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14393 PyObject
*resultobj
;
14394 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14395 wxImageList
*arg2
= (wxImageList
*) 0 ;
14396 PyObject
* obj0
= 0 ;
14397 PyObject
* obj1
= 0 ;
14398 char *kwnames
[] = {
14399 (char *) "self",(char *) "imageList", NULL
14402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14405 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14409 (arg1
)->SetImageList(arg2
);
14411 wxPyEndAllowThreads(__tstate
);
14412 if (PyErr_Occurred()) SWIG_fail
;
14414 Py_INCREF(Py_None
); resultobj
= Py_None
;
14421 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14422 PyObject
*resultobj
;
14423 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14424 wxImageList
*arg2
= (wxImageList
*) 0 ;
14425 PyObject
* obj0
= 0 ;
14426 PyObject
* obj1
= 0 ;
14427 char *kwnames
[] = {
14428 (char *) "self",(char *) "imageList", NULL
14431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14434 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14435 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
14437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14438 (arg1
)->AssignImageList(arg2
);
14440 wxPyEndAllowThreads(__tstate
);
14441 if (PyErr_Occurred()) SWIG_fail
;
14443 Py_INCREF(Py_None
); resultobj
= Py_None
;
14450 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14451 PyObject
*resultobj
;
14452 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14453 wxImageList
*result
;
14454 PyObject
* obj0
= 0 ;
14455 char *kwnames
[] = {
14456 (char *) "self", NULL
14459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
14460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14464 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
14466 wxPyEndAllowThreads(__tstate
);
14467 if (PyErr_Occurred()) SWIG_fail
;
14470 resultobj
= wxPyMake_wxObject(result
, 0);
14478 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14479 PyObject
*resultobj
;
14480 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14483 PyObject
* obj0
= 0 ;
14484 PyObject
* obj1
= 0 ;
14485 char *kwnames
[] = {
14486 (char *) "self",(char *) "n", NULL
14489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
14490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14492 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14493 if (PyErr_Occurred()) SWIG_fail
;
14495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14496 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
14498 wxPyEndAllowThreads(__tstate
);
14499 if (PyErr_Occurred()) SWIG_fail
;
14501 resultobj
= SWIG_From_int((int)result
);
14508 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14509 PyObject
*resultobj
;
14510 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14514 PyObject
* obj0
= 0 ;
14515 PyObject
* obj1
= 0 ;
14516 PyObject
* obj2
= 0 ;
14517 char *kwnames
[] = {
14518 (char *) "self",(char *) "n",(char *) "imageId", NULL
14521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14524 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14525 if (PyErr_Occurred()) SWIG_fail
;
14526 arg3
= (int)SWIG_As_int(obj2
);
14527 if (PyErr_Occurred()) SWIG_fail
;
14529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14530 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
14532 wxPyEndAllowThreads(__tstate
);
14533 if (PyErr_Occurred()) SWIG_fail
;
14536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14544 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14545 PyObject
*resultobj
;
14546 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14549 PyObject
* obj0
= 0 ;
14550 PyObject
* obj1
= 0 ;
14551 char *kwnames
[] = {
14552 (char *) "self",(char *) "size", NULL
14555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14560 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14564 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
14566 wxPyEndAllowThreads(__tstate
);
14567 if (PyErr_Occurred()) SWIG_fail
;
14569 Py_INCREF(Py_None
); resultobj
= Py_None
;
14576 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14577 PyObject
*resultobj
;
14578 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14582 PyObject
* obj0
= 0 ;
14583 PyObject
* obj1
= 0 ;
14584 char *kwnames
[] = {
14585 (char *) "self",(char *) "sizePage", NULL
14588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14593 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14597 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14599 wxPyEndAllowThreads(__tstate
);
14600 if (PyErr_Occurred()) SWIG_fail
;
14603 wxSize
* resultptr
;
14604 resultptr
= new wxSize((wxSize
&) result
);
14605 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14613 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14614 PyObject
*resultobj
;
14615 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14618 PyObject
* obj0
= 0 ;
14619 PyObject
* obj1
= 0 ;
14620 char *kwnames
[] = {
14621 (char *) "self",(char *) "n", NULL
14624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14627 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14628 if (PyErr_Occurred()) SWIG_fail
;
14630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14631 result
= (bool)(arg1
)->DeletePage(arg2
);
14633 wxPyEndAllowThreads(__tstate
);
14634 if (PyErr_Occurred()) SWIG_fail
;
14637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14645 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14646 PyObject
*resultobj
;
14647 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14650 PyObject
* obj0
= 0 ;
14651 PyObject
* obj1
= 0 ;
14652 char *kwnames
[] = {
14653 (char *) "self",(char *) "n", NULL
14656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14659 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14660 if (PyErr_Occurred()) SWIG_fail
;
14662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14663 result
= (bool)(arg1
)->RemovePage(arg2
);
14665 wxPyEndAllowThreads(__tstate
);
14666 if (PyErr_Occurred()) SWIG_fail
;
14669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14677 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14678 PyObject
*resultobj
;
14679 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14681 PyObject
* obj0
= 0 ;
14682 char *kwnames
[] = {
14683 (char *) "self", NULL
14686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
14687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14691 result
= (bool)(arg1
)->DeleteAllPages();
14693 wxPyEndAllowThreads(__tstate
);
14694 if (PyErr_Occurred()) SWIG_fail
;
14697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14705 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14706 PyObject
*resultobj
;
14707 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14708 wxWindow
*arg2
= (wxWindow
*) 0 ;
14709 wxString
*arg3
= 0 ;
14710 bool arg4
= (bool) false ;
14711 int arg5
= (int) -1 ;
14713 bool temp3
= false ;
14714 PyObject
* obj0
= 0 ;
14715 PyObject
* obj1
= 0 ;
14716 PyObject
* obj2
= 0 ;
14717 PyObject
* obj3
= 0 ;
14718 PyObject
* obj4
= 0 ;
14719 char *kwnames
[] = {
14720 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14726 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14729 arg3
= wxString_in_helper(obj2
);
14730 if (arg3
== NULL
) SWIG_fail
;
14734 arg4
= (bool)SWIG_As_bool(obj3
);
14735 if (PyErr_Occurred()) SWIG_fail
;
14738 arg5
= (int)SWIG_As_int(obj4
);
14739 if (PyErr_Occurred()) SWIG_fail
;
14742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14743 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
14745 wxPyEndAllowThreads(__tstate
);
14746 if (PyErr_Occurred()) SWIG_fail
;
14749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14765 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14766 PyObject
*resultobj
;
14767 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14769 wxWindow
*arg3
= (wxWindow
*) 0 ;
14770 wxString
*arg4
= 0 ;
14771 bool arg5
= (bool) false ;
14772 int arg6
= (int) -1 ;
14774 bool temp4
= false ;
14775 PyObject
* obj0
= 0 ;
14776 PyObject
* obj1
= 0 ;
14777 PyObject
* obj2
= 0 ;
14778 PyObject
* obj3
= 0 ;
14779 PyObject
* obj4
= 0 ;
14780 PyObject
* obj5
= 0 ;
14781 char *kwnames
[] = {
14782 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14788 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14789 if (PyErr_Occurred()) SWIG_fail
;
14790 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
14791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14793 arg4
= wxString_in_helper(obj3
);
14794 if (arg4
== NULL
) SWIG_fail
;
14798 arg5
= (bool)SWIG_As_bool(obj4
);
14799 if (PyErr_Occurred()) SWIG_fail
;
14802 arg6
= (int)SWIG_As_int(obj5
);
14803 if (PyErr_Occurred()) SWIG_fail
;
14806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14807 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
14809 wxPyEndAllowThreads(__tstate
);
14810 if (PyErr_Occurred()) SWIG_fail
;
14813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14829 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14830 PyObject
*resultobj
;
14831 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14834 PyObject
* obj0
= 0 ;
14835 PyObject
* obj1
= 0 ;
14836 char *kwnames
[] = {
14837 (char *) "self",(char *) "n", NULL
14840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14843 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14844 if (PyErr_Occurred()) SWIG_fail
;
14846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14847 result
= (int)(arg1
)->SetSelection(arg2
);
14849 wxPyEndAllowThreads(__tstate
);
14850 if (PyErr_Occurred()) SWIG_fail
;
14852 resultobj
= SWIG_From_int((int)result
);
14859 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14860 PyObject
*resultobj
;
14861 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14862 bool arg2
= (bool) true ;
14863 PyObject
* obj0
= 0 ;
14864 PyObject
* obj1
= 0 ;
14865 char *kwnames
[] = {
14866 (char *) "self",(char *) "forward", NULL
14869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14873 arg2
= (bool)SWIG_As_bool(obj1
);
14874 if (PyErr_Occurred()) SWIG_fail
;
14877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14878 (arg1
)->AdvanceSelection(arg2
);
14880 wxPyEndAllowThreads(__tstate
);
14881 if (PyErr_Occurred()) SWIG_fail
;
14883 Py_INCREF(Py_None
); resultobj
= Py_None
;
14890 static PyObject
*_wrap_BookCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14891 PyObject
*resultobj
;
14892 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14893 wxVisualAttributes result
;
14894 PyObject
* obj0
= 0 ;
14895 char *kwnames
[] = {
14896 (char *) "variant", NULL
14899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14901 arg1
= (int)SWIG_As_int(obj0
);
14902 if (PyErr_Occurred()) SWIG_fail
;
14905 if (!wxPyCheckForApp()) SWIG_fail
;
14906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14907 result
= wxBookCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14909 wxPyEndAllowThreads(__tstate
);
14910 if (PyErr_Occurred()) SWIG_fail
;
14913 wxVisualAttributes
* resultptr
;
14914 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14915 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14923 static PyObject
* BookCtrl_swigregister(PyObject
*, PyObject
*args
) {
14925 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14926 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
14928 return Py_BuildValue((char *)"");
14930 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14931 PyObject
*resultobj
;
14932 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14933 int arg2
= (int) 0 ;
14934 int arg3
= (int) -1 ;
14935 int arg4
= (int) -1 ;
14936 wxBookCtrlEvent
*result
;
14937 PyObject
* obj0
= 0 ;
14938 PyObject
* obj1
= 0 ;
14939 PyObject
* obj2
= 0 ;
14940 PyObject
* obj3
= 0 ;
14941 char *kwnames
[] = {
14942 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14947 arg1
= (wxEventType
)SWIG_As_int(obj0
);
14948 if (PyErr_Occurred()) SWIG_fail
;
14951 arg2
= (int)SWIG_As_int(obj1
);
14952 if (PyErr_Occurred()) SWIG_fail
;
14955 arg3
= (int)SWIG_As_int(obj2
);
14956 if (PyErr_Occurred()) SWIG_fail
;
14959 arg4
= (int)SWIG_As_int(obj3
);
14960 if (PyErr_Occurred()) SWIG_fail
;
14963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14964 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
14966 wxPyEndAllowThreads(__tstate
);
14967 if (PyErr_Occurred()) SWIG_fail
;
14969 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlEvent
, 1);
14976 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14977 PyObject
*resultobj
;
14978 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14980 PyObject
* obj0
= 0 ;
14981 char *kwnames
[] = {
14982 (char *) "self", NULL
14985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
14986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14990 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
14992 wxPyEndAllowThreads(__tstate
);
14993 if (PyErr_Occurred()) SWIG_fail
;
14995 resultobj
= SWIG_From_int((int)result
);
15002 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15003 PyObject
*resultobj
;
15004 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
15006 PyObject
* obj0
= 0 ;
15007 PyObject
* obj1
= 0 ;
15008 char *kwnames
[] = {
15009 (char *) "self",(char *) "nSel", NULL
15012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
15013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
15014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15015 arg2
= (int)SWIG_As_int(obj1
);
15016 if (PyErr_Occurred()) SWIG_fail
;
15018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15019 (arg1
)->SetSelection(arg2
);
15021 wxPyEndAllowThreads(__tstate
);
15022 if (PyErr_Occurred()) SWIG_fail
;
15024 Py_INCREF(Py_None
); resultobj
= Py_None
;
15031 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15032 PyObject
*resultobj
;
15033 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
15035 PyObject
* obj0
= 0 ;
15036 char *kwnames
[] = {
15037 (char *) "self", NULL
15040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
15041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
15042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15045 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
15047 wxPyEndAllowThreads(__tstate
);
15048 if (PyErr_Occurred()) SWIG_fail
;
15050 resultobj
= SWIG_From_int((int)result
);
15057 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15058 PyObject
*resultobj
;
15059 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
15061 PyObject
* obj0
= 0 ;
15062 PyObject
* obj1
= 0 ;
15063 char *kwnames
[] = {
15064 (char *) "self",(char *) "nOldSel", NULL
15067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
15068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
15069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15070 arg2
= (int)SWIG_As_int(obj1
);
15071 if (PyErr_Occurred()) SWIG_fail
;
15073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15074 (arg1
)->SetOldSelection(arg2
);
15076 wxPyEndAllowThreads(__tstate
);
15077 if (PyErr_Occurred()) SWIG_fail
;
15079 Py_INCREF(Py_None
); resultobj
= Py_None
;
15086 static PyObject
* BookCtrlEvent_swigregister(PyObject
*, PyObject
*args
) {
15088 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15089 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
15091 return Py_BuildValue((char *)"");
15093 static PyObject
*_wrap_new_Notebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15094 PyObject
*resultobj
;
15095 wxWindow
*arg1
= (wxWindow
*) 0 ;
15096 int arg2
= (int) -1 ;
15097 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15098 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15099 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15100 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15101 long arg5
= (long) 0 ;
15102 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
15103 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15104 wxNotebook
*result
;
15107 bool temp6
= false ;
15108 PyObject
* obj0
= 0 ;
15109 PyObject
* obj1
= 0 ;
15110 PyObject
* obj2
= 0 ;
15111 PyObject
* obj3
= 0 ;
15112 PyObject
* obj4
= 0 ;
15113 PyObject
* obj5
= 0 ;
15114 char *kwnames
[] = {
15115 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15122 arg2
= (int)SWIG_As_int(obj1
);
15123 if (PyErr_Occurred()) SWIG_fail
;
15128 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15134 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15138 arg5
= (long)SWIG_As_long(obj4
);
15139 if (PyErr_Occurred()) SWIG_fail
;
15143 arg6
= wxString_in_helper(obj5
);
15144 if (arg6
== NULL
) SWIG_fail
;
15149 if (!wxPyCheckForApp()) SWIG_fail
;
15150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15151 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15153 wxPyEndAllowThreads(__tstate
);
15154 if (PyErr_Occurred()) SWIG_fail
;
15156 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
15171 static PyObject
*_wrap_new_PreNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15172 PyObject
*resultobj
;
15173 wxNotebook
*result
;
15174 char *kwnames
[] = {
15178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
15180 if (!wxPyCheckForApp()) SWIG_fail
;
15181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15182 result
= (wxNotebook
*)new wxNotebook();
15184 wxPyEndAllowThreads(__tstate
);
15185 if (PyErr_Occurred()) SWIG_fail
;
15187 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
15194 static PyObject
*_wrap_Notebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15195 PyObject
*resultobj
;
15196 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15197 wxWindow
*arg2
= (wxWindow
*) 0 ;
15198 int arg3
= (int) -1 ;
15199 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15200 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15201 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15202 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15203 long arg6
= (long) 0 ;
15204 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
15205 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15209 bool temp7
= false ;
15210 PyObject
* obj0
= 0 ;
15211 PyObject
* obj1
= 0 ;
15212 PyObject
* obj2
= 0 ;
15213 PyObject
* obj3
= 0 ;
15214 PyObject
* obj4
= 0 ;
15215 PyObject
* obj5
= 0 ;
15216 PyObject
* obj6
= 0 ;
15217 char *kwnames
[] = {
15218 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15224 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15227 arg3
= (int)SWIG_As_int(obj2
);
15228 if (PyErr_Occurred()) SWIG_fail
;
15233 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15239 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15243 arg6
= (long)SWIG_As_long(obj5
);
15244 if (PyErr_Occurred()) SWIG_fail
;
15248 arg7
= wxString_in_helper(obj6
);
15249 if (arg7
== NULL
) SWIG_fail
;
15254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15255 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15257 wxPyEndAllowThreads(__tstate
);
15258 if (PyErr_Occurred()) SWIG_fail
;
15261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15277 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15278 PyObject
*resultobj
;
15279 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15281 PyObject
* obj0
= 0 ;
15282 char *kwnames
[] = {
15283 (char *) "self", NULL
15286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
15287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15291 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
15293 wxPyEndAllowThreads(__tstate
);
15294 if (PyErr_Occurred()) SWIG_fail
;
15296 resultobj
= SWIG_From_int((int)result
);
15303 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15304 PyObject
*resultobj
;
15305 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15308 PyObject
* obj0
= 0 ;
15309 PyObject
* obj1
= 0 ;
15310 char *kwnames
[] = {
15311 (char *) "self",(char *) "padding", NULL
15314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
15315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15319 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15323 (arg1
)->SetPadding((wxSize
const &)*arg2
);
15325 wxPyEndAllowThreads(__tstate
);
15326 if (PyErr_Occurred()) SWIG_fail
;
15328 Py_INCREF(Py_None
); resultobj
= Py_None
;
15335 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15336 PyObject
*resultobj
;
15337 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15340 PyObject
* obj0
= 0 ;
15341 PyObject
* obj1
= 0 ;
15342 char *kwnames
[] = {
15343 (char *) "self",(char *) "sz", NULL
15346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15351 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15355 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
15357 wxPyEndAllowThreads(__tstate
);
15358 if (PyErr_Occurred()) SWIG_fail
;
15360 Py_INCREF(Py_None
); resultobj
= Py_None
;
15367 static PyObject
*_wrap_Notebook_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15368 PyObject
*resultobj
;
15369 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15370 wxPoint
*arg2
= 0 ;
15371 long *arg3
= (long *) 0 ;
15376 PyObject
* obj0
= 0 ;
15377 PyObject
* obj1
= 0 ;
15378 char *kwnames
[] = {
15379 (char *) "self",(char *) "pt", NULL
15382 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
15384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15388 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15392 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
15394 wxPyEndAllowThreads(__tstate
);
15395 if (PyErr_Occurred()) SWIG_fail
;
15397 resultobj
= SWIG_From_int((int)result
);
15398 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15399 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
15406 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15407 PyObject
*resultobj
;
15408 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15412 PyObject
* obj0
= 0 ;
15413 PyObject
* obj1
= 0 ;
15414 char *kwnames
[] = {
15415 (char *) "self",(char *) "sizePage", NULL
15418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
15419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15423 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15427 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
15429 wxPyEndAllowThreads(__tstate
);
15430 if (PyErr_Occurred()) SWIG_fail
;
15433 wxSize
* resultptr
;
15434 resultptr
= new wxSize((wxSize
&) result
);
15435 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15443 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15444 PyObject
*resultobj
;
15445 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
15446 wxVisualAttributes result
;
15447 PyObject
* obj0
= 0 ;
15448 char *kwnames
[] = {
15449 (char *) "variant", NULL
15452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15454 arg1
= (int)SWIG_As_int(obj0
);
15455 if (PyErr_Occurred()) SWIG_fail
;
15458 if (!wxPyCheckForApp()) SWIG_fail
;
15459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15460 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15462 wxPyEndAllowThreads(__tstate
);
15463 if (PyErr_Occurred()) SWIG_fail
;
15466 wxVisualAttributes
* resultptr
;
15467 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
15468 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15476 static PyObject
* Notebook_swigregister(PyObject
*, PyObject
*args
) {
15478 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15479 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
15481 return Py_BuildValue((char *)"");
15483 static PyObject
*_wrap_new_NotebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15484 PyObject
*resultobj
;
15485 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15486 int arg2
= (int) 0 ;
15487 int arg3
= (int) -1 ;
15488 int arg4
= (int) -1 ;
15489 wxNotebookEvent
*result
;
15490 PyObject
* obj0
= 0 ;
15491 PyObject
* obj1
= 0 ;
15492 PyObject
* obj2
= 0 ;
15493 PyObject
* obj3
= 0 ;
15494 char *kwnames
[] = {
15495 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15500 arg1
= (wxEventType
)SWIG_As_int(obj0
);
15501 if (PyErr_Occurred()) SWIG_fail
;
15504 arg2
= (int)SWIG_As_int(obj1
);
15505 if (PyErr_Occurred()) SWIG_fail
;
15508 arg3
= (int)SWIG_As_int(obj2
);
15509 if (PyErr_Occurred()) SWIG_fail
;
15512 arg4
= (int)SWIG_As_int(obj3
);
15513 if (PyErr_Occurred()) SWIG_fail
;
15516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15517 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
15519 wxPyEndAllowThreads(__tstate
);
15520 if (PyErr_Occurred()) SWIG_fail
;
15522 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
15529 static PyObject
* NotebookEvent_swigregister(PyObject
*, PyObject
*args
) {
15531 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15532 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
15534 return Py_BuildValue((char *)"");
15536 static PyObject
*_wrap_new_Listbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15537 PyObject
*resultobj
;
15538 wxWindow
*arg1
= (wxWindow
*) 0 ;
15539 int arg2
= (int) -1 ;
15540 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15541 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15542 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15543 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15544 long arg5
= (long) 0 ;
15545 wxString
const &arg6_defvalue
= wxPyEmptyString
;
15546 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15547 wxListbook
*result
;
15550 bool temp6
= false ;
15551 PyObject
* obj0
= 0 ;
15552 PyObject
* obj1
= 0 ;
15553 PyObject
* obj2
= 0 ;
15554 PyObject
* obj3
= 0 ;
15555 PyObject
* obj4
= 0 ;
15556 PyObject
* obj5
= 0 ;
15557 char *kwnames
[] = {
15558 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15565 arg2
= (int)SWIG_As_int(obj1
);
15566 if (PyErr_Occurred()) SWIG_fail
;
15571 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15577 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15581 arg5
= (long)SWIG_As_long(obj4
);
15582 if (PyErr_Occurred()) SWIG_fail
;
15586 arg6
= wxString_in_helper(obj5
);
15587 if (arg6
== NULL
) SWIG_fail
;
15592 if (!wxPyCheckForApp()) SWIG_fail
;
15593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15594 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15596 wxPyEndAllowThreads(__tstate
);
15597 if (PyErr_Occurred()) SWIG_fail
;
15599 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15614 static PyObject
*_wrap_new_PreListbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15615 PyObject
*resultobj
;
15616 wxListbook
*result
;
15617 char *kwnames
[] = {
15621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
15623 if (!wxPyCheckForApp()) SWIG_fail
;
15624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15625 result
= (wxListbook
*)new wxListbook();
15627 wxPyEndAllowThreads(__tstate
);
15628 if (PyErr_Occurred()) SWIG_fail
;
15630 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15637 static PyObject
*_wrap_Listbook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15638 PyObject
*resultobj
;
15639 wxListbook
*arg1
= (wxListbook
*) 0 ;
15640 wxWindow
*arg2
= (wxWindow
*) 0 ;
15641 int arg3
= (int) -1 ;
15642 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15643 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15644 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15645 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15646 long arg6
= (long) 0 ;
15647 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15648 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15652 bool temp7
= false ;
15653 PyObject
* obj0
= 0 ;
15654 PyObject
* obj1
= 0 ;
15655 PyObject
* obj2
= 0 ;
15656 PyObject
* obj3
= 0 ;
15657 PyObject
* obj4
= 0 ;
15658 PyObject
* obj5
= 0 ;
15659 PyObject
* obj6
= 0 ;
15660 char *kwnames
[] = {
15661 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15667 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15670 arg3
= (int)SWIG_As_int(obj2
);
15671 if (PyErr_Occurred()) SWIG_fail
;
15676 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15682 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15686 arg6
= (long)SWIG_As_long(obj5
);
15687 if (PyErr_Occurred()) SWIG_fail
;
15691 arg7
= wxString_in_helper(obj6
);
15692 if (arg7
== NULL
) SWIG_fail
;
15697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15698 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15700 wxPyEndAllowThreads(__tstate
);
15701 if (PyErr_Occurred()) SWIG_fail
;
15704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15720 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15721 PyObject
*resultobj
;
15722 wxListbook
*arg1
= (wxListbook
*) 0 ;
15724 PyObject
* obj0
= 0 ;
15725 char *kwnames
[] = {
15726 (char *) "self", NULL
15729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
15730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15734 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
15736 wxPyEndAllowThreads(__tstate
);
15737 if (PyErr_Occurred()) SWIG_fail
;
15740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15748 static PyObject
*_wrap_Listbook_GetListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15749 PyObject
*resultobj
;
15750 wxListbook
*arg1
= (wxListbook
*) 0 ;
15751 wxListView
*result
;
15752 PyObject
* obj0
= 0 ;
15753 char *kwnames
[] = {
15754 (char *) "self", NULL
15757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_GetListView",kwnames
,&obj0
)) goto fail
;
15758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15762 result
= (wxListView
*)(arg1
)->GetListView();
15764 wxPyEndAllowThreads(__tstate
);
15765 if (PyErr_Occurred()) SWIG_fail
;
15767 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 0);
15774 static PyObject
* Listbook_swigregister(PyObject
*, PyObject
*args
) {
15776 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15777 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
15779 return Py_BuildValue((char *)"");
15781 static PyObject
*_wrap_new_ListbookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15782 PyObject
*resultobj
;
15783 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15784 int arg2
= (int) 0 ;
15785 int arg3
= (int) -1 ;
15786 int arg4
= (int) -1 ;
15787 wxListbookEvent
*result
;
15788 PyObject
* obj0
= 0 ;
15789 PyObject
* obj1
= 0 ;
15790 PyObject
* obj2
= 0 ;
15791 PyObject
* obj3
= 0 ;
15792 char *kwnames
[] = {
15793 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15798 arg1
= (wxEventType
)SWIG_As_int(obj0
);
15799 if (PyErr_Occurred()) SWIG_fail
;
15802 arg2
= (int)SWIG_As_int(obj1
);
15803 if (PyErr_Occurred()) SWIG_fail
;
15806 arg3
= (int)SWIG_As_int(obj2
);
15807 if (PyErr_Occurred()) SWIG_fail
;
15810 arg4
= (int)SWIG_As_int(obj3
);
15811 if (PyErr_Occurred()) SWIG_fail
;
15814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15815 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
15817 wxPyEndAllowThreads(__tstate
);
15818 if (PyErr_Occurred()) SWIG_fail
;
15820 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
15827 static PyObject
* ListbookEvent_swigregister(PyObject
*, PyObject
*args
) {
15829 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15830 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
15832 return Py_BuildValue((char *)"");
15834 static PyObject
*_wrap_new_Choicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15835 PyObject
*resultobj
;
15836 wxWindow
*arg1
= (wxWindow
*) 0 ;
15838 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15839 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15840 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15841 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15842 long arg5
= (long) 0 ;
15843 wxString
const &arg6_defvalue
= wxPyEmptyString
;
15844 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15845 wxChoicebook
*result
;
15848 bool temp6
= false ;
15849 PyObject
* obj0
= 0 ;
15850 PyObject
* obj1
= 0 ;
15851 PyObject
* obj2
= 0 ;
15852 PyObject
* obj3
= 0 ;
15853 PyObject
* obj4
= 0 ;
15854 PyObject
* obj5
= 0 ;
15855 char *kwnames
[] = {
15856 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15862 arg2
= (int)SWIG_As_int(obj1
);
15863 if (PyErr_Occurred()) SWIG_fail
;
15867 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15873 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15877 arg5
= (long)SWIG_As_long(obj4
);
15878 if (PyErr_Occurred()) SWIG_fail
;
15882 arg6
= wxString_in_helper(obj5
);
15883 if (arg6
== NULL
) SWIG_fail
;
15888 if (!wxPyCheckForApp()) SWIG_fail
;
15889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15890 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15892 wxPyEndAllowThreads(__tstate
);
15893 if (PyErr_Occurred()) SWIG_fail
;
15895 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
15910 static PyObject
*_wrap_new_PreChoicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15911 PyObject
*resultobj
;
15912 wxChoicebook
*result
;
15913 char *kwnames
[] = {
15917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoicebook",kwnames
)) goto fail
;
15919 if (!wxPyCheckForApp()) SWIG_fail
;
15920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15921 result
= (wxChoicebook
*)new wxChoicebook();
15923 wxPyEndAllowThreads(__tstate
);
15924 if (PyErr_Occurred()) SWIG_fail
;
15926 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
15933 static PyObject
*_wrap_Choicebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15934 PyObject
*resultobj
;
15935 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
15936 wxWindow
*arg2
= (wxWindow
*) 0 ;
15938 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15939 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15940 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15941 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15942 long arg6
= (long) 0 ;
15943 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15944 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15948 bool temp7
= false ;
15949 PyObject
* obj0
= 0 ;
15950 PyObject
* obj1
= 0 ;
15951 PyObject
* obj2
= 0 ;
15952 PyObject
* obj3
= 0 ;
15953 PyObject
* obj4
= 0 ;
15954 PyObject
* obj5
= 0 ;
15955 PyObject
* obj6
= 0 ;
15956 char *kwnames
[] = {
15957 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoicebook
,
15962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15963 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15965 arg3
= (int)SWIG_As_int(obj2
);
15966 if (PyErr_Occurred()) SWIG_fail
;
15970 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15976 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15980 arg6
= (long)SWIG_As_long(obj5
);
15981 if (PyErr_Occurred()) SWIG_fail
;
15985 arg7
= wxString_in_helper(obj6
);
15986 if (arg7
== NULL
) SWIG_fail
;
15991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15992 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15994 wxPyEndAllowThreads(__tstate
);
15995 if (PyErr_Occurred()) SWIG_fail
;
15998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16014 static PyObject
*_wrap_Choicebook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16015 PyObject
*resultobj
;
16016 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
16018 PyObject
* obj0
= 0 ;
16019 char *kwnames
[] = {
16020 (char *) "self", NULL
16023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_IsVertical",kwnames
,&obj0
)) goto fail
;
16024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoicebook
,
16025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16028 result
= (bool)((wxChoicebook
const *)arg1
)->IsVertical();
16030 wxPyEndAllowThreads(__tstate
);
16031 if (PyErr_Occurred()) SWIG_fail
;
16034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16042 static PyObject
*_wrap_Choicebook_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16043 PyObject
*resultobj
;
16044 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
16046 PyObject
* obj0
= 0 ;
16047 char *kwnames
[] = {
16048 (char *) "self", NULL
16051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
16052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoicebook
,
16053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16056 result
= (bool)(arg1
)->DeleteAllPages();
16058 wxPyEndAllowThreads(__tstate
);
16059 if (PyErr_Occurred()) SWIG_fail
;
16062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16070 static PyObject
* Choicebook_swigregister(PyObject
*, PyObject
*args
) {
16072 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16073 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook
, obj
);
16075 return Py_BuildValue((char *)"");
16077 static PyObject
*_wrap_new_ChoicebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16078 PyObject
*resultobj
;
16079 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16080 int arg2
= (int) 0 ;
16081 int arg3
= (int) -1 ;
16082 int arg4
= (int) -1 ;
16083 wxChoicebookEvent
*result
;
16084 PyObject
* obj0
= 0 ;
16085 PyObject
* obj1
= 0 ;
16086 PyObject
* obj2
= 0 ;
16087 PyObject
* obj3
= 0 ;
16088 char *kwnames
[] = {
16089 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
16092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16094 arg1
= (wxEventType
)SWIG_As_int(obj0
);
16095 if (PyErr_Occurred()) SWIG_fail
;
16098 arg2
= (int)SWIG_As_int(obj1
);
16099 if (PyErr_Occurred()) SWIG_fail
;
16102 arg3
= (int)SWIG_As_int(obj2
);
16103 if (PyErr_Occurred()) SWIG_fail
;
16106 arg4
= (int)SWIG_As_int(obj3
);
16107 if (PyErr_Occurred()) SWIG_fail
;
16110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16111 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
16113 wxPyEndAllowThreads(__tstate
);
16114 if (PyErr_Occurred()) SWIG_fail
;
16116 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebookEvent
, 1);
16123 static PyObject
* ChoicebookEvent_swigregister(PyObject
*, PyObject
*args
) {
16125 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16126 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent
, obj
);
16128 return Py_BuildValue((char *)"");
16130 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16131 PyObject
*resultobj
;
16132 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
16133 wxBookCtrlSizer
*result
;
16134 PyObject
* obj0
= 0 ;
16135 char *kwnames
[] = {
16136 (char *) "nb", NULL
16139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
16140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
16141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16144 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
16146 wxPyEndAllowThreads(__tstate
);
16147 if (PyErr_Occurred()) SWIG_fail
;
16149 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
16156 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16157 PyObject
*resultobj
;
16158 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
16159 PyObject
* obj0
= 0 ;
16160 char *kwnames
[] = {
16161 (char *) "self", NULL
16164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
16165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
16166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16169 (arg1
)->RecalcSizes();
16171 wxPyEndAllowThreads(__tstate
);
16172 if (PyErr_Occurred()) SWIG_fail
;
16174 Py_INCREF(Py_None
); resultobj
= Py_None
;
16181 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16182 PyObject
*resultobj
;
16183 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
16185 PyObject
* obj0
= 0 ;
16186 char *kwnames
[] = {
16187 (char *) "self", NULL
16190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
16191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
16192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16195 result
= (arg1
)->CalcMin();
16197 wxPyEndAllowThreads(__tstate
);
16198 if (PyErr_Occurred()) SWIG_fail
;
16201 wxSize
* resultptr
;
16202 resultptr
= new wxSize((wxSize
&) result
);
16203 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16211 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16212 PyObject
*resultobj
;
16213 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
16214 wxBookCtrl
*result
;
16215 PyObject
* obj0
= 0 ;
16216 char *kwnames
[] = {
16217 (char *) "self", NULL
16220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
16221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
16222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16225 result
= (wxBookCtrl
*)(arg1
)->GetControl();
16227 wxPyEndAllowThreads(__tstate
);
16228 if (PyErr_Occurred()) SWIG_fail
;
16230 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrl
, 0);
16237 static PyObject
* BookCtrlSizer_swigregister(PyObject
*, PyObject
*args
) {
16239 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16240 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
16242 return Py_BuildValue((char *)"");
16244 static PyObject
*_wrap_new_NotebookSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16245 PyObject
*resultobj
;
16246 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
16247 wxNotebookSizer
*result
;
16248 PyObject
* obj0
= 0 ;
16249 char *kwnames
[] = {
16250 (char *) "nb", NULL
16253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
16254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
16255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16258 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
16260 wxPyEndAllowThreads(__tstate
);
16261 if (PyErr_Occurred()) SWIG_fail
;
16263 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
16270 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16271 PyObject
*resultobj
;
16272 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
16273 PyObject
* obj0
= 0 ;
16274 char *kwnames
[] = {
16275 (char *) "self", NULL
16278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
16279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
16280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16283 (arg1
)->RecalcSizes();
16285 wxPyEndAllowThreads(__tstate
);
16286 if (PyErr_Occurred()) SWIG_fail
;
16288 Py_INCREF(Py_None
); resultobj
= Py_None
;
16295 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16296 PyObject
*resultobj
;
16297 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
16299 PyObject
* obj0
= 0 ;
16300 char *kwnames
[] = {
16301 (char *) "self", NULL
16304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
16305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
16306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16309 result
= (arg1
)->CalcMin();
16311 wxPyEndAllowThreads(__tstate
);
16312 if (PyErr_Occurred()) SWIG_fail
;
16315 wxSize
* resultptr
;
16316 resultptr
= new wxSize((wxSize
&) result
);
16317 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16325 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16326 PyObject
*resultobj
;
16327 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
16328 wxNotebook
*result
;
16329 PyObject
* obj0
= 0 ;
16330 char *kwnames
[] = {
16331 (char *) "self", NULL
16334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
16335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
16336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16339 result
= (wxNotebook
*)(arg1
)->GetNotebook();
16341 wxPyEndAllowThreads(__tstate
);
16342 if (PyErr_Occurred()) SWIG_fail
;
16345 resultobj
= wxPyMake_wxObject(result
, 0);
16353 static PyObject
* NotebookSizer_swigregister(PyObject
*, PyObject
*args
) {
16355 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16356 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
16358 return Py_BuildValue((char *)"");
16360 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16361 PyObject
*resultobj
;
16362 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16364 PyObject
* obj0
= 0 ;
16365 char *kwnames
[] = {
16366 (char *) "self", NULL
16369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
16370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16374 result
= (int)(arg1
)->GetId();
16376 wxPyEndAllowThreads(__tstate
);
16377 if (PyErr_Occurred()) SWIG_fail
;
16379 resultobj
= SWIG_From_int((int)result
);
16386 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16387 PyObject
*resultobj
;
16388 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16390 PyObject
* obj0
= 0 ;
16391 char *kwnames
[] = {
16392 (char *) "self", NULL
16395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
16396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16400 result
= (wxControl
*)(arg1
)->GetControl();
16402 wxPyEndAllowThreads(__tstate
);
16403 if (PyErr_Occurred()) SWIG_fail
;
16406 resultobj
= wxPyMake_wxObject(result
, 0);
16414 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16415 PyObject
*resultobj
;
16416 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16417 wxToolBarBase
*result
;
16418 PyObject
* obj0
= 0 ;
16419 char *kwnames
[] = {
16420 (char *) "self", NULL
16423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
16424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16428 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
16430 wxPyEndAllowThreads(__tstate
);
16431 if (PyErr_Occurred()) SWIG_fail
;
16434 resultobj
= wxPyMake_wxObject(result
, 0);
16442 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16443 PyObject
*resultobj
;
16444 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16446 PyObject
* obj0
= 0 ;
16447 char *kwnames
[] = {
16448 (char *) "self", NULL
16451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
16452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16456 result
= (int)(arg1
)->IsButton();
16458 wxPyEndAllowThreads(__tstate
);
16459 if (PyErr_Occurred()) SWIG_fail
;
16461 resultobj
= SWIG_From_int((int)result
);
16468 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16469 PyObject
*resultobj
;
16470 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16472 PyObject
* obj0
= 0 ;
16473 char *kwnames
[] = {
16474 (char *) "self", NULL
16477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
16478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16482 result
= (int)(arg1
)->IsControl();
16484 wxPyEndAllowThreads(__tstate
);
16485 if (PyErr_Occurred()) SWIG_fail
;
16487 resultobj
= SWIG_From_int((int)result
);
16494 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16495 PyObject
*resultobj
;
16496 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16498 PyObject
* obj0
= 0 ;
16499 char *kwnames
[] = {
16500 (char *) "self", NULL
16503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
16504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16508 result
= (int)(arg1
)->IsSeparator();
16510 wxPyEndAllowThreads(__tstate
);
16511 if (PyErr_Occurred()) SWIG_fail
;
16513 resultobj
= SWIG_From_int((int)result
);
16520 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16521 PyObject
*resultobj
;
16522 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16524 PyObject
* obj0
= 0 ;
16525 char *kwnames
[] = {
16526 (char *) "self", NULL
16529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16534 result
= (int)(arg1
)->GetStyle();
16536 wxPyEndAllowThreads(__tstate
);
16537 if (PyErr_Occurred()) SWIG_fail
;
16539 resultobj
= SWIG_From_int((int)result
);
16546 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16547 PyObject
*resultobj
;
16548 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16550 PyObject
* obj0
= 0 ;
16551 char *kwnames
[] = {
16552 (char *) "self", NULL
16555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
16556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16560 result
= (int)(arg1
)->GetKind();
16562 wxPyEndAllowThreads(__tstate
);
16563 if (PyErr_Occurred()) SWIG_fail
;
16565 resultobj
= SWIG_From_int((int)result
);
16572 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16573 PyObject
*resultobj
;
16574 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16576 PyObject
* obj0
= 0 ;
16577 char *kwnames
[] = {
16578 (char *) "self", NULL
16581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
16582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16586 result
= (bool)(arg1
)->IsEnabled();
16588 wxPyEndAllowThreads(__tstate
);
16589 if (PyErr_Occurred()) SWIG_fail
;
16592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16600 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16601 PyObject
*resultobj
;
16602 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16604 PyObject
* obj0
= 0 ;
16605 char *kwnames
[] = {
16606 (char *) "self", NULL
16609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
16610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16614 result
= (bool)(arg1
)->IsToggled();
16616 wxPyEndAllowThreads(__tstate
);
16617 if (PyErr_Occurred()) SWIG_fail
;
16620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16628 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16629 PyObject
*resultobj
;
16630 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16632 PyObject
* obj0
= 0 ;
16633 char *kwnames
[] = {
16634 (char *) "self", NULL
16637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
16638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16642 result
= (bool)(arg1
)->CanBeToggled();
16644 wxPyEndAllowThreads(__tstate
);
16645 if (PyErr_Occurred()) SWIG_fail
;
16648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16656 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16657 PyObject
*resultobj
;
16658 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16660 PyObject
* obj0
= 0 ;
16661 char *kwnames
[] = {
16662 (char *) "self", NULL
16665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
16666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16671 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
16672 result
= (wxBitmap
*) &_result_ref
;
16675 wxPyEndAllowThreads(__tstate
);
16676 if (PyErr_Occurred()) SWIG_fail
;
16679 wxBitmap
* resultptr
= new wxBitmap(*result
);
16680 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16688 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16689 PyObject
*resultobj
;
16690 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16692 PyObject
* obj0
= 0 ;
16693 char *kwnames
[] = {
16694 (char *) "self", NULL
16697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
16698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16703 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
16704 result
= (wxBitmap
*) &_result_ref
;
16707 wxPyEndAllowThreads(__tstate
);
16708 if (PyErr_Occurred()) SWIG_fail
;
16711 wxBitmap
* resultptr
= new wxBitmap(*result
);
16712 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16720 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16721 PyObject
*resultobj
;
16722 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16724 PyObject
* obj0
= 0 ;
16725 char *kwnames
[] = {
16726 (char *) "self", NULL
16729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
16730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16734 result
= (arg1
)->GetBitmap();
16736 wxPyEndAllowThreads(__tstate
);
16737 if (PyErr_Occurred()) SWIG_fail
;
16740 wxBitmap
* resultptr
;
16741 resultptr
= new wxBitmap((wxBitmap
&) result
);
16742 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16750 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16751 PyObject
*resultobj
;
16752 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16754 PyObject
* obj0
= 0 ;
16755 char *kwnames
[] = {
16756 (char *) "self", NULL
16759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
16760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16764 result
= (arg1
)->GetLabel();
16766 wxPyEndAllowThreads(__tstate
);
16767 if (PyErr_Occurred()) SWIG_fail
;
16771 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16773 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16782 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16783 PyObject
*resultobj
;
16784 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16786 PyObject
* obj0
= 0 ;
16787 char *kwnames
[] = {
16788 (char *) "self", NULL
16791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
16792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16796 result
= (arg1
)->GetShortHelp();
16798 wxPyEndAllowThreads(__tstate
);
16799 if (PyErr_Occurred()) SWIG_fail
;
16803 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16805 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16814 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16815 PyObject
*resultobj
;
16816 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16818 PyObject
* obj0
= 0 ;
16819 char *kwnames
[] = {
16820 (char *) "self", NULL
16823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
16824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16828 result
= (arg1
)->GetLongHelp();
16830 wxPyEndAllowThreads(__tstate
);
16831 if (PyErr_Occurred()) SWIG_fail
;
16835 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16837 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16846 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16847 PyObject
*resultobj
;
16848 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16851 PyObject
* obj0
= 0 ;
16852 PyObject
* obj1
= 0 ;
16853 char *kwnames
[] = {
16854 (char *) "self",(char *) "enable", NULL
16857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
16858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16860 arg2
= (bool)SWIG_As_bool(obj1
);
16861 if (PyErr_Occurred()) SWIG_fail
;
16863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16864 result
= (bool)(arg1
)->Enable(arg2
);
16866 wxPyEndAllowThreads(__tstate
);
16867 if (PyErr_Occurred()) SWIG_fail
;
16870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16878 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16879 PyObject
*resultobj
;
16880 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16881 PyObject
* obj0
= 0 ;
16882 char *kwnames
[] = {
16883 (char *) "self", NULL
16886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
16887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16893 wxPyEndAllowThreads(__tstate
);
16894 if (PyErr_Occurred()) SWIG_fail
;
16896 Py_INCREF(Py_None
); resultobj
= Py_None
;
16903 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16904 PyObject
*resultobj
;
16905 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16908 PyObject
* obj0
= 0 ;
16909 PyObject
* obj1
= 0 ;
16910 char *kwnames
[] = {
16911 (char *) "self",(char *) "toggle", NULL
16914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
16915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16917 arg2
= (bool)SWIG_As_bool(obj1
);
16918 if (PyErr_Occurred()) SWIG_fail
;
16920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16921 result
= (bool)(arg1
)->SetToggle(arg2
);
16923 wxPyEndAllowThreads(__tstate
);
16924 if (PyErr_Occurred()) SWIG_fail
;
16927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16935 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16936 PyObject
*resultobj
;
16937 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16938 wxString
*arg2
= 0 ;
16940 bool temp2
= false ;
16941 PyObject
* obj0
= 0 ;
16942 PyObject
* obj1
= 0 ;
16943 char *kwnames
[] = {
16944 (char *) "self",(char *) "help", NULL
16947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16951 arg2
= wxString_in_helper(obj1
);
16952 if (arg2
== NULL
) SWIG_fail
;
16956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16957 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
16959 wxPyEndAllowThreads(__tstate
);
16960 if (PyErr_Occurred()) SWIG_fail
;
16963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16979 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16980 PyObject
*resultobj
;
16981 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16982 wxString
*arg2
= 0 ;
16984 bool temp2
= false ;
16985 PyObject
* obj0
= 0 ;
16986 PyObject
* obj1
= 0 ;
16987 char *kwnames
[] = {
16988 (char *) "self",(char *) "help", NULL
16991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16995 arg2
= wxString_in_helper(obj1
);
16996 if (arg2
== NULL
) SWIG_fail
;
17000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17001 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
17003 wxPyEndAllowThreads(__tstate
);
17004 if (PyErr_Occurred()) SWIG_fail
;
17007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17023 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17024 PyObject
*resultobj
;
17025 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17026 wxBitmap
*arg2
= 0 ;
17027 PyObject
* obj0
= 0 ;
17028 PyObject
* obj1
= 0 ;
17029 char *kwnames
[] = {
17030 (char *) "self",(char *) "bmp", NULL
17033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
17034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17036 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
17037 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17039 if (arg2
== NULL
) {
17040 PyErr_SetString(PyExc_TypeError
,"null reference");
17044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17045 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
17047 wxPyEndAllowThreads(__tstate
);
17048 if (PyErr_Occurred()) SWIG_fail
;
17050 Py_INCREF(Py_None
); resultobj
= Py_None
;
17057 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17058 PyObject
*resultobj
;
17059 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17060 wxBitmap
*arg2
= 0 ;
17061 PyObject
* obj0
= 0 ;
17062 PyObject
* obj1
= 0 ;
17063 char *kwnames
[] = {
17064 (char *) "self",(char *) "bmp", NULL
17067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
17068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17070 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
17071 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17073 if (arg2
== NULL
) {
17074 PyErr_SetString(PyExc_TypeError
,"null reference");
17078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17079 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
17081 wxPyEndAllowThreads(__tstate
);
17082 if (PyErr_Occurred()) SWIG_fail
;
17084 Py_INCREF(Py_None
); resultobj
= Py_None
;
17091 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17092 PyObject
*resultobj
;
17093 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17094 wxString
*arg2
= 0 ;
17095 bool temp2
= false ;
17096 PyObject
* obj0
= 0 ;
17097 PyObject
* obj1
= 0 ;
17098 char *kwnames
[] = {
17099 (char *) "self",(char *) "label", NULL
17102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
17103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17106 arg2
= wxString_in_helper(obj1
);
17107 if (arg2
== NULL
) SWIG_fail
;
17111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17112 (arg1
)->SetLabel((wxString
const &)*arg2
);
17114 wxPyEndAllowThreads(__tstate
);
17115 if (PyErr_Occurred()) SWIG_fail
;
17117 Py_INCREF(Py_None
); resultobj
= Py_None
;
17132 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17133 PyObject
*resultobj
;
17134 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17135 PyObject
* obj0
= 0 ;
17136 char *kwnames
[] = {
17137 (char *) "self", NULL
17140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
17141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17147 wxPyEndAllowThreads(__tstate
);
17148 if (PyErr_Occurred()) SWIG_fail
;
17150 Py_INCREF(Py_None
); resultobj
= Py_None
;
17157 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17158 PyObject
*resultobj
;
17159 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17160 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
17161 PyObject
* obj0
= 0 ;
17162 PyObject
* obj1
= 0 ;
17163 char *kwnames
[] = {
17164 (char *) "self",(char *) "tbar", NULL
17167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
17168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17170 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
,
17171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17174 (arg1
)->Attach(arg2
);
17176 wxPyEndAllowThreads(__tstate
);
17177 if (PyErr_Occurred()) SWIG_fail
;
17179 Py_INCREF(Py_None
); resultobj
= Py_None
;
17186 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17187 PyObject
*resultobj
;
17188 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17190 PyObject
* obj0
= 0 ;
17191 char *kwnames
[] = {
17192 (char *) "self", NULL
17195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
17196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17200 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
17202 wxPyEndAllowThreads(__tstate
);
17203 if (PyErr_Occurred()) SWIG_fail
;
17205 resultobj
= result
;
17212 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17213 PyObject
*resultobj
;
17214 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17215 PyObject
*arg2
= (PyObject
*) 0 ;
17216 PyObject
* obj0
= 0 ;
17217 PyObject
* obj1
= 0 ;
17218 char *kwnames
[] = {
17219 (char *) "self",(char *) "clientData", NULL
17222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
17223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17228 wxToolBarToolBase_SetClientData(arg1
,arg2
);
17230 wxPyEndAllowThreads(__tstate
);
17231 if (PyErr_Occurred()) SWIG_fail
;
17233 Py_INCREF(Py_None
); resultobj
= Py_None
;
17240 static PyObject
* ToolBarToolBase_swigregister(PyObject
*, PyObject
*args
) {
17242 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17243 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
17245 return Py_BuildValue((char *)"");
17247 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17248 PyObject
*resultobj
;
17249 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17251 wxString
*arg3
= 0 ;
17252 wxBitmap
*arg4
= 0 ;
17253 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
17254 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
17255 int arg6
= (int) wxITEM_NORMAL
;
17256 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17257 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17258 wxString
const &arg8_defvalue
= wxPyEmptyString
;
17259 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17260 PyObject
*arg9
= (PyObject
*) NULL
;
17261 wxToolBarToolBase
*result
;
17262 bool temp3
= false ;
17263 bool temp7
= false ;
17264 bool temp8
= false ;
17265 PyObject
* obj0
= 0 ;
17266 PyObject
* obj1
= 0 ;
17267 PyObject
* obj2
= 0 ;
17268 PyObject
* obj3
= 0 ;
17269 PyObject
* obj4
= 0 ;
17270 PyObject
* obj5
= 0 ;
17271 PyObject
* obj6
= 0 ;
17272 PyObject
* obj7
= 0 ;
17273 PyObject
* obj8
= 0 ;
17274 char *kwnames
[] = {
17275 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
17278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
17279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17281 arg2
= (int)SWIG_As_int(obj1
);
17282 if (PyErr_Occurred()) SWIG_fail
;
17284 arg3
= wxString_in_helper(obj2
);
17285 if (arg3
== NULL
) SWIG_fail
;
17288 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
17289 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17291 if (arg4
== NULL
) {
17292 PyErr_SetString(PyExc_TypeError
,"null reference");
17296 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
17297 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17299 if (arg5
== NULL
) {
17300 PyErr_SetString(PyExc_TypeError
,"null reference");
17305 arg6
= (int)SWIG_As_int(obj5
);
17306 if (PyErr_Occurred()) SWIG_fail
;
17310 arg7
= wxString_in_helper(obj6
);
17311 if (arg7
== NULL
) SWIG_fail
;
17317 arg8
= wxString_in_helper(obj7
);
17318 if (arg8
== NULL
) SWIG_fail
;
17326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17327 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
17329 wxPyEndAllowThreads(__tstate
);
17330 if (PyErr_Occurred()) SWIG_fail
;
17333 resultobj
= wxPyMake_wxObject(result
, 0);
17365 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17366 PyObject
*resultobj
;
17367 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17370 wxString
*arg4
= 0 ;
17371 wxBitmap
*arg5
= 0 ;
17372 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
17373 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
17374 int arg7
= (int) wxITEM_NORMAL
;
17375 wxString
const &arg8_defvalue
= wxPyEmptyString
;
17376 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17377 wxString
const &arg9_defvalue
= wxPyEmptyString
;
17378 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17379 PyObject
*arg10
= (PyObject
*) NULL
;
17380 wxToolBarToolBase
*result
;
17381 bool temp4
= false ;
17382 bool temp8
= false ;
17383 bool temp9
= false ;
17384 PyObject
* obj0
= 0 ;
17385 PyObject
* obj1
= 0 ;
17386 PyObject
* obj2
= 0 ;
17387 PyObject
* obj3
= 0 ;
17388 PyObject
* obj4
= 0 ;
17389 PyObject
* obj5
= 0 ;
17390 PyObject
* obj6
= 0 ;
17391 PyObject
* obj7
= 0 ;
17392 PyObject
* obj8
= 0 ;
17393 PyObject
* obj9
= 0 ;
17394 char *kwnames
[] = {
17395 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
17398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
17399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17401 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17402 if (PyErr_Occurred()) SWIG_fail
;
17403 arg3
= (int)SWIG_As_int(obj2
);
17404 if (PyErr_Occurred()) SWIG_fail
;
17406 arg4
= wxString_in_helper(obj3
);
17407 if (arg4
== NULL
) SWIG_fail
;
17410 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
17411 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17413 if (arg5
== NULL
) {
17414 PyErr_SetString(PyExc_TypeError
,"null reference");
17418 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
,
17419 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17421 if (arg6
== NULL
) {
17422 PyErr_SetString(PyExc_TypeError
,"null reference");
17427 arg7
= (int)SWIG_As_int(obj6
);
17428 if (PyErr_Occurred()) SWIG_fail
;
17432 arg8
= wxString_in_helper(obj7
);
17433 if (arg8
== NULL
) SWIG_fail
;
17439 arg9
= wxString_in_helper(obj8
);
17440 if (arg9
== NULL
) SWIG_fail
;
17448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17449 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
);
17451 wxPyEndAllowThreads(__tstate
);
17452 if (PyErr_Occurred()) SWIG_fail
;
17455 resultobj
= wxPyMake_wxObject(result
, 0);
17487 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17488 PyObject
*resultobj
;
17489 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17490 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
17491 wxToolBarToolBase
*result
;
17492 PyObject
* obj0
= 0 ;
17493 PyObject
* obj1
= 0 ;
17494 char *kwnames
[] = {
17495 (char *) "self",(char *) "tool", NULL
17498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
17499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17501 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
,
17502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17505 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
17507 wxPyEndAllowThreads(__tstate
);
17508 if (PyErr_Occurred()) SWIG_fail
;
17511 resultobj
= wxPyMake_wxObject(result
, 0);
17519 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17520 PyObject
*resultobj
;
17521 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17523 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
17524 wxToolBarToolBase
*result
;
17525 PyObject
* obj0
= 0 ;
17526 PyObject
* obj1
= 0 ;
17527 PyObject
* obj2
= 0 ;
17528 char *kwnames
[] = {
17529 (char *) "self",(char *) "pos",(char *) "tool", NULL
17532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17535 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17536 if (PyErr_Occurred()) SWIG_fail
;
17537 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
,
17538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17541 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
17543 wxPyEndAllowThreads(__tstate
);
17544 if (PyErr_Occurred()) SWIG_fail
;
17547 resultobj
= wxPyMake_wxObject(result
, 0);
17555 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17556 PyObject
*resultobj
;
17557 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17558 wxControl
*arg2
= (wxControl
*) 0 ;
17559 wxToolBarToolBase
*result
;
17560 PyObject
* obj0
= 0 ;
17561 PyObject
* obj1
= 0 ;
17562 char *kwnames
[] = {
17563 (char *) "self",(char *) "control", NULL
17566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17569 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
17570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17573 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
17575 wxPyEndAllowThreads(__tstate
);
17576 if (PyErr_Occurred()) SWIG_fail
;
17579 resultobj
= wxPyMake_wxObject(result
, 0);
17587 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17588 PyObject
*resultobj
;
17589 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17591 wxControl
*arg3
= (wxControl
*) 0 ;
17592 wxToolBarToolBase
*result
;
17593 PyObject
* obj0
= 0 ;
17594 PyObject
* obj1
= 0 ;
17595 PyObject
* obj2
= 0 ;
17596 char *kwnames
[] = {
17597 (char *) "self",(char *) "pos",(char *) "control", NULL
17600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17603 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17604 if (PyErr_Occurred()) SWIG_fail
;
17605 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
,
17606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17609 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
17611 wxPyEndAllowThreads(__tstate
);
17612 if (PyErr_Occurred()) SWIG_fail
;
17615 resultobj
= wxPyMake_wxObject(result
, 0);
17623 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17624 PyObject
*resultobj
;
17625 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17628 PyObject
* obj0
= 0 ;
17629 PyObject
* obj1
= 0 ;
17630 char *kwnames
[] = {
17631 (char *) "self",(char *) "id", NULL
17634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17637 arg2
= (int)SWIG_As_int(obj1
);
17638 if (PyErr_Occurred()) SWIG_fail
;
17640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17641 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
17643 wxPyEndAllowThreads(__tstate
);
17644 if (PyErr_Occurred()) SWIG_fail
;
17647 resultobj
= wxPyMake_wxObject(result
, 0);
17655 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17656 PyObject
*resultobj
;
17657 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17658 wxToolBarToolBase
*result
;
17659 PyObject
* obj0
= 0 ;
17660 char *kwnames
[] = {
17661 (char *) "self", NULL
17664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
17665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17669 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
17671 wxPyEndAllowThreads(__tstate
);
17672 if (PyErr_Occurred()) SWIG_fail
;
17675 resultobj
= wxPyMake_wxObject(result
, 0);
17683 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17684 PyObject
*resultobj
;
17685 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17687 wxToolBarToolBase
*result
;
17688 PyObject
* obj0
= 0 ;
17689 PyObject
* obj1
= 0 ;
17690 char *kwnames
[] = {
17691 (char *) "self",(char *) "pos", NULL
17694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
17695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17697 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17698 if (PyErr_Occurred()) SWIG_fail
;
17700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17701 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
17703 wxPyEndAllowThreads(__tstate
);
17704 if (PyErr_Occurred()) SWIG_fail
;
17707 resultobj
= wxPyMake_wxObject(result
, 0);
17715 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17716 PyObject
*resultobj
;
17717 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17719 wxToolBarToolBase
*result
;
17720 PyObject
* obj0
= 0 ;
17721 PyObject
* obj1
= 0 ;
17722 char *kwnames
[] = {
17723 (char *) "self",(char *) "id", NULL
17726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17729 arg2
= (int)SWIG_As_int(obj1
);
17730 if (PyErr_Occurred()) SWIG_fail
;
17732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17733 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
17735 wxPyEndAllowThreads(__tstate
);
17736 if (PyErr_Occurred()) SWIG_fail
;
17739 resultobj
= wxPyMake_wxObject(result
, 0);
17747 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17748 PyObject
*resultobj
;
17749 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17752 PyObject
* obj0
= 0 ;
17753 PyObject
* obj1
= 0 ;
17754 char *kwnames
[] = {
17755 (char *) "self",(char *) "pos", NULL
17758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17761 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17762 if (PyErr_Occurred()) SWIG_fail
;
17764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17765 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
17767 wxPyEndAllowThreads(__tstate
);
17768 if (PyErr_Occurred()) SWIG_fail
;
17771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17779 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17780 PyObject
*resultobj
;
17781 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17784 PyObject
* obj0
= 0 ;
17785 PyObject
* obj1
= 0 ;
17786 char *kwnames
[] = {
17787 (char *) "self",(char *) "id", NULL
17790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17793 arg2
= (int)SWIG_As_int(obj1
);
17794 if (PyErr_Occurred()) SWIG_fail
;
17796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17797 result
= (bool)(arg1
)->DeleteTool(arg2
);
17799 wxPyEndAllowThreads(__tstate
);
17800 if (PyErr_Occurred()) SWIG_fail
;
17803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17811 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17812 PyObject
*resultobj
;
17813 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17814 PyObject
* obj0
= 0 ;
17815 char *kwnames
[] = {
17816 (char *) "self", NULL
17819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
17820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17824 (arg1
)->ClearTools();
17826 wxPyEndAllowThreads(__tstate
);
17827 if (PyErr_Occurred()) SWIG_fail
;
17829 Py_INCREF(Py_None
); resultobj
= Py_None
;
17836 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17837 PyObject
*resultobj
;
17838 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17840 PyObject
* obj0
= 0 ;
17841 char *kwnames
[] = {
17842 (char *) "self", NULL
17845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
17846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17850 result
= (bool)(arg1
)->Realize();
17852 wxPyEndAllowThreads(__tstate
);
17853 if (PyErr_Occurred()) SWIG_fail
;
17856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17864 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17865 PyObject
*resultobj
;
17866 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17869 PyObject
* obj0
= 0 ;
17870 PyObject
* obj1
= 0 ;
17871 PyObject
* obj2
= 0 ;
17872 char *kwnames
[] = {
17873 (char *) "self",(char *) "id",(char *) "enable", NULL
17876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17879 arg2
= (int)SWIG_As_int(obj1
);
17880 if (PyErr_Occurred()) SWIG_fail
;
17881 arg3
= (bool)SWIG_As_bool(obj2
);
17882 if (PyErr_Occurred()) SWIG_fail
;
17884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17885 (arg1
)->EnableTool(arg2
,arg3
);
17887 wxPyEndAllowThreads(__tstate
);
17888 if (PyErr_Occurred()) SWIG_fail
;
17890 Py_INCREF(Py_None
); resultobj
= Py_None
;
17897 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17898 PyObject
*resultobj
;
17899 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17902 PyObject
* obj0
= 0 ;
17903 PyObject
* obj1
= 0 ;
17904 PyObject
* obj2
= 0 ;
17905 char *kwnames
[] = {
17906 (char *) "self",(char *) "id",(char *) "toggle", NULL
17909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17912 arg2
= (int)SWIG_As_int(obj1
);
17913 if (PyErr_Occurred()) SWIG_fail
;
17914 arg3
= (bool)SWIG_As_bool(obj2
);
17915 if (PyErr_Occurred()) SWIG_fail
;
17917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17918 (arg1
)->ToggleTool(arg2
,arg3
);
17920 wxPyEndAllowThreads(__tstate
);
17921 if (PyErr_Occurred()) SWIG_fail
;
17923 Py_INCREF(Py_None
); resultobj
= Py_None
;
17930 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17931 PyObject
*resultobj
;
17932 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17935 PyObject
* obj0
= 0 ;
17936 PyObject
* obj1
= 0 ;
17937 PyObject
* obj2
= 0 ;
17938 char *kwnames
[] = {
17939 (char *) "self",(char *) "id",(char *) "toggle", NULL
17942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17945 arg2
= (int)SWIG_As_int(obj1
);
17946 if (PyErr_Occurred()) SWIG_fail
;
17947 arg3
= (bool)SWIG_As_bool(obj2
);
17948 if (PyErr_Occurred()) SWIG_fail
;
17950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17951 (arg1
)->SetToggle(arg2
,arg3
);
17953 wxPyEndAllowThreads(__tstate
);
17954 if (PyErr_Occurred()) SWIG_fail
;
17956 Py_INCREF(Py_None
); resultobj
= Py_None
;
17963 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17964 PyObject
*resultobj
;
17965 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17968 PyObject
* obj0
= 0 ;
17969 PyObject
* obj1
= 0 ;
17970 char *kwnames
[] = {
17971 (char *) "self",(char *) "id", NULL
17974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
17975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17977 arg2
= (int)SWIG_As_int(obj1
);
17978 if (PyErr_Occurred()) SWIG_fail
;
17980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17981 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
17983 wxPyEndAllowThreads(__tstate
);
17984 if (PyErr_Occurred()) SWIG_fail
;
17986 resultobj
= result
;
17993 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17994 PyObject
*resultobj
;
17995 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17997 PyObject
*arg3
= (PyObject
*) 0 ;
17998 PyObject
* obj0
= 0 ;
17999 PyObject
* obj1
= 0 ;
18000 PyObject
* obj2
= 0 ;
18001 char *kwnames
[] = {
18002 (char *) "self",(char *) "id",(char *) "clientData", NULL
18005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18008 arg2
= (int)SWIG_As_int(obj1
);
18009 if (PyErr_Occurred()) SWIG_fail
;
18012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18013 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
18015 wxPyEndAllowThreads(__tstate
);
18016 if (PyErr_Occurred()) SWIG_fail
;
18018 Py_INCREF(Py_None
); resultobj
= Py_None
;
18025 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18026 PyObject
*resultobj
;
18027 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18030 PyObject
* obj0
= 0 ;
18031 PyObject
* obj1
= 0 ;
18032 char *kwnames
[] = {
18033 (char *) "self",(char *) "id", NULL
18036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
18037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18039 arg2
= (int)SWIG_As_int(obj1
);
18040 if (PyErr_Occurred()) SWIG_fail
;
18042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18043 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
18045 wxPyEndAllowThreads(__tstate
);
18046 if (PyErr_Occurred()) SWIG_fail
;
18048 resultobj
= SWIG_From_int((int)result
);
18055 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18056 PyObject
*resultobj
;
18057 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18060 PyObject
* obj0
= 0 ;
18061 PyObject
* obj1
= 0 ;
18062 char *kwnames
[] = {
18063 (char *) "self",(char *) "id", NULL
18066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
18067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18069 arg2
= (int)SWIG_As_int(obj1
);
18070 if (PyErr_Occurred()) SWIG_fail
;
18072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18073 result
= (bool)(arg1
)->GetToolState(arg2
);
18075 wxPyEndAllowThreads(__tstate
);
18076 if (PyErr_Occurred()) SWIG_fail
;
18079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18087 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18088 PyObject
*resultobj
;
18089 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18092 PyObject
* obj0
= 0 ;
18093 PyObject
* obj1
= 0 ;
18094 char *kwnames
[] = {
18095 (char *) "self",(char *) "id", NULL
18098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
18099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18101 arg2
= (int)SWIG_As_int(obj1
);
18102 if (PyErr_Occurred()) SWIG_fail
;
18104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18105 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
18107 wxPyEndAllowThreads(__tstate
);
18108 if (PyErr_Occurred()) SWIG_fail
;
18111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18119 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18120 PyObject
*resultobj
;
18121 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18123 wxString
*arg3
= 0 ;
18124 bool temp3
= false ;
18125 PyObject
* obj0
= 0 ;
18126 PyObject
* obj1
= 0 ;
18127 PyObject
* obj2
= 0 ;
18128 char *kwnames
[] = {
18129 (char *) "self",(char *) "id",(char *) "helpString", NULL
18132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18135 arg2
= (int)SWIG_As_int(obj1
);
18136 if (PyErr_Occurred()) SWIG_fail
;
18138 arg3
= wxString_in_helper(obj2
);
18139 if (arg3
== NULL
) SWIG_fail
;
18143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18144 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
18146 wxPyEndAllowThreads(__tstate
);
18147 if (PyErr_Occurred()) SWIG_fail
;
18149 Py_INCREF(Py_None
); resultobj
= Py_None
;
18164 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18165 PyObject
*resultobj
;
18166 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18169 PyObject
* obj0
= 0 ;
18170 PyObject
* obj1
= 0 ;
18171 char *kwnames
[] = {
18172 (char *) "self",(char *) "id", NULL
18175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
18176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18178 arg2
= (int)SWIG_As_int(obj1
);
18179 if (PyErr_Occurred()) SWIG_fail
;
18181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18182 result
= (arg1
)->GetToolShortHelp(arg2
);
18184 wxPyEndAllowThreads(__tstate
);
18185 if (PyErr_Occurred()) SWIG_fail
;
18189 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18191 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18200 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18201 PyObject
*resultobj
;
18202 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18204 wxString
*arg3
= 0 ;
18205 bool temp3
= false ;
18206 PyObject
* obj0
= 0 ;
18207 PyObject
* obj1
= 0 ;
18208 PyObject
* obj2
= 0 ;
18209 char *kwnames
[] = {
18210 (char *) "self",(char *) "id",(char *) "helpString", NULL
18213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",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
;
18219 arg3
= wxString_in_helper(obj2
);
18220 if (arg3
== NULL
) SWIG_fail
;
18224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18225 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
18227 wxPyEndAllowThreads(__tstate
);
18228 if (PyErr_Occurred()) SWIG_fail
;
18230 Py_INCREF(Py_None
); resultobj
= Py_None
;
18245 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18246 PyObject
*resultobj
;
18247 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18250 PyObject
* obj0
= 0 ;
18251 PyObject
* obj1
= 0 ;
18252 char *kwnames
[] = {
18253 (char *) "self",(char *) "id", NULL
18256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
18257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18259 arg2
= (int)SWIG_As_int(obj1
);
18260 if (PyErr_Occurred()) SWIG_fail
;
18262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18263 result
= (arg1
)->GetToolLongHelp(arg2
);
18265 wxPyEndAllowThreads(__tstate
);
18266 if (PyErr_Occurred()) SWIG_fail
;
18270 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18272 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18281 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18282 PyObject
*resultobj
;
18283 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18286 PyObject
* obj0
= 0 ;
18287 PyObject
* obj1
= 0 ;
18288 PyObject
* obj2
= 0 ;
18289 char *kwnames
[] = {
18290 (char *) "self",(char *) "x",(char *) "y", NULL
18293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18296 arg2
= (int)SWIG_As_int(obj1
);
18297 if (PyErr_Occurred()) SWIG_fail
;
18298 arg3
= (int)SWIG_As_int(obj2
);
18299 if (PyErr_Occurred()) SWIG_fail
;
18301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18302 (arg1
)->SetMargins(arg2
,arg3
);
18304 wxPyEndAllowThreads(__tstate
);
18305 if (PyErr_Occurred()) SWIG_fail
;
18307 Py_INCREF(Py_None
); resultobj
= Py_None
;
18314 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18315 PyObject
*resultobj
;
18316 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18319 PyObject
* obj0
= 0 ;
18320 PyObject
* obj1
= 0 ;
18321 char *kwnames
[] = {
18322 (char *) "self",(char *) "size", NULL
18325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
18326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18330 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18334 (arg1
)->SetMargins((wxSize
const &)*arg2
);
18336 wxPyEndAllowThreads(__tstate
);
18337 if (PyErr_Occurred()) SWIG_fail
;
18339 Py_INCREF(Py_None
); resultobj
= Py_None
;
18346 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18347 PyObject
*resultobj
;
18348 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18350 PyObject
* obj0
= 0 ;
18351 PyObject
* obj1
= 0 ;
18352 char *kwnames
[] = {
18353 (char *) "self",(char *) "packing", NULL
18356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
18357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18359 arg2
= (int)SWIG_As_int(obj1
);
18360 if (PyErr_Occurred()) SWIG_fail
;
18362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18363 (arg1
)->SetToolPacking(arg2
);
18365 wxPyEndAllowThreads(__tstate
);
18366 if (PyErr_Occurred()) SWIG_fail
;
18368 Py_INCREF(Py_None
); resultobj
= Py_None
;
18375 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18376 PyObject
*resultobj
;
18377 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18379 PyObject
* obj0
= 0 ;
18380 PyObject
* obj1
= 0 ;
18381 char *kwnames
[] = {
18382 (char *) "self",(char *) "separation", NULL
18385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
18386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18388 arg2
= (int)SWIG_As_int(obj1
);
18389 if (PyErr_Occurred()) SWIG_fail
;
18391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18392 (arg1
)->SetToolSeparation(arg2
);
18394 wxPyEndAllowThreads(__tstate
);
18395 if (PyErr_Occurred()) SWIG_fail
;
18397 Py_INCREF(Py_None
); resultobj
= Py_None
;
18404 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18405 PyObject
*resultobj
;
18406 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18408 PyObject
* obj0
= 0 ;
18409 char *kwnames
[] = {
18410 (char *) "self", NULL
18413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
18414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18418 result
= (arg1
)->GetToolMargins();
18420 wxPyEndAllowThreads(__tstate
);
18421 if (PyErr_Occurred()) SWIG_fail
;
18424 wxSize
* resultptr
;
18425 resultptr
= new wxSize((wxSize
&) result
);
18426 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18434 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18435 PyObject
*resultobj
;
18436 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18438 PyObject
* obj0
= 0 ;
18439 char *kwnames
[] = {
18440 (char *) "self", NULL
18443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
18444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18448 result
= (arg1
)->GetMargins();
18450 wxPyEndAllowThreads(__tstate
);
18451 if (PyErr_Occurred()) SWIG_fail
;
18454 wxSize
* resultptr
;
18455 resultptr
= new wxSize((wxSize
&) result
);
18456 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18464 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18465 PyObject
*resultobj
;
18466 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18468 PyObject
* obj0
= 0 ;
18469 char *kwnames
[] = {
18470 (char *) "self", NULL
18473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
18474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18478 result
= (int)(arg1
)->GetToolPacking();
18480 wxPyEndAllowThreads(__tstate
);
18481 if (PyErr_Occurred()) SWIG_fail
;
18483 resultobj
= SWIG_From_int((int)result
);
18490 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18491 PyObject
*resultobj
;
18492 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18494 PyObject
* obj0
= 0 ;
18495 char *kwnames
[] = {
18496 (char *) "self", NULL
18499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
18500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18504 result
= (int)(arg1
)->GetToolSeparation();
18506 wxPyEndAllowThreads(__tstate
);
18507 if (PyErr_Occurred()) SWIG_fail
;
18509 resultobj
= SWIG_From_int((int)result
);
18516 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18517 PyObject
*resultobj
;
18518 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18520 PyObject
* obj0
= 0 ;
18521 PyObject
* obj1
= 0 ;
18522 char *kwnames
[] = {
18523 (char *) "self",(char *) "nRows", NULL
18526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
18527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18529 arg2
= (int)SWIG_As_int(obj1
);
18530 if (PyErr_Occurred()) SWIG_fail
;
18532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18533 (arg1
)->SetRows(arg2
);
18535 wxPyEndAllowThreads(__tstate
);
18536 if (PyErr_Occurred()) SWIG_fail
;
18538 Py_INCREF(Py_None
); resultobj
= Py_None
;
18545 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18546 PyObject
*resultobj
;
18547 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18550 PyObject
* obj0
= 0 ;
18551 PyObject
* obj1
= 0 ;
18552 PyObject
* obj2
= 0 ;
18553 char *kwnames
[] = {
18554 (char *) "self",(char *) "rows",(char *) "cols", NULL
18557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18560 arg2
= (int)SWIG_As_int(obj1
);
18561 if (PyErr_Occurred()) SWIG_fail
;
18562 arg3
= (int)SWIG_As_int(obj2
);
18563 if (PyErr_Occurred()) SWIG_fail
;
18565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18566 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
18568 wxPyEndAllowThreads(__tstate
);
18569 if (PyErr_Occurred()) SWIG_fail
;
18571 Py_INCREF(Py_None
); resultobj
= Py_None
;
18578 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18579 PyObject
*resultobj
;
18580 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18582 PyObject
* obj0
= 0 ;
18583 char *kwnames
[] = {
18584 (char *) "self", NULL
18587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
18588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18592 result
= (int)(arg1
)->GetMaxRows();
18594 wxPyEndAllowThreads(__tstate
);
18595 if (PyErr_Occurred()) SWIG_fail
;
18597 resultobj
= SWIG_From_int((int)result
);
18604 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18605 PyObject
*resultobj
;
18606 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18608 PyObject
* obj0
= 0 ;
18609 char *kwnames
[] = {
18610 (char *) "self", NULL
18613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
18614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18618 result
= (int)(arg1
)->GetMaxCols();
18620 wxPyEndAllowThreads(__tstate
);
18621 if (PyErr_Occurred()) SWIG_fail
;
18623 resultobj
= SWIG_From_int((int)result
);
18630 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18631 PyObject
*resultobj
;
18632 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18635 PyObject
* obj0
= 0 ;
18636 PyObject
* obj1
= 0 ;
18637 char *kwnames
[] = {
18638 (char *) "self",(char *) "size", NULL
18641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18646 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18650 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
18652 wxPyEndAllowThreads(__tstate
);
18653 if (PyErr_Occurred()) SWIG_fail
;
18655 Py_INCREF(Py_None
); resultobj
= Py_None
;
18662 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18663 PyObject
*resultobj
;
18664 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18666 PyObject
* obj0
= 0 ;
18667 char *kwnames
[] = {
18668 (char *) "self", NULL
18671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
18672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18676 result
= (arg1
)->GetToolBitmapSize();
18678 wxPyEndAllowThreads(__tstate
);
18679 if (PyErr_Occurred()) SWIG_fail
;
18682 wxSize
* resultptr
;
18683 resultptr
= new wxSize((wxSize
&) result
);
18684 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18692 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18693 PyObject
*resultobj
;
18694 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18696 PyObject
* obj0
= 0 ;
18697 char *kwnames
[] = {
18698 (char *) "self", NULL
18701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
18702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18706 result
= (arg1
)->GetToolSize();
18708 wxPyEndAllowThreads(__tstate
);
18709 if (PyErr_Occurred()) SWIG_fail
;
18712 wxSize
* resultptr
;
18713 resultptr
= new wxSize((wxSize
&) result
);
18714 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18722 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18723 PyObject
*resultobj
;
18724 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18727 wxToolBarToolBase
*result
;
18728 PyObject
* obj0
= 0 ;
18729 PyObject
* obj1
= 0 ;
18730 PyObject
* obj2
= 0 ;
18731 char *kwnames
[] = {
18732 (char *) "self",(char *) "x",(char *) "y", NULL
18735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18738 arg2
= (int)SWIG_As_int(obj1
);
18739 if (PyErr_Occurred()) SWIG_fail
;
18740 arg3
= (int)SWIG_As_int(obj2
);
18741 if (PyErr_Occurred()) SWIG_fail
;
18743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18744 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18746 wxPyEndAllowThreads(__tstate
);
18747 if (PyErr_Occurred()) SWIG_fail
;
18750 resultobj
= wxPyMake_wxObject(result
, 0);
18758 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18759 PyObject
*resultobj
;
18760 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18762 wxToolBarToolBase
*result
;
18763 PyObject
* obj0
= 0 ;
18764 PyObject
* obj1
= 0 ;
18765 char *kwnames
[] = {
18766 (char *) "self",(char *) "toolid", NULL
18769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
18770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18772 arg2
= (int)SWIG_As_int(obj1
);
18773 if (PyErr_Occurred()) SWIG_fail
;
18775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18776 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
18778 wxPyEndAllowThreads(__tstate
);
18779 if (PyErr_Occurred()) SWIG_fail
;
18782 resultobj
= wxPyMake_wxObject(result
, 0);
18790 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18791 PyObject
*resultobj
;
18792 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18794 PyObject
* obj0
= 0 ;
18795 char *kwnames
[] = {
18796 (char *) "self", NULL
18799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
18800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18804 result
= (bool)(arg1
)->IsVertical();
18806 wxPyEndAllowThreads(__tstate
);
18807 if (PyErr_Occurred()) SWIG_fail
;
18810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18818 static PyObject
* ToolBarBase_swigregister(PyObject
*, PyObject
*args
) {
18820 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18821 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
18823 return Py_BuildValue((char *)"");
18825 static PyObject
*_wrap_new_ToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18826 PyObject
*resultobj
;
18827 wxWindow
*arg1
= (wxWindow
*) 0 ;
18828 int arg2
= (int) -1 ;
18829 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18830 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18831 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18832 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18833 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18834 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
18835 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18839 bool temp6
= false ;
18840 PyObject
* obj0
= 0 ;
18841 PyObject
* obj1
= 0 ;
18842 PyObject
* obj2
= 0 ;
18843 PyObject
* obj3
= 0 ;
18844 PyObject
* obj4
= 0 ;
18845 PyObject
* obj5
= 0 ;
18846 char *kwnames
[] = {
18847 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18854 arg2
= (int)SWIG_As_int(obj1
);
18855 if (PyErr_Occurred()) SWIG_fail
;
18860 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18866 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18870 arg5
= (long)SWIG_As_long(obj4
);
18871 if (PyErr_Occurred()) SWIG_fail
;
18875 arg6
= wxString_in_helper(obj5
);
18876 if (arg6
== NULL
) SWIG_fail
;
18881 if (!wxPyCheckForApp()) SWIG_fail
;
18882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18883 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18885 wxPyEndAllowThreads(__tstate
);
18886 if (PyErr_Occurred()) SWIG_fail
;
18888 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
18903 static PyObject
*_wrap_new_PreToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18904 PyObject
*resultobj
;
18906 char *kwnames
[] = {
18910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
18912 if (!wxPyCheckForApp()) SWIG_fail
;
18913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18914 result
= (wxToolBar
*)new wxToolBar();
18916 wxPyEndAllowThreads(__tstate
);
18917 if (PyErr_Occurred()) SWIG_fail
;
18919 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
18926 static PyObject
*_wrap_ToolBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18927 PyObject
*resultobj
;
18928 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18929 wxWindow
*arg2
= (wxWindow
*) 0 ;
18930 int arg3
= (int) -1 ;
18931 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18932 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18933 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18934 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18935 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18936 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
18937 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18941 bool temp7
= false ;
18942 PyObject
* obj0
= 0 ;
18943 PyObject
* obj1
= 0 ;
18944 PyObject
* obj2
= 0 ;
18945 PyObject
* obj3
= 0 ;
18946 PyObject
* obj4
= 0 ;
18947 PyObject
* obj5
= 0 ;
18948 PyObject
* obj6
= 0 ;
18949 char *kwnames
[] = {
18950 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
18955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18956 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18959 arg3
= (int)SWIG_As_int(obj2
);
18960 if (PyErr_Occurred()) SWIG_fail
;
18965 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18971 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18975 arg6
= (long)SWIG_As_long(obj5
);
18976 if (PyErr_Occurred()) SWIG_fail
;
18980 arg7
= wxString_in_helper(obj6
);
18981 if (arg7
== NULL
) SWIG_fail
;
18986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18987 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18989 wxPyEndAllowThreads(__tstate
);
18990 if (PyErr_Occurred()) SWIG_fail
;
18993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19009 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19010 PyObject
*resultobj
;
19011 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
19014 wxToolBarToolBase
*result
;
19015 PyObject
* obj0
= 0 ;
19016 PyObject
* obj1
= 0 ;
19017 PyObject
* obj2
= 0 ;
19018 char *kwnames
[] = {
19019 (char *) "self",(char *) "x",(char *) "y", NULL
19022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
19024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19025 arg2
= (int)SWIG_As_int(obj1
);
19026 if (PyErr_Occurred()) SWIG_fail
;
19027 arg3
= (int)SWIG_As_int(obj2
);
19028 if (PyErr_Occurred()) SWIG_fail
;
19030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19031 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
19033 wxPyEndAllowThreads(__tstate
);
19034 if (PyErr_Occurred()) SWIG_fail
;
19037 resultobj
= wxPyMake_wxObject(result
, 0);
19045 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19046 PyObject
*resultobj
;
19047 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
19048 wxVisualAttributes result
;
19049 PyObject
* obj0
= 0 ;
19050 char *kwnames
[] = {
19051 (char *) "variant", NULL
19054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
19056 arg1
= (int)SWIG_As_int(obj0
);
19057 if (PyErr_Occurred()) SWIG_fail
;
19060 if (!wxPyCheckForApp()) SWIG_fail
;
19061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19062 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
19064 wxPyEndAllowThreads(__tstate
);
19065 if (PyErr_Occurred()) SWIG_fail
;
19068 wxVisualAttributes
* resultptr
;
19069 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
19070 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
19078 static PyObject
* ToolBar_swigregister(PyObject
*, PyObject
*args
) {
19080 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19081 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
19083 return Py_BuildValue((char *)"");
19085 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
19086 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
19091 static PyObject
*_wrap_ListCtrlNameStr_get() {
19096 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
19098 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
19105 static PyObject
*_wrap_new_ListItemAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19106 PyObject
*resultobj
;
19107 wxColour
const &arg1_defvalue
= wxNullColour
;
19108 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
19109 wxColour
const &arg2_defvalue
= wxNullColour
;
19110 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
19111 wxFont
const &arg3_defvalue
= wxNullFont
;
19112 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
19113 wxListItemAttr
*result
;
19116 PyObject
* obj0
= 0 ;
19117 PyObject
* obj1
= 0 ;
19118 PyObject
* obj2
= 0 ;
19119 char *kwnames
[] = {
19120 (char *) "colText",(char *) "colBack",(char *) "font", NULL
19123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19127 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
19133 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19137 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
19138 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19140 if (arg3
== NULL
) {
19141 PyErr_SetString(PyExc_TypeError
,"null reference");
19146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19147 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
19149 wxPyEndAllowThreads(__tstate
);
19150 if (PyErr_Occurred()) SWIG_fail
;
19152 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
19159 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19160 PyObject
*resultobj
;
19161 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19162 wxColour
*arg2
= 0 ;
19164 PyObject
* obj0
= 0 ;
19165 PyObject
* obj1
= 0 ;
19166 char *kwnames
[] = {
19167 (char *) "self",(char *) "colText", NULL
19170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19175 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19179 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
19181 wxPyEndAllowThreads(__tstate
);
19182 if (PyErr_Occurred()) SWIG_fail
;
19184 Py_INCREF(Py_None
); resultobj
= Py_None
;
19191 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19192 PyObject
*resultobj
;
19193 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19194 wxColour
*arg2
= 0 ;
19196 PyObject
* obj0
= 0 ;
19197 PyObject
* obj1
= 0 ;
19198 char *kwnames
[] = {
19199 (char *) "self",(char *) "colBack", NULL
19202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19207 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19211 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
19213 wxPyEndAllowThreads(__tstate
);
19214 if (PyErr_Occurred()) SWIG_fail
;
19216 Py_INCREF(Py_None
); resultobj
= Py_None
;
19223 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19224 PyObject
*resultobj
;
19225 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19227 PyObject
* obj0
= 0 ;
19228 PyObject
* obj1
= 0 ;
19229 char *kwnames
[] = {
19230 (char *) "self",(char *) "font", NULL
19233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
19234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19236 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
19237 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19239 if (arg2
== NULL
) {
19240 PyErr_SetString(PyExc_TypeError
,"null reference");
19244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19245 (arg1
)->SetFont((wxFont
const &)*arg2
);
19247 wxPyEndAllowThreads(__tstate
);
19248 if (PyErr_Occurred()) SWIG_fail
;
19250 Py_INCREF(Py_None
); resultobj
= Py_None
;
19257 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19258 PyObject
*resultobj
;
19259 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19261 PyObject
* obj0
= 0 ;
19262 char *kwnames
[] = {
19263 (char *) "self", NULL
19266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
19267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19271 result
= (bool)(arg1
)->HasTextColour();
19273 wxPyEndAllowThreads(__tstate
);
19274 if (PyErr_Occurred()) SWIG_fail
;
19277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19285 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19286 PyObject
*resultobj
;
19287 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19289 PyObject
* obj0
= 0 ;
19290 char *kwnames
[] = {
19291 (char *) "self", NULL
19294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
19295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19299 result
= (bool)(arg1
)->HasBackgroundColour();
19301 wxPyEndAllowThreads(__tstate
);
19302 if (PyErr_Occurred()) SWIG_fail
;
19305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19313 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19314 PyObject
*resultobj
;
19315 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19317 PyObject
* obj0
= 0 ;
19318 char *kwnames
[] = {
19319 (char *) "self", NULL
19322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
19323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19327 result
= (bool)(arg1
)->HasFont();
19329 wxPyEndAllowThreads(__tstate
);
19330 if (PyErr_Occurred()) SWIG_fail
;
19333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19341 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19342 PyObject
*resultobj
;
19343 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19345 PyObject
* obj0
= 0 ;
19346 char *kwnames
[] = {
19347 (char *) "self", NULL
19350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
19351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19355 result
= (arg1
)->GetTextColour();
19357 wxPyEndAllowThreads(__tstate
);
19358 if (PyErr_Occurred()) SWIG_fail
;
19361 wxColour
* resultptr
;
19362 resultptr
= new wxColour((wxColour
&) result
);
19363 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19371 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19372 PyObject
*resultobj
;
19373 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19375 PyObject
* obj0
= 0 ;
19376 char *kwnames
[] = {
19377 (char *) "self", NULL
19380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
19381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19385 result
= (arg1
)->GetBackgroundColour();
19387 wxPyEndAllowThreads(__tstate
);
19388 if (PyErr_Occurred()) SWIG_fail
;
19391 wxColour
* resultptr
;
19392 resultptr
= new wxColour((wxColour
&) result
);
19393 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19401 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19402 PyObject
*resultobj
;
19403 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19405 PyObject
* obj0
= 0 ;
19406 char *kwnames
[] = {
19407 (char *) "self", NULL
19410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
19411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19415 result
= (arg1
)->GetFont();
19417 wxPyEndAllowThreads(__tstate
);
19418 if (PyErr_Occurred()) SWIG_fail
;
19421 wxFont
* resultptr
;
19422 resultptr
= new wxFont((wxFont
&) result
);
19423 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
19431 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19432 PyObject
*resultobj
;
19433 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19434 PyObject
* obj0
= 0 ;
19435 char *kwnames
[] = {
19436 (char *) "self", NULL
19439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
19440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19444 wxListItemAttr_Destroy(arg1
);
19446 wxPyEndAllowThreads(__tstate
);
19447 if (PyErr_Occurred()) SWIG_fail
;
19449 Py_INCREF(Py_None
); resultobj
= Py_None
;
19456 static PyObject
* ListItemAttr_swigregister(PyObject
*, PyObject
*args
) {
19458 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19459 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
19461 return Py_BuildValue((char *)"");
19463 static PyObject
*_wrap_new_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19464 PyObject
*resultobj
;
19465 wxListItem
*result
;
19466 char *kwnames
[] = {
19470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
19472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19473 result
= (wxListItem
*)new wxListItem();
19475 wxPyEndAllowThreads(__tstate
);
19476 if (PyErr_Occurred()) SWIG_fail
;
19479 resultobj
= wxPyMake_wxObject(result
, 1);
19487 static PyObject
*_wrap_delete_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19488 PyObject
*resultobj
;
19489 wxListItem
*arg1
= (wxListItem
*) 0 ;
19490 PyObject
* obj0
= 0 ;
19491 char *kwnames
[] = {
19492 (char *) "self", NULL
19495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
19496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19502 wxPyEndAllowThreads(__tstate
);
19503 if (PyErr_Occurred()) SWIG_fail
;
19505 Py_INCREF(Py_None
); resultobj
= Py_None
;
19512 static PyObject
*_wrap_ListItem_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19513 PyObject
*resultobj
;
19514 wxListItem
*arg1
= (wxListItem
*) 0 ;
19515 PyObject
* obj0
= 0 ;
19516 char *kwnames
[] = {
19517 (char *) "self", NULL
19520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
19521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19527 wxPyEndAllowThreads(__tstate
);
19528 if (PyErr_Occurred()) SWIG_fail
;
19530 Py_INCREF(Py_None
); resultobj
= Py_None
;
19537 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19538 PyObject
*resultobj
;
19539 wxListItem
*arg1
= (wxListItem
*) 0 ;
19540 PyObject
* obj0
= 0 ;
19541 char *kwnames
[] = {
19542 (char *) "self", NULL
19545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
19546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19550 (arg1
)->ClearAttributes();
19552 wxPyEndAllowThreads(__tstate
);
19553 if (PyErr_Occurred()) SWIG_fail
;
19555 Py_INCREF(Py_None
); resultobj
= Py_None
;
19562 static PyObject
*_wrap_ListItem_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19563 PyObject
*resultobj
;
19564 wxListItem
*arg1
= (wxListItem
*) 0 ;
19566 PyObject
* obj0
= 0 ;
19567 PyObject
* obj1
= 0 ;
19568 char *kwnames
[] = {
19569 (char *) "self",(char *) "mask", NULL
19572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19575 arg2
= (long)SWIG_As_long(obj1
);
19576 if (PyErr_Occurred()) SWIG_fail
;
19578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19579 (arg1
)->SetMask(arg2
);
19581 wxPyEndAllowThreads(__tstate
);
19582 if (PyErr_Occurred()) SWIG_fail
;
19584 Py_INCREF(Py_None
); resultobj
= Py_None
;
19591 static PyObject
*_wrap_ListItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19592 PyObject
*resultobj
;
19593 wxListItem
*arg1
= (wxListItem
*) 0 ;
19595 PyObject
* obj0
= 0 ;
19596 PyObject
* obj1
= 0 ;
19597 char *kwnames
[] = {
19598 (char *) "self",(char *) "id", NULL
19601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
19602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19604 arg2
= (long)SWIG_As_long(obj1
);
19605 if (PyErr_Occurred()) SWIG_fail
;
19607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19608 (arg1
)->SetId(arg2
);
19610 wxPyEndAllowThreads(__tstate
);
19611 if (PyErr_Occurred()) SWIG_fail
;
19613 Py_INCREF(Py_None
); resultobj
= Py_None
;
19620 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19621 PyObject
*resultobj
;
19622 wxListItem
*arg1
= (wxListItem
*) 0 ;
19624 PyObject
* obj0
= 0 ;
19625 PyObject
* obj1
= 0 ;
19626 char *kwnames
[] = {
19627 (char *) "self",(char *) "col", NULL
19630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
19631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19633 arg2
= (int)SWIG_As_int(obj1
);
19634 if (PyErr_Occurred()) SWIG_fail
;
19636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19637 (arg1
)->SetColumn(arg2
);
19639 wxPyEndAllowThreads(__tstate
);
19640 if (PyErr_Occurred()) SWIG_fail
;
19642 Py_INCREF(Py_None
); resultobj
= Py_None
;
19649 static PyObject
*_wrap_ListItem_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19650 PyObject
*resultobj
;
19651 wxListItem
*arg1
= (wxListItem
*) 0 ;
19653 PyObject
* obj0
= 0 ;
19654 PyObject
* obj1
= 0 ;
19655 char *kwnames
[] = {
19656 (char *) "self",(char *) "state", NULL
19659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
19660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19662 arg2
= (long)SWIG_As_long(obj1
);
19663 if (PyErr_Occurred()) SWIG_fail
;
19665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19666 (arg1
)->SetState(arg2
);
19668 wxPyEndAllowThreads(__tstate
);
19669 if (PyErr_Occurred()) SWIG_fail
;
19671 Py_INCREF(Py_None
); resultobj
= Py_None
;
19678 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19679 PyObject
*resultobj
;
19680 wxListItem
*arg1
= (wxListItem
*) 0 ;
19682 PyObject
* obj0
= 0 ;
19683 PyObject
* obj1
= 0 ;
19684 char *kwnames
[] = {
19685 (char *) "self",(char *) "stateMask", NULL
19688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19691 arg2
= (long)SWIG_As_long(obj1
);
19692 if (PyErr_Occurred()) SWIG_fail
;
19694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19695 (arg1
)->SetStateMask(arg2
);
19697 wxPyEndAllowThreads(__tstate
);
19698 if (PyErr_Occurred()) SWIG_fail
;
19700 Py_INCREF(Py_None
); resultobj
= Py_None
;
19707 static PyObject
*_wrap_ListItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19708 PyObject
*resultobj
;
19709 wxListItem
*arg1
= (wxListItem
*) 0 ;
19710 wxString
*arg2
= 0 ;
19711 bool temp2
= false ;
19712 PyObject
* obj0
= 0 ;
19713 PyObject
* obj1
= 0 ;
19714 char *kwnames
[] = {
19715 (char *) "self",(char *) "text", NULL
19718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
19719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19722 arg2
= wxString_in_helper(obj1
);
19723 if (arg2
== NULL
) SWIG_fail
;
19727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19728 (arg1
)->SetText((wxString
const &)*arg2
);
19730 wxPyEndAllowThreads(__tstate
);
19731 if (PyErr_Occurred()) SWIG_fail
;
19733 Py_INCREF(Py_None
); resultobj
= Py_None
;
19748 static PyObject
*_wrap_ListItem_SetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19749 PyObject
*resultobj
;
19750 wxListItem
*arg1
= (wxListItem
*) 0 ;
19752 PyObject
* obj0
= 0 ;
19753 PyObject
* obj1
= 0 ;
19754 char *kwnames
[] = {
19755 (char *) "self",(char *) "image", NULL
19758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
19759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19761 arg2
= (int)SWIG_As_int(obj1
);
19762 if (PyErr_Occurred()) SWIG_fail
;
19764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19765 (arg1
)->SetImage(arg2
);
19767 wxPyEndAllowThreads(__tstate
);
19768 if (PyErr_Occurred()) SWIG_fail
;
19770 Py_INCREF(Py_None
); resultobj
= Py_None
;
19777 static PyObject
*_wrap_ListItem_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19778 PyObject
*resultobj
;
19779 wxListItem
*arg1
= (wxListItem
*) 0 ;
19781 PyObject
* obj0
= 0 ;
19782 PyObject
* obj1
= 0 ;
19783 char *kwnames
[] = {
19784 (char *) "self",(char *) "data", NULL
19787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
19788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19790 arg2
= (long)SWIG_As_long(obj1
);
19791 if (PyErr_Occurred()) SWIG_fail
;
19793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19794 (arg1
)->SetData(arg2
);
19796 wxPyEndAllowThreads(__tstate
);
19797 if (PyErr_Occurred()) SWIG_fail
;
19799 Py_INCREF(Py_None
); resultobj
= Py_None
;
19806 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19807 PyObject
*resultobj
;
19808 wxListItem
*arg1
= (wxListItem
*) 0 ;
19810 PyObject
* obj0
= 0 ;
19811 PyObject
* obj1
= 0 ;
19812 char *kwnames
[] = {
19813 (char *) "self",(char *) "width", NULL
19816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
19817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19819 arg2
= (int)SWIG_As_int(obj1
);
19820 if (PyErr_Occurred()) SWIG_fail
;
19822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19823 (arg1
)->SetWidth(arg2
);
19825 wxPyEndAllowThreads(__tstate
);
19826 if (PyErr_Occurred()) SWIG_fail
;
19828 Py_INCREF(Py_None
); resultobj
= Py_None
;
19835 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19836 PyObject
*resultobj
;
19837 wxListItem
*arg1
= (wxListItem
*) 0 ;
19839 PyObject
* obj0
= 0 ;
19840 PyObject
* obj1
= 0 ;
19841 char *kwnames
[] = {
19842 (char *) "self",(char *) "align", NULL
19845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
19846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19848 arg2
= (int)SWIG_As_int(obj1
);
19849 if (PyErr_Occurred()) SWIG_fail
;
19851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19852 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
19854 wxPyEndAllowThreads(__tstate
);
19855 if (PyErr_Occurred()) SWIG_fail
;
19857 Py_INCREF(Py_None
); resultobj
= Py_None
;
19864 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19865 PyObject
*resultobj
;
19866 wxListItem
*arg1
= (wxListItem
*) 0 ;
19867 wxColour
*arg2
= 0 ;
19869 PyObject
* obj0
= 0 ;
19870 PyObject
* obj1
= 0 ;
19871 char *kwnames
[] = {
19872 (char *) "self",(char *) "colText", NULL
19875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19880 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19884 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
19886 wxPyEndAllowThreads(__tstate
);
19887 if (PyErr_Occurred()) SWIG_fail
;
19889 Py_INCREF(Py_None
); resultobj
= Py_None
;
19896 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19897 PyObject
*resultobj
;
19898 wxListItem
*arg1
= (wxListItem
*) 0 ;
19899 wxColour
*arg2
= 0 ;
19901 PyObject
* obj0
= 0 ;
19902 PyObject
* obj1
= 0 ;
19903 char *kwnames
[] = {
19904 (char *) "self",(char *) "colBack", NULL
19907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19912 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19916 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
19918 wxPyEndAllowThreads(__tstate
);
19919 if (PyErr_Occurred()) SWIG_fail
;
19921 Py_INCREF(Py_None
); resultobj
= Py_None
;
19928 static PyObject
*_wrap_ListItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19929 PyObject
*resultobj
;
19930 wxListItem
*arg1
= (wxListItem
*) 0 ;
19932 PyObject
* obj0
= 0 ;
19933 PyObject
* obj1
= 0 ;
19934 char *kwnames
[] = {
19935 (char *) "self",(char *) "font", NULL
19938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
19939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19941 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
19942 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19944 if (arg2
== NULL
) {
19945 PyErr_SetString(PyExc_TypeError
,"null reference");
19949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19950 (arg1
)->SetFont((wxFont
const &)*arg2
);
19952 wxPyEndAllowThreads(__tstate
);
19953 if (PyErr_Occurred()) SWIG_fail
;
19955 Py_INCREF(Py_None
); resultobj
= Py_None
;
19962 static PyObject
*_wrap_ListItem_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19963 PyObject
*resultobj
;
19964 wxListItem
*arg1
= (wxListItem
*) 0 ;
19966 PyObject
* obj0
= 0 ;
19967 char *kwnames
[] = {
19968 (char *) "self", NULL
19971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
19972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19976 result
= (long)(arg1
)->GetMask();
19978 wxPyEndAllowThreads(__tstate
);
19979 if (PyErr_Occurred()) SWIG_fail
;
19981 resultobj
= SWIG_From_long((long)result
);
19988 static PyObject
*_wrap_ListItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19989 PyObject
*resultobj
;
19990 wxListItem
*arg1
= (wxListItem
*) 0 ;
19992 PyObject
* obj0
= 0 ;
19993 char *kwnames
[] = {
19994 (char *) "self", NULL
19997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
19998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20002 result
= (long)(arg1
)->GetId();
20004 wxPyEndAllowThreads(__tstate
);
20005 if (PyErr_Occurred()) SWIG_fail
;
20007 resultobj
= SWIG_From_long((long)result
);
20014 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20015 PyObject
*resultobj
;
20016 wxListItem
*arg1
= (wxListItem
*) 0 ;
20018 PyObject
* obj0
= 0 ;
20019 char *kwnames
[] = {
20020 (char *) "self", NULL
20023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
20024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20028 result
= (int)(arg1
)->GetColumn();
20030 wxPyEndAllowThreads(__tstate
);
20031 if (PyErr_Occurred()) SWIG_fail
;
20033 resultobj
= SWIG_From_int((int)result
);
20040 static PyObject
*_wrap_ListItem_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20041 PyObject
*resultobj
;
20042 wxListItem
*arg1
= (wxListItem
*) 0 ;
20044 PyObject
* obj0
= 0 ;
20045 char *kwnames
[] = {
20046 (char *) "self", NULL
20049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
20050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20054 result
= (long)(arg1
)->GetState();
20056 wxPyEndAllowThreads(__tstate
);
20057 if (PyErr_Occurred()) SWIG_fail
;
20059 resultobj
= SWIG_From_long((long)result
);
20066 static PyObject
*_wrap_ListItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20067 PyObject
*resultobj
;
20068 wxListItem
*arg1
= (wxListItem
*) 0 ;
20070 PyObject
* obj0
= 0 ;
20071 char *kwnames
[] = {
20072 (char *) "self", NULL
20075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
20076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20081 wxString
const &_result_ref
= (arg1
)->GetText();
20082 result
= (wxString
*) &_result_ref
;
20085 wxPyEndAllowThreads(__tstate
);
20086 if (PyErr_Occurred()) SWIG_fail
;
20090 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20092 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20101 static PyObject
*_wrap_ListItem_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20102 PyObject
*resultobj
;
20103 wxListItem
*arg1
= (wxListItem
*) 0 ;
20105 PyObject
* obj0
= 0 ;
20106 char *kwnames
[] = {
20107 (char *) "self", NULL
20110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
20111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20115 result
= (int)(arg1
)->GetImage();
20117 wxPyEndAllowThreads(__tstate
);
20118 if (PyErr_Occurred()) SWIG_fail
;
20120 resultobj
= SWIG_From_int((int)result
);
20127 static PyObject
*_wrap_ListItem_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20128 PyObject
*resultobj
;
20129 wxListItem
*arg1
= (wxListItem
*) 0 ;
20131 PyObject
* obj0
= 0 ;
20132 char *kwnames
[] = {
20133 (char *) "self", NULL
20136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
20137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20141 result
= (long)(arg1
)->GetData();
20143 wxPyEndAllowThreads(__tstate
);
20144 if (PyErr_Occurred()) SWIG_fail
;
20146 resultobj
= SWIG_From_long((long)result
);
20153 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20154 PyObject
*resultobj
;
20155 wxListItem
*arg1
= (wxListItem
*) 0 ;
20157 PyObject
* obj0
= 0 ;
20158 char *kwnames
[] = {
20159 (char *) "self", NULL
20162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
20163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20167 result
= (int)(arg1
)->GetWidth();
20169 wxPyEndAllowThreads(__tstate
);
20170 if (PyErr_Occurred()) SWIG_fail
;
20172 resultobj
= SWIG_From_int((int)result
);
20179 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20180 PyObject
*resultobj
;
20181 wxListItem
*arg1
= (wxListItem
*) 0 ;
20183 PyObject
* obj0
= 0 ;
20184 char *kwnames
[] = {
20185 (char *) "self", NULL
20188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
20189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20193 result
= (int)(arg1
)->GetAlign();
20195 wxPyEndAllowThreads(__tstate
);
20196 if (PyErr_Occurred()) SWIG_fail
;
20198 resultobj
= SWIG_From_int((int)result
);
20205 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20206 PyObject
*resultobj
;
20207 wxListItem
*arg1
= (wxListItem
*) 0 ;
20208 wxListItemAttr
*result
;
20209 PyObject
* obj0
= 0 ;
20210 char *kwnames
[] = {
20211 (char *) "self", NULL
20214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
20215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20219 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
20221 wxPyEndAllowThreads(__tstate
);
20222 if (PyErr_Occurred()) SWIG_fail
;
20224 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
20231 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20232 PyObject
*resultobj
;
20233 wxListItem
*arg1
= (wxListItem
*) 0 ;
20235 PyObject
* obj0
= 0 ;
20236 char *kwnames
[] = {
20237 (char *) "self", NULL
20240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
20241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20245 result
= (bool)(arg1
)->HasAttributes();
20247 wxPyEndAllowThreads(__tstate
);
20248 if (PyErr_Occurred()) SWIG_fail
;
20251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20259 static PyObject
*_wrap_ListItem_GetTextColour(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_GetTextColour",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
= ((wxListItem
const *)arg1
)->GetTextColour();
20275 wxPyEndAllowThreads(__tstate
);
20276 if (PyErr_Occurred()) SWIG_fail
;
20279 wxColour
* resultptr
;
20280 resultptr
= new wxColour((wxColour
&) result
);
20281 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20289 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20290 PyObject
*resultobj
;
20291 wxListItem
*arg1
= (wxListItem
*) 0 ;
20293 PyObject
* obj0
= 0 ;
20294 char *kwnames
[] = {
20295 (char *) "self", NULL
20298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
20299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20303 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
20305 wxPyEndAllowThreads(__tstate
);
20306 if (PyErr_Occurred()) SWIG_fail
;
20309 wxColour
* resultptr
;
20310 resultptr
= new wxColour((wxColour
&) result
);
20311 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20319 static PyObject
*_wrap_ListItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20320 PyObject
*resultobj
;
20321 wxListItem
*arg1
= (wxListItem
*) 0 ;
20323 PyObject
* obj0
= 0 ;
20324 char *kwnames
[] = {
20325 (char *) "self", NULL
20328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
20329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20333 result
= ((wxListItem
const *)arg1
)->GetFont();
20335 wxPyEndAllowThreads(__tstate
);
20336 if (PyErr_Occurred()) SWIG_fail
;
20339 wxFont
* resultptr
;
20340 resultptr
= new wxFont((wxFont
&) result
);
20341 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
20349 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20350 PyObject
*resultobj
;
20351 wxListItem
*arg1
= (wxListItem
*) 0 ;
20353 PyObject
* obj0
= 0 ;
20354 PyObject
* obj1
= 0 ;
20355 char *kwnames
[] = {
20356 (char *) "self",(char *) "m_mask", NULL
20359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20362 arg2
= (long)SWIG_As_long(obj1
);
20363 if (PyErr_Occurred()) SWIG_fail
;
20364 if (arg1
) (arg1
)->m_mask
= arg2
;
20366 Py_INCREF(Py_None
); resultobj
= Py_None
;
20373 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20374 PyObject
*resultobj
;
20375 wxListItem
*arg1
= (wxListItem
*) 0 ;
20377 PyObject
* obj0
= 0 ;
20378 char *kwnames
[] = {
20379 (char *) "self", NULL
20382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
20383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20385 result
= (long) ((arg1
)->m_mask
);
20387 resultobj
= SWIG_From_long((long)result
);
20394 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20395 PyObject
*resultobj
;
20396 wxListItem
*arg1
= (wxListItem
*) 0 ;
20398 PyObject
* obj0
= 0 ;
20399 PyObject
* obj1
= 0 ;
20400 char *kwnames
[] = {
20401 (char *) "self",(char *) "m_itemId", NULL
20404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20407 arg2
= (long)SWIG_As_long(obj1
);
20408 if (PyErr_Occurred()) SWIG_fail
;
20409 if (arg1
) (arg1
)->m_itemId
= arg2
;
20411 Py_INCREF(Py_None
); resultobj
= Py_None
;
20418 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20419 PyObject
*resultobj
;
20420 wxListItem
*arg1
= (wxListItem
*) 0 ;
20422 PyObject
* obj0
= 0 ;
20423 char *kwnames
[] = {
20424 (char *) "self", NULL
20427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
20428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20430 result
= (long) ((arg1
)->m_itemId
);
20432 resultobj
= SWIG_From_long((long)result
);
20439 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20440 PyObject
*resultobj
;
20441 wxListItem
*arg1
= (wxListItem
*) 0 ;
20443 PyObject
* obj0
= 0 ;
20444 PyObject
* obj1
= 0 ;
20445 char *kwnames
[] = {
20446 (char *) "self",(char *) "m_col", NULL
20449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20452 arg2
= (int)SWIG_As_int(obj1
);
20453 if (PyErr_Occurred()) SWIG_fail
;
20454 if (arg1
) (arg1
)->m_col
= arg2
;
20456 Py_INCREF(Py_None
); resultobj
= Py_None
;
20463 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20464 PyObject
*resultobj
;
20465 wxListItem
*arg1
= (wxListItem
*) 0 ;
20467 PyObject
* obj0
= 0 ;
20468 char *kwnames
[] = {
20469 (char *) "self", NULL
20472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
20473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20475 result
= (int) ((arg1
)->m_col
);
20477 resultobj
= SWIG_From_int((int)result
);
20484 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20485 PyObject
*resultobj
;
20486 wxListItem
*arg1
= (wxListItem
*) 0 ;
20488 PyObject
* obj0
= 0 ;
20489 PyObject
* obj1
= 0 ;
20490 char *kwnames
[] = {
20491 (char *) "self",(char *) "m_state", NULL
20494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20497 arg2
= (long)SWIG_As_long(obj1
);
20498 if (PyErr_Occurred()) SWIG_fail
;
20499 if (arg1
) (arg1
)->m_state
= arg2
;
20501 Py_INCREF(Py_None
); resultobj
= Py_None
;
20508 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20509 PyObject
*resultobj
;
20510 wxListItem
*arg1
= (wxListItem
*) 0 ;
20512 PyObject
* obj0
= 0 ;
20513 char *kwnames
[] = {
20514 (char *) "self", NULL
20517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
20518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20520 result
= (long) ((arg1
)->m_state
);
20522 resultobj
= SWIG_From_long((long)result
);
20529 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20530 PyObject
*resultobj
;
20531 wxListItem
*arg1
= (wxListItem
*) 0 ;
20533 PyObject
* obj0
= 0 ;
20534 PyObject
* obj1
= 0 ;
20535 char *kwnames
[] = {
20536 (char *) "self",(char *) "m_stateMask", NULL
20539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20542 arg2
= (long)SWIG_As_long(obj1
);
20543 if (PyErr_Occurred()) SWIG_fail
;
20544 if (arg1
) (arg1
)->m_stateMask
= arg2
;
20546 Py_INCREF(Py_None
); resultobj
= Py_None
;
20553 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20554 PyObject
*resultobj
;
20555 wxListItem
*arg1
= (wxListItem
*) 0 ;
20557 PyObject
* obj0
= 0 ;
20558 char *kwnames
[] = {
20559 (char *) "self", NULL
20562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
20563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20565 result
= (long) ((arg1
)->m_stateMask
);
20567 resultobj
= SWIG_From_long((long)result
);
20574 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20575 PyObject
*resultobj
;
20576 wxListItem
*arg1
= (wxListItem
*) 0 ;
20577 wxString
*arg2
= (wxString
*) 0 ;
20578 bool temp2
= false ;
20579 PyObject
* obj0
= 0 ;
20580 PyObject
* obj1
= 0 ;
20581 char *kwnames
[] = {
20582 (char *) "self",(char *) "m_text", NULL
20585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20589 arg2
= wxString_in_helper(obj1
);
20590 if (arg2
== NULL
) SWIG_fail
;
20593 if (arg1
) (arg1
)->m_text
= *arg2
;
20595 Py_INCREF(Py_None
); resultobj
= Py_None
;
20610 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20611 PyObject
*resultobj
;
20612 wxListItem
*arg1
= (wxListItem
*) 0 ;
20614 PyObject
* obj0
= 0 ;
20615 char *kwnames
[] = {
20616 (char *) "self", NULL
20619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
20620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20622 result
= (wxString
*)& ((arg1
)->m_text
);
20626 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20628 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20637 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20638 PyObject
*resultobj
;
20639 wxListItem
*arg1
= (wxListItem
*) 0 ;
20641 PyObject
* obj0
= 0 ;
20642 PyObject
* obj1
= 0 ;
20643 char *kwnames
[] = {
20644 (char *) "self",(char *) "m_image", NULL
20647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20650 arg2
= (int)SWIG_As_int(obj1
);
20651 if (PyErr_Occurred()) SWIG_fail
;
20652 if (arg1
) (arg1
)->m_image
= arg2
;
20654 Py_INCREF(Py_None
); resultobj
= Py_None
;
20661 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20662 PyObject
*resultobj
;
20663 wxListItem
*arg1
= (wxListItem
*) 0 ;
20665 PyObject
* obj0
= 0 ;
20666 char *kwnames
[] = {
20667 (char *) "self", NULL
20670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
20671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20673 result
= (int) ((arg1
)->m_image
);
20675 resultobj
= SWIG_From_int((int)result
);
20682 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20683 PyObject
*resultobj
;
20684 wxListItem
*arg1
= (wxListItem
*) 0 ;
20686 PyObject
* obj0
= 0 ;
20687 PyObject
* obj1
= 0 ;
20688 char *kwnames
[] = {
20689 (char *) "self",(char *) "m_data", NULL
20692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20695 arg2
= (long)SWIG_As_long(obj1
);
20696 if (PyErr_Occurred()) SWIG_fail
;
20697 if (arg1
) (arg1
)->m_data
= arg2
;
20699 Py_INCREF(Py_None
); resultobj
= Py_None
;
20706 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20707 PyObject
*resultobj
;
20708 wxListItem
*arg1
= (wxListItem
*) 0 ;
20710 PyObject
* obj0
= 0 ;
20711 char *kwnames
[] = {
20712 (char *) "self", NULL
20715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
20716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20718 result
= (long) ((arg1
)->m_data
);
20720 resultobj
= SWIG_From_long((long)result
);
20727 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20728 PyObject
*resultobj
;
20729 wxListItem
*arg1
= (wxListItem
*) 0 ;
20731 PyObject
* obj0
= 0 ;
20732 PyObject
* obj1
= 0 ;
20733 char *kwnames
[] = {
20734 (char *) "self",(char *) "m_format", NULL
20737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20740 arg2
= (int)SWIG_As_int(obj1
);
20741 if (PyErr_Occurred()) SWIG_fail
;
20742 if (arg1
) (arg1
)->m_format
= arg2
;
20744 Py_INCREF(Py_None
); resultobj
= Py_None
;
20751 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20752 PyObject
*resultobj
;
20753 wxListItem
*arg1
= (wxListItem
*) 0 ;
20755 PyObject
* obj0
= 0 ;
20756 char *kwnames
[] = {
20757 (char *) "self", NULL
20760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
20761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20763 result
= (int) ((arg1
)->m_format
);
20765 resultobj
= SWIG_From_int((int)result
);
20772 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20773 PyObject
*resultobj
;
20774 wxListItem
*arg1
= (wxListItem
*) 0 ;
20776 PyObject
* obj0
= 0 ;
20777 PyObject
* obj1
= 0 ;
20778 char *kwnames
[] = {
20779 (char *) "self",(char *) "m_width", NULL
20782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20785 arg2
= (int)SWIG_As_int(obj1
);
20786 if (PyErr_Occurred()) SWIG_fail
;
20787 if (arg1
) (arg1
)->m_width
= arg2
;
20789 Py_INCREF(Py_None
); resultobj
= Py_None
;
20796 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20797 PyObject
*resultobj
;
20798 wxListItem
*arg1
= (wxListItem
*) 0 ;
20800 PyObject
* obj0
= 0 ;
20801 char *kwnames
[] = {
20802 (char *) "self", NULL
20805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
20806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20808 result
= (int) ((arg1
)->m_width
);
20810 resultobj
= SWIG_From_int((int)result
);
20817 static PyObject
* ListItem_swigregister(PyObject
*, PyObject
*args
) {
20819 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20820 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
20822 return Py_BuildValue((char *)"");
20824 static PyObject
*_wrap_new_ListEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20825 PyObject
*resultobj
;
20826 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20827 int arg2
= (int) 0 ;
20828 wxListEvent
*result
;
20829 PyObject
* obj0
= 0 ;
20830 PyObject
* obj1
= 0 ;
20831 char *kwnames
[] = {
20832 (char *) "commandType",(char *) "id", NULL
20835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20837 arg1
= (wxEventType
)SWIG_As_int(obj0
);
20838 if (PyErr_Occurred()) SWIG_fail
;
20841 arg2
= (int)SWIG_As_int(obj1
);
20842 if (PyErr_Occurred()) SWIG_fail
;
20845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20846 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
20848 wxPyEndAllowThreads(__tstate
);
20849 if (PyErr_Occurred()) SWIG_fail
;
20851 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
20858 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20859 PyObject
*resultobj
;
20860 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20862 PyObject
* obj0
= 0 ;
20863 PyObject
* obj1
= 0 ;
20864 char *kwnames
[] = {
20865 (char *) "self",(char *) "m_code", NULL
20868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20871 arg2
= (int)SWIG_As_int(obj1
);
20872 if (PyErr_Occurred()) SWIG_fail
;
20873 if (arg1
) (arg1
)->m_code
= arg2
;
20875 Py_INCREF(Py_None
); resultobj
= Py_None
;
20882 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20883 PyObject
*resultobj
;
20884 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20886 PyObject
* obj0
= 0 ;
20887 char *kwnames
[] = {
20888 (char *) "self", NULL
20891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
20892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20894 result
= (int) ((arg1
)->m_code
);
20896 resultobj
= SWIG_From_int((int)result
);
20903 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20904 PyObject
*resultobj
;
20905 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20907 PyObject
* obj0
= 0 ;
20908 PyObject
* obj1
= 0 ;
20909 char *kwnames
[] = {
20910 (char *) "self",(char *) "m_oldItemIndex", NULL
20913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20916 arg2
= (long)SWIG_As_long(obj1
);
20917 if (PyErr_Occurred()) SWIG_fail
;
20918 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
20920 Py_INCREF(Py_None
); resultobj
= Py_None
;
20927 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20928 PyObject
*resultobj
;
20929 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20931 PyObject
* obj0
= 0 ;
20932 char *kwnames
[] = {
20933 (char *) "self", NULL
20936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
20937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20939 result
= (long) ((arg1
)->m_oldItemIndex
);
20941 resultobj
= SWIG_From_long((long)result
);
20948 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20949 PyObject
*resultobj
;
20950 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20952 PyObject
* obj0
= 0 ;
20953 PyObject
* obj1
= 0 ;
20954 char *kwnames
[] = {
20955 (char *) "self",(char *) "m_itemIndex", NULL
20958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20961 arg2
= (long)SWIG_As_long(obj1
);
20962 if (PyErr_Occurred()) SWIG_fail
;
20963 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
20965 Py_INCREF(Py_None
); resultobj
= Py_None
;
20972 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20973 PyObject
*resultobj
;
20974 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20976 PyObject
* obj0
= 0 ;
20977 char *kwnames
[] = {
20978 (char *) "self", NULL
20981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
20982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20984 result
= (long) ((arg1
)->m_itemIndex
);
20986 resultobj
= SWIG_From_long((long)result
);
20993 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20994 PyObject
*resultobj
;
20995 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20997 PyObject
* obj0
= 0 ;
20998 PyObject
* obj1
= 0 ;
20999 char *kwnames
[] = {
21000 (char *) "self",(char *) "m_col", NULL
21003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21006 arg2
= (int)SWIG_As_int(obj1
);
21007 if (PyErr_Occurred()) SWIG_fail
;
21008 if (arg1
) (arg1
)->m_col
= arg2
;
21010 Py_INCREF(Py_None
); resultobj
= Py_None
;
21017 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21018 PyObject
*resultobj
;
21019 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21021 PyObject
* obj0
= 0 ;
21022 char *kwnames
[] = {
21023 (char *) "self", NULL
21026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
21027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21029 result
= (int) ((arg1
)->m_col
);
21031 resultobj
= SWIG_From_int((int)result
);
21038 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21039 PyObject
*resultobj
;
21040 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21041 wxPoint
*arg2
= (wxPoint
*) 0 ;
21042 PyObject
* obj0
= 0 ;
21043 PyObject
* obj1
= 0 ;
21044 char *kwnames
[] = {
21045 (char *) "self",(char *) "m_pointDrag", NULL
21048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21051 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
21052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21053 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
21055 Py_INCREF(Py_None
); resultobj
= Py_None
;
21062 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21063 PyObject
*resultobj
;
21064 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21066 PyObject
* obj0
= 0 ;
21067 char *kwnames
[] = {
21068 (char *) "self", NULL
21071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
21072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21074 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
21076 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
21083 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21084 PyObject
*resultobj
;
21085 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21086 wxListItem
*result
;
21087 PyObject
* obj0
= 0 ;
21088 char *kwnames
[] = {
21089 (char *) "self", NULL
21092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
21093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21095 result
= (wxListItem
*)& ((arg1
)->m_item
);
21098 resultobj
= wxPyMake_wxObject(result
, 0);
21106 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21107 PyObject
*resultobj
;
21108 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21110 PyObject
* obj0
= 0 ;
21111 char *kwnames
[] = {
21112 (char *) "self", NULL
21115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
21116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21120 result
= (int)(arg1
)->GetKeyCode();
21122 wxPyEndAllowThreads(__tstate
);
21123 if (PyErr_Occurred()) SWIG_fail
;
21125 resultobj
= SWIG_From_int((int)result
);
21132 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21133 PyObject
*resultobj
;
21134 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21136 PyObject
* obj0
= 0 ;
21137 char *kwnames
[] = {
21138 (char *) "self", NULL
21141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
21142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21146 result
= (long)(arg1
)->GetIndex();
21148 wxPyEndAllowThreads(__tstate
);
21149 if (PyErr_Occurred()) SWIG_fail
;
21151 resultobj
= SWIG_From_long((long)result
);
21158 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21159 PyObject
*resultobj
;
21160 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21162 PyObject
* obj0
= 0 ;
21163 char *kwnames
[] = {
21164 (char *) "self", NULL
21167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
21168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21172 result
= (int)(arg1
)->GetColumn();
21174 wxPyEndAllowThreads(__tstate
);
21175 if (PyErr_Occurred()) SWIG_fail
;
21177 resultobj
= SWIG_From_int((int)result
);
21184 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21185 PyObject
*resultobj
;
21186 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21188 PyObject
* obj0
= 0 ;
21189 char *kwnames
[] = {
21190 (char *) "self", NULL
21193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
21194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21198 result
= (arg1
)->GetPoint();
21200 wxPyEndAllowThreads(__tstate
);
21201 if (PyErr_Occurred()) SWIG_fail
;
21204 wxPoint
* resultptr
;
21205 resultptr
= new wxPoint((wxPoint
&) result
);
21206 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
21214 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21215 PyObject
*resultobj
;
21216 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21218 PyObject
* obj0
= 0 ;
21219 char *kwnames
[] = {
21220 (char *) "self", NULL
21223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
21224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21229 wxString
const &_result_ref
= (arg1
)->GetLabel();
21230 result
= (wxString
*) &_result_ref
;
21233 wxPyEndAllowThreads(__tstate
);
21234 if (PyErr_Occurred()) SWIG_fail
;
21238 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21240 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21249 static PyObject
*_wrap_ListEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21250 PyObject
*resultobj
;
21251 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21253 PyObject
* obj0
= 0 ;
21254 char *kwnames
[] = {
21255 (char *) "self", NULL
21258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
21259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21264 wxString
const &_result_ref
= (arg1
)->GetText();
21265 result
= (wxString
*) &_result_ref
;
21268 wxPyEndAllowThreads(__tstate
);
21269 if (PyErr_Occurred()) SWIG_fail
;
21273 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21275 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21284 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21285 PyObject
*resultobj
;
21286 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21288 PyObject
* obj0
= 0 ;
21289 char *kwnames
[] = {
21290 (char *) "self", NULL
21293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
21294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21298 result
= (int)(arg1
)->GetImage();
21300 wxPyEndAllowThreads(__tstate
);
21301 if (PyErr_Occurred()) SWIG_fail
;
21303 resultobj
= SWIG_From_int((int)result
);
21310 static PyObject
*_wrap_ListEvent_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21311 PyObject
*resultobj
;
21312 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21314 PyObject
* obj0
= 0 ;
21315 char *kwnames
[] = {
21316 (char *) "self", NULL
21319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
21320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21324 result
= (long)(arg1
)->GetData();
21326 wxPyEndAllowThreads(__tstate
);
21327 if (PyErr_Occurred()) SWIG_fail
;
21329 resultobj
= SWIG_From_long((long)result
);
21336 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21337 PyObject
*resultobj
;
21338 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21340 PyObject
* obj0
= 0 ;
21341 char *kwnames
[] = {
21342 (char *) "self", NULL
21345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
21346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21350 result
= (long)(arg1
)->GetMask();
21352 wxPyEndAllowThreads(__tstate
);
21353 if (PyErr_Occurred()) SWIG_fail
;
21355 resultobj
= SWIG_From_long((long)result
);
21362 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21363 PyObject
*resultobj
;
21364 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21365 wxListItem
*result
;
21366 PyObject
* obj0
= 0 ;
21367 char *kwnames
[] = {
21368 (char *) "self", NULL
21371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
21372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21377 wxListItem
const &_result_ref
= (arg1
)->GetItem();
21378 result
= (wxListItem
*) &_result_ref
;
21381 wxPyEndAllowThreads(__tstate
);
21382 if (PyErr_Occurred()) SWIG_fail
;
21384 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
21391 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21392 PyObject
*resultobj
;
21393 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21395 PyObject
* obj0
= 0 ;
21396 char *kwnames
[] = {
21397 (char *) "self", NULL
21400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
21401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21405 result
= (long)(arg1
)->GetCacheFrom();
21407 wxPyEndAllowThreads(__tstate
);
21408 if (PyErr_Occurred()) SWIG_fail
;
21410 resultobj
= SWIG_From_long((long)result
);
21417 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21418 PyObject
*resultobj
;
21419 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21421 PyObject
* obj0
= 0 ;
21422 char *kwnames
[] = {
21423 (char *) "self", NULL
21426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
21427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21431 result
= (long)(arg1
)->GetCacheTo();
21433 wxPyEndAllowThreads(__tstate
);
21434 if (PyErr_Occurred()) SWIG_fail
;
21436 resultobj
= SWIG_From_long((long)result
);
21443 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21444 PyObject
*resultobj
;
21445 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21447 PyObject
* obj0
= 0 ;
21448 char *kwnames
[] = {
21449 (char *) "self", NULL
21452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
21453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21457 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
21459 wxPyEndAllowThreads(__tstate
);
21460 if (PyErr_Occurred()) SWIG_fail
;
21463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21471 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21472 PyObject
*resultobj
;
21473 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21475 PyObject
* obj0
= 0 ;
21476 PyObject
* obj1
= 0 ;
21477 char *kwnames
[] = {
21478 (char *) "self",(char *) "editCancelled", NULL
21481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
21482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21484 arg2
= (bool)SWIG_As_bool(obj1
);
21485 if (PyErr_Occurred()) SWIG_fail
;
21487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21488 (arg1
)->SetEditCanceled(arg2
);
21490 wxPyEndAllowThreads(__tstate
);
21491 if (PyErr_Occurred()) SWIG_fail
;
21493 Py_INCREF(Py_None
); resultobj
= Py_None
;
21500 static PyObject
* ListEvent_swigregister(PyObject
*, PyObject
*args
) {
21502 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21503 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
21505 return Py_BuildValue((char *)"");
21507 static PyObject
*_wrap_new_ListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21508 PyObject
*resultobj
;
21509 wxWindow
*arg1
= (wxWindow
*) 0 ;
21510 int arg2
= (int) -1 ;
21511 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21512 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21513 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21514 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21515 long arg5
= (long) wxLC_ICON
;
21516 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
21517 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
21518 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
21519 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21520 wxPyListCtrl
*result
;
21523 bool temp7
= false ;
21524 PyObject
* obj0
= 0 ;
21525 PyObject
* obj1
= 0 ;
21526 PyObject
* obj2
= 0 ;
21527 PyObject
* obj3
= 0 ;
21528 PyObject
* obj4
= 0 ;
21529 PyObject
* obj5
= 0 ;
21530 PyObject
* obj6
= 0 ;
21531 char *kwnames
[] = {
21532 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21539 arg2
= (int)SWIG_As_int(obj1
);
21540 if (PyErr_Occurred()) SWIG_fail
;
21545 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21551 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21555 arg5
= (long)SWIG_As_long(obj4
);
21556 if (PyErr_Occurred()) SWIG_fail
;
21559 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
21560 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21562 if (arg6
== NULL
) {
21563 PyErr_SetString(PyExc_TypeError
,"null reference");
21569 arg7
= wxString_in_helper(obj6
);
21570 if (arg7
== NULL
) SWIG_fail
;
21575 if (!wxPyCheckForApp()) SWIG_fail
;
21576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21577 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
21579 wxPyEndAllowThreads(__tstate
);
21580 if (PyErr_Occurred()) SWIG_fail
;
21582 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21597 static PyObject
*_wrap_new_PreListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21598 PyObject
*resultobj
;
21599 wxPyListCtrl
*result
;
21600 char *kwnames
[] = {
21604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
21606 if (!wxPyCheckForApp()) SWIG_fail
;
21607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21608 result
= (wxPyListCtrl
*)new wxPyListCtrl();
21610 wxPyEndAllowThreads(__tstate
);
21611 if (PyErr_Occurred()) SWIG_fail
;
21613 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21620 static PyObject
*_wrap_ListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21621 PyObject
*resultobj
;
21622 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21623 wxWindow
*arg2
= (wxWindow
*) 0 ;
21624 int arg3
= (int) -1 ;
21625 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21626 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21627 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21628 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21629 long arg6
= (long) wxLC_ICON
;
21630 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
21631 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
21632 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
21633 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21637 bool temp8
= false ;
21638 PyObject
* obj0
= 0 ;
21639 PyObject
* obj1
= 0 ;
21640 PyObject
* obj2
= 0 ;
21641 PyObject
* obj3
= 0 ;
21642 PyObject
* obj4
= 0 ;
21643 PyObject
* obj5
= 0 ;
21644 PyObject
* obj6
= 0 ;
21645 PyObject
* obj7
= 0 ;
21646 char *kwnames
[] = {
21647 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
21651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21653 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21656 arg3
= (int)SWIG_As_int(obj2
);
21657 if (PyErr_Occurred()) SWIG_fail
;
21662 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21668 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21672 arg6
= (long)SWIG_As_long(obj5
);
21673 if (PyErr_Occurred()) SWIG_fail
;
21676 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
21677 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21679 if (arg7
== NULL
) {
21680 PyErr_SetString(PyExc_TypeError
,"null reference");
21686 arg8
= wxString_in_helper(obj7
);
21687 if (arg8
== NULL
) SWIG_fail
;
21692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21693 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
21695 wxPyEndAllowThreads(__tstate
);
21696 if (PyErr_Occurred()) SWIG_fail
;
21699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21715 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21716 PyObject
*resultobj
;
21717 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21718 PyObject
*arg2
= (PyObject
*) 0 ;
21719 PyObject
*arg3
= (PyObject
*) 0 ;
21720 PyObject
* obj0
= 0 ;
21721 PyObject
* obj1
= 0 ;
21722 PyObject
* obj2
= 0 ;
21723 char *kwnames
[] = {
21724 (char *) "self",(char *) "self",(char *) "_class", NULL
21727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21734 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21736 wxPyEndAllowThreads(__tstate
);
21737 if (PyErr_Occurred()) SWIG_fail
;
21739 Py_INCREF(Py_None
); resultobj
= Py_None
;
21746 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21747 PyObject
*resultobj
;
21748 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21749 wxColour
*arg2
= 0 ;
21752 PyObject
* obj0
= 0 ;
21753 PyObject
* obj1
= 0 ;
21754 char *kwnames
[] = {
21755 (char *) "self",(char *) "col", NULL
21758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21763 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21767 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
21769 wxPyEndAllowThreads(__tstate
);
21770 if (PyErr_Occurred()) SWIG_fail
;
21773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21781 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21782 PyObject
*resultobj
;
21783 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21784 wxColour
*arg2
= 0 ;
21787 PyObject
* obj0
= 0 ;
21788 PyObject
* obj1
= 0 ;
21789 char *kwnames
[] = {
21790 (char *) "self",(char *) "col", NULL
21793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21798 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21802 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21804 wxPyEndAllowThreads(__tstate
);
21805 if (PyErr_Occurred()) SWIG_fail
;
21808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21816 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21817 PyObject
*resultobj
;
21818 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21820 wxListItem
*result
;
21821 PyObject
* obj0
= 0 ;
21822 PyObject
* obj1
= 0 ;
21823 char *kwnames
[] = {
21824 (char *) "self",(char *) "col", NULL
21827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21830 arg2
= (int)SWIG_As_int(obj1
);
21831 if (PyErr_Occurred()) SWIG_fail
;
21833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21834 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
21836 wxPyEndAllowThreads(__tstate
);
21837 if (PyErr_Occurred()) SWIG_fail
;
21840 resultobj
= wxPyMake_wxObject(result
, 0);
21848 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21849 PyObject
*resultobj
;
21850 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21852 wxListItem
*arg3
= 0 ;
21854 PyObject
* obj0
= 0 ;
21855 PyObject
* obj1
= 0 ;
21856 PyObject
* obj2
= 0 ;
21857 char *kwnames
[] = {
21858 (char *) "self",(char *) "col",(char *) "item", NULL
21861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21864 arg2
= (int)SWIG_As_int(obj1
);
21865 if (PyErr_Occurred()) SWIG_fail
;
21866 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
21867 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21869 if (arg3
== NULL
) {
21870 PyErr_SetString(PyExc_TypeError
,"null reference");
21874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21875 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
21877 wxPyEndAllowThreads(__tstate
);
21878 if (PyErr_Occurred()) SWIG_fail
;
21881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21889 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21890 PyObject
*resultobj
;
21891 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21894 PyObject
* obj0
= 0 ;
21895 PyObject
* obj1
= 0 ;
21896 char *kwnames
[] = {
21897 (char *) "self",(char *) "col", NULL
21900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
21901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21903 arg2
= (int)SWIG_As_int(obj1
);
21904 if (PyErr_Occurred()) SWIG_fail
;
21906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21907 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
21909 wxPyEndAllowThreads(__tstate
);
21910 if (PyErr_Occurred()) SWIG_fail
;
21912 resultobj
= SWIG_From_int((int)result
);
21919 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21920 PyObject
*resultobj
;
21921 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21925 PyObject
* obj0
= 0 ;
21926 PyObject
* obj1
= 0 ;
21927 PyObject
* obj2
= 0 ;
21928 char *kwnames
[] = {
21929 (char *) "self",(char *) "col",(char *) "width", NULL
21932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21935 arg2
= (int)SWIG_As_int(obj1
);
21936 if (PyErr_Occurred()) SWIG_fail
;
21937 arg3
= (int)SWIG_As_int(obj2
);
21938 if (PyErr_Occurred()) SWIG_fail
;
21940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21941 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
21943 wxPyEndAllowThreads(__tstate
);
21944 if (PyErr_Occurred()) SWIG_fail
;
21947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21955 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21956 PyObject
*resultobj
;
21957 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21959 PyObject
* obj0
= 0 ;
21960 char *kwnames
[] = {
21961 (char *) "self", NULL
21964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
21965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21969 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
21971 wxPyEndAllowThreads(__tstate
);
21972 if (PyErr_Occurred()) SWIG_fail
;
21974 resultobj
= SWIG_From_int((int)result
);
21981 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21982 PyObject
*resultobj
;
21983 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21985 PyObject
* obj0
= 0 ;
21986 char *kwnames
[] = {
21987 (char *) "self", NULL
21990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
21991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21995 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
21997 wxPyEndAllowThreads(__tstate
);
21998 if (PyErr_Occurred()) SWIG_fail
;
22001 wxRect
* resultptr
;
22002 resultptr
= new wxRect((wxRect
&) result
);
22003 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22011 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22012 PyObject
*resultobj
;
22013 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22015 int arg3
= (int) 0 ;
22016 wxListItem
*result
;
22017 PyObject
* obj0
= 0 ;
22018 PyObject
* obj1
= 0 ;
22019 PyObject
* obj2
= 0 ;
22020 char *kwnames
[] = {
22021 (char *) "self",(char *) "itemId",(char *) "col", NULL
22024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22027 arg2
= (long)SWIG_As_long(obj1
);
22028 if (PyErr_Occurred()) SWIG_fail
;
22030 arg3
= (int)SWIG_As_int(obj2
);
22031 if (PyErr_Occurred()) SWIG_fail
;
22034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22035 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
22037 wxPyEndAllowThreads(__tstate
);
22038 if (PyErr_Occurred()) SWIG_fail
;
22041 resultobj
= wxPyMake_wxObject(result
, 0);
22049 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22050 PyObject
*resultobj
;
22051 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22052 wxListItem
*arg2
= 0 ;
22054 PyObject
* obj0
= 0 ;
22055 PyObject
* obj1
= 0 ;
22056 char *kwnames
[] = {
22057 (char *) "self",(char *) "info", NULL
22060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22063 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
22064 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22066 if (arg2
== NULL
) {
22067 PyErr_SetString(PyExc_TypeError
,"null reference");
22071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22072 result
= (bool)(arg1
)->SetItem(*arg2
);
22074 wxPyEndAllowThreads(__tstate
);
22075 if (PyErr_Occurred()) SWIG_fail
;
22078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22086 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22087 PyObject
*resultobj
;
22088 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22091 wxString
*arg4
= 0 ;
22092 int arg5
= (int) -1 ;
22094 bool temp4
= false ;
22095 PyObject
* obj0
= 0 ;
22096 PyObject
* obj1
= 0 ;
22097 PyObject
* obj2
= 0 ;
22098 PyObject
* obj3
= 0 ;
22099 PyObject
* obj4
= 0 ;
22100 char *kwnames
[] = {
22101 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
22104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22107 arg2
= (long)SWIG_As_long(obj1
);
22108 if (PyErr_Occurred()) SWIG_fail
;
22109 arg3
= (int)SWIG_As_int(obj2
);
22110 if (PyErr_Occurred()) SWIG_fail
;
22112 arg4
= wxString_in_helper(obj3
);
22113 if (arg4
== NULL
) SWIG_fail
;
22117 arg5
= (int)SWIG_As_int(obj4
);
22118 if (PyErr_Occurred()) SWIG_fail
;
22121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22122 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
22124 wxPyEndAllowThreads(__tstate
);
22125 if (PyErr_Occurred()) SWIG_fail
;
22127 resultobj
= SWIG_From_long((long)result
);
22142 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22143 PyObject
*resultobj
;
22144 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22148 PyObject
* obj0
= 0 ;
22149 PyObject
* obj1
= 0 ;
22150 PyObject
* obj2
= 0 ;
22151 char *kwnames
[] = {
22152 (char *) "self",(char *) "item",(char *) "stateMask", NULL
22155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22158 arg2
= (long)SWIG_As_long(obj1
);
22159 if (PyErr_Occurred()) SWIG_fail
;
22160 arg3
= (long)SWIG_As_long(obj2
);
22161 if (PyErr_Occurred()) SWIG_fail
;
22163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22164 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
22166 wxPyEndAllowThreads(__tstate
);
22167 if (PyErr_Occurred()) SWIG_fail
;
22169 resultobj
= SWIG_From_int((int)result
);
22176 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22177 PyObject
*resultobj
;
22178 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22183 PyObject
* obj0
= 0 ;
22184 PyObject
* obj1
= 0 ;
22185 PyObject
* obj2
= 0 ;
22186 PyObject
* obj3
= 0 ;
22187 char *kwnames
[] = {
22188 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
22191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22194 arg2
= (long)SWIG_As_long(obj1
);
22195 if (PyErr_Occurred()) SWIG_fail
;
22196 arg3
= (long)SWIG_As_long(obj2
);
22197 if (PyErr_Occurred()) SWIG_fail
;
22198 arg4
= (long)SWIG_As_long(obj3
);
22199 if (PyErr_Occurred()) SWIG_fail
;
22201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22202 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
22204 wxPyEndAllowThreads(__tstate
);
22205 if (PyErr_Occurred()) SWIG_fail
;
22208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22216 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22217 PyObject
*resultobj
;
22218 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22221 int arg4
= (int) -1 ;
22223 PyObject
* obj0
= 0 ;
22224 PyObject
* obj1
= 0 ;
22225 PyObject
* obj2
= 0 ;
22226 PyObject
* obj3
= 0 ;
22227 char *kwnames
[] = {
22228 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
22231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22234 arg2
= (long)SWIG_As_long(obj1
);
22235 if (PyErr_Occurred()) SWIG_fail
;
22236 arg3
= (int)SWIG_As_int(obj2
);
22237 if (PyErr_Occurred()) SWIG_fail
;
22239 arg4
= (int)SWIG_As_int(obj3
);
22240 if (PyErr_Occurred()) SWIG_fail
;
22243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22244 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
22246 wxPyEndAllowThreads(__tstate
);
22247 if (PyErr_Occurred()) SWIG_fail
;
22250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22258 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22259 PyObject
*resultobj
;
22260 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22263 PyObject
* obj0
= 0 ;
22264 PyObject
* obj1
= 0 ;
22265 char *kwnames
[] = {
22266 (char *) "self",(char *) "item", NULL
22269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
22270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22272 arg2
= (long)SWIG_As_long(obj1
);
22273 if (PyErr_Occurred()) SWIG_fail
;
22275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22276 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
22278 wxPyEndAllowThreads(__tstate
);
22279 if (PyErr_Occurred()) SWIG_fail
;
22283 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22285 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22294 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22295 PyObject
*resultobj
;
22296 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22298 wxString
*arg3
= 0 ;
22299 bool temp3
= false ;
22300 PyObject
* obj0
= 0 ;
22301 PyObject
* obj1
= 0 ;
22302 PyObject
* obj2
= 0 ;
22303 char *kwnames
[] = {
22304 (char *) "self",(char *) "item",(char *) "str", NULL
22307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22310 arg2
= (long)SWIG_As_long(obj1
);
22311 if (PyErr_Occurred()) SWIG_fail
;
22313 arg3
= wxString_in_helper(obj2
);
22314 if (arg3
== NULL
) SWIG_fail
;
22318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22319 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
22321 wxPyEndAllowThreads(__tstate
);
22322 if (PyErr_Occurred()) SWIG_fail
;
22324 Py_INCREF(Py_None
); resultobj
= Py_None
;
22339 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22340 PyObject
*resultobj
;
22341 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22344 PyObject
* obj0
= 0 ;
22345 PyObject
* obj1
= 0 ;
22346 char *kwnames
[] = {
22347 (char *) "self",(char *) "item", NULL
22350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
22351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22353 arg2
= (long)SWIG_As_long(obj1
);
22354 if (PyErr_Occurred()) SWIG_fail
;
22356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22357 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
22359 wxPyEndAllowThreads(__tstate
);
22360 if (PyErr_Occurred()) SWIG_fail
;
22362 resultobj
= SWIG_From_long((long)result
);
22369 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22370 PyObject
*resultobj
;
22371 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22375 PyObject
* obj0
= 0 ;
22376 PyObject
* obj1
= 0 ;
22377 PyObject
* obj2
= 0 ;
22378 char *kwnames
[] = {
22379 (char *) "self",(char *) "item",(char *) "data", NULL
22382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22385 arg2
= (long)SWIG_As_long(obj1
);
22386 if (PyErr_Occurred()) SWIG_fail
;
22387 arg3
= (long)SWIG_As_long(obj2
);
22388 if (PyErr_Occurred()) SWIG_fail
;
22390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22391 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
22393 wxPyEndAllowThreads(__tstate
);
22394 if (PyErr_Occurred()) SWIG_fail
;
22397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22405 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22406 PyObject
*resultobj
;
22407 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22410 PyObject
* obj0
= 0 ;
22411 PyObject
* obj1
= 0 ;
22412 char *kwnames
[] = {
22413 (char *) "self",(char *) "item", NULL
22416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
22417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22419 arg2
= (long)SWIG_As_long(obj1
);
22420 if (PyErr_Occurred()) SWIG_fail
;
22422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22423 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
22425 wxPyEndAllowThreads(__tstate
);
22426 if (PyErr_Occurred()) SWIG_fail
;
22429 wxPoint
* resultptr
;
22430 resultptr
= new wxPoint((wxPoint
&) result
);
22431 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22439 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22440 PyObject
*resultobj
;
22441 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22443 int arg3
= (int) wxLIST_RECT_BOUNDS
;
22445 PyObject
* obj0
= 0 ;
22446 PyObject
* obj1
= 0 ;
22447 PyObject
* obj2
= 0 ;
22448 char *kwnames
[] = {
22449 (char *) "self",(char *) "item",(char *) "code", NULL
22452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22455 arg2
= (long)SWIG_As_long(obj1
);
22456 if (PyErr_Occurred()) SWIG_fail
;
22458 arg3
= (int)SWIG_As_int(obj2
);
22459 if (PyErr_Occurred()) SWIG_fail
;
22462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22463 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
22465 wxPyEndAllowThreads(__tstate
);
22466 if (PyErr_Occurred()) SWIG_fail
;
22469 wxRect
* resultptr
;
22470 resultptr
= new wxRect((wxRect
&) result
);
22471 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22479 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22480 PyObject
*resultobj
;
22481 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22483 wxPoint
*arg3
= 0 ;
22486 PyObject
* obj0
= 0 ;
22487 PyObject
* obj1
= 0 ;
22488 PyObject
* obj2
= 0 ;
22489 char *kwnames
[] = {
22490 (char *) "self",(char *) "item",(char *) "pos", NULL
22493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22496 arg2
= (long)SWIG_As_long(obj1
);
22497 if (PyErr_Occurred()) SWIG_fail
;
22500 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22504 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
22506 wxPyEndAllowThreads(__tstate
);
22507 if (PyErr_Occurred()) SWIG_fail
;
22510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22518 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22519 PyObject
*resultobj
;
22520 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22522 PyObject
* obj0
= 0 ;
22523 char *kwnames
[] = {
22524 (char *) "self", NULL
22527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
22528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22532 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
22534 wxPyEndAllowThreads(__tstate
);
22535 if (PyErr_Occurred()) SWIG_fail
;
22537 resultobj
= SWIG_From_int((int)result
);
22544 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22545 PyObject
*resultobj
;
22546 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22548 PyObject
* obj0
= 0 ;
22549 char *kwnames
[] = {
22550 (char *) "self", NULL
22553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
22554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22558 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
22560 wxPyEndAllowThreads(__tstate
);
22561 if (PyErr_Occurred()) SWIG_fail
;
22563 resultobj
= SWIG_From_int((int)result
);
22570 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22571 PyObject
*resultobj
;
22572 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22574 PyObject
* obj0
= 0 ;
22575 char *kwnames
[] = {
22576 (char *) "self", NULL
22579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
22580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22584 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
22586 wxPyEndAllowThreads(__tstate
);
22587 if (PyErr_Occurred()) SWIG_fail
;
22590 wxSize
* resultptr
;
22591 resultptr
= new wxSize((wxSize
&) result
);
22592 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22600 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22601 PyObject
*resultobj
;
22602 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22604 bool arg3
= (bool) false ;
22605 PyObject
* obj0
= 0 ;
22606 PyObject
* obj1
= 0 ;
22607 PyObject
* obj2
= 0 ;
22608 char *kwnames
[] = {
22609 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
22612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22615 arg2
= (int)SWIG_As_int(obj1
);
22616 if (PyErr_Occurred()) SWIG_fail
;
22618 arg3
= (bool)SWIG_As_bool(obj2
);
22619 if (PyErr_Occurred()) SWIG_fail
;
22622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22623 (arg1
)->SetItemSpacing(arg2
,arg3
);
22625 wxPyEndAllowThreads(__tstate
);
22626 if (PyErr_Occurred()) SWIG_fail
;
22628 Py_INCREF(Py_None
); resultobj
= Py_None
;
22635 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22636 PyObject
*resultobj
;
22637 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22639 PyObject
* obj0
= 0 ;
22640 char *kwnames
[] = {
22641 (char *) "self", NULL
22644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
22645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22649 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
22651 wxPyEndAllowThreads(__tstate
);
22652 if (PyErr_Occurred()) SWIG_fail
;
22654 resultobj
= SWIG_From_int((int)result
);
22661 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22662 PyObject
*resultobj
;
22663 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22665 PyObject
* obj0
= 0 ;
22666 char *kwnames
[] = {
22667 (char *) "self", NULL
22670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
22671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22675 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
22677 wxPyEndAllowThreads(__tstate
);
22678 if (PyErr_Occurred()) SWIG_fail
;
22681 wxColour
* resultptr
;
22682 resultptr
= new wxColour((wxColour
&) result
);
22683 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22691 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22692 PyObject
*resultobj
;
22693 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22694 wxColour
*arg2
= 0 ;
22696 PyObject
* obj0
= 0 ;
22697 PyObject
* obj1
= 0 ;
22698 char *kwnames
[] = {
22699 (char *) "self",(char *) "col", NULL
22702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22707 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22711 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22713 wxPyEndAllowThreads(__tstate
);
22714 if (PyErr_Occurred()) SWIG_fail
;
22716 Py_INCREF(Py_None
); resultobj
= Py_None
;
22723 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22724 PyObject
*resultobj
;
22725 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22727 PyObject
* obj0
= 0 ;
22728 char *kwnames
[] = {
22729 (char *) "self", NULL
22732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
22733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22737 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
22739 wxPyEndAllowThreads(__tstate
);
22740 if (PyErr_Occurred()) SWIG_fail
;
22742 resultobj
= SWIG_From_long((long)result
);
22749 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22750 PyObject
*resultobj
;
22751 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22753 bool arg3
= (bool) true ;
22754 PyObject
* obj0
= 0 ;
22755 PyObject
* obj1
= 0 ;
22756 PyObject
* obj2
= 0 ;
22757 char *kwnames
[] = {
22758 (char *) "self",(char *) "style",(char *) "add", NULL
22761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22764 arg2
= (long)SWIG_As_long(obj1
);
22765 if (PyErr_Occurred()) SWIG_fail
;
22767 arg3
= (bool)SWIG_As_bool(obj2
);
22768 if (PyErr_Occurred()) SWIG_fail
;
22771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22772 (arg1
)->SetSingleStyle(arg2
,arg3
);
22774 wxPyEndAllowThreads(__tstate
);
22775 if (PyErr_Occurred()) SWIG_fail
;
22777 Py_INCREF(Py_None
); resultobj
= Py_None
;
22784 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22785 PyObject
*resultobj
;
22786 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22788 PyObject
* obj0
= 0 ;
22789 PyObject
* obj1
= 0 ;
22790 char *kwnames
[] = {
22791 (char *) "self",(char *) "style", NULL
22794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
22795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22797 arg2
= (long)SWIG_As_long(obj1
);
22798 if (PyErr_Occurred()) SWIG_fail
;
22800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22801 (arg1
)->SetWindowStyleFlag(arg2
);
22803 wxPyEndAllowThreads(__tstate
);
22804 if (PyErr_Occurred()) SWIG_fail
;
22806 Py_INCREF(Py_None
); resultobj
= Py_None
;
22813 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22814 PyObject
*resultobj
;
22815 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22817 int arg3
= (int) wxLIST_NEXT_ALL
;
22818 int arg4
= (int) wxLIST_STATE_DONTCARE
;
22820 PyObject
* obj0
= 0 ;
22821 PyObject
* obj1
= 0 ;
22822 PyObject
* obj2
= 0 ;
22823 PyObject
* obj3
= 0 ;
22824 char *kwnames
[] = {
22825 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
22828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22831 arg2
= (long)SWIG_As_long(obj1
);
22832 if (PyErr_Occurred()) SWIG_fail
;
22834 arg3
= (int)SWIG_As_int(obj2
);
22835 if (PyErr_Occurred()) SWIG_fail
;
22838 arg4
= (int)SWIG_As_int(obj3
);
22839 if (PyErr_Occurred()) SWIG_fail
;
22842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22843 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
22845 wxPyEndAllowThreads(__tstate
);
22846 if (PyErr_Occurred()) SWIG_fail
;
22848 resultobj
= SWIG_From_long((long)result
);
22855 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22856 PyObject
*resultobj
;
22857 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22859 wxImageList
*result
;
22860 PyObject
* obj0
= 0 ;
22861 PyObject
* obj1
= 0 ;
22862 char *kwnames
[] = {
22863 (char *) "self",(char *) "which", NULL
22866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
22867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22869 arg2
= (int)SWIG_As_int(obj1
);
22870 if (PyErr_Occurred()) SWIG_fail
;
22872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22873 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
22875 wxPyEndAllowThreads(__tstate
);
22876 if (PyErr_Occurred()) SWIG_fail
;
22879 resultobj
= wxPyMake_wxObject(result
, 0);
22887 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22888 PyObject
*resultobj
;
22889 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22890 wxImageList
*arg2
= (wxImageList
*) 0 ;
22892 PyObject
* obj0
= 0 ;
22893 PyObject
* obj1
= 0 ;
22894 PyObject
* obj2
= 0 ;
22895 char *kwnames
[] = {
22896 (char *) "self",(char *) "imageList",(char *) "which", NULL
22899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22902 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22904 arg3
= (int)SWIG_As_int(obj2
);
22905 if (PyErr_Occurred()) SWIG_fail
;
22907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22908 (arg1
)->SetImageList(arg2
,arg3
);
22910 wxPyEndAllowThreads(__tstate
);
22911 if (PyErr_Occurred()) SWIG_fail
;
22913 Py_INCREF(Py_None
); resultobj
= Py_None
;
22920 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22921 PyObject
*resultobj
;
22922 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22923 wxImageList
*arg2
= (wxImageList
*) 0 ;
22925 PyObject
* obj0
= 0 ;
22926 PyObject
* obj1
= 0 ;
22927 PyObject
* obj2
= 0 ;
22928 char *kwnames
[] = {
22929 (char *) "self",(char *) "imageList",(char *) "which", NULL
22932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22935 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22936 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22937 arg3
= (int)SWIG_As_int(obj2
);
22938 if (PyErr_Occurred()) SWIG_fail
;
22940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22941 (arg1
)->AssignImageList(arg2
,arg3
);
22943 wxPyEndAllowThreads(__tstate
);
22944 if (PyErr_Occurred()) SWIG_fail
;
22946 Py_INCREF(Py_None
); resultobj
= Py_None
;
22953 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22954 PyObject
*resultobj
;
22955 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22957 PyObject
* obj0
= 0 ;
22958 char *kwnames
[] = {
22959 (char *) "self", NULL
22962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
22963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22967 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
22969 wxPyEndAllowThreads(__tstate
);
22970 if (PyErr_Occurred()) SWIG_fail
;
22973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22981 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22982 PyObject
*resultobj
;
22983 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22985 PyObject
* obj0
= 0 ;
22986 char *kwnames
[] = {
22987 (char *) "self", NULL
22990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
22991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22995 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
22997 wxPyEndAllowThreads(__tstate
);
22998 if (PyErr_Occurred()) SWIG_fail
;
23001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23009 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23010 PyObject
*resultobj
;
23011 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23013 PyObject
* obj0
= 0 ;
23014 PyObject
* obj1
= 0 ;
23015 char *kwnames
[] = {
23016 (char *) "self",(char *) "item", NULL
23019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23022 arg2
= (long)SWIG_As_long(obj1
);
23023 if (PyErr_Occurred()) SWIG_fail
;
23025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23026 (arg1
)->RefreshItem(arg2
);
23028 wxPyEndAllowThreads(__tstate
);
23029 if (PyErr_Occurred()) SWIG_fail
;
23031 Py_INCREF(Py_None
); resultobj
= Py_None
;
23038 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23039 PyObject
*resultobj
;
23040 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23043 PyObject
* obj0
= 0 ;
23044 PyObject
* obj1
= 0 ;
23045 PyObject
* obj2
= 0 ;
23046 char *kwnames
[] = {
23047 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
23050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23053 arg2
= (long)SWIG_As_long(obj1
);
23054 if (PyErr_Occurred()) SWIG_fail
;
23055 arg3
= (long)SWIG_As_long(obj2
);
23056 if (PyErr_Occurred()) SWIG_fail
;
23058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23059 (arg1
)->RefreshItems(arg2
,arg3
);
23061 wxPyEndAllowThreads(__tstate
);
23062 if (PyErr_Occurred()) SWIG_fail
;
23064 Py_INCREF(Py_None
); resultobj
= Py_None
;
23071 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23072 PyObject
*resultobj
;
23073 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23074 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
23076 PyObject
* obj0
= 0 ;
23077 PyObject
* obj1
= 0 ;
23078 char *kwnames
[] = {
23079 (char *) "self",(char *) "flag", NULL
23082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
23083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23086 arg2
= (int)SWIG_As_int(obj1
);
23087 if (PyErr_Occurred()) SWIG_fail
;
23090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23091 result
= (bool)(arg1
)->Arrange(arg2
);
23093 wxPyEndAllowThreads(__tstate
);
23094 if (PyErr_Occurred()) SWIG_fail
;
23097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23105 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23106 PyObject
*resultobj
;
23107 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23110 PyObject
* obj0
= 0 ;
23111 PyObject
* obj1
= 0 ;
23112 char *kwnames
[] = {
23113 (char *) "self",(char *) "item", NULL
23116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23119 arg2
= (long)SWIG_As_long(obj1
);
23120 if (PyErr_Occurred()) SWIG_fail
;
23122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23123 result
= (bool)(arg1
)->DeleteItem(arg2
);
23125 wxPyEndAllowThreads(__tstate
);
23126 if (PyErr_Occurred()) SWIG_fail
;
23129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23137 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23138 PyObject
*resultobj
;
23139 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23141 PyObject
* obj0
= 0 ;
23142 char *kwnames
[] = {
23143 (char *) "self", NULL
23146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
23147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23151 result
= (bool)(arg1
)->DeleteAllItems();
23153 wxPyEndAllowThreads(__tstate
);
23154 if (PyErr_Occurred()) SWIG_fail
;
23157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23165 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23166 PyObject
*resultobj
;
23167 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23170 PyObject
* obj0
= 0 ;
23171 PyObject
* obj1
= 0 ;
23172 char *kwnames
[] = {
23173 (char *) "self",(char *) "col", NULL
23176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
23177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23179 arg2
= (int)SWIG_As_int(obj1
);
23180 if (PyErr_Occurred()) SWIG_fail
;
23182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23183 result
= (bool)(arg1
)->DeleteColumn(arg2
);
23185 wxPyEndAllowThreads(__tstate
);
23186 if (PyErr_Occurred()) SWIG_fail
;
23189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23197 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23198 PyObject
*resultobj
;
23199 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23201 PyObject
* obj0
= 0 ;
23202 char *kwnames
[] = {
23203 (char *) "self", NULL
23206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
23207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23211 result
= (bool)(arg1
)->DeleteAllColumns();
23213 wxPyEndAllowThreads(__tstate
);
23214 if (PyErr_Occurred()) SWIG_fail
;
23217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23225 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23226 PyObject
*resultobj
;
23227 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23228 PyObject
* obj0
= 0 ;
23229 char *kwnames
[] = {
23230 (char *) "self", NULL
23233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",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 (arg1
)->ClearAll();
23240 wxPyEndAllowThreads(__tstate
);
23241 if (PyErr_Occurred()) SWIG_fail
;
23243 Py_INCREF(Py_None
); resultobj
= Py_None
;
23250 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23251 PyObject
*resultobj
;
23252 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23254 PyObject
* obj0
= 0 ;
23255 PyObject
* obj1
= 0 ;
23256 char *kwnames
[] = {
23257 (char *) "self",(char *) "item", NULL
23260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
23261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23263 arg2
= (long)SWIG_As_long(obj1
);
23264 if (PyErr_Occurred()) SWIG_fail
;
23266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23267 (arg1
)->EditLabel(arg2
);
23269 wxPyEndAllowThreads(__tstate
);
23270 if (PyErr_Occurred()) SWIG_fail
;
23272 Py_INCREF(Py_None
); resultobj
= Py_None
;
23279 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23280 PyObject
*resultobj
;
23281 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_EnsureVisible",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 result
= (bool)(arg1
)->EnsureVisible(arg2
);
23299 wxPyEndAllowThreads(__tstate
);
23300 if (PyErr_Occurred()) SWIG_fail
;
23303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23311 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23312 PyObject
*resultobj
;
23313 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23315 wxString
*arg3
= 0 ;
23316 bool arg4
= (bool) false ;
23318 bool temp3
= false ;
23319 PyObject
* obj0
= 0 ;
23320 PyObject
* obj1
= 0 ;
23321 PyObject
* obj2
= 0 ;
23322 PyObject
* obj3
= 0 ;
23323 char *kwnames
[] = {
23324 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
23327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23330 arg2
= (long)SWIG_As_long(obj1
);
23331 if (PyErr_Occurred()) SWIG_fail
;
23333 arg3
= wxString_in_helper(obj2
);
23334 if (arg3
== NULL
) SWIG_fail
;
23338 arg4
= (bool)SWIG_As_bool(obj3
);
23339 if (PyErr_Occurred()) SWIG_fail
;
23342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23343 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
23345 wxPyEndAllowThreads(__tstate
);
23346 if (PyErr_Occurred()) SWIG_fail
;
23348 resultobj
= SWIG_From_long((long)result
);
23363 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23364 PyObject
*resultobj
;
23365 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23369 PyObject
* obj0
= 0 ;
23370 PyObject
* obj1
= 0 ;
23371 PyObject
* obj2
= 0 ;
23372 char *kwnames
[] = {
23373 (char *) "self",(char *) "start",(char *) "data", NULL
23376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23379 arg2
= (long)SWIG_As_long(obj1
);
23380 if (PyErr_Occurred()) SWIG_fail
;
23381 arg3
= (long)SWIG_As_long(obj2
);
23382 if (PyErr_Occurred()) SWIG_fail
;
23384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23385 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
23387 wxPyEndAllowThreads(__tstate
);
23388 if (PyErr_Occurred()) SWIG_fail
;
23390 resultobj
= SWIG_From_long((long)result
);
23397 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23398 PyObject
*resultobj
;
23399 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23401 wxPoint
*arg3
= 0 ;
23405 PyObject
* obj0
= 0 ;
23406 PyObject
* obj1
= 0 ;
23407 PyObject
* obj2
= 0 ;
23408 PyObject
* obj3
= 0 ;
23409 char *kwnames
[] = {
23410 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
23413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23416 arg2
= (long)SWIG_As_long(obj1
);
23417 if (PyErr_Occurred()) SWIG_fail
;
23420 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23422 arg4
= (int)SWIG_As_int(obj3
);
23423 if (PyErr_Occurred()) SWIG_fail
;
23425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23426 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
23428 wxPyEndAllowThreads(__tstate
);
23429 if (PyErr_Occurred()) SWIG_fail
;
23431 resultobj
= SWIG_From_long((long)result
);
23438 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23439 PyObject
*resultobj
;
23440 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23441 wxPoint
*arg2
= 0 ;
23447 PyObject
* obj0
= 0 ;
23448 PyObject
* obj1
= 0 ;
23449 char *kwnames
[] = {
23450 (char *) "self",(char *) "point", NULL
23453 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
23455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23459 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23463 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
23465 wxPyEndAllowThreads(__tstate
);
23466 if (PyErr_Occurred()) SWIG_fail
;
23468 resultobj
= SWIG_From_long((long)result
);
23469 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23470 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23477 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23478 PyObject
*resultobj
;
23479 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23480 wxListItem
*arg2
= 0 ;
23482 PyObject
* obj0
= 0 ;
23483 PyObject
* obj1
= 0 ;
23484 char *kwnames
[] = {
23485 (char *) "self",(char *) "info", NULL
23488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23491 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
23492 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23494 if (arg2
== NULL
) {
23495 PyErr_SetString(PyExc_TypeError
,"null reference");
23499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23500 result
= (long)(arg1
)->InsertItem(*arg2
);
23502 wxPyEndAllowThreads(__tstate
);
23503 if (PyErr_Occurred()) SWIG_fail
;
23505 resultobj
= SWIG_From_long((long)result
);
23512 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23513 PyObject
*resultobj
;
23514 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23516 wxString
*arg3
= 0 ;
23518 bool temp3
= false ;
23519 PyObject
* obj0
= 0 ;
23520 PyObject
* obj1
= 0 ;
23521 PyObject
* obj2
= 0 ;
23522 char *kwnames
[] = {
23523 (char *) "self",(char *) "index",(char *) "label", NULL
23526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23529 arg2
= (long)SWIG_As_long(obj1
);
23530 if (PyErr_Occurred()) SWIG_fail
;
23532 arg3
= wxString_in_helper(obj2
);
23533 if (arg3
== NULL
) SWIG_fail
;
23537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23538 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
23540 wxPyEndAllowThreads(__tstate
);
23541 if (PyErr_Occurred()) SWIG_fail
;
23543 resultobj
= SWIG_From_long((long)result
);
23558 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23559 PyObject
*resultobj
;
23560 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23564 PyObject
* obj0
= 0 ;
23565 PyObject
* obj1
= 0 ;
23566 PyObject
* obj2
= 0 ;
23567 char *kwnames
[] = {
23568 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
23571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23574 arg2
= (long)SWIG_As_long(obj1
);
23575 if (PyErr_Occurred()) SWIG_fail
;
23576 arg3
= (int)SWIG_As_int(obj2
);
23577 if (PyErr_Occurred()) SWIG_fail
;
23579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23580 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
23582 wxPyEndAllowThreads(__tstate
);
23583 if (PyErr_Occurred()) SWIG_fail
;
23585 resultobj
= SWIG_From_long((long)result
);
23592 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23593 PyObject
*resultobj
;
23594 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23596 wxString
*arg3
= 0 ;
23599 bool temp3
= false ;
23600 PyObject
* obj0
= 0 ;
23601 PyObject
* obj1
= 0 ;
23602 PyObject
* obj2
= 0 ;
23603 PyObject
* obj3
= 0 ;
23604 char *kwnames
[] = {
23605 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
23608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23611 arg2
= (long)SWIG_As_long(obj1
);
23612 if (PyErr_Occurred()) SWIG_fail
;
23614 arg3
= wxString_in_helper(obj2
);
23615 if (arg3
== NULL
) SWIG_fail
;
23618 arg4
= (int)SWIG_As_int(obj3
);
23619 if (PyErr_Occurred()) SWIG_fail
;
23621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23622 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
23624 wxPyEndAllowThreads(__tstate
);
23625 if (PyErr_Occurred()) SWIG_fail
;
23627 resultobj
= SWIG_From_long((long)result
);
23642 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23643 PyObject
*resultobj
;
23644 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23646 wxListItem
*arg3
= 0 ;
23648 PyObject
* obj0
= 0 ;
23649 PyObject
* obj1
= 0 ;
23650 PyObject
* obj2
= 0 ;
23651 char *kwnames
[] = {
23652 (char *) "self",(char *) "col",(char *) "info", NULL
23655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23658 arg2
= (long)SWIG_As_long(obj1
);
23659 if (PyErr_Occurred()) SWIG_fail
;
23660 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
23661 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23663 if (arg3
== NULL
) {
23664 PyErr_SetString(PyExc_TypeError
,"null reference");
23668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23669 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
23671 wxPyEndAllowThreads(__tstate
);
23672 if (PyErr_Occurred()) SWIG_fail
;
23674 resultobj
= SWIG_From_long((long)result
);
23681 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23682 PyObject
*resultobj
;
23683 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23685 wxString
*arg3
= 0 ;
23686 int arg4
= (int) wxLIST_FORMAT_LEFT
;
23687 int arg5
= (int) -1 ;
23689 bool temp3
= false ;
23690 PyObject
* obj0
= 0 ;
23691 PyObject
* obj1
= 0 ;
23692 PyObject
* obj2
= 0 ;
23693 PyObject
* obj3
= 0 ;
23694 PyObject
* obj4
= 0 ;
23695 char *kwnames
[] = {
23696 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
23699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23702 arg2
= (long)SWIG_As_long(obj1
);
23703 if (PyErr_Occurred()) SWIG_fail
;
23705 arg3
= wxString_in_helper(obj2
);
23706 if (arg3
== NULL
) SWIG_fail
;
23710 arg4
= (int)SWIG_As_int(obj3
);
23711 if (PyErr_Occurred()) SWIG_fail
;
23714 arg5
= (int)SWIG_As_int(obj4
);
23715 if (PyErr_Occurred()) SWIG_fail
;
23718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23719 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
23721 wxPyEndAllowThreads(__tstate
);
23722 if (PyErr_Occurred()) SWIG_fail
;
23724 resultobj
= SWIG_From_long((long)result
);
23739 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23740 PyObject
*resultobj
;
23741 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23743 PyObject
* obj0
= 0 ;
23744 PyObject
* obj1
= 0 ;
23745 char *kwnames
[] = {
23746 (char *) "self",(char *) "count", NULL
23749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
23750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23752 arg2
= (long)SWIG_As_long(obj1
);
23753 if (PyErr_Occurred()) SWIG_fail
;
23755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23756 (arg1
)->SetItemCount(arg2
);
23758 wxPyEndAllowThreads(__tstate
);
23759 if (PyErr_Occurred()) SWIG_fail
;
23761 Py_INCREF(Py_None
); resultobj
= Py_None
;
23768 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23769 PyObject
*resultobj
;
23770 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23774 PyObject
* obj0
= 0 ;
23775 PyObject
* obj1
= 0 ;
23776 PyObject
* obj2
= 0 ;
23777 char *kwnames
[] = {
23778 (char *) "self",(char *) "dx",(char *) "dy", NULL
23781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23784 arg2
= (int)SWIG_As_int(obj1
);
23785 if (PyErr_Occurred()) SWIG_fail
;
23786 arg3
= (int)SWIG_As_int(obj2
);
23787 if (PyErr_Occurred()) SWIG_fail
;
23789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23790 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
23792 wxPyEndAllowThreads(__tstate
);
23793 if (PyErr_Occurred()) SWIG_fail
;
23796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23804 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23805 PyObject
*resultobj
;
23806 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23808 wxColour
*arg3
= 0 ;
23810 PyObject
* obj0
= 0 ;
23811 PyObject
* obj1
= 0 ;
23812 PyObject
* obj2
= 0 ;
23813 char *kwnames
[] = {
23814 (char *) "self",(char *) "item",(char *) "col", NULL
23817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23820 arg2
= (long)SWIG_As_long(obj1
);
23821 if (PyErr_Occurred()) SWIG_fail
;
23824 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23828 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
23830 wxPyEndAllowThreads(__tstate
);
23831 if (PyErr_Occurred()) SWIG_fail
;
23833 Py_INCREF(Py_None
); resultobj
= Py_None
;
23840 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23841 PyObject
*resultobj
;
23842 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23845 PyObject
* obj0
= 0 ;
23846 PyObject
* obj1
= 0 ;
23847 char *kwnames
[] = {
23848 (char *) "self",(char *) "item", NULL
23851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23854 arg2
= (long)SWIG_As_long(obj1
);
23855 if (PyErr_Occurred()) SWIG_fail
;
23857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23858 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
23860 wxPyEndAllowThreads(__tstate
);
23861 if (PyErr_Occurred()) SWIG_fail
;
23864 wxColour
* resultptr
;
23865 resultptr
= new wxColour((wxColour
&) result
);
23866 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23874 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23875 PyObject
*resultobj
;
23876 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23878 wxColour
*arg3
= 0 ;
23880 PyObject
* obj0
= 0 ;
23881 PyObject
* obj1
= 0 ;
23882 PyObject
* obj2
= 0 ;
23883 char *kwnames
[] = {
23884 (char *) "self",(char *) "item",(char *) "col", NULL
23887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23890 arg2
= (long)SWIG_As_long(obj1
);
23891 if (PyErr_Occurred()) SWIG_fail
;
23894 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23898 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
23900 wxPyEndAllowThreads(__tstate
);
23901 if (PyErr_Occurred()) SWIG_fail
;
23903 Py_INCREF(Py_None
); resultobj
= Py_None
;
23910 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23911 PyObject
*resultobj
;
23912 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23915 PyObject
* obj0
= 0 ;
23916 PyObject
* obj1
= 0 ;
23917 char *kwnames
[] = {
23918 (char *) "self",(char *) "item", NULL
23921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23924 arg2
= (long)SWIG_As_long(obj1
);
23925 if (PyErr_Occurred()) SWIG_fail
;
23927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23928 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
23930 wxPyEndAllowThreads(__tstate
);
23931 if (PyErr_Occurred()) SWIG_fail
;
23934 wxColour
* resultptr
;
23935 resultptr
= new wxColour((wxColour
&) result
);
23936 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23944 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23945 PyObject
*resultobj
;
23946 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23947 PyObject
*arg2
= (PyObject
*) 0 ;
23949 PyObject
* obj0
= 0 ;
23950 PyObject
* obj1
= 0 ;
23951 char *kwnames
[] = {
23952 (char *) "self",(char *) "func", NULL
23955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
23956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23961 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
23963 wxPyEndAllowThreads(__tstate
);
23964 if (PyErr_Occurred()) SWIG_fail
;
23967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23975 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23976 PyObject
*resultobj
;
23977 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23979 PyObject
* obj0
= 0 ;
23980 char *kwnames
[] = {
23981 (char *) "self", NULL
23984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
23985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23989 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
23991 wxPyEndAllowThreads(__tstate
);
23992 if (PyErr_Occurred()) SWIG_fail
;
23995 resultobj
= wxPyMake_wxObject(result
, 0);
24003 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24004 PyObject
*resultobj
;
24005 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
24006 wxVisualAttributes result
;
24007 PyObject
* obj0
= 0 ;
24008 char *kwnames
[] = {
24009 (char *) "variant", NULL
24012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
24014 arg1
= (int)SWIG_As_int(obj0
);
24015 if (PyErr_Occurred()) SWIG_fail
;
24018 if (!wxPyCheckForApp()) SWIG_fail
;
24019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24020 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
24022 wxPyEndAllowThreads(__tstate
);
24023 if (PyErr_Occurred()) SWIG_fail
;
24026 wxVisualAttributes
* resultptr
;
24027 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
24028 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
24036 static PyObject
* ListCtrl_swigregister(PyObject
*, PyObject
*args
) {
24038 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24039 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
24041 return Py_BuildValue((char *)"");
24043 static PyObject
*_wrap_new_ListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24044 PyObject
*resultobj
;
24045 wxWindow
*arg1
= (wxWindow
*) 0 ;
24046 int arg2
= (int) -1 ;
24047 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24048 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24049 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24050 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24051 long arg5
= (long) wxLC_REPORT
;
24052 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
24053 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
24054 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
24055 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24056 wxListView
*result
;
24059 bool temp7
= false ;
24060 PyObject
* obj0
= 0 ;
24061 PyObject
* obj1
= 0 ;
24062 PyObject
* obj2
= 0 ;
24063 PyObject
* obj3
= 0 ;
24064 PyObject
* obj4
= 0 ;
24065 PyObject
* obj5
= 0 ;
24066 PyObject
* obj6
= 0 ;
24067 char *kwnames
[] = {
24068 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24075 arg2
= (int)SWIG_As_int(obj1
);
24076 if (PyErr_Occurred()) SWIG_fail
;
24081 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24087 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24091 arg5
= (long)SWIG_As_long(obj4
);
24092 if (PyErr_Occurred()) SWIG_fail
;
24095 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
24096 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24098 if (arg6
== NULL
) {
24099 PyErr_SetString(PyExc_TypeError
,"null reference");
24105 arg7
= wxString_in_helper(obj6
);
24106 if (arg7
== NULL
) SWIG_fail
;
24111 if (!wxPyCheckForApp()) SWIG_fail
;
24112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24113 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
24115 wxPyEndAllowThreads(__tstate
);
24116 if (PyErr_Occurred()) SWIG_fail
;
24118 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
24133 static PyObject
*_wrap_new_PreListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24134 PyObject
*resultobj
;
24135 wxListView
*result
;
24136 char *kwnames
[] = {
24140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
24142 if (!wxPyCheckForApp()) SWIG_fail
;
24143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24144 result
= (wxListView
*)new wxListView();
24146 wxPyEndAllowThreads(__tstate
);
24147 if (PyErr_Occurred()) SWIG_fail
;
24149 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
24156 static PyObject
*_wrap_ListView_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24157 PyObject
*resultobj
;
24158 wxListView
*arg1
= (wxListView
*) 0 ;
24159 wxWindow
*arg2
= (wxWindow
*) 0 ;
24160 int arg3
= (int) -1 ;
24161 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24162 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24163 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24164 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24165 long arg6
= (long) wxLC_REPORT
;
24166 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
24167 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
24168 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
24169 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
24173 bool temp8
= false ;
24174 PyObject
* obj0
= 0 ;
24175 PyObject
* obj1
= 0 ;
24176 PyObject
* obj2
= 0 ;
24177 PyObject
* obj3
= 0 ;
24178 PyObject
* obj4
= 0 ;
24179 PyObject
* obj5
= 0 ;
24180 PyObject
* obj6
= 0 ;
24181 PyObject
* obj7
= 0 ;
24182 char *kwnames
[] = {
24183 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
24187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24189 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24192 arg3
= (int)SWIG_As_int(obj2
);
24193 if (PyErr_Occurred()) SWIG_fail
;
24198 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24204 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24208 arg6
= (long)SWIG_As_long(obj5
);
24209 if (PyErr_Occurred()) SWIG_fail
;
24212 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
24213 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24215 if (arg7
== NULL
) {
24216 PyErr_SetString(PyExc_TypeError
,"null reference");
24222 arg8
= wxString_in_helper(obj7
);
24223 if (arg8
== NULL
) SWIG_fail
;
24228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24229 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
24231 wxPyEndAllowThreads(__tstate
);
24232 if (PyErr_Occurred()) SWIG_fail
;
24235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24251 static PyObject
*_wrap_ListView_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24252 PyObject
*resultobj
;
24253 wxListView
*arg1
= (wxListView
*) 0 ;
24255 bool arg3
= (bool) true ;
24256 PyObject
* obj0
= 0 ;
24257 PyObject
* obj1
= 0 ;
24258 PyObject
* obj2
= 0 ;
24259 char *kwnames
[] = {
24260 (char *) "self",(char *) "n",(char *) "on", NULL
24263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24266 arg2
= (long)SWIG_As_long(obj1
);
24267 if (PyErr_Occurred()) SWIG_fail
;
24269 arg3
= (bool)SWIG_As_bool(obj2
);
24270 if (PyErr_Occurred()) SWIG_fail
;
24273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24274 (arg1
)->Select(arg2
,arg3
);
24276 wxPyEndAllowThreads(__tstate
);
24277 if (PyErr_Occurred()) SWIG_fail
;
24279 Py_INCREF(Py_None
); resultobj
= Py_None
;
24286 static PyObject
*_wrap_ListView_Focus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24287 PyObject
*resultobj
;
24288 wxListView
*arg1
= (wxListView
*) 0 ;
24290 PyObject
* obj0
= 0 ;
24291 PyObject
* obj1
= 0 ;
24292 char *kwnames
[] = {
24293 (char *) "self",(char *) "index", NULL
24296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
24297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24299 arg2
= (long)SWIG_As_long(obj1
);
24300 if (PyErr_Occurred()) SWIG_fail
;
24302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24303 (arg1
)->Focus(arg2
);
24305 wxPyEndAllowThreads(__tstate
);
24306 if (PyErr_Occurred()) SWIG_fail
;
24308 Py_INCREF(Py_None
); resultobj
= Py_None
;
24315 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24316 PyObject
*resultobj
;
24317 wxListView
*arg1
= (wxListView
*) 0 ;
24319 PyObject
* obj0
= 0 ;
24320 char *kwnames
[] = {
24321 (char *) "self", NULL
24324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
24325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24329 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
24331 wxPyEndAllowThreads(__tstate
);
24332 if (PyErr_Occurred()) SWIG_fail
;
24334 resultobj
= SWIG_From_long((long)result
);
24341 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24342 PyObject
*resultobj
;
24343 wxListView
*arg1
= (wxListView
*) 0 ;
24346 PyObject
* obj0
= 0 ;
24347 PyObject
* obj1
= 0 ;
24348 char *kwnames
[] = {
24349 (char *) "self",(char *) "item", NULL
24352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
24353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24355 arg2
= (long)SWIG_As_long(obj1
);
24356 if (PyErr_Occurred()) SWIG_fail
;
24358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24359 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
24361 wxPyEndAllowThreads(__tstate
);
24362 if (PyErr_Occurred()) SWIG_fail
;
24364 resultobj
= SWIG_From_long((long)result
);
24371 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24372 PyObject
*resultobj
;
24373 wxListView
*arg1
= (wxListView
*) 0 ;
24375 PyObject
* obj0
= 0 ;
24376 char *kwnames
[] = {
24377 (char *) "self", NULL
24380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
24381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24385 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
24387 wxPyEndAllowThreads(__tstate
);
24388 if (PyErr_Occurred()) SWIG_fail
;
24390 resultobj
= SWIG_From_long((long)result
);
24397 static PyObject
*_wrap_ListView_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24398 PyObject
*resultobj
;
24399 wxListView
*arg1
= (wxListView
*) 0 ;
24402 PyObject
* obj0
= 0 ;
24403 PyObject
* obj1
= 0 ;
24404 char *kwnames
[] = {
24405 (char *) "self",(char *) "index", NULL
24408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
24409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24411 arg2
= (long)SWIG_As_long(obj1
);
24412 if (PyErr_Occurred()) SWIG_fail
;
24414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24415 result
= (bool)(arg1
)->IsSelected(arg2
);
24417 wxPyEndAllowThreads(__tstate
);
24418 if (PyErr_Occurred()) SWIG_fail
;
24421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24429 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24430 PyObject
*resultobj
;
24431 wxListView
*arg1
= (wxListView
*) 0 ;
24434 PyObject
* obj0
= 0 ;
24435 PyObject
* obj1
= 0 ;
24436 PyObject
* obj2
= 0 ;
24437 char *kwnames
[] = {
24438 (char *) "self",(char *) "col",(char *) "image", NULL
24441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24444 arg2
= (int)SWIG_As_int(obj1
);
24445 if (PyErr_Occurred()) SWIG_fail
;
24446 arg3
= (int)SWIG_As_int(obj2
);
24447 if (PyErr_Occurred()) SWIG_fail
;
24449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24450 (arg1
)->SetColumnImage(arg2
,arg3
);
24452 wxPyEndAllowThreads(__tstate
);
24453 if (PyErr_Occurred()) SWIG_fail
;
24455 Py_INCREF(Py_None
); resultobj
= Py_None
;
24462 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24463 PyObject
*resultobj
;
24464 wxListView
*arg1
= (wxListView
*) 0 ;
24466 PyObject
* obj0
= 0 ;
24467 PyObject
* obj1
= 0 ;
24468 char *kwnames
[] = {
24469 (char *) "self",(char *) "col", NULL
24472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
24473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24475 arg2
= (int)SWIG_As_int(obj1
);
24476 if (PyErr_Occurred()) SWIG_fail
;
24478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24479 (arg1
)->ClearColumnImage(arg2
);
24481 wxPyEndAllowThreads(__tstate
);
24482 if (PyErr_Occurred()) SWIG_fail
;
24484 Py_INCREF(Py_None
); resultobj
= Py_None
;
24491 static PyObject
* ListView_swigregister(PyObject
*, PyObject
*args
) {
24493 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24494 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
24496 return Py_BuildValue((char *)"");
24498 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
24499 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
24504 static PyObject
*_wrap_TreeCtrlNameStr_get() {
24509 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
24511 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
24518 static PyObject
*_wrap_new_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24519 PyObject
*resultobj
;
24520 wxTreeItemId
*result
;
24521 char *kwnames
[] = {
24525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
24527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24528 result
= (wxTreeItemId
*)new wxTreeItemId();
24530 wxPyEndAllowThreads(__tstate
);
24531 if (PyErr_Occurred()) SWIG_fail
;
24533 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
24540 static PyObject
*_wrap_delete_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24541 PyObject
*resultobj
;
24542 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24543 PyObject
* obj0
= 0 ;
24544 char *kwnames
[] = {
24545 (char *) "self", NULL
24548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
24549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24555 wxPyEndAllowThreads(__tstate
);
24556 if (PyErr_Occurred()) SWIG_fail
;
24558 Py_INCREF(Py_None
); resultobj
= Py_None
;
24565 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24566 PyObject
*resultobj
;
24567 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24569 PyObject
* obj0
= 0 ;
24570 char *kwnames
[] = {
24571 (char *) "self", NULL
24574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
24575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24579 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
24581 wxPyEndAllowThreads(__tstate
);
24582 if (PyErr_Occurred()) SWIG_fail
;
24585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24593 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24594 PyObject
*resultobj
;
24595 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24596 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24598 PyObject
* obj0
= 0 ;
24599 PyObject
* obj1
= 0 ;
24600 char *kwnames
[] = {
24601 (char *) "self",(char *) "other", NULL
24604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24607 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24611 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
24613 wxPyEndAllowThreads(__tstate
);
24614 if (PyErr_Occurred()) SWIG_fail
;
24617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24625 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24626 PyObject
*resultobj
;
24627 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24628 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24630 PyObject
* obj0
= 0 ;
24631 PyObject
* obj1
= 0 ;
24632 char *kwnames
[] = {
24633 (char *) "self",(char *) "other", NULL
24636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24639 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24643 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
24645 wxPyEndAllowThreads(__tstate
);
24646 if (PyErr_Occurred()) SWIG_fail
;
24649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24657 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24658 PyObject
*resultobj
;
24659 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24660 void *arg2
= (void *) 0 ;
24661 PyObject
* obj0
= 0 ;
24662 PyObject
* obj1
= 0 ;
24663 char *kwnames
[] = {
24664 (char *) "self",(char *) "m_pItem", NULL
24667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24670 if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24671 if (arg1
) (arg1
)->m_pItem
= arg2
;
24673 Py_INCREF(Py_None
); resultobj
= Py_None
;
24680 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24681 PyObject
*resultobj
;
24682 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24684 PyObject
* obj0
= 0 ;
24685 char *kwnames
[] = {
24686 (char *) "self", NULL
24689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
24690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24692 result
= (void *) ((arg1
)->m_pItem
);
24694 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
24701 static PyObject
* TreeItemId_swigregister(PyObject
*, PyObject
*args
) {
24703 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24704 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
24706 return Py_BuildValue((char *)"");
24708 static PyObject
*_wrap_new_TreeItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24709 PyObject
*resultobj
;
24710 PyObject
*arg1
= (PyObject
*) NULL
;
24711 wxPyTreeItemData
*result
;
24712 PyObject
* obj0
= 0 ;
24713 char *kwnames
[] = {
24714 (char *) "obj", NULL
24717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
24722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24723 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
24725 wxPyEndAllowThreads(__tstate
);
24726 if (PyErr_Occurred()) SWIG_fail
;
24728 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
24735 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24736 PyObject
*resultobj
;
24737 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24739 PyObject
* obj0
= 0 ;
24740 char *kwnames
[] = {
24741 (char *) "self", NULL
24744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
24745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24749 result
= (PyObject
*)(arg1
)->GetData();
24751 wxPyEndAllowThreads(__tstate
);
24752 if (PyErr_Occurred()) SWIG_fail
;
24754 resultobj
= result
;
24761 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24762 PyObject
*resultobj
;
24763 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24764 PyObject
*arg2
= (PyObject
*) 0 ;
24765 PyObject
* obj0
= 0 ;
24766 PyObject
* obj1
= 0 ;
24767 char *kwnames
[] = {
24768 (char *) "self",(char *) "obj", NULL
24771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24777 (arg1
)->SetData(arg2
);
24779 wxPyEndAllowThreads(__tstate
);
24780 if (PyErr_Occurred()) SWIG_fail
;
24782 Py_INCREF(Py_None
); resultobj
= Py_None
;
24789 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24790 PyObject
*resultobj
;
24791 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24792 wxTreeItemId
*result
;
24793 PyObject
* obj0
= 0 ;
24794 char *kwnames
[] = {
24795 (char *) "self", NULL
24798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
24799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24804 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
24805 result
= (wxTreeItemId
*) &_result_ref
;
24808 wxPyEndAllowThreads(__tstate
);
24809 if (PyErr_Occurred()) SWIG_fail
;
24811 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
24818 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24819 PyObject
*resultobj
;
24820 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24821 wxTreeItemId
*arg2
= 0 ;
24822 PyObject
* obj0
= 0 ;
24823 PyObject
* obj1
= 0 ;
24824 char *kwnames
[] = {
24825 (char *) "self",(char *) "id", NULL
24828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24831 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24832 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24834 if (arg2
== NULL
) {
24835 PyErr_SetString(PyExc_TypeError
,"null reference");
24839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24840 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
24842 wxPyEndAllowThreads(__tstate
);
24843 if (PyErr_Occurred()) SWIG_fail
;
24845 Py_INCREF(Py_None
); resultobj
= Py_None
;
24852 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24853 PyObject
*resultobj
;
24854 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24855 PyObject
* obj0
= 0 ;
24856 char *kwnames
[] = {
24857 (char *) "self", NULL
24860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
24861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24865 wxPyTreeItemData_Destroy(arg1
);
24867 wxPyEndAllowThreads(__tstate
);
24868 if (PyErr_Occurred()) SWIG_fail
;
24870 Py_INCREF(Py_None
); resultobj
= Py_None
;
24877 static PyObject
* TreeItemData_swigregister(PyObject
*, PyObject
*args
) {
24879 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24880 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
24882 return Py_BuildValue((char *)"");
24884 static PyObject
*_wrap_new_TreeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24885 PyObject
*resultobj
;
24886 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
24887 int arg2
= (int) 0 ;
24888 wxTreeEvent
*result
;
24889 PyObject
* obj0
= 0 ;
24890 PyObject
* obj1
= 0 ;
24891 char *kwnames
[] = {
24892 (char *) "commandType",(char *) "id", NULL
24895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24897 arg1
= (wxEventType
)SWIG_As_int(obj0
);
24898 if (PyErr_Occurred()) SWIG_fail
;
24901 arg2
= (int)SWIG_As_int(obj1
);
24902 if (PyErr_Occurred()) SWIG_fail
;
24905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24906 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
24908 wxPyEndAllowThreads(__tstate
);
24909 if (PyErr_Occurred()) SWIG_fail
;
24911 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
24918 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24919 PyObject
*resultobj
;
24920 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24921 wxTreeItemId result
;
24922 PyObject
* obj0
= 0 ;
24923 char *kwnames
[] = {
24924 (char *) "self", NULL
24927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
24928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24932 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
24934 wxPyEndAllowThreads(__tstate
);
24935 if (PyErr_Occurred()) SWIG_fail
;
24938 wxTreeItemId
* resultptr
;
24939 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24940 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24948 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24949 PyObject
*resultobj
;
24950 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24951 wxTreeItemId
*arg2
= 0 ;
24952 PyObject
* obj0
= 0 ;
24953 PyObject
* obj1
= 0 ;
24954 char *kwnames
[] = {
24955 (char *) "self",(char *) "item", NULL
24958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24961 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24962 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24964 if (arg2
== NULL
) {
24965 PyErr_SetString(PyExc_TypeError
,"null reference");
24969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24970 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
24972 wxPyEndAllowThreads(__tstate
);
24973 if (PyErr_Occurred()) SWIG_fail
;
24975 Py_INCREF(Py_None
); resultobj
= Py_None
;
24982 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24983 PyObject
*resultobj
;
24984 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24985 wxTreeItemId result
;
24986 PyObject
* obj0
= 0 ;
24987 char *kwnames
[] = {
24988 (char *) "self", NULL
24991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
24992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24996 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
24998 wxPyEndAllowThreads(__tstate
);
24999 if (PyErr_Occurred()) SWIG_fail
;
25002 wxTreeItemId
* resultptr
;
25003 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25004 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25012 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25013 PyObject
*resultobj
;
25014 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25015 wxTreeItemId
*arg2
= 0 ;
25016 PyObject
* obj0
= 0 ;
25017 PyObject
* obj1
= 0 ;
25018 char *kwnames
[] = {
25019 (char *) "self",(char *) "item", NULL
25022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25025 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25026 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25028 if (arg2
== NULL
) {
25029 PyErr_SetString(PyExc_TypeError
,"null reference");
25033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25034 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
25036 wxPyEndAllowThreads(__tstate
);
25037 if (PyErr_Occurred()) SWIG_fail
;
25039 Py_INCREF(Py_None
); resultobj
= Py_None
;
25046 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25047 PyObject
*resultobj
;
25048 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25050 PyObject
* obj0
= 0 ;
25051 char *kwnames
[] = {
25052 (char *) "self", NULL
25055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
25056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25060 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
25062 wxPyEndAllowThreads(__tstate
);
25063 if (PyErr_Occurred()) SWIG_fail
;
25066 wxPoint
* resultptr
;
25067 resultptr
= new wxPoint((wxPoint
&) result
);
25068 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25076 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25077 PyObject
*resultobj
;
25078 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25079 wxPoint
*arg2
= 0 ;
25081 PyObject
* obj0
= 0 ;
25082 PyObject
* obj1
= 0 ;
25083 char *kwnames
[] = {
25084 (char *) "self",(char *) "pt", NULL
25087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
25088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25092 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25096 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
25098 wxPyEndAllowThreads(__tstate
);
25099 if (PyErr_Occurred()) SWIG_fail
;
25101 Py_INCREF(Py_None
); resultobj
= Py_None
;
25108 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25109 PyObject
*resultobj
;
25110 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25111 wxKeyEvent
*result
;
25112 PyObject
* obj0
= 0 ;
25113 char *kwnames
[] = {
25114 (char *) "self", NULL
25117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
25118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25123 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
25124 result
= (wxKeyEvent
*) &_result_ref
;
25127 wxPyEndAllowThreads(__tstate
);
25128 if (PyErr_Occurred()) SWIG_fail
;
25130 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
25137 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25138 PyObject
*resultobj
;
25139 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25141 PyObject
* obj0
= 0 ;
25142 char *kwnames
[] = {
25143 (char *) "self", NULL
25146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
25147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25151 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
25153 wxPyEndAllowThreads(__tstate
);
25154 if (PyErr_Occurred()) SWIG_fail
;
25156 resultobj
= SWIG_From_int((int)result
);
25163 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25164 PyObject
*resultobj
;
25165 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25166 wxKeyEvent
*arg2
= 0 ;
25167 PyObject
* obj0
= 0 ;
25168 PyObject
* obj1
= 0 ;
25169 char *kwnames
[] = {
25170 (char *) "self",(char *) "evt", NULL
25173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
25174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25176 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
25177 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25179 if (arg2
== NULL
) {
25180 PyErr_SetString(PyExc_TypeError
,"null reference");
25184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25185 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
25187 wxPyEndAllowThreads(__tstate
);
25188 if (PyErr_Occurred()) SWIG_fail
;
25190 Py_INCREF(Py_None
); resultobj
= Py_None
;
25197 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25198 PyObject
*resultobj
;
25199 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25201 PyObject
* obj0
= 0 ;
25202 char *kwnames
[] = {
25203 (char *) "self", NULL
25206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
25207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25212 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
25213 result
= (wxString
*) &_result_ref
;
25216 wxPyEndAllowThreads(__tstate
);
25217 if (PyErr_Occurred()) SWIG_fail
;
25221 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
25223 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
25232 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25233 PyObject
*resultobj
;
25234 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25235 wxString
*arg2
= 0 ;
25236 bool temp2
= false ;
25237 PyObject
* obj0
= 0 ;
25238 PyObject
* obj1
= 0 ;
25239 char *kwnames
[] = {
25240 (char *) "self",(char *) "label", NULL
25243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25247 arg2
= wxString_in_helper(obj1
);
25248 if (arg2
== NULL
) SWIG_fail
;
25252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25253 (arg1
)->SetLabel((wxString
const &)*arg2
);
25255 wxPyEndAllowThreads(__tstate
);
25256 if (PyErr_Occurred()) SWIG_fail
;
25258 Py_INCREF(Py_None
); resultobj
= Py_None
;
25273 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25274 PyObject
*resultobj
;
25275 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25277 PyObject
* obj0
= 0 ;
25278 char *kwnames
[] = {
25279 (char *) "self", NULL
25282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
25283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25287 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
25289 wxPyEndAllowThreads(__tstate
);
25290 if (PyErr_Occurred()) SWIG_fail
;
25293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25301 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25302 PyObject
*resultobj
;
25303 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25305 PyObject
* obj0
= 0 ;
25306 PyObject
* obj1
= 0 ;
25307 char *kwnames
[] = {
25308 (char *) "self",(char *) "editCancelled", NULL
25311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
25312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25314 arg2
= (bool)SWIG_As_bool(obj1
);
25315 if (PyErr_Occurred()) SWIG_fail
;
25317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25318 (arg1
)->SetEditCanceled(arg2
);
25320 wxPyEndAllowThreads(__tstate
);
25321 if (PyErr_Occurred()) SWIG_fail
;
25323 Py_INCREF(Py_None
); resultobj
= Py_None
;
25330 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25331 PyObject
*resultobj
;
25332 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25333 wxString
*arg2
= 0 ;
25334 bool temp2
= false ;
25335 PyObject
* obj0
= 0 ;
25336 PyObject
* obj1
= 0 ;
25337 char *kwnames
[] = {
25338 (char *) "self",(char *) "toolTip", NULL
25341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
25342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25345 arg2
= wxString_in_helper(obj1
);
25346 if (arg2
== NULL
) SWIG_fail
;
25350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25351 (arg1
)->SetToolTip((wxString
const &)*arg2
);
25353 wxPyEndAllowThreads(__tstate
);
25354 if (PyErr_Occurred()) SWIG_fail
;
25356 Py_INCREF(Py_None
); resultobj
= Py_None
;
25371 static PyObject
* TreeEvent_swigregister(PyObject
*, PyObject
*args
) {
25373 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25374 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
25376 return Py_BuildValue((char *)"");
25378 static PyObject
*_wrap_new_TreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25379 PyObject
*resultobj
;
25380 wxWindow
*arg1
= (wxWindow
*) 0 ;
25381 int arg2
= (int) -1 ;
25382 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25383 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25384 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25385 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25386 long arg5
= (long) wxTR_DEFAULT_STYLE
;
25387 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
25388 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
25389 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
25390 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25391 wxPyTreeCtrl
*result
;
25394 bool temp7
= false ;
25395 PyObject
* obj0
= 0 ;
25396 PyObject
* obj1
= 0 ;
25397 PyObject
* obj2
= 0 ;
25398 PyObject
* obj3
= 0 ;
25399 PyObject
* obj4
= 0 ;
25400 PyObject
* obj5
= 0 ;
25401 PyObject
* obj6
= 0 ;
25402 char *kwnames
[] = {
25403 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25410 arg2
= (int)SWIG_As_int(obj1
);
25411 if (PyErr_Occurred()) SWIG_fail
;
25416 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25422 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25426 arg5
= (long)SWIG_As_long(obj4
);
25427 if (PyErr_Occurred()) SWIG_fail
;
25430 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
25431 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25433 if (arg6
== NULL
) {
25434 PyErr_SetString(PyExc_TypeError
,"null reference");
25440 arg7
= wxString_in_helper(obj6
);
25441 if (arg7
== NULL
) SWIG_fail
;
25446 if (!wxPyCheckForApp()) SWIG_fail
;
25447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25448 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
25450 wxPyEndAllowThreads(__tstate
);
25451 if (PyErr_Occurred()) SWIG_fail
;
25453 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
25468 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25469 PyObject
*resultobj
;
25470 wxPyTreeCtrl
*result
;
25471 char *kwnames
[] = {
25475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
25477 if (!wxPyCheckForApp()) SWIG_fail
;
25478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25479 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
25481 wxPyEndAllowThreads(__tstate
);
25482 if (PyErr_Occurred()) SWIG_fail
;
25484 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
25491 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25492 PyObject
*resultobj
;
25493 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25494 wxWindow
*arg2
= (wxWindow
*) 0 ;
25495 int arg3
= (int) -1 ;
25496 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25497 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25498 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25499 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25500 long arg6
= (long) wxTR_DEFAULT_STYLE
;
25501 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
25502 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
25503 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
25504 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
25508 bool temp8
= false ;
25509 PyObject
* obj0
= 0 ;
25510 PyObject
* obj1
= 0 ;
25511 PyObject
* obj2
= 0 ;
25512 PyObject
* obj3
= 0 ;
25513 PyObject
* obj4
= 0 ;
25514 PyObject
* obj5
= 0 ;
25515 PyObject
* obj6
= 0 ;
25516 PyObject
* obj7
= 0 ;
25517 char *kwnames
[] = {
25518 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
25522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25524 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25527 arg3
= (int)SWIG_As_int(obj2
);
25528 if (PyErr_Occurred()) SWIG_fail
;
25533 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25539 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25543 arg6
= (long)SWIG_As_long(obj5
);
25544 if (PyErr_Occurred()) SWIG_fail
;
25547 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
25548 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25550 if (arg7
== NULL
) {
25551 PyErr_SetString(PyExc_TypeError
,"null reference");
25557 arg8
= wxString_in_helper(obj7
);
25558 if (arg8
== NULL
) SWIG_fail
;
25563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25564 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
25566 wxPyEndAllowThreads(__tstate
);
25567 if (PyErr_Occurred()) SWIG_fail
;
25570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25586 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25587 PyObject
*resultobj
;
25588 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25589 PyObject
*arg2
= (PyObject
*) 0 ;
25590 PyObject
*arg3
= (PyObject
*) 0 ;
25591 PyObject
* obj0
= 0 ;
25592 PyObject
* obj1
= 0 ;
25593 PyObject
* obj2
= 0 ;
25594 char *kwnames
[] = {
25595 (char *) "self",(char *) "self",(char *) "_class", NULL
25598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25605 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25607 wxPyEndAllowThreads(__tstate
);
25608 if (PyErr_Occurred()) SWIG_fail
;
25610 Py_INCREF(Py_None
); resultobj
= Py_None
;
25617 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25618 PyObject
*resultobj
;
25619 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25621 PyObject
* obj0
= 0 ;
25622 char *kwnames
[] = {
25623 (char *) "self", NULL
25626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
25627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25631 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
25633 wxPyEndAllowThreads(__tstate
);
25634 if (PyErr_Occurred()) SWIG_fail
;
25636 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25643 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25644 PyObject
*resultobj
;
25645 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25646 unsigned int result
;
25647 PyObject
* obj0
= 0 ;
25648 char *kwnames
[] = {
25649 (char *) "self", NULL
25652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
25653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25657 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
25659 wxPyEndAllowThreads(__tstate
);
25660 if (PyErr_Occurred()) SWIG_fail
;
25662 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
25669 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25670 PyObject
*resultobj
;
25671 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25672 unsigned int arg2
;
25673 PyObject
* obj0
= 0 ;
25674 PyObject
* obj1
= 0 ;
25675 char *kwnames
[] = {
25676 (char *) "self",(char *) "indent", NULL
25679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
25680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25682 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
25683 if (PyErr_Occurred()) SWIG_fail
;
25685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25686 (arg1
)->SetIndent(arg2
);
25688 wxPyEndAllowThreads(__tstate
);
25689 if (PyErr_Occurred()) SWIG_fail
;
25691 Py_INCREF(Py_None
); resultobj
= Py_None
;
25698 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25699 PyObject
*resultobj
;
25700 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25701 unsigned int result
;
25702 PyObject
* obj0
= 0 ;
25703 char *kwnames
[] = {
25704 (char *) "self", NULL
25707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
25708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25712 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
25714 wxPyEndAllowThreads(__tstate
);
25715 if (PyErr_Occurred()) SWIG_fail
;
25717 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
25724 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25725 PyObject
*resultobj
;
25726 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25727 unsigned int arg2
;
25728 PyObject
* obj0
= 0 ;
25729 PyObject
* obj1
= 0 ;
25730 char *kwnames
[] = {
25731 (char *) "self",(char *) "spacing", NULL
25734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
25735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25737 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
25738 if (PyErr_Occurred()) SWIG_fail
;
25740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25741 (arg1
)->SetSpacing(arg2
);
25743 wxPyEndAllowThreads(__tstate
);
25744 if (PyErr_Occurred()) SWIG_fail
;
25746 Py_INCREF(Py_None
); resultobj
= Py_None
;
25753 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25754 PyObject
*resultobj
;
25755 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25756 wxImageList
*result
;
25757 PyObject
* obj0
= 0 ;
25758 char *kwnames
[] = {
25759 (char *) "self", NULL
25762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
25763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25767 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
25769 wxPyEndAllowThreads(__tstate
);
25770 if (PyErr_Occurred()) SWIG_fail
;
25773 resultobj
= wxPyMake_wxObject(result
, 0);
25781 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25782 PyObject
*resultobj
;
25783 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25784 wxImageList
*result
;
25785 PyObject
* obj0
= 0 ;
25786 char *kwnames
[] = {
25787 (char *) "self", NULL
25790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
25791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25795 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
25797 wxPyEndAllowThreads(__tstate
);
25798 if (PyErr_Occurred()) SWIG_fail
;
25801 resultobj
= wxPyMake_wxObject(result
, 0);
25809 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25810 PyObject
*resultobj
;
25811 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25812 wxImageList
*arg2
= (wxImageList
*) 0 ;
25813 PyObject
* obj0
= 0 ;
25814 PyObject
* obj1
= 0 ;
25815 char *kwnames
[] = {
25816 (char *) "self",(char *) "imageList", NULL
25819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25822 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25826 (arg1
)->SetImageList(arg2
);
25828 wxPyEndAllowThreads(__tstate
);
25829 if (PyErr_Occurred()) SWIG_fail
;
25831 Py_INCREF(Py_None
); resultobj
= Py_None
;
25838 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25839 PyObject
*resultobj
;
25840 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25841 wxImageList
*arg2
= (wxImageList
*) 0 ;
25842 PyObject
* obj0
= 0 ;
25843 PyObject
* obj1
= 0 ;
25844 char *kwnames
[] = {
25845 (char *) "self",(char *) "imageList", NULL
25848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25851 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25855 (arg1
)->SetStateImageList(arg2
);
25857 wxPyEndAllowThreads(__tstate
);
25858 if (PyErr_Occurred()) SWIG_fail
;
25860 Py_INCREF(Py_None
); resultobj
= Py_None
;
25867 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25868 PyObject
*resultobj
;
25869 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25870 wxImageList
*arg2
= (wxImageList
*) 0 ;
25871 PyObject
* obj0
= 0 ;
25872 PyObject
* obj1
= 0 ;
25873 char *kwnames
[] = {
25874 (char *) "self",(char *) "imageList", NULL
25877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25880 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25881 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25884 (arg1
)->AssignImageList(arg2
);
25886 wxPyEndAllowThreads(__tstate
);
25887 if (PyErr_Occurred()) SWIG_fail
;
25889 Py_INCREF(Py_None
); resultobj
= Py_None
;
25896 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25897 PyObject
*resultobj
;
25898 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25899 wxImageList
*arg2
= (wxImageList
*) 0 ;
25900 PyObject
* obj0
= 0 ;
25901 PyObject
* obj1
= 0 ;
25902 char *kwnames
[] = {
25903 (char *) "self",(char *) "imageList", NULL
25906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25909 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25910 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25913 (arg1
)->AssignStateImageList(arg2
);
25915 wxPyEndAllowThreads(__tstate
);
25916 if (PyErr_Occurred()) SWIG_fail
;
25918 Py_INCREF(Py_None
); resultobj
= Py_None
;
25925 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25926 PyObject
*resultobj
;
25927 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25928 wxTreeItemId
*arg2
= 0 ;
25930 PyObject
* obj0
= 0 ;
25931 PyObject
* obj1
= 0 ;
25932 char *kwnames
[] = {
25933 (char *) "self",(char *) "item", NULL
25936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
25937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25939 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25940 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25942 if (arg2
== NULL
) {
25943 PyErr_SetString(PyExc_TypeError
,"null reference");
25947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25948 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
25950 wxPyEndAllowThreads(__tstate
);
25951 if (PyErr_Occurred()) SWIG_fail
;
25955 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25957 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25966 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25967 PyObject
*resultobj
;
25968 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25969 wxTreeItemId
*arg2
= 0 ;
25970 int arg3
= (int) wxTreeItemIcon_Normal
;
25972 PyObject
* obj0
= 0 ;
25973 PyObject
* obj1
= 0 ;
25974 PyObject
* obj2
= 0 ;
25975 char *kwnames
[] = {
25976 (char *) "self",(char *) "item",(char *) "which", NULL
25979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25982 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25983 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25985 if (arg2
== NULL
) {
25986 PyErr_SetString(PyExc_TypeError
,"null reference");
25990 arg3
= (int)SWIG_As_int(obj2
);
25991 if (PyErr_Occurred()) SWIG_fail
;
25994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25995 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
25997 wxPyEndAllowThreads(__tstate
);
25998 if (PyErr_Occurred()) SWIG_fail
;
26000 resultobj
= SWIG_From_int((int)result
);
26007 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26008 PyObject
*resultobj
;
26009 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26010 wxTreeItemId
*arg2
= 0 ;
26011 wxPyTreeItemData
*result
;
26012 PyObject
* obj0
= 0 ;
26013 PyObject
* obj1
= 0 ;
26014 char *kwnames
[] = {
26015 (char *) "self",(char *) "item", NULL
26018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
26019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26021 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26022 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26024 if (arg2
== NULL
) {
26025 PyErr_SetString(PyExc_TypeError
,"null reference");
26029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26030 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
26032 wxPyEndAllowThreads(__tstate
);
26033 if (PyErr_Occurred()) SWIG_fail
;
26035 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
26042 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26043 PyObject
*resultobj
;
26044 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26045 wxTreeItemId
*arg2
= 0 ;
26047 PyObject
* obj0
= 0 ;
26048 PyObject
* obj1
= 0 ;
26049 char *kwnames
[] = {
26050 (char *) "self",(char *) "item", NULL
26053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
26054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26056 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26057 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26059 if (arg2
== NULL
) {
26060 PyErr_SetString(PyExc_TypeError
,"null reference");
26064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26065 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
26067 wxPyEndAllowThreads(__tstate
);
26068 if (PyErr_Occurred()) SWIG_fail
;
26070 resultobj
= result
;
26077 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26078 PyObject
*resultobj
;
26079 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26080 wxTreeItemId
*arg2
= 0 ;
26082 PyObject
* obj0
= 0 ;
26083 PyObject
* obj1
= 0 ;
26084 char *kwnames
[] = {
26085 (char *) "self",(char *) "item", NULL
26088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26091 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26092 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26094 if (arg2
== NULL
) {
26095 PyErr_SetString(PyExc_TypeError
,"null reference");
26099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26100 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
26102 wxPyEndAllowThreads(__tstate
);
26103 if (PyErr_Occurred()) SWIG_fail
;
26106 wxColour
* resultptr
;
26107 resultptr
= new wxColour((wxColour
&) result
);
26108 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26116 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26117 PyObject
*resultobj
;
26118 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26119 wxTreeItemId
*arg2
= 0 ;
26121 PyObject
* obj0
= 0 ;
26122 PyObject
* obj1
= 0 ;
26123 char *kwnames
[] = {
26124 (char *) "self",(char *) "item", NULL
26127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26130 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26131 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26133 if (arg2
== NULL
) {
26134 PyErr_SetString(PyExc_TypeError
,"null reference");
26138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26139 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
26141 wxPyEndAllowThreads(__tstate
);
26142 if (PyErr_Occurred()) SWIG_fail
;
26145 wxColour
* resultptr
;
26146 resultptr
= new wxColour((wxColour
&) result
);
26147 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26155 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26156 PyObject
*resultobj
;
26157 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26158 wxTreeItemId
*arg2
= 0 ;
26160 PyObject
* obj0
= 0 ;
26161 PyObject
* obj1
= 0 ;
26162 char *kwnames
[] = {
26163 (char *) "self",(char *) "item", NULL
26166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26169 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26170 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26172 if (arg2
== NULL
) {
26173 PyErr_SetString(PyExc_TypeError
,"null reference");
26177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26178 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
26180 wxPyEndAllowThreads(__tstate
);
26181 if (PyErr_Occurred()) SWIG_fail
;
26184 wxFont
* resultptr
;
26185 resultptr
= new wxFont((wxFont
&) result
);
26186 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
26194 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26195 PyObject
*resultobj
;
26196 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26197 wxTreeItemId
*arg2
= 0 ;
26198 wxString
*arg3
= 0 ;
26199 bool temp3
= false ;
26200 PyObject
* obj0
= 0 ;
26201 PyObject
* obj1
= 0 ;
26202 PyObject
* obj2
= 0 ;
26203 char *kwnames
[] = {
26204 (char *) "self",(char *) "item",(char *) "text", NULL
26207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg3
= wxString_in_helper(obj2
);
26219 if (arg3
== NULL
) SWIG_fail
;
26223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26224 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
26226 wxPyEndAllowThreads(__tstate
);
26227 if (PyErr_Occurred()) SWIG_fail
;
26229 Py_INCREF(Py_None
); resultobj
= Py_None
;
26244 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26245 PyObject
*resultobj
;
26246 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26247 wxTreeItemId
*arg2
= 0 ;
26249 int arg4
= (int) wxTreeItemIcon_Normal
;
26250 PyObject
* obj0
= 0 ;
26251 PyObject
* obj1
= 0 ;
26252 PyObject
* obj2
= 0 ;
26253 PyObject
* obj3
= 0 ;
26254 char *kwnames
[] = {
26255 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
26258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26261 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26262 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26264 if (arg2
== NULL
) {
26265 PyErr_SetString(PyExc_TypeError
,"null reference");
26268 arg3
= (int)SWIG_As_int(obj2
);
26269 if (PyErr_Occurred()) SWIG_fail
;
26271 arg4
= (int)SWIG_As_int(obj3
);
26272 if (PyErr_Occurred()) SWIG_fail
;
26275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26276 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
26278 wxPyEndAllowThreads(__tstate
);
26279 if (PyErr_Occurred()) SWIG_fail
;
26281 Py_INCREF(Py_None
); resultobj
= Py_None
;
26288 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26289 PyObject
*resultobj
;
26290 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26291 wxTreeItemId
*arg2
= 0 ;
26292 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
26293 PyObject
* obj0
= 0 ;
26294 PyObject
* obj1
= 0 ;
26295 PyObject
* obj2
= 0 ;
26296 char *kwnames
[] = {
26297 (char *) "self",(char *) "item",(char *) "data", NULL
26300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26303 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26304 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26306 if (arg2
== NULL
) {
26307 PyErr_SetString(PyExc_TypeError
,"null reference");
26310 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
,
26311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26314 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26316 wxPyEndAllowThreads(__tstate
);
26317 if (PyErr_Occurred()) SWIG_fail
;
26319 Py_INCREF(Py_None
); resultobj
= Py_None
;
26326 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26327 PyObject
*resultobj
;
26328 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26329 wxTreeItemId
*arg2
= 0 ;
26330 PyObject
*arg3
= (PyObject
*) 0 ;
26331 PyObject
* obj0
= 0 ;
26332 PyObject
* obj1
= 0 ;
26333 PyObject
* obj2
= 0 ;
26334 char *kwnames
[] = {
26335 (char *) "self",(char *) "item",(char *) "obj", NULL
26338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26341 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26342 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26344 if (arg2
== NULL
) {
26345 PyErr_SetString(PyExc_TypeError
,"null reference");
26350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26351 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26353 wxPyEndAllowThreads(__tstate
);
26354 if (PyErr_Occurred()) SWIG_fail
;
26356 Py_INCREF(Py_None
); resultobj
= Py_None
;
26363 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26364 PyObject
*resultobj
;
26365 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26366 wxTreeItemId
*arg2
= 0 ;
26367 bool arg3
= (bool) true ;
26368 PyObject
* obj0
= 0 ;
26369 PyObject
* obj1
= 0 ;
26370 PyObject
* obj2
= 0 ;
26371 char *kwnames
[] = {
26372 (char *) "self",(char *) "item",(char *) "has", NULL
26375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26378 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26379 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26381 if (arg2
== NULL
) {
26382 PyErr_SetString(PyExc_TypeError
,"null reference");
26386 arg3
= (bool)SWIG_As_bool(obj2
);
26387 if (PyErr_Occurred()) SWIG_fail
;
26390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26391 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
26393 wxPyEndAllowThreads(__tstate
);
26394 if (PyErr_Occurred()) SWIG_fail
;
26396 Py_INCREF(Py_None
); resultobj
= Py_None
;
26403 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26404 PyObject
*resultobj
;
26405 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26406 wxTreeItemId
*arg2
= 0 ;
26407 bool arg3
= (bool) true ;
26408 PyObject
* obj0
= 0 ;
26409 PyObject
* obj1
= 0 ;
26410 PyObject
* obj2
= 0 ;
26411 char *kwnames
[] = {
26412 (char *) "self",(char *) "item",(char *) "bold", NULL
26415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26418 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26419 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26421 if (arg2
== NULL
) {
26422 PyErr_SetString(PyExc_TypeError
,"null reference");
26426 arg3
= (bool)SWIG_As_bool(obj2
);
26427 if (PyErr_Occurred()) SWIG_fail
;
26430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26431 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
26433 wxPyEndAllowThreads(__tstate
);
26434 if (PyErr_Occurred()) SWIG_fail
;
26436 Py_INCREF(Py_None
); resultobj
= Py_None
;
26443 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26444 PyObject
*resultobj
;
26445 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26446 wxTreeItemId
*arg2
= 0 ;
26447 wxColour
*arg3
= 0 ;
26449 PyObject
* obj0
= 0 ;
26450 PyObject
* obj1
= 0 ;
26451 PyObject
* obj2
= 0 ;
26452 char *kwnames
[] = {
26453 (char *) "self",(char *) "item",(char *) "col", NULL
26456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26459 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26460 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26462 if (arg2
== NULL
) {
26463 PyErr_SetString(PyExc_TypeError
,"null reference");
26468 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26472 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
26474 wxPyEndAllowThreads(__tstate
);
26475 if (PyErr_Occurred()) SWIG_fail
;
26477 Py_INCREF(Py_None
); resultobj
= Py_None
;
26484 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26485 PyObject
*resultobj
;
26486 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26487 wxTreeItemId
*arg2
= 0 ;
26488 wxColour
*arg3
= 0 ;
26490 PyObject
* obj0
= 0 ;
26491 PyObject
* obj1
= 0 ;
26492 PyObject
* obj2
= 0 ;
26493 char *kwnames
[] = {
26494 (char *) "self",(char *) "item",(char *) "col", NULL
26497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26500 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26501 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26503 if (arg2
== NULL
) {
26504 PyErr_SetString(PyExc_TypeError
,"null reference");
26509 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26513 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
26515 wxPyEndAllowThreads(__tstate
);
26516 if (PyErr_Occurred()) SWIG_fail
;
26518 Py_INCREF(Py_None
); resultobj
= Py_None
;
26525 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26526 PyObject
*resultobj
;
26527 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26528 wxTreeItemId
*arg2
= 0 ;
26530 PyObject
* obj0
= 0 ;
26531 PyObject
* obj1
= 0 ;
26532 PyObject
* obj2
= 0 ;
26533 char *kwnames
[] = {
26534 (char *) "self",(char *) "item",(char *) "font", NULL
26537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26540 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26541 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26543 if (arg2
== NULL
) {
26544 PyErr_SetString(PyExc_TypeError
,"null reference");
26547 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
26548 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26550 if (arg3
== NULL
) {
26551 PyErr_SetString(PyExc_TypeError
,"null reference");
26555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26556 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
26558 wxPyEndAllowThreads(__tstate
);
26559 if (PyErr_Occurred()) SWIG_fail
;
26561 Py_INCREF(Py_None
); resultobj
= Py_None
;
26568 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26569 PyObject
*resultobj
;
26570 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26571 wxTreeItemId
*arg2
= 0 ;
26573 PyObject
* obj0
= 0 ;
26574 PyObject
* obj1
= 0 ;
26575 char *kwnames
[] = {
26576 (char *) "self",(char *) "item", NULL
26579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26582 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26583 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26585 if (arg2
== NULL
) {
26586 PyErr_SetString(PyExc_TypeError
,"null reference");
26590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26591 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
26593 wxPyEndAllowThreads(__tstate
);
26594 if (PyErr_Occurred()) SWIG_fail
;
26597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26605 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26606 PyObject
*resultobj
;
26607 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26608 wxTreeItemId
*arg2
= 0 ;
26610 PyObject
* obj0
= 0 ;
26611 PyObject
* obj1
= 0 ;
26612 char *kwnames
[] = {
26613 (char *) "self",(char *) "item", NULL
26616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26619 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26620 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26622 if (arg2
== NULL
) {
26623 PyErr_SetString(PyExc_TypeError
,"null reference");
26627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26628 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
26630 wxPyEndAllowThreads(__tstate
);
26631 if (PyErr_Occurred()) SWIG_fail
;
26634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26642 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26643 PyObject
*resultobj
;
26644 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26645 wxTreeItemId
*arg2
= 0 ;
26647 PyObject
* obj0
= 0 ;
26648 PyObject
* obj1
= 0 ;
26649 char *kwnames
[] = {
26650 (char *) "self",(char *) "item", NULL
26653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
26654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26656 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26657 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26659 if (arg2
== NULL
) {
26660 PyErr_SetString(PyExc_TypeError
,"null reference");
26664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26665 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
26667 wxPyEndAllowThreads(__tstate
);
26668 if (PyErr_Occurred()) SWIG_fail
;
26671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26679 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26680 PyObject
*resultobj
;
26681 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26682 wxTreeItemId
*arg2
= 0 ;
26684 PyObject
* obj0
= 0 ;
26685 PyObject
* obj1
= 0 ;
26686 char *kwnames
[] = {
26687 (char *) "self",(char *) "item", NULL
26690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26693 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26694 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26696 if (arg2
== NULL
) {
26697 PyErr_SetString(PyExc_TypeError
,"null reference");
26701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26702 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
26704 wxPyEndAllowThreads(__tstate
);
26705 if (PyErr_Occurred()) SWIG_fail
;
26708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26716 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26717 PyObject
*resultobj
;
26718 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26719 wxTreeItemId
*arg2
= 0 ;
26721 PyObject
* obj0
= 0 ;
26722 PyObject
* obj1
= 0 ;
26723 char *kwnames
[] = {
26724 (char *) "self",(char *) "item", NULL
26727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) 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");
26738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26739 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
26741 wxPyEndAllowThreads(__tstate
);
26742 if (PyErr_Occurred()) SWIG_fail
;
26745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26753 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26754 PyObject
*resultobj
;
26755 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26756 wxTreeItemId
*arg2
= 0 ;
26757 bool arg3
= (bool) true ;
26759 PyObject
* obj0
= 0 ;
26760 PyObject
* obj1
= 0 ;
26761 PyObject
* obj2
= 0 ;
26762 char *kwnames
[] = {
26763 (char *) "self",(char *) "item",(char *) "recursively", NULL
26766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26769 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26770 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26772 if (arg2
== NULL
) {
26773 PyErr_SetString(PyExc_TypeError
,"null reference");
26777 arg3
= (bool)SWIG_As_bool(obj2
);
26778 if (PyErr_Occurred()) SWIG_fail
;
26781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26782 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
26784 wxPyEndAllowThreads(__tstate
);
26785 if (PyErr_Occurred()) SWIG_fail
;
26787 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
26794 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26795 PyObject
*resultobj
;
26796 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26797 wxTreeItemId result
;
26798 PyObject
* obj0
= 0 ;
26799 char *kwnames
[] = {
26800 (char *) "self", NULL
26803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
26804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26808 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
26810 wxPyEndAllowThreads(__tstate
);
26811 if (PyErr_Occurred()) SWIG_fail
;
26814 wxTreeItemId
* resultptr
;
26815 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26816 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26824 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26825 PyObject
*resultobj
;
26826 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26827 wxTreeItemId result
;
26828 PyObject
* obj0
= 0 ;
26829 char *kwnames
[] = {
26830 (char *) "self", NULL
26833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
26834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26838 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
26840 wxPyEndAllowThreads(__tstate
);
26841 if (PyErr_Occurred()) SWIG_fail
;
26844 wxTreeItemId
* resultptr
;
26845 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26846 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26854 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26855 PyObject
*resultobj
;
26856 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26858 PyObject
* obj0
= 0 ;
26859 char *kwnames
[] = {
26860 (char *) "self", NULL
26863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
26864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26868 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
26870 wxPyEndAllowThreads(__tstate
);
26871 if (PyErr_Occurred()) SWIG_fail
;
26873 resultobj
= result
;
26880 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26881 PyObject
*resultobj
;
26882 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26883 wxTreeItemId
*arg2
= 0 ;
26884 wxTreeItemId result
;
26885 PyObject
* obj0
= 0 ;
26886 PyObject
* obj1
= 0 ;
26887 char *kwnames
[] = {
26888 (char *) "self",(char *) "item", NULL
26891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26894 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26895 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26897 if (arg2
== NULL
) {
26898 PyErr_SetString(PyExc_TypeError
,"null reference");
26902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26903 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
26905 wxPyEndAllowThreads(__tstate
);
26906 if (PyErr_Occurred()) SWIG_fail
;
26909 wxTreeItemId
* resultptr
;
26910 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26911 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26919 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26920 PyObject
*resultobj
;
26921 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26922 wxTreeItemId
*arg2
= 0 ;
26924 PyObject
* obj0
= 0 ;
26925 PyObject
* obj1
= 0 ;
26926 char *kwnames
[] = {
26927 (char *) "self",(char *) "item", NULL
26930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
26931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26933 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26934 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26936 if (arg2
== NULL
) {
26937 PyErr_SetString(PyExc_TypeError
,"null reference");
26941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26942 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
26944 wxPyEndAllowThreads(__tstate
);
26945 if (PyErr_Occurred()) SWIG_fail
;
26947 resultobj
= result
;
26954 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26955 PyObject
*resultobj
;
26956 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26957 wxTreeItemId
*arg2
= 0 ;
26958 void *arg3
= (void *) 0 ;
26960 PyObject
* obj0
= 0 ;
26961 PyObject
* obj1
= 0 ;
26962 PyObject
* obj2
= 0 ;
26963 char *kwnames
[] = {
26964 (char *) "self",(char *) "item",(char *) "cookie", NULL
26967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26970 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26971 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26973 if (arg2
== NULL
) {
26974 PyErr_SetString(PyExc_TypeError
,"null reference");
26977 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26980 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26982 wxPyEndAllowThreads(__tstate
);
26983 if (PyErr_Occurred()) SWIG_fail
;
26985 resultobj
= result
;
26992 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26993 PyObject
*resultobj
;
26994 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26995 wxTreeItemId
*arg2
= 0 ;
26996 wxTreeItemId result
;
26997 PyObject
* obj0
= 0 ;
26998 PyObject
* obj1
= 0 ;
26999 char *kwnames
[] = {
27000 (char *) "self",(char *) "item", NULL
27003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
27004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27006 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27007 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27009 if (arg2
== NULL
) {
27010 PyErr_SetString(PyExc_TypeError
,"null reference");
27014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27015 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
27017 wxPyEndAllowThreads(__tstate
);
27018 if (PyErr_Occurred()) SWIG_fail
;
27021 wxTreeItemId
* resultptr
;
27022 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27023 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27031 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27032 PyObject
*resultobj
;
27033 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27034 wxTreeItemId
*arg2
= 0 ;
27035 wxTreeItemId result
;
27036 PyObject
* obj0
= 0 ;
27037 PyObject
* obj1
= 0 ;
27038 char *kwnames
[] = {
27039 (char *) "self",(char *) "item", NULL
27042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
27043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27045 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27046 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27048 if (arg2
== NULL
) {
27049 PyErr_SetString(PyExc_TypeError
,"null reference");
27053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27054 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
27056 wxPyEndAllowThreads(__tstate
);
27057 if (PyErr_Occurred()) SWIG_fail
;
27060 wxTreeItemId
* resultptr
;
27061 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27062 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27070 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27071 PyObject
*resultobj
;
27072 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27073 wxTreeItemId
*arg2
= 0 ;
27074 wxTreeItemId result
;
27075 PyObject
* obj0
= 0 ;
27076 PyObject
* obj1
= 0 ;
27077 char *kwnames
[] = {
27078 (char *) "self",(char *) "item", NULL
27081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
27082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27084 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27085 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27087 if (arg2
== NULL
) {
27088 PyErr_SetString(PyExc_TypeError
,"null reference");
27092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27093 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
27095 wxPyEndAllowThreads(__tstate
);
27096 if (PyErr_Occurred()) SWIG_fail
;
27099 wxTreeItemId
* resultptr
;
27100 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27101 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27109 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27110 PyObject
*resultobj
;
27111 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27112 wxTreeItemId result
;
27113 PyObject
* obj0
= 0 ;
27114 char *kwnames
[] = {
27115 (char *) "self", NULL
27118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
27119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27123 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
27125 wxPyEndAllowThreads(__tstate
);
27126 if (PyErr_Occurred()) SWIG_fail
;
27129 wxTreeItemId
* resultptr
;
27130 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27131 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27139 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27140 PyObject
*resultobj
;
27141 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27142 wxTreeItemId
*arg2
= 0 ;
27143 wxTreeItemId result
;
27144 PyObject
* obj0
= 0 ;
27145 PyObject
* obj1
= 0 ;
27146 char *kwnames
[] = {
27147 (char *) "self",(char *) "item", NULL
27150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
27151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27153 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27154 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27156 if (arg2
== NULL
) {
27157 PyErr_SetString(PyExc_TypeError
,"null reference");
27161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27162 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
27164 wxPyEndAllowThreads(__tstate
);
27165 if (PyErr_Occurred()) SWIG_fail
;
27168 wxTreeItemId
* resultptr
;
27169 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27170 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27178 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27179 PyObject
*resultobj
;
27180 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27181 wxTreeItemId
*arg2
= 0 ;
27182 wxTreeItemId result
;
27183 PyObject
* obj0
= 0 ;
27184 PyObject
* obj1
= 0 ;
27185 char *kwnames
[] = {
27186 (char *) "self",(char *) "item", NULL
27189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
27190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27192 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27193 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27195 if (arg2
== NULL
) {
27196 PyErr_SetString(PyExc_TypeError
,"null reference");
27200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27201 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
27203 wxPyEndAllowThreads(__tstate
);
27204 if (PyErr_Occurred()) SWIG_fail
;
27207 wxTreeItemId
* resultptr
;
27208 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27209 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27217 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27218 PyObject
*resultobj
;
27219 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27220 wxString
*arg2
= 0 ;
27221 int arg3
= (int) -1 ;
27222 int arg4
= (int) -1 ;
27223 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
27224 wxTreeItemId result
;
27225 bool temp2
= false ;
27226 PyObject
* obj0
= 0 ;
27227 PyObject
* obj1
= 0 ;
27228 PyObject
* obj2
= 0 ;
27229 PyObject
* obj3
= 0 ;
27230 PyObject
* obj4
= 0 ;
27231 char *kwnames
[] = {
27232 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27239 arg2
= wxString_in_helper(obj1
);
27240 if (arg2
== NULL
) SWIG_fail
;
27244 arg3
= (int)SWIG_As_int(obj2
);
27245 if (PyErr_Occurred()) SWIG_fail
;
27248 arg4
= (int)SWIG_As_int(obj3
);
27249 if (PyErr_Occurred()) SWIG_fail
;
27252 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
,
27253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27257 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
27259 wxPyEndAllowThreads(__tstate
);
27260 if (PyErr_Occurred()) SWIG_fail
;
27263 wxTreeItemId
* resultptr
;
27264 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27265 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27281 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27282 PyObject
*resultobj
;
27283 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27284 wxTreeItemId
*arg2
= 0 ;
27285 wxString
*arg3
= 0 ;
27286 int arg4
= (int) -1 ;
27287 int arg5
= (int) -1 ;
27288 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
27289 wxTreeItemId result
;
27290 bool temp3
= false ;
27291 PyObject
* obj0
= 0 ;
27292 PyObject
* obj1
= 0 ;
27293 PyObject
* obj2
= 0 ;
27294 PyObject
* obj3
= 0 ;
27295 PyObject
* obj4
= 0 ;
27296 PyObject
* obj5
= 0 ;
27297 char *kwnames
[] = {
27298 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27304 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27305 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27307 if (arg2
== NULL
) {
27308 PyErr_SetString(PyExc_TypeError
,"null reference");
27312 arg3
= wxString_in_helper(obj2
);
27313 if (arg3
== NULL
) SWIG_fail
;
27317 arg4
= (int)SWIG_As_int(obj3
);
27318 if (PyErr_Occurred()) SWIG_fail
;
27321 arg5
= (int)SWIG_As_int(obj4
);
27322 if (PyErr_Occurred()) SWIG_fail
;
27325 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
27326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27330 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
27332 wxPyEndAllowThreads(__tstate
);
27333 if (PyErr_Occurred()) SWIG_fail
;
27336 wxTreeItemId
* resultptr
;
27337 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27338 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27354 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27355 PyObject
*resultobj
;
27356 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27357 wxTreeItemId
*arg2
= 0 ;
27358 wxTreeItemId
*arg3
= 0 ;
27359 wxString
*arg4
= 0 ;
27360 int arg5
= (int) -1 ;
27361 int arg6
= (int) -1 ;
27362 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
27363 wxTreeItemId result
;
27364 bool temp4
= false ;
27365 PyObject
* obj0
= 0 ;
27366 PyObject
* obj1
= 0 ;
27367 PyObject
* obj2
= 0 ;
27368 PyObject
* obj3
= 0 ;
27369 PyObject
* obj4
= 0 ;
27370 PyObject
* obj5
= 0 ;
27371 PyObject
* obj6
= 0 ;
27372 char *kwnames
[] = {
27373 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27379 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27380 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27382 if (arg2
== NULL
) {
27383 PyErr_SetString(PyExc_TypeError
,"null reference");
27386 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
,
27387 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27389 if (arg3
== NULL
) {
27390 PyErr_SetString(PyExc_TypeError
,"null reference");
27394 arg4
= wxString_in_helper(obj3
);
27395 if (arg4
== NULL
) SWIG_fail
;
27399 arg5
= (int)SWIG_As_int(obj4
);
27400 if (PyErr_Occurred()) SWIG_fail
;
27403 arg6
= (int)SWIG_As_int(obj5
);
27404 if (PyErr_Occurred()) SWIG_fail
;
27407 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
27408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27412 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
27414 wxPyEndAllowThreads(__tstate
);
27415 if (PyErr_Occurred()) SWIG_fail
;
27418 wxTreeItemId
* resultptr
;
27419 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27420 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27436 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27437 PyObject
*resultobj
;
27438 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27439 wxTreeItemId
*arg2
= 0 ;
27441 wxString
*arg4
= 0 ;
27442 int arg5
= (int) -1 ;
27443 int arg6
= (int) -1 ;
27444 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
27445 wxTreeItemId result
;
27446 bool temp4
= false ;
27447 PyObject
* obj0
= 0 ;
27448 PyObject
* obj1
= 0 ;
27449 PyObject
* obj2
= 0 ;
27450 PyObject
* obj3
= 0 ;
27451 PyObject
* obj4
= 0 ;
27452 PyObject
* obj5
= 0 ;
27453 PyObject
* obj6
= 0 ;
27454 char *kwnames
[] = {
27455 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27461 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27462 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27464 if (arg2
== NULL
) {
27465 PyErr_SetString(PyExc_TypeError
,"null reference");
27468 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
27469 if (PyErr_Occurred()) SWIG_fail
;
27471 arg4
= wxString_in_helper(obj3
);
27472 if (arg4
== NULL
) SWIG_fail
;
27476 arg5
= (int)SWIG_As_int(obj4
);
27477 if (PyErr_Occurred()) SWIG_fail
;
27480 arg6
= (int)SWIG_As_int(obj5
);
27481 if (PyErr_Occurred()) SWIG_fail
;
27484 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
27485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27489 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
27491 wxPyEndAllowThreads(__tstate
);
27492 if (PyErr_Occurred()) SWIG_fail
;
27495 wxTreeItemId
* resultptr
;
27496 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27497 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27513 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27514 PyObject
*resultobj
;
27515 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27516 wxTreeItemId
*arg2
= 0 ;
27517 wxString
*arg3
= 0 ;
27518 int arg4
= (int) -1 ;
27519 int arg5
= (int) -1 ;
27520 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
27521 wxTreeItemId result
;
27522 bool temp3
= false ;
27523 PyObject
* obj0
= 0 ;
27524 PyObject
* obj1
= 0 ;
27525 PyObject
* obj2
= 0 ;
27526 PyObject
* obj3
= 0 ;
27527 PyObject
* obj4
= 0 ;
27528 PyObject
* obj5
= 0 ;
27529 char *kwnames
[] = {
27530 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27536 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27537 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27539 if (arg2
== NULL
) {
27540 PyErr_SetString(PyExc_TypeError
,"null reference");
27544 arg3
= wxString_in_helper(obj2
);
27545 if (arg3
== NULL
) SWIG_fail
;
27549 arg4
= (int)SWIG_As_int(obj3
);
27550 if (PyErr_Occurred()) SWIG_fail
;
27553 arg5
= (int)SWIG_As_int(obj4
);
27554 if (PyErr_Occurred()) SWIG_fail
;
27557 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
27558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27562 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
27564 wxPyEndAllowThreads(__tstate
);
27565 if (PyErr_Occurred()) SWIG_fail
;
27568 wxTreeItemId
* resultptr
;
27569 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27570 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27586 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27587 PyObject
*resultobj
;
27588 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27589 wxTreeItemId
*arg2
= 0 ;
27590 PyObject
* obj0
= 0 ;
27591 PyObject
* obj1
= 0 ;
27592 char *kwnames
[] = {
27593 (char *) "self",(char *) "item", NULL
27596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
27597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27599 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27600 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27602 if (arg2
== NULL
) {
27603 PyErr_SetString(PyExc_TypeError
,"null reference");
27607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27608 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
27610 wxPyEndAllowThreads(__tstate
);
27611 if (PyErr_Occurred()) SWIG_fail
;
27613 Py_INCREF(Py_None
); resultobj
= Py_None
;
27620 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27621 PyObject
*resultobj
;
27622 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27623 wxTreeItemId
*arg2
= 0 ;
27624 PyObject
* obj0
= 0 ;
27625 PyObject
* obj1
= 0 ;
27626 char *kwnames
[] = {
27627 (char *) "self",(char *) "item", NULL
27630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
27631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27633 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27634 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27636 if (arg2
== NULL
) {
27637 PyErr_SetString(PyExc_TypeError
,"null reference");
27641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27642 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
27644 wxPyEndAllowThreads(__tstate
);
27645 if (PyErr_Occurred()) SWIG_fail
;
27647 Py_INCREF(Py_None
); resultobj
= Py_None
;
27654 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27655 PyObject
*resultobj
;
27656 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27657 PyObject
* obj0
= 0 ;
27658 char *kwnames
[] = {
27659 (char *) "self", NULL
27662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
27663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27667 (arg1
)->DeleteAllItems();
27669 wxPyEndAllowThreads(__tstate
);
27670 if (PyErr_Occurred()) SWIG_fail
;
27672 Py_INCREF(Py_None
); resultobj
= Py_None
;
27679 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27680 PyObject
*resultobj
;
27681 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27682 wxTreeItemId
*arg2
= 0 ;
27683 PyObject
* obj0
= 0 ;
27684 PyObject
* obj1
= 0 ;
27685 char *kwnames
[] = {
27686 (char *) "self",(char *) "item", NULL
27689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
27690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27692 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27693 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27695 if (arg2
== NULL
) {
27696 PyErr_SetString(PyExc_TypeError
,"null reference");
27700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27701 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
27703 wxPyEndAllowThreads(__tstate
);
27704 if (PyErr_Occurred()) SWIG_fail
;
27706 Py_INCREF(Py_None
); resultobj
= Py_None
;
27713 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27714 PyObject
*resultobj
;
27715 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27716 wxTreeItemId
*arg2
= 0 ;
27717 PyObject
* obj0
= 0 ;
27718 PyObject
* obj1
= 0 ;
27719 char *kwnames
[] = {
27720 (char *) "self",(char *) "item", NULL
27723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
27724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27726 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27727 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27729 if (arg2
== NULL
) {
27730 PyErr_SetString(PyExc_TypeError
,"null reference");
27734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27735 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
27737 wxPyEndAllowThreads(__tstate
);
27738 if (PyErr_Occurred()) SWIG_fail
;
27740 Py_INCREF(Py_None
); resultobj
= Py_None
;
27747 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27748 PyObject
*resultobj
;
27749 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27750 wxTreeItemId
*arg2
= 0 ;
27751 PyObject
* obj0
= 0 ;
27752 PyObject
* obj1
= 0 ;
27753 char *kwnames
[] = {
27754 (char *) "self",(char *) "item", NULL
27757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
27758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27760 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27761 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27763 if (arg2
== NULL
) {
27764 PyErr_SetString(PyExc_TypeError
,"null reference");
27768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27769 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
27771 wxPyEndAllowThreads(__tstate
);
27772 if (PyErr_Occurred()) SWIG_fail
;
27774 Py_INCREF(Py_None
); resultobj
= Py_None
;
27781 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27782 PyObject
*resultobj
;
27783 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27784 wxTreeItemId
*arg2
= 0 ;
27785 PyObject
* obj0
= 0 ;
27786 PyObject
* obj1
= 0 ;
27787 char *kwnames
[] = {
27788 (char *) "self",(char *) "item", NULL
27791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
27792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27794 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27795 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27797 if (arg2
== NULL
) {
27798 PyErr_SetString(PyExc_TypeError
,"null reference");
27802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27803 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
27805 wxPyEndAllowThreads(__tstate
);
27806 if (PyErr_Occurred()) SWIG_fail
;
27808 Py_INCREF(Py_None
); resultobj
= Py_None
;
27815 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27816 PyObject
*resultobj
;
27817 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27818 PyObject
* obj0
= 0 ;
27819 char *kwnames
[] = {
27820 (char *) "self", NULL
27823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
27824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27828 (arg1
)->Unselect();
27830 wxPyEndAllowThreads(__tstate
);
27831 if (PyErr_Occurred()) SWIG_fail
;
27833 Py_INCREF(Py_None
); resultobj
= Py_None
;
27840 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27841 PyObject
*resultobj
;
27842 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27843 wxTreeItemId
*arg2
= 0 ;
27844 PyObject
* obj0
= 0 ;
27845 PyObject
* obj1
= 0 ;
27846 char *kwnames
[] = {
27847 (char *) "self",(char *) "item", NULL
27850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27853 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27854 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27856 if (arg2
== NULL
) {
27857 PyErr_SetString(PyExc_TypeError
,"null reference");
27861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27862 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
27864 wxPyEndAllowThreads(__tstate
);
27865 if (PyErr_Occurred()) SWIG_fail
;
27867 Py_INCREF(Py_None
); resultobj
= Py_None
;
27874 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27875 PyObject
*resultobj
;
27876 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27877 PyObject
* obj0
= 0 ;
27878 char *kwnames
[] = {
27879 (char *) "self", NULL
27882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
27883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27887 (arg1
)->UnselectAll();
27889 wxPyEndAllowThreads(__tstate
);
27890 if (PyErr_Occurred()) SWIG_fail
;
27892 Py_INCREF(Py_None
); resultobj
= Py_None
;
27899 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27900 PyObject
*resultobj
;
27901 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27902 wxTreeItemId
*arg2
= 0 ;
27903 bool arg3
= (bool) true ;
27904 PyObject
* obj0
= 0 ;
27905 PyObject
* obj1
= 0 ;
27906 PyObject
* obj2
= 0 ;
27907 char *kwnames
[] = {
27908 (char *) "self",(char *) "item",(char *) "select", NULL
27911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27914 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27915 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27917 if (arg2
== NULL
) {
27918 PyErr_SetString(PyExc_TypeError
,"null reference");
27922 arg3
= (bool)SWIG_As_bool(obj2
);
27923 if (PyErr_Occurred()) SWIG_fail
;
27926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27927 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
27929 wxPyEndAllowThreads(__tstate
);
27930 if (PyErr_Occurred()) SWIG_fail
;
27932 Py_INCREF(Py_None
); resultobj
= Py_None
;
27939 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27940 PyObject
*resultobj
;
27941 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27942 wxTreeItemId
*arg2
= 0 ;
27943 PyObject
* obj0
= 0 ;
27944 PyObject
* obj1
= 0 ;
27945 char *kwnames
[] = {
27946 (char *) "self",(char *) "item", NULL
27949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27952 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27953 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27955 if (arg2
== NULL
) {
27956 PyErr_SetString(PyExc_TypeError
,"null reference");
27960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27961 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
27963 wxPyEndAllowThreads(__tstate
);
27964 if (PyErr_Occurred()) SWIG_fail
;
27966 Py_INCREF(Py_None
); resultobj
= Py_None
;
27973 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27974 PyObject
*resultobj
;
27975 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27976 wxTreeItemId
*arg2
= 0 ;
27977 PyObject
* obj0
= 0 ;
27978 PyObject
* obj1
= 0 ;
27979 char *kwnames
[] = {
27980 (char *) "self",(char *) "item", NULL
27983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
27984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27986 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27987 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27989 if (arg2
== NULL
) {
27990 PyErr_SetString(PyExc_TypeError
,"null reference");
27994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27995 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
27997 wxPyEndAllowThreads(__tstate
);
27998 if (PyErr_Occurred()) SWIG_fail
;
28000 Py_INCREF(Py_None
); resultobj
= Py_None
;
28007 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28008 PyObject
*resultobj
;
28009 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28010 wxTreeItemId
*arg2
= 0 ;
28011 PyObject
* obj0
= 0 ;
28012 PyObject
* obj1
= 0 ;
28013 char *kwnames
[] = {
28014 (char *) "self",(char *) "item", NULL
28017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
28018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28020 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28021 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28023 if (arg2
== NULL
) {
28024 PyErr_SetString(PyExc_TypeError
,"null reference");
28028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28029 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
28031 wxPyEndAllowThreads(__tstate
);
28032 if (PyErr_Occurred()) SWIG_fail
;
28034 Py_INCREF(Py_None
); resultobj
= Py_None
;
28041 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28042 PyObject
*resultobj
;
28043 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28044 wxTreeItemId
*arg2
= 0 ;
28045 PyObject
* obj0
= 0 ;
28046 PyObject
* obj1
= 0 ;
28047 char *kwnames
[] = {
28048 (char *) "self",(char *) "item", NULL
28051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
28052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28054 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28055 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28057 if (arg2
== NULL
) {
28058 PyErr_SetString(PyExc_TypeError
,"null reference");
28062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28063 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
28065 wxPyEndAllowThreads(__tstate
);
28066 if (PyErr_Occurred()) SWIG_fail
;
28068 Py_INCREF(Py_None
); resultobj
= Py_None
;
28075 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28076 PyObject
*resultobj
;
28077 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28078 wxTextCtrl
*result
;
28079 PyObject
* obj0
= 0 ;
28080 char *kwnames
[] = {
28081 (char *) "self", NULL
28084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
28085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28089 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
28091 wxPyEndAllowThreads(__tstate
);
28092 if (PyErr_Occurred()) SWIG_fail
;
28095 resultobj
= wxPyMake_wxObject(result
, 0);
28103 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28104 PyObject
*resultobj
;
28105 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28106 wxTreeItemId
*arg2
= 0 ;
28107 PyObject
* obj0
= 0 ;
28108 PyObject
* obj1
= 0 ;
28109 char *kwnames
[] = {
28110 (char *) "self",(char *) "item", NULL
28113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
28114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28116 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28117 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28119 if (arg2
== NULL
) {
28120 PyErr_SetString(PyExc_TypeError
,"null reference");
28124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28125 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
28127 wxPyEndAllowThreads(__tstate
);
28128 if (PyErr_Occurred()) SWIG_fail
;
28130 Py_INCREF(Py_None
); resultobj
= Py_None
;
28137 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28138 PyObject
*resultobj
;
28139 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28140 wxPoint
*arg2
= 0 ;
28142 wxTreeItemId result
;
28146 PyObject
* obj0
= 0 ;
28147 PyObject
* obj1
= 0 ;
28148 char *kwnames
[] = {
28149 (char *) "self",(char *) "point", NULL
28152 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
28153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
28154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28158 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28162 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
28164 wxPyEndAllowThreads(__tstate
);
28165 if (PyErr_Occurred()) SWIG_fail
;
28168 wxTreeItemId
* resultptr
;
28169 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28170 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28172 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
28173 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
28180 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28181 PyObject
*resultobj
;
28182 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28183 wxTreeItemId
*arg2
= 0 ;
28184 bool arg3
= (bool) false ;
28186 PyObject
* obj0
= 0 ;
28187 PyObject
* obj1
= 0 ;
28188 PyObject
* obj2
= 0 ;
28189 char *kwnames
[] = {
28190 (char *) "self",(char *) "item",(char *) "textOnly", NULL
28193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28196 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28197 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28199 if (arg2
== NULL
) {
28200 PyErr_SetString(PyExc_TypeError
,"null reference");
28204 arg3
= (bool)SWIG_As_bool(obj2
);
28205 if (PyErr_Occurred()) SWIG_fail
;
28208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28209 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
28211 wxPyEndAllowThreads(__tstate
);
28212 if (PyErr_Occurred()) SWIG_fail
;
28214 resultobj
= result
;
28221 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28222 PyObject
*resultobj
;
28223 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
28224 wxVisualAttributes result
;
28225 PyObject
* obj0
= 0 ;
28226 char *kwnames
[] = {
28227 (char *) "variant", NULL
28230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
28232 arg1
= (int)SWIG_As_int(obj0
);
28233 if (PyErr_Occurred()) SWIG_fail
;
28236 if (!wxPyCheckForApp()) SWIG_fail
;
28237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28238 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
28240 wxPyEndAllowThreads(__tstate
);
28241 if (PyErr_Occurred()) SWIG_fail
;
28244 wxVisualAttributes
* resultptr
;
28245 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
28246 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
28254 static PyObject
* TreeCtrl_swigregister(PyObject
*, PyObject
*args
) {
28256 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28257 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
28259 return Py_BuildValue((char *)"");
28261 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
28262 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
28267 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
28272 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
28274 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
28281 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28282 PyObject
*resultobj
;
28283 wxWindow
*arg1
= (wxWindow
*) 0 ;
28284 int arg2
= (int) (int)-1 ;
28285 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
28286 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
28287 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28288 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28289 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28290 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28291 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
28292 wxString
const &arg7_defvalue
= wxPyEmptyString
;
28293 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28294 int arg8
= (int) 0 ;
28295 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
28296 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
28297 wxGenericDirCtrl
*result
;
28298 bool temp3
= false ;
28301 bool temp7
= false ;
28302 bool temp9
= false ;
28303 PyObject
* obj0
= 0 ;
28304 PyObject
* obj1
= 0 ;
28305 PyObject
* obj2
= 0 ;
28306 PyObject
* obj3
= 0 ;
28307 PyObject
* obj4
= 0 ;
28308 PyObject
* obj5
= 0 ;
28309 PyObject
* obj6
= 0 ;
28310 PyObject
* obj7
= 0 ;
28311 PyObject
* obj8
= 0 ;
28312 char *kwnames
[] = {
28313 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
28317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28320 arg2
= (int)SWIG_As_int(obj1
);
28321 if (PyErr_Occurred()) SWIG_fail
;
28325 arg3
= wxString_in_helper(obj2
);
28326 if (arg3
== NULL
) SWIG_fail
;
28333 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28339 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28343 arg6
= (long)SWIG_As_long(obj5
);
28344 if (PyErr_Occurred()) SWIG_fail
;
28348 arg7
= wxString_in_helper(obj6
);
28349 if (arg7
== NULL
) SWIG_fail
;
28354 arg8
= (int)SWIG_As_int(obj7
);
28355 if (PyErr_Occurred()) SWIG_fail
;
28359 arg9
= wxString_in_helper(obj8
);
28360 if (arg9
== NULL
) SWIG_fail
;
28365 if (!wxPyCheckForApp()) SWIG_fail
;
28366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28367 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
28369 wxPyEndAllowThreads(__tstate
);
28370 if (PyErr_Occurred()) SWIG_fail
;
28372 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
28403 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28404 PyObject
*resultobj
;
28405 wxGenericDirCtrl
*result
;
28406 char *kwnames
[] = {
28410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
28412 if (!wxPyCheckForApp()) SWIG_fail
;
28413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28414 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
28416 wxPyEndAllowThreads(__tstate
);
28417 if (PyErr_Occurred()) SWIG_fail
;
28419 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
28426 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28427 PyObject
*resultobj
;
28428 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28429 wxWindow
*arg2
= (wxWindow
*) 0 ;
28430 int arg3
= (int) (int)-1 ;
28431 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
28432 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28433 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
28434 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
28435 wxSize
const &arg6_defvalue
= wxDefaultSize
;
28436 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
28437 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
28438 wxString
const &arg8_defvalue
= wxPyEmptyString
;
28439 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28440 int arg9
= (int) 0 ;
28441 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
28442 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
28444 bool temp4
= false ;
28447 bool temp8
= false ;
28448 bool temp10
= false ;
28449 PyObject
* obj0
= 0 ;
28450 PyObject
* obj1
= 0 ;
28451 PyObject
* obj2
= 0 ;
28452 PyObject
* obj3
= 0 ;
28453 PyObject
* obj4
= 0 ;
28454 PyObject
* obj5
= 0 ;
28455 PyObject
* obj6
= 0 ;
28456 PyObject
* obj7
= 0 ;
28457 PyObject
* obj8
= 0 ;
28458 PyObject
* obj9
= 0 ;
28459 char *kwnames
[] = {
28460 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
28464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28466 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28469 arg3
= (int)SWIG_As_int(obj2
);
28470 if (PyErr_Occurred()) SWIG_fail
;
28474 arg4
= wxString_in_helper(obj3
);
28475 if (arg4
== NULL
) SWIG_fail
;
28482 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
28488 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
28492 arg7
= (long)SWIG_As_long(obj6
);
28493 if (PyErr_Occurred()) SWIG_fail
;
28497 arg8
= wxString_in_helper(obj7
);
28498 if (arg8
== NULL
) SWIG_fail
;
28503 arg9
= (int)SWIG_As_int(obj8
);
28504 if (PyErr_Occurred()) SWIG_fail
;
28508 arg10
= wxString_in_helper(obj9
);
28509 if (arg10
== NULL
) SWIG_fail
;
28514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28515 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
28517 wxPyEndAllowThreads(__tstate
);
28518 if (PyErr_Occurred()) SWIG_fail
;
28521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28553 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28554 PyObject
*resultobj
;
28555 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28556 wxString
*arg2
= 0 ;
28558 bool temp2
= false ;
28559 PyObject
* obj0
= 0 ;
28560 PyObject
* obj1
= 0 ;
28561 char *kwnames
[] = {
28562 (char *) "self",(char *) "path", NULL
28565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28569 arg2
= wxString_in_helper(obj1
);
28570 if (arg2
== NULL
) SWIG_fail
;
28574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28575 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
28577 wxPyEndAllowThreads(__tstate
);
28578 if (PyErr_Occurred()) SWIG_fail
;
28581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28597 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28598 PyObject
*resultobj
;
28599 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28601 PyObject
* obj0
= 0 ;
28602 char *kwnames
[] = {
28603 (char *) "self", NULL
28606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
28607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28611 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
28613 wxPyEndAllowThreads(__tstate
);
28614 if (PyErr_Occurred()) SWIG_fail
;
28618 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28620 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28629 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28630 PyObject
*resultobj
;
28631 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28632 wxString
*arg2
= 0 ;
28633 bool temp2
= false ;
28634 PyObject
* obj0
= 0 ;
28635 PyObject
* obj1
= 0 ;
28636 char *kwnames
[] = {
28637 (char *) "self",(char *) "path", NULL
28640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28644 arg2
= wxString_in_helper(obj1
);
28645 if (arg2
== NULL
) SWIG_fail
;
28649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28650 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
28652 wxPyEndAllowThreads(__tstate
);
28653 if (PyErr_Occurred()) SWIG_fail
;
28655 Py_INCREF(Py_None
); resultobj
= Py_None
;
28670 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28671 PyObject
*resultobj
;
28672 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28674 PyObject
* obj0
= 0 ;
28675 char *kwnames
[] = {
28676 (char *) "self", NULL
28679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
28680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28684 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
28686 wxPyEndAllowThreads(__tstate
);
28687 if (PyErr_Occurred()) SWIG_fail
;
28691 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28693 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28702 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28703 PyObject
*resultobj
;
28704 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28706 PyObject
* obj0
= 0 ;
28707 char *kwnames
[] = {
28708 (char *) "self", NULL
28711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
28712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28716 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
28718 wxPyEndAllowThreads(__tstate
);
28719 if (PyErr_Occurred()) SWIG_fail
;
28723 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28725 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28734 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28735 PyObject
*resultobj
;
28736 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28737 wxString
*arg2
= 0 ;
28738 bool temp2
= false ;
28739 PyObject
* obj0
= 0 ;
28740 PyObject
* obj1
= 0 ;
28741 char *kwnames
[] = {
28742 (char *) "self",(char *) "path", NULL
28745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28749 arg2
= wxString_in_helper(obj1
);
28750 if (arg2
== NULL
) SWIG_fail
;
28754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28755 (arg1
)->SetPath((wxString
const &)*arg2
);
28757 wxPyEndAllowThreads(__tstate
);
28758 if (PyErr_Occurred()) SWIG_fail
;
28760 Py_INCREF(Py_None
); resultobj
= Py_None
;
28775 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28776 PyObject
*resultobj
;
28777 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28779 PyObject
* obj0
= 0 ;
28780 PyObject
* obj1
= 0 ;
28781 char *kwnames
[] = {
28782 (char *) "self",(char *) "show", NULL
28785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
28786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28788 arg2
= (bool)SWIG_As_bool(obj1
);
28789 if (PyErr_Occurred()) SWIG_fail
;
28791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28792 (arg1
)->ShowHidden(arg2
);
28794 wxPyEndAllowThreads(__tstate
);
28795 if (PyErr_Occurred()) SWIG_fail
;
28797 Py_INCREF(Py_None
); resultobj
= Py_None
;
28804 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28805 PyObject
*resultobj
;
28806 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28808 PyObject
* obj0
= 0 ;
28809 char *kwnames
[] = {
28810 (char *) "self", NULL
28813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
28814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28818 result
= (bool)(arg1
)->GetShowHidden();
28820 wxPyEndAllowThreads(__tstate
);
28821 if (PyErr_Occurred()) SWIG_fail
;
28824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28832 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28833 PyObject
*resultobj
;
28834 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28836 PyObject
* obj0
= 0 ;
28837 char *kwnames
[] = {
28838 (char *) "self", NULL
28841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
28842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28846 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
28848 wxPyEndAllowThreads(__tstate
);
28849 if (PyErr_Occurred()) SWIG_fail
;
28853 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28855 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28864 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28865 PyObject
*resultobj
;
28866 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28867 wxString
*arg2
= 0 ;
28868 bool temp2
= false ;
28869 PyObject
* obj0
= 0 ;
28870 PyObject
* obj1
= 0 ;
28871 char *kwnames
[] = {
28872 (char *) "self",(char *) "filter", NULL
28875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
28876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28879 arg2
= wxString_in_helper(obj1
);
28880 if (arg2
== NULL
) SWIG_fail
;
28884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28885 (arg1
)->SetFilter((wxString
const &)*arg2
);
28887 wxPyEndAllowThreads(__tstate
);
28888 if (PyErr_Occurred()) SWIG_fail
;
28890 Py_INCREF(Py_None
); resultobj
= Py_None
;
28905 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28906 PyObject
*resultobj
;
28907 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28909 PyObject
* obj0
= 0 ;
28910 char *kwnames
[] = {
28911 (char *) "self", NULL
28914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
28915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28919 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
28921 wxPyEndAllowThreads(__tstate
);
28922 if (PyErr_Occurred()) SWIG_fail
;
28924 resultobj
= SWIG_From_int((int)result
);
28931 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28932 PyObject
*resultobj
;
28933 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28935 PyObject
* obj0
= 0 ;
28936 PyObject
* obj1
= 0 ;
28937 char *kwnames
[] = {
28938 (char *) "self",(char *) "n", NULL
28941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
28942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28944 arg2
= (int)SWIG_As_int(obj1
);
28945 if (PyErr_Occurred()) SWIG_fail
;
28947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28948 (arg1
)->SetFilterIndex(arg2
);
28950 wxPyEndAllowThreads(__tstate
);
28951 if (PyErr_Occurred()) SWIG_fail
;
28953 Py_INCREF(Py_None
); resultobj
= Py_None
;
28960 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28961 PyObject
*resultobj
;
28962 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28963 wxTreeItemId result
;
28964 PyObject
* obj0
= 0 ;
28965 char *kwnames
[] = {
28966 (char *) "self", NULL
28969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
28970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28974 result
= (arg1
)->GetRootId();
28976 wxPyEndAllowThreads(__tstate
);
28977 if (PyErr_Occurred()) SWIG_fail
;
28980 wxTreeItemId
* resultptr
;
28981 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28982 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28990 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28991 PyObject
*resultobj
;
28992 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28993 wxPyTreeCtrl
*result
;
28994 PyObject
* obj0
= 0 ;
28995 char *kwnames
[] = {
28996 (char *) "self", NULL
28999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
29000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29004 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
29006 wxPyEndAllowThreads(__tstate
);
29007 if (PyErr_Occurred()) SWIG_fail
;
29010 resultobj
= wxPyMake_wxObject(result
, 0);
29018 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29019 PyObject
*resultobj
;
29020 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29021 wxDirFilterListCtrl
*result
;
29022 PyObject
* obj0
= 0 ;
29023 char *kwnames
[] = {
29024 (char *) "self", NULL
29027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
29028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29032 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
29034 wxPyEndAllowThreads(__tstate
);
29035 if (PyErr_Occurred()) SWIG_fail
;
29037 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
29044 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29045 PyObject
*resultobj
;
29046 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29047 wxTreeItemId arg2
;
29048 wxString
*arg3
= 0 ;
29050 wxTreeItemId result
;
29051 wxTreeItemId
*argp2
;
29052 bool temp3
= false ;
29055 PyObject
* obj0
= 0 ;
29056 PyObject
* obj1
= 0 ;
29057 PyObject
* obj2
= 0 ;
29058 char *kwnames
[] = {
29059 (char *) "self",(char *) "parentId",(char *) "path", NULL
29062 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
29063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29066 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
,
29067 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
29070 arg3
= wxString_in_helper(obj2
);
29071 if (arg3
== NULL
) SWIG_fail
;
29075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29076 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
29078 wxPyEndAllowThreads(__tstate
);
29079 if (PyErr_Occurred()) SWIG_fail
;
29082 wxTreeItemId
* resultptr
;
29083 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
29084 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29086 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
29087 SWIG_From_bool((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, 0)));
29102 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29103 PyObject
*resultobj
;
29104 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29105 PyObject
* obj0
= 0 ;
29106 char *kwnames
[] = {
29107 (char *) "self", NULL
29110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
29111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29115 (arg1
)->DoResize();
29117 wxPyEndAllowThreads(__tstate
);
29118 if (PyErr_Occurred()) SWIG_fail
;
29120 Py_INCREF(Py_None
); resultobj
= Py_None
;
29127 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29128 PyObject
*resultobj
;
29129 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29130 PyObject
* obj0
= 0 ;
29131 char *kwnames
[] = {
29132 (char *) "self", NULL
29135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
29136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29140 (arg1
)->ReCreateTree();
29142 wxPyEndAllowThreads(__tstate
);
29143 if (PyErr_Occurred()) SWIG_fail
;
29145 Py_INCREF(Py_None
); resultobj
= Py_None
;
29152 static PyObject
* GenericDirCtrl_swigregister(PyObject
*, PyObject
*args
) {
29154 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29155 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
29157 return Py_BuildValue((char *)"");
29159 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29160 PyObject
*resultobj
;
29161 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29162 int arg2
= (int) (int)-1 ;
29163 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29164 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29165 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29166 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29167 long arg5
= (long) 0 ;
29168 wxDirFilterListCtrl
*result
;
29171 PyObject
* obj0
= 0 ;
29172 PyObject
* obj1
= 0 ;
29173 PyObject
* obj2
= 0 ;
29174 PyObject
* obj3
= 0 ;
29175 PyObject
* obj4
= 0 ;
29176 char *kwnames
[] = {
29177 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29184 arg2
= (int)SWIG_As_int(obj1
);
29185 if (PyErr_Occurred()) SWIG_fail
;
29190 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29196 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29200 arg5
= (long)SWIG_As_long(obj4
);
29201 if (PyErr_Occurred()) SWIG_fail
;
29204 if (!wxPyCheckForApp()) SWIG_fail
;
29205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29206 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
29208 wxPyEndAllowThreads(__tstate
);
29209 if (PyErr_Occurred()) SWIG_fail
;
29211 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
29218 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29219 PyObject
*resultobj
;
29220 wxDirFilterListCtrl
*result
;
29221 char *kwnames
[] = {
29225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
29227 if (!wxPyCheckForApp()) SWIG_fail
;
29228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29229 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
29231 wxPyEndAllowThreads(__tstate
);
29232 if (PyErr_Occurred()) SWIG_fail
;
29234 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
29241 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29242 PyObject
*resultobj
;
29243 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
29244 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
29245 int arg3
= (int) (int)-1 ;
29246 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29247 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29248 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29249 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29250 long arg6
= (long) 0 ;
29254 PyObject
* obj0
= 0 ;
29255 PyObject
* obj1
= 0 ;
29256 PyObject
* obj2
= 0 ;
29257 PyObject
* obj3
= 0 ;
29258 PyObject
* obj4
= 0 ;
29259 PyObject
* obj5
= 0 ;
29260 char *kwnames
[] = {
29261 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
29266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29267 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
,
29268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29270 arg3
= (int)SWIG_As_int(obj2
);
29271 if (PyErr_Occurred()) SWIG_fail
;
29276 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29282 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29286 arg6
= (long)SWIG_As_long(obj5
);
29287 if (PyErr_Occurred()) SWIG_fail
;
29290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29291 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
29293 wxPyEndAllowThreads(__tstate
);
29294 if (PyErr_Occurred()) SWIG_fail
;
29297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29305 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29306 PyObject
*resultobj
;
29307 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
29308 wxString
*arg2
= 0 ;
29310 bool temp2
= false ;
29311 PyObject
* obj0
= 0 ;
29312 PyObject
* obj1
= 0 ;
29313 PyObject
* obj2
= 0 ;
29314 char *kwnames
[] = {
29315 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
29318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
29320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29322 arg2
= wxString_in_helper(obj1
);
29323 if (arg2
== NULL
) SWIG_fail
;
29326 arg3
= (int)SWIG_As_int(obj2
);
29327 if (PyErr_Occurred()) SWIG_fail
;
29329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29330 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
29332 wxPyEndAllowThreads(__tstate
);
29333 if (PyErr_Occurred()) SWIG_fail
;
29335 Py_INCREF(Py_None
); resultobj
= Py_None
;
29350 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*, PyObject
*args
) {
29352 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29353 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
29355 return Py_BuildValue((char *)"");
29357 static PyObject
*_wrap_new_PyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29358 PyObject
*resultobj
;
29359 wxWindow
*arg1
= (wxWindow
*) 0 ;
29360 int arg2
= (int) (int)-1 ;
29361 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29362 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29363 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29364 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29365 long arg5
= (long) 0 ;
29366 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
29367 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
29368 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
29369 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29370 wxPyControl
*result
;
29373 bool temp7
= false ;
29374 PyObject
* obj0
= 0 ;
29375 PyObject
* obj1
= 0 ;
29376 PyObject
* obj2
= 0 ;
29377 PyObject
* obj3
= 0 ;
29378 PyObject
* obj4
= 0 ;
29379 PyObject
* obj5
= 0 ;
29380 PyObject
* obj6
= 0 ;
29381 char *kwnames
[] = {
29382 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
29386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29389 arg2
= (int)SWIG_As_int(obj1
);
29390 if (PyErr_Occurred()) SWIG_fail
;
29395 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29401 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29405 arg5
= (long)SWIG_As_long(obj4
);
29406 if (PyErr_Occurred()) SWIG_fail
;
29409 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
29410 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29412 if (arg6
== NULL
) {
29413 PyErr_SetString(PyExc_TypeError
,"null reference");
29419 arg7
= wxString_in_helper(obj6
);
29420 if (arg7
== NULL
) SWIG_fail
;
29425 if (!wxPyCheckForApp()) SWIG_fail
;
29426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29427 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
29429 wxPyEndAllowThreads(__tstate
);
29430 if (PyErr_Occurred()) SWIG_fail
;
29432 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
29447 static PyObject
*_wrap_new_PrePyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29448 PyObject
*resultobj
;
29449 wxPyControl
*result
;
29450 char *kwnames
[] = {
29454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
29456 if (!wxPyCheckForApp()) SWIG_fail
;
29457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29458 result
= (wxPyControl
*)new wxPyControl();
29460 wxPyEndAllowThreads(__tstate
);
29461 if (PyErr_Occurred()) SWIG_fail
;
29463 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
29470 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29471 PyObject
*resultobj
;
29472 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29473 PyObject
*arg2
= (PyObject
*) 0 ;
29474 PyObject
*arg3
= (PyObject
*) 0 ;
29475 PyObject
* obj0
= 0 ;
29476 PyObject
* obj1
= 0 ;
29477 PyObject
* obj2
= 0 ;
29478 char *kwnames
[] = {
29479 (char *) "self",(char *) "self",(char *) "_class", NULL
29482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29489 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29491 wxPyEndAllowThreads(__tstate
);
29492 if (PyErr_Occurred()) SWIG_fail
;
29494 Py_INCREF(Py_None
); resultobj
= Py_None
;
29501 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29502 PyObject
*resultobj
;
29503 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29506 PyObject
* obj0
= 0 ;
29507 PyObject
* obj1
= 0 ;
29508 char *kwnames
[] = {
29509 (char *) "self",(char *) "size", NULL
29512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
29513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29517 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29521 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
29523 wxPyEndAllowThreads(__tstate
);
29524 if (PyErr_Occurred()) SWIG_fail
;
29526 Py_INCREF(Py_None
); resultobj
= Py_None
;
29533 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29534 PyObject
*resultobj
;
29535 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29540 PyObject
* obj0
= 0 ;
29541 PyObject
* obj1
= 0 ;
29542 PyObject
* obj2
= 0 ;
29543 PyObject
* obj3
= 0 ;
29544 PyObject
* obj4
= 0 ;
29545 char *kwnames
[] = {
29546 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29552 arg2
= (int)SWIG_As_int(obj1
);
29553 if (PyErr_Occurred()) SWIG_fail
;
29554 arg3
= (int)SWIG_As_int(obj2
);
29555 if (PyErr_Occurred()) SWIG_fail
;
29556 arg4
= (int)SWIG_As_int(obj3
);
29557 if (PyErr_Occurred()) SWIG_fail
;
29558 arg5
= (int)SWIG_As_int(obj4
);
29559 if (PyErr_Occurred()) SWIG_fail
;
29561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29562 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
29564 wxPyEndAllowThreads(__tstate
);
29565 if (PyErr_Occurred()) SWIG_fail
;
29567 Py_INCREF(Py_None
); resultobj
= Py_None
;
29574 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29575 PyObject
*resultobj
;
29576 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29581 int arg6
= (int) wxSIZE_AUTO
;
29582 PyObject
* obj0
= 0 ;
29583 PyObject
* obj1
= 0 ;
29584 PyObject
* obj2
= 0 ;
29585 PyObject
* obj3
= 0 ;
29586 PyObject
* obj4
= 0 ;
29587 PyObject
* obj5
= 0 ;
29588 char *kwnames
[] = {
29589 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
29592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29595 arg2
= (int)SWIG_As_int(obj1
);
29596 if (PyErr_Occurred()) SWIG_fail
;
29597 arg3
= (int)SWIG_As_int(obj2
);
29598 if (PyErr_Occurred()) SWIG_fail
;
29599 arg4
= (int)SWIG_As_int(obj3
);
29600 if (PyErr_Occurred()) SWIG_fail
;
29601 arg5
= (int)SWIG_As_int(obj4
);
29602 if (PyErr_Occurred()) SWIG_fail
;
29604 arg6
= (int)SWIG_As_int(obj5
);
29605 if (PyErr_Occurred()) SWIG_fail
;
29608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29609 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
29611 wxPyEndAllowThreads(__tstate
);
29612 if (PyErr_Occurred()) SWIG_fail
;
29614 Py_INCREF(Py_None
); resultobj
= Py_None
;
29621 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29622 PyObject
*resultobj
;
29623 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29626 PyObject
* obj0
= 0 ;
29627 PyObject
* obj1
= 0 ;
29628 PyObject
* obj2
= 0 ;
29629 char *kwnames
[] = {
29630 (char *) "self",(char *) "width",(char *) "height", NULL
29633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29636 arg2
= (int)SWIG_As_int(obj1
);
29637 if (PyErr_Occurred()) SWIG_fail
;
29638 arg3
= (int)SWIG_As_int(obj2
);
29639 if (PyErr_Occurred()) SWIG_fail
;
29641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29642 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
29644 wxPyEndAllowThreads(__tstate
);
29645 if (PyErr_Occurred()) SWIG_fail
;
29647 Py_INCREF(Py_None
); resultobj
= Py_None
;
29654 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29655 PyObject
*resultobj
;
29656 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29659 PyObject
* obj0
= 0 ;
29660 PyObject
* obj1
= 0 ;
29661 PyObject
* obj2
= 0 ;
29662 char *kwnames
[] = {
29663 (char *) "self",(char *) "x",(char *) "y", NULL
29666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29669 arg2
= (int)SWIG_As_int(obj1
);
29670 if (PyErr_Occurred()) SWIG_fail
;
29671 arg3
= (int)SWIG_As_int(obj2
);
29672 if (PyErr_Occurred()) SWIG_fail
;
29674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29675 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
29677 wxPyEndAllowThreads(__tstate
);
29678 if (PyErr_Occurred()) SWIG_fail
;
29680 Py_INCREF(Py_None
); resultobj
= Py_None
;
29687 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29688 PyObject
*resultobj
;
29689 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29690 int *arg2
= (int *) 0 ;
29691 int *arg3
= (int *) 0 ;
29696 PyObject
* obj0
= 0 ;
29697 char *kwnames
[] = {
29698 (char *) "self", NULL
29701 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
29702 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
29704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29708 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
29710 wxPyEndAllowThreads(__tstate
);
29711 if (PyErr_Occurred()) SWIG_fail
;
29713 Py_INCREF(Py_None
); resultobj
= Py_None
;
29714 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
29715 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
29716 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29717 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29724 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29725 PyObject
*resultobj
;
29726 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29727 int *arg2
= (int *) 0 ;
29728 int *arg3
= (int *) 0 ;
29733 PyObject
* obj0
= 0 ;
29734 char *kwnames
[] = {
29735 (char *) "self", NULL
29738 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
29739 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
29741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29745 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
29747 wxPyEndAllowThreads(__tstate
);
29748 if (PyErr_Occurred()) SWIG_fail
;
29750 Py_INCREF(Py_None
); resultobj
= Py_None
;
29751 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
29752 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
29753 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29754 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29761 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29762 PyObject
*resultobj
;
29763 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29764 int *arg2
= (int *) 0 ;
29765 int *arg3
= (int *) 0 ;
29770 PyObject
* obj0
= 0 ;
29771 char *kwnames
[] = {
29772 (char *) "self", NULL
29775 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
29776 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
29778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29782 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
29784 wxPyEndAllowThreads(__tstate
);
29785 if (PyErr_Occurred()) SWIG_fail
;
29787 Py_INCREF(Py_None
); resultobj
= Py_None
;
29788 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
29789 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
29790 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29791 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29798 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29799 PyObject
*resultobj
;
29800 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29802 PyObject
* obj0
= 0 ;
29803 char *kwnames
[] = {
29804 (char *) "self", NULL
29807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
29808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29812 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
29814 wxPyEndAllowThreads(__tstate
);
29815 if (PyErr_Occurred()) SWIG_fail
;
29818 wxSize
* resultptr
;
29819 resultptr
= new wxSize((wxSize
&) result
);
29820 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29828 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29829 PyObject
*resultobj
;
29830 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29832 PyObject
* obj0
= 0 ;
29833 char *kwnames
[] = {
29834 (char *) "self", NULL
29837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
29838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29842 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
29844 wxPyEndAllowThreads(__tstate
);
29845 if (PyErr_Occurred()) SWIG_fail
;
29848 wxSize
* resultptr
;
29849 resultptr
= new wxSize((wxSize
&) result
);
29850 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29858 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29859 PyObject
*resultobj
;
29860 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29861 PyObject
* obj0
= 0 ;
29862 char *kwnames
[] = {
29863 (char *) "self", NULL
29866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
29867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29871 (arg1
)->base_InitDialog();
29873 wxPyEndAllowThreads(__tstate
);
29874 if (PyErr_Occurred()) SWIG_fail
;
29876 Py_INCREF(Py_None
); resultobj
= Py_None
;
29883 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29884 PyObject
*resultobj
;
29885 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29887 PyObject
* obj0
= 0 ;
29888 char *kwnames
[] = {
29889 (char *) "self", NULL
29892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
29893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29897 result
= (bool)(arg1
)->base_TransferDataToWindow();
29899 wxPyEndAllowThreads(__tstate
);
29900 if (PyErr_Occurred()) SWIG_fail
;
29903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29911 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29912 PyObject
*resultobj
;
29913 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29915 PyObject
* obj0
= 0 ;
29916 char *kwnames
[] = {
29917 (char *) "self", NULL
29920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
29921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29925 result
= (bool)(arg1
)->base_TransferDataFromWindow();
29927 wxPyEndAllowThreads(__tstate
);
29928 if (PyErr_Occurred()) SWIG_fail
;
29931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29939 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29940 PyObject
*resultobj
;
29941 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29943 PyObject
* obj0
= 0 ;
29944 char *kwnames
[] = {
29945 (char *) "self", NULL
29948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
29949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29953 result
= (bool)(arg1
)->base_Validate();
29955 wxPyEndAllowThreads(__tstate
);
29956 if (PyErr_Occurred()) SWIG_fail
;
29959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29967 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29968 PyObject
*resultobj
;
29969 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29971 PyObject
* obj0
= 0 ;
29972 char *kwnames
[] = {
29973 (char *) "self", NULL
29976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
29977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29981 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
29983 wxPyEndAllowThreads(__tstate
);
29984 if (PyErr_Occurred()) SWIG_fail
;
29987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29995 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29996 PyObject
*resultobj
;
29997 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29999 PyObject
* obj0
= 0 ;
30000 char *kwnames
[] = {
30001 (char *) "self", NULL
30004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
30005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30009 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
30011 wxPyEndAllowThreads(__tstate
);
30012 if (PyErr_Occurred()) SWIG_fail
;
30015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30023 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30024 PyObject
*resultobj
;
30025 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30027 PyObject
* obj0
= 0 ;
30028 char *kwnames
[] = {
30029 (char *) "self", NULL
30032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
30033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30037 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
30039 wxPyEndAllowThreads(__tstate
);
30040 if (PyErr_Occurred()) SWIG_fail
;
30043 wxSize
* resultptr
;
30044 resultptr
= new wxSize((wxSize
&) result
);
30045 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
30053 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30054 PyObject
*resultobj
;
30055 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30056 wxWindow
*arg2
= (wxWindow
*) 0 ;
30057 PyObject
* obj0
= 0 ;
30058 PyObject
* obj1
= 0 ;
30059 char *kwnames
[] = {
30060 (char *) "self",(char *) "child", NULL
30063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
30064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30066 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30070 (arg1
)->base_AddChild(arg2
);
30072 wxPyEndAllowThreads(__tstate
);
30073 if (PyErr_Occurred()) SWIG_fail
;
30075 Py_INCREF(Py_None
); resultobj
= Py_None
;
30082 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30083 PyObject
*resultobj
;
30084 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30085 wxWindow
*arg2
= (wxWindow
*) 0 ;
30086 PyObject
* obj0
= 0 ;
30087 PyObject
* obj1
= 0 ;
30088 char *kwnames
[] = {
30089 (char *) "self",(char *) "child", NULL
30092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
30093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30095 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30099 (arg1
)->base_RemoveChild(arg2
);
30101 wxPyEndAllowThreads(__tstate
);
30102 if (PyErr_Occurred()) SWIG_fail
;
30104 Py_INCREF(Py_None
); resultobj
= Py_None
;
30111 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30112 PyObject
*resultobj
;
30113 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30115 PyObject
* obj0
= 0 ;
30116 char *kwnames
[] = {
30117 (char *) "self", NULL
30120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
30121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30125 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
30127 wxPyEndAllowThreads(__tstate
);
30128 if (PyErr_Occurred()) SWIG_fail
;
30131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30139 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30140 PyObject
*resultobj
;
30141 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30142 wxColour
*arg2
= 0 ;
30144 PyObject
* obj0
= 0 ;
30145 PyObject
* obj1
= 0 ;
30146 char *kwnames
[] = {
30147 (char *) "self",(char *) "c", NULL
30150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
30151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30155 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30159 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
30161 wxPyEndAllowThreads(__tstate
);
30162 if (PyErr_Occurred()) SWIG_fail
;
30164 Py_INCREF(Py_None
); resultobj
= Py_None
;
30171 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30172 PyObject
*resultobj
;
30173 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30174 wxVisualAttributes result
;
30175 PyObject
* obj0
= 0 ;
30176 char *kwnames
[] = {
30177 (char *) "self", NULL
30180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
30181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30185 result
= (arg1
)->base_GetDefaultAttributes();
30187 wxPyEndAllowThreads(__tstate
);
30188 if (PyErr_Occurred()) SWIG_fail
;
30191 wxVisualAttributes
* resultptr
;
30192 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
30193 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
30201 static PyObject
* PyControl_swigregister(PyObject
*, PyObject
*args
) {
30203 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30204 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
30206 return Py_BuildValue((char *)"");
30208 static PyObject
*_wrap_new_HelpEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30209 PyObject
*resultobj
;
30210 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
30211 int arg2
= (int) 0 ;
30212 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30213 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30214 wxHelpEvent
*result
;
30216 PyObject
* obj0
= 0 ;
30217 PyObject
* obj1
= 0 ;
30218 PyObject
* obj2
= 0 ;
30219 char *kwnames
[] = {
30220 (char *) "type",(char *) "winid",(char *) "pt", NULL
30223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30225 arg1
= (wxEventType
)SWIG_As_int(obj0
);
30226 if (PyErr_Occurred()) SWIG_fail
;
30229 arg2
= (int)SWIG_As_int(obj1
);
30230 if (PyErr_Occurred()) SWIG_fail
;
30235 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30240 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
30242 wxPyEndAllowThreads(__tstate
);
30243 if (PyErr_Occurred()) SWIG_fail
;
30245 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
30252 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30253 PyObject
*resultobj
;
30254 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30256 PyObject
* obj0
= 0 ;
30257 char *kwnames
[] = {
30258 (char *) "self", NULL
30261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
30262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30266 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
30268 wxPyEndAllowThreads(__tstate
);
30269 if (PyErr_Occurred()) SWIG_fail
;
30272 wxPoint
* resultptr
;
30273 resultptr
= new wxPoint((wxPoint
&) result
);
30274 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30282 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30283 PyObject
*resultobj
;
30284 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30285 wxPoint
*arg2
= 0 ;
30287 PyObject
* obj0
= 0 ;
30288 PyObject
* obj1
= 0 ;
30289 char *kwnames
[] = {
30290 (char *) "self",(char *) "pos", NULL
30293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
30294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30298 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30302 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
30304 wxPyEndAllowThreads(__tstate
);
30305 if (PyErr_Occurred()) SWIG_fail
;
30307 Py_INCREF(Py_None
); resultobj
= Py_None
;
30314 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30315 PyObject
*resultobj
;
30316 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30318 PyObject
* obj0
= 0 ;
30319 char *kwnames
[] = {
30320 (char *) "self", NULL
30323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
30324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30329 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
30330 result
= (wxString
*) &_result_ref
;
30333 wxPyEndAllowThreads(__tstate
);
30334 if (PyErr_Occurred()) SWIG_fail
;
30338 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30340 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30349 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30350 PyObject
*resultobj
;
30351 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30352 wxString
*arg2
= 0 ;
30353 bool temp2
= false ;
30354 PyObject
* obj0
= 0 ;
30355 PyObject
* obj1
= 0 ;
30356 char *kwnames
[] = {
30357 (char *) "self",(char *) "link", NULL
30360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
30361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30364 arg2
= wxString_in_helper(obj1
);
30365 if (arg2
== NULL
) SWIG_fail
;
30369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30370 (arg1
)->SetLink((wxString
const &)*arg2
);
30372 wxPyEndAllowThreads(__tstate
);
30373 if (PyErr_Occurred()) SWIG_fail
;
30375 Py_INCREF(Py_None
); resultobj
= Py_None
;
30390 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30391 PyObject
*resultobj
;
30392 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30394 PyObject
* obj0
= 0 ;
30395 char *kwnames
[] = {
30396 (char *) "self", NULL
30399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
30400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30405 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
30406 result
= (wxString
*) &_result_ref
;
30409 wxPyEndAllowThreads(__tstate
);
30410 if (PyErr_Occurred()) SWIG_fail
;
30414 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30416 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30425 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30426 PyObject
*resultobj
;
30427 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30428 wxString
*arg2
= 0 ;
30429 bool temp2
= false ;
30430 PyObject
* obj0
= 0 ;
30431 PyObject
* obj1
= 0 ;
30432 char *kwnames
[] = {
30433 (char *) "self",(char *) "target", NULL
30436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
30437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30440 arg2
= wxString_in_helper(obj1
);
30441 if (arg2
== NULL
) SWIG_fail
;
30445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30446 (arg1
)->SetTarget((wxString
const &)*arg2
);
30448 wxPyEndAllowThreads(__tstate
);
30449 if (PyErr_Occurred()) SWIG_fail
;
30451 Py_INCREF(Py_None
); resultobj
= Py_None
;
30466 static PyObject
* HelpEvent_swigregister(PyObject
*, PyObject
*args
) {
30468 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30469 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
30471 return Py_BuildValue((char *)"");
30473 static PyObject
*_wrap_new_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30474 PyObject
*resultobj
;
30475 wxWindow
*arg1
= (wxWindow
*) NULL
;
30476 bool arg2
= (bool) true ;
30477 wxContextHelp
*result
;
30478 PyObject
* obj0
= 0 ;
30479 PyObject
* obj1
= 0 ;
30480 char *kwnames
[] = {
30481 (char *) "window",(char *) "doNow", NULL
30484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30490 arg2
= (bool)SWIG_As_bool(obj1
);
30491 if (PyErr_Occurred()) SWIG_fail
;
30494 if (!wxPyCheckForApp()) SWIG_fail
;
30495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30496 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
30498 wxPyEndAllowThreads(__tstate
);
30499 if (PyErr_Occurred()) SWIG_fail
;
30501 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
30508 static PyObject
*_wrap_delete_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30509 PyObject
*resultobj
;
30510 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30511 PyObject
* obj0
= 0 ;
30512 char *kwnames
[] = {
30513 (char *) "self", NULL
30516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
30517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30523 wxPyEndAllowThreads(__tstate
);
30524 if (PyErr_Occurred()) SWIG_fail
;
30526 Py_INCREF(Py_None
); resultobj
= Py_None
;
30533 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30534 PyObject
*resultobj
;
30535 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30536 wxWindow
*arg2
= (wxWindow
*) NULL
;
30538 PyObject
* obj0
= 0 ;
30539 PyObject
* obj1
= 0 ;
30540 char *kwnames
[] = {
30541 (char *) "self",(char *) "window", NULL
30544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30548 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30553 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
30555 wxPyEndAllowThreads(__tstate
);
30556 if (PyErr_Occurred()) SWIG_fail
;
30559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30567 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30568 PyObject
*resultobj
;
30569 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30571 PyObject
* obj0
= 0 ;
30572 char *kwnames
[] = {
30573 (char *) "self", NULL
30576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
30577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30581 result
= (bool)(arg1
)->EndContextHelp();
30583 wxPyEndAllowThreads(__tstate
);
30584 if (PyErr_Occurred()) SWIG_fail
;
30587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30595 static PyObject
* ContextHelp_swigregister(PyObject
*, PyObject
*args
) {
30597 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30598 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
30600 return Py_BuildValue((char *)"");
30602 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30603 PyObject
*resultobj
;
30604 wxWindow
*arg1
= (wxWindow
*) 0 ;
30605 int arg2
= (int) wxID_CONTEXT_HELP
;
30606 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30607 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30608 wxSize
const &arg4_defvalue
= wxDefaultSize
;
30609 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
30610 long arg5
= (long) wxBU_AUTODRAW
;
30611 wxContextHelpButton
*result
;
30614 PyObject
* obj0
= 0 ;
30615 PyObject
* obj1
= 0 ;
30616 PyObject
* obj2
= 0 ;
30617 PyObject
* obj3
= 0 ;
30618 PyObject
* obj4
= 0 ;
30619 char *kwnames
[] = {
30620 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
30623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30627 arg2
= (int)SWIG_As_int(obj1
);
30628 if (PyErr_Occurred()) SWIG_fail
;
30633 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30639 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
30643 arg5
= (long)SWIG_As_long(obj4
);
30644 if (PyErr_Occurred()) SWIG_fail
;
30647 if (!wxPyCheckForApp()) SWIG_fail
;
30648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30649 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
30651 wxPyEndAllowThreads(__tstate
);
30652 if (PyErr_Occurred()) SWIG_fail
;
30654 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
30661 static PyObject
* ContextHelpButton_swigregister(PyObject
*, PyObject
*args
) {
30663 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30664 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
30666 return Py_BuildValue((char *)"");
30668 static PyObject
*_wrap_HelpProvider_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30669 PyObject
*resultobj
;
30670 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30671 wxHelpProvider
*result
;
30672 PyObject
* obj0
= 0 ;
30673 char *kwnames
[] = {
30674 (char *) "helpProvider", NULL
30677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
30678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30682 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
30684 wxPyEndAllowThreads(__tstate
);
30685 if (PyErr_Occurred()) SWIG_fail
;
30687 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30694 static PyObject
*_wrap_HelpProvider_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30695 PyObject
*resultobj
;
30696 wxHelpProvider
*result
;
30697 char *kwnames
[] = {
30701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
30703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30704 result
= (wxHelpProvider
*)wxHelpProvider::Get();
30706 wxPyEndAllowThreads(__tstate
);
30707 if (PyErr_Occurred()) SWIG_fail
;
30709 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30716 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30717 PyObject
*resultobj
;
30718 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30719 wxWindow
*arg2
= (wxWindow
*) 0 ;
30721 PyObject
* obj0
= 0 ;
30722 PyObject
* obj1
= 0 ;
30723 char *kwnames
[] = {
30724 (char *) "self",(char *) "window", NULL
30727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30730 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30734 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
30736 wxPyEndAllowThreads(__tstate
);
30737 if (PyErr_Occurred()) SWIG_fail
;
30741 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30743 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30752 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30753 PyObject
*resultobj
;
30754 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30755 wxWindow
*arg2
= (wxWindow
*) 0 ;
30757 PyObject
* obj0
= 0 ;
30758 PyObject
* obj1
= 0 ;
30759 char *kwnames
[] = {
30760 (char *) "self",(char *) "window", NULL
30763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30766 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30770 result
= (bool)(arg1
)->ShowHelp(arg2
);
30772 wxPyEndAllowThreads(__tstate
);
30773 if (PyErr_Occurred()) SWIG_fail
;
30776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30784 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30785 PyObject
*resultobj
;
30786 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30787 wxWindow
*arg2
= (wxWindow
*) 0 ;
30788 wxString
*arg3
= 0 ;
30789 bool temp3
= false ;
30790 PyObject
* obj0
= 0 ;
30791 PyObject
* obj1
= 0 ;
30792 PyObject
* obj2
= 0 ;
30793 char *kwnames
[] = {
30794 (char *) "self",(char *) "window",(char *) "text", NULL
30797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30800 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30803 arg3
= wxString_in_helper(obj2
);
30804 if (arg3
== NULL
) SWIG_fail
;
30808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30809 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30811 wxPyEndAllowThreads(__tstate
);
30812 if (PyErr_Occurred()) SWIG_fail
;
30814 Py_INCREF(Py_None
); resultobj
= Py_None
;
30829 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30830 PyObject
*resultobj
;
30831 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30833 wxString
*arg3
= 0 ;
30834 bool temp3
= false ;
30835 PyObject
* obj0
= 0 ;
30836 PyObject
* obj1
= 0 ;
30837 PyObject
* obj2
= 0 ;
30838 char *kwnames
[] = {
30839 (char *) "self",(char *) "id",(char *) "text", NULL
30842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30845 arg2
= (int)SWIG_As_int(obj1
);
30846 if (PyErr_Occurred()) SWIG_fail
;
30848 arg3
= wxString_in_helper(obj2
);
30849 if (arg3
== NULL
) SWIG_fail
;
30853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30854 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30856 wxPyEndAllowThreads(__tstate
);
30857 if (PyErr_Occurred()) SWIG_fail
;
30859 Py_INCREF(Py_None
); resultobj
= Py_None
;
30874 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30875 PyObject
*resultobj
;
30876 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30877 wxWindow
*arg2
= (wxWindow
*) 0 ;
30878 PyObject
* obj0
= 0 ;
30879 PyObject
* obj1
= 0 ;
30880 char *kwnames
[] = {
30881 (char *) "self",(char *) "window", NULL
30884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30887 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30891 (arg1
)->RemoveHelp(arg2
);
30893 wxPyEndAllowThreads(__tstate
);
30894 if (PyErr_Occurred()) SWIG_fail
;
30896 Py_INCREF(Py_None
); resultobj
= Py_None
;
30903 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30904 PyObject
*resultobj
;
30905 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30906 PyObject
* obj0
= 0 ;
30907 char *kwnames
[] = {
30908 (char *) "self", NULL
30911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
30912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30916 wxHelpProvider_Destroy(arg1
);
30918 wxPyEndAllowThreads(__tstate
);
30919 if (PyErr_Occurred()) SWIG_fail
;
30921 Py_INCREF(Py_None
); resultobj
= Py_None
;
30928 static PyObject
* HelpProvider_swigregister(PyObject
*, PyObject
*args
) {
30930 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30931 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
30933 return Py_BuildValue((char *)"");
30935 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30936 PyObject
*resultobj
;
30937 wxSimpleHelpProvider
*result
;
30938 char *kwnames
[] = {
30942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
30944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30945 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
30947 wxPyEndAllowThreads(__tstate
);
30948 if (PyErr_Occurred()) SWIG_fail
;
30950 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
30957 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*, PyObject
*args
) {
30959 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30960 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
30962 return Py_BuildValue((char *)"");
30964 static PyObject
*_wrap_new_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30965 PyObject
*resultobj
;
30966 wxBitmap
*arg1
= 0 ;
30967 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30968 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30969 wxGenericDragImage
*result
;
30970 PyObject
* obj0
= 0 ;
30971 PyObject
* obj1
= 0 ;
30972 char *kwnames
[] = {
30973 (char *) "image",(char *) "cursor", NULL
30976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
30977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
30978 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30980 if (arg1
== NULL
) {
30981 PyErr_SetString(PyExc_TypeError
,"null reference");
30985 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30986 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30988 if (arg2
== NULL
) {
30989 PyErr_SetString(PyExc_TypeError
,"null reference");
30994 if (!wxPyCheckForApp()) SWIG_fail
;
30995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30996 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
30998 wxPyEndAllowThreads(__tstate
);
30999 if (PyErr_Occurred()) SWIG_fail
;
31001 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
31008 static PyObject
*_wrap_new_DragIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31009 PyObject
*resultobj
;
31011 wxCursor
const &arg2_defvalue
= wxNullCursor
;
31012 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
31013 wxGenericDragImage
*result
;
31014 PyObject
* obj0
= 0 ;
31015 PyObject
* obj1
= 0 ;
31016 char *kwnames
[] = {
31017 (char *) "image",(char *) "cursor", NULL
31020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
31021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
31022 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31024 if (arg1
== NULL
) {
31025 PyErr_SetString(PyExc_TypeError
,"null reference");
31029 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
31030 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31032 if (arg2
== NULL
) {
31033 PyErr_SetString(PyExc_TypeError
,"null reference");
31038 if (!wxPyCheckForApp()) SWIG_fail
;
31039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31040 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
31042 wxPyEndAllowThreads(__tstate
);
31043 if (PyErr_Occurred()) SWIG_fail
;
31045 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
31052 static PyObject
*_wrap_new_DragString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31053 PyObject
*resultobj
;
31054 wxString
*arg1
= 0 ;
31055 wxCursor
const &arg2_defvalue
= wxNullCursor
;
31056 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
31057 wxGenericDragImage
*result
;
31058 bool temp1
= false ;
31059 PyObject
* obj0
= 0 ;
31060 PyObject
* obj1
= 0 ;
31061 char *kwnames
[] = {
31062 (char *) "str",(char *) "cursor", NULL
31065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
31067 arg1
= wxString_in_helper(obj0
);
31068 if (arg1
== NULL
) SWIG_fail
;
31072 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
31073 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31075 if (arg2
== NULL
) {
31076 PyErr_SetString(PyExc_TypeError
,"null reference");
31081 if (!wxPyCheckForApp()) SWIG_fail
;
31082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31083 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
31085 wxPyEndAllowThreads(__tstate
);
31086 if (PyErr_Occurred()) SWIG_fail
;
31088 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
31103 static PyObject
*_wrap_new_DragTreeItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31104 PyObject
*resultobj
;
31105 wxPyTreeCtrl
*arg1
= 0 ;
31106 wxTreeItemId
*arg2
= 0 ;
31107 wxGenericDragImage
*result
;
31108 PyObject
* obj0
= 0 ;
31109 PyObject
* obj1
= 0 ;
31110 char *kwnames
[] = {
31111 (char *) "treeCtrl",(char *) "id", NULL
31114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
31115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
31116 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31118 if (arg1
== NULL
) {
31119 PyErr_SetString(PyExc_TypeError
,"null reference");
31122 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
31123 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31125 if (arg2
== NULL
) {
31126 PyErr_SetString(PyExc_TypeError
,"null reference");
31130 if (!wxPyCheckForApp()) SWIG_fail
;
31131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31132 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
31134 wxPyEndAllowThreads(__tstate
);
31135 if (PyErr_Occurred()) SWIG_fail
;
31137 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
31144 static PyObject
*_wrap_new_DragListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31145 PyObject
*resultobj
;
31146 wxPyListCtrl
*arg1
= 0 ;
31148 wxGenericDragImage
*result
;
31149 PyObject
* obj0
= 0 ;
31150 PyObject
* obj1
= 0 ;
31151 char *kwnames
[] = {
31152 (char *) "listCtrl",(char *) "id", NULL
31155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
31156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
31157 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31159 if (arg1
== NULL
) {
31160 PyErr_SetString(PyExc_TypeError
,"null reference");
31163 arg2
= (long)SWIG_As_long(obj1
);
31164 if (PyErr_Occurred()) SWIG_fail
;
31166 if (!wxPyCheckForApp()) SWIG_fail
;
31167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31168 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
31170 wxPyEndAllowThreads(__tstate
);
31171 if (PyErr_Occurred()) SWIG_fail
;
31173 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
31180 static PyObject
*_wrap_delete_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31181 PyObject
*resultobj
;
31182 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31183 PyObject
* obj0
= 0 ;
31184 char *kwnames
[] = {
31185 (char *) "self", NULL
31188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
31189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31195 wxPyEndAllowThreads(__tstate
);
31196 if (PyErr_Occurred()) SWIG_fail
;
31198 Py_INCREF(Py_None
); resultobj
= Py_None
;
31205 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31206 PyObject
*resultobj
;
31207 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31208 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
31209 PyObject
* obj0
= 0 ;
31210 PyObject
* obj1
= 0 ;
31211 char *kwnames
[] = {
31212 (char *) "self",(char *) "bitmap", NULL
31215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
31216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31218 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
31219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31222 (arg1
)->SetBackingBitmap(arg2
);
31224 wxPyEndAllowThreads(__tstate
);
31225 if (PyErr_Occurred()) SWIG_fail
;
31227 Py_INCREF(Py_None
); resultobj
= Py_None
;
31234 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31235 PyObject
*resultobj
;
31236 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31237 wxPoint
*arg2
= 0 ;
31238 wxWindow
*arg3
= (wxWindow
*) 0 ;
31239 bool arg4
= (bool) false ;
31240 wxRect
*arg5
= (wxRect
*) NULL
;
31243 PyObject
* obj0
= 0 ;
31244 PyObject
* obj1
= 0 ;
31245 PyObject
* obj2
= 0 ;
31246 PyObject
* obj3
= 0 ;
31247 PyObject
* obj4
= 0 ;
31248 char *kwnames
[] = {
31249 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
31252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31257 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31259 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
31260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31262 arg4
= (bool)SWIG_As_bool(obj3
);
31263 if (PyErr_Occurred()) SWIG_fail
;
31266 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
,
31267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31271 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
31273 wxPyEndAllowThreads(__tstate
);
31274 if (PyErr_Occurred()) SWIG_fail
;
31277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31285 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31286 PyObject
*resultobj
;
31287 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31288 wxPoint
*arg2
= 0 ;
31289 wxWindow
*arg3
= (wxWindow
*) 0 ;
31290 wxWindow
*arg4
= (wxWindow
*) 0 ;
31293 PyObject
* obj0
= 0 ;
31294 PyObject
* obj1
= 0 ;
31295 PyObject
* obj2
= 0 ;
31296 PyObject
* obj3
= 0 ;
31297 char *kwnames
[] = {
31298 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
31301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31306 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31308 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
31309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31310 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
31311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31314 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
31316 wxPyEndAllowThreads(__tstate
);
31317 if (PyErr_Occurred()) SWIG_fail
;
31320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31328 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31329 PyObject
*resultobj
;
31330 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31332 PyObject
* obj0
= 0 ;
31333 char *kwnames
[] = {
31334 (char *) "self", NULL
31337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
31338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31342 result
= (bool)(arg1
)->EndDrag();
31344 wxPyEndAllowThreads(__tstate
);
31345 if (PyErr_Occurred()) SWIG_fail
;
31348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31356 static PyObject
*_wrap_DragImage_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31357 PyObject
*resultobj
;
31358 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31359 wxPoint
*arg2
= 0 ;
31362 PyObject
* obj0
= 0 ;
31363 PyObject
* obj1
= 0 ;
31364 char *kwnames
[] = {
31365 (char *) "self",(char *) "pt", NULL
31368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
31369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31373 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31377 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
31379 wxPyEndAllowThreads(__tstate
);
31380 if (PyErr_Occurred()) SWIG_fail
;
31383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31391 static PyObject
*_wrap_DragImage_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31392 PyObject
*resultobj
;
31393 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31395 PyObject
* obj0
= 0 ;
31396 char *kwnames
[] = {
31397 (char *) "self", NULL
31400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
31401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31405 result
= (bool)(arg1
)->Show();
31407 wxPyEndAllowThreads(__tstate
);
31408 if (PyErr_Occurred()) SWIG_fail
;
31411 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31419 static PyObject
*_wrap_DragImage_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31420 PyObject
*resultobj
;
31421 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31423 PyObject
* obj0
= 0 ;
31424 char *kwnames
[] = {
31425 (char *) "self", NULL
31428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
31429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31433 result
= (bool)(arg1
)->Hide();
31435 wxPyEndAllowThreads(__tstate
);
31436 if (PyErr_Occurred()) SWIG_fail
;
31439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31447 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31448 PyObject
*resultobj
;
31449 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31450 wxPoint
*arg2
= 0 ;
31453 PyObject
* obj0
= 0 ;
31454 PyObject
* obj1
= 0 ;
31455 char *kwnames
[] = {
31456 (char *) "self",(char *) "pos", NULL
31459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
31460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31464 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31468 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
31470 wxPyEndAllowThreads(__tstate
);
31471 if (PyErr_Occurred()) SWIG_fail
;
31474 wxRect
* resultptr
;
31475 resultptr
= new wxRect((wxRect
&) result
);
31476 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
31484 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31485 PyObject
*resultobj
;
31486 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31488 wxPoint
*arg3
= 0 ;
31491 PyObject
* obj0
= 0 ;
31492 PyObject
* obj1
= 0 ;
31493 PyObject
* obj2
= 0 ;
31494 char *kwnames
[] = {
31495 (char *) "self",(char *) "dc",(char *) "pos", NULL
31498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31501 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31502 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31504 if (arg2
== NULL
) {
31505 PyErr_SetString(PyExc_TypeError
,"null reference");
31510 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31514 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
31516 wxPyEndAllowThreads(__tstate
);
31517 if (PyErr_Occurred()) SWIG_fail
;
31520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31528 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31529 PyObject
*resultobj
;
31530 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31532 wxMemoryDC
*arg3
= 0 ;
31538 PyObject
* obj0
= 0 ;
31539 PyObject
* obj1
= 0 ;
31540 PyObject
* obj2
= 0 ;
31541 PyObject
* obj3
= 0 ;
31542 PyObject
* obj4
= 0 ;
31543 char *kwnames
[] = {
31544 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
31547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31550 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31551 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31553 if (arg2
== NULL
) {
31554 PyErr_SetString(PyExc_TypeError
,"null reference");
31557 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
,
31558 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31560 if (arg3
== NULL
) {
31561 PyErr_SetString(PyExc_TypeError
,"null reference");
31566 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31570 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
31573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31574 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
31576 wxPyEndAllowThreads(__tstate
);
31577 if (PyErr_Occurred()) SWIG_fail
;
31580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31588 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31589 PyObject
*resultobj
;
31590 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31591 wxPoint
*arg2
= 0 ;
31592 wxPoint
*arg3
= 0 ;
31598 PyObject
* obj0
= 0 ;
31599 PyObject
* obj1
= 0 ;
31600 PyObject
* obj2
= 0 ;
31601 PyObject
* obj3
= 0 ;
31602 PyObject
* obj4
= 0 ;
31603 char *kwnames
[] = {
31604 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
31607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31612 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31616 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31618 arg4
= (bool)SWIG_As_bool(obj3
);
31619 if (PyErr_Occurred()) SWIG_fail
;
31620 arg5
= (bool)SWIG_As_bool(obj4
);
31621 if (PyErr_Occurred()) SWIG_fail
;
31623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31624 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
31626 wxPyEndAllowThreads(__tstate
);
31627 if (PyErr_Occurred()) SWIG_fail
;
31630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31638 static PyObject
* DragImage_swigregister(PyObject
*, PyObject
*args
) {
31640 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31641 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
31643 return Py_BuildValue((char *)"");
31645 static PyMethodDef SwigMethods
[] = {
31646 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31647 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31648 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31649 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31650 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31651 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31652 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
31653 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31654 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31655 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31656 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31657 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31658 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31659 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31660 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31661 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31662 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31663 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31664 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31665 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31666 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31667 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
31668 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31669 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31670 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31671 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31672 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31673 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31674 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31675 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31676 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31677 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31678 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31679 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
31680 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31681 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31682 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31683 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31684 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31685 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31686 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31687 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
31688 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31689 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31690 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31691 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31692 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31693 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31694 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31695 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31696 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31697 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31698 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31699 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31700 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31701 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31702 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31703 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31704 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31705 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31706 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31707 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31708 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
31709 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31710 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31711 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31712 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31713 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31714 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31715 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31716 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31717 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31718 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31719 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31720 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31721 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31722 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
31723 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31724 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31725 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31726 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31727 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
31728 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31729 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31730 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31731 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31732 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31733 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31734 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
31735 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31736 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31737 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31738 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31739 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
31740 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31741 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31742 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31743 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31744 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31745 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31746 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31747 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
31748 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31749 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31750 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31751 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31752 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31753 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31754 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31755 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31756 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31757 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31758 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31759 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31760 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31761 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31762 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31763 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31764 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31765 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31766 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31767 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31768 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31769 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31770 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
31771 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31772 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31773 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31774 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31775 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31776 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31777 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31778 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
31779 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31780 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31781 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31782 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31783 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31784 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31785 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31786 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31787 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31788 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31789 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31790 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31791 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31792 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31793 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31794 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31795 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31796 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31797 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31798 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31799 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31800 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31801 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31802 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31803 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31804 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31805 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31806 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31807 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31808 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31809 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
31810 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31811 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31812 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31813 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31814 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31815 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31816 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31817 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31818 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31819 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31820 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31821 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31822 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31823 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31824 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31825 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31826 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31827 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31828 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31829 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31830 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31831 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31832 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31833 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31834 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31835 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31836 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31837 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31838 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31839 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31840 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31841 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31842 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31843 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31844 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31845 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31846 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31847 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31848 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31849 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31850 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31851 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31852 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31853 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31854 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31855 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31856 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31857 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31858 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31859 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31860 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31861 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31862 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31863 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31864 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31865 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
31866 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31867 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31868 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31869 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31870 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
31871 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31872 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31873 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31874 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31875 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31876 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31877 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31878 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31879 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31880 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31881 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31882 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
31883 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31884 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31885 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31886 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31887 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31888 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31889 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31890 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31891 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31892 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31893 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31894 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31895 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
31896 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31897 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31898 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31899 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31900 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31901 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31902 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31903 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31904 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31905 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31906 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31907 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
31908 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31909 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31910 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31911 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
31912 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31913 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31914 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31915 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31916 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31917 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31918 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31919 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31920 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31921 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31922 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31923 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31924 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31925 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31926 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31927 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31928 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31929 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
31930 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31931 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31932 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31933 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31934 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31935 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31936 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
31937 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31938 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31939 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31940 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31941 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31942 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31943 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31944 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31945 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31946 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31947 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31948 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31949 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31950 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31951 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31952 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31953 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31954 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31955 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31956 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31957 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31958 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31959 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31960 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31961 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31962 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
31963 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31964 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31965 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31966 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31967 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31968 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31969 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31970 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
31971 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31972 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31973 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31974 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31975 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31976 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31977 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31978 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31979 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31980 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31981 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31982 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31983 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31984 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31985 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31986 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31987 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31988 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31989 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31990 { (char *)"BookCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31991 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
, NULL
},
31992 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31993 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31994 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31995 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31996 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31997 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
, NULL
},
31998 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31999 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32000 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32001 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32002 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32003 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32004 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32005 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32006 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32007 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
32008 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32009 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
32010 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32011 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32012 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32013 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32014 { (char *)"Listbook_GetListView", (PyCFunction
) _wrap_Listbook_GetListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32015 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
32016 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32017 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
32018 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32019 { (char *)"new_PreChoicebook", (PyCFunction
) _wrap_new_PreChoicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32020 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32021 { (char *)"Choicebook_IsVertical", (PyCFunction
) _wrap_Choicebook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32022 { (char *)"Choicebook_DeleteAllPages", (PyCFunction
) _wrap_Choicebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32023 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
32024 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32025 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
32026 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32027 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32028 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32029 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32030 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
, NULL
},
32031 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32032 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32033 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32034 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32035 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
, NULL
},
32036 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32037 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32038 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32039 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32040 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32041 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32042 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32043 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32044 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32045 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32046 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32047 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32048 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32049 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32050 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32051 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32052 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32053 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32054 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32055 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32056 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32057 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32058 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32059 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32060 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32061 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32062 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32063 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32064 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32065 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
32066 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32067 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32068 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32069 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32070 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32071 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32072 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32073 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32074 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32075 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32076 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32077 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32078 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32079 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32080 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32081 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32082 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32083 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32084 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32085 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32086 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32087 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32088 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32089 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32090 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32091 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32092 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32093 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32094 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32095 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32096 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32097 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32098 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32099 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32100 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32101 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32102 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32103 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32104 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32105 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32106 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32107 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32108 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32109 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32110 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
32111 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32112 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32113 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32114 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32115 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32116 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
32117 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32118 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32119 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32120 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32121 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32122 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32123 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32124 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32125 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32126 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32127 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32128 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
32129 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32130 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32131 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32132 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32133 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32134 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32135 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32136 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32137 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32138 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32139 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32140 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32141 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32142 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32143 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32144 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32145 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32146 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32147 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32148 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32149 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32150 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32151 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32152 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32153 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32154 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32155 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32156 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32157 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32158 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32159 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32160 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32161 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32162 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32163 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32164 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32165 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32166 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32167 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32168 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32169 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32170 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32171 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32172 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32173 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32174 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32175 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32176 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32177 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32178 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32179 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32180 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
32181 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32182 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32183 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32184 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32185 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32186 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32187 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32188 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32189 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32190 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32191 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32192 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32193 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32194 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32195 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32196 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32197 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32198 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32199 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32200 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32201 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32202 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32203 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32204 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32205 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32206 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32207 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
32208 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32209 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32210 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32211 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32212 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32213 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32214 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32215 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32216 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32217 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32218 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32219 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32220 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32221 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32222 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32223 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32224 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32225 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32226 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32227 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32228 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32229 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32230 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32231 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32232 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32233 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32234 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32235 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32236 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32237 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32238 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32239 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32240 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32241 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32242 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32243 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32244 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32245 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32246 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32247 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32248 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32249 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32250 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32251 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32252 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32253 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32254 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32255 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32256 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32257 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32258 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32259 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32260 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32261 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32262 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32263 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32264 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32265 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32266 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32267 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32268 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32269 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32270 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32271 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32272 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32273 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32274 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32275 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32276 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32277 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32278 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
32279 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32280 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32281 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32282 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32283 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32284 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32285 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32286 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32287 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32288 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32289 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32290 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
32291 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32292 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32293 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32294 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32295 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32296 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32297 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32298 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
32299 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32300 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32301 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32302 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32303 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32304 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32305 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
32306 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32307 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32308 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32309 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32310 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32311 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32312 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32313 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32314 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32315 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32316 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32317 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32318 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32319 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32320 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32321 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
32322 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32323 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32324 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32325 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32326 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32327 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32328 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32329 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32330 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32331 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32332 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32333 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32334 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32335 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32336 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32337 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32338 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32339 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32340 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32341 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32342 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32343 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32344 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32345 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32346 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32347 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32348 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32349 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32350 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32351 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32352 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32353 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32354 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32355 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32356 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32357 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32358 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32359 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32360 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32361 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32362 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32363 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32364 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32365 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32366 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32367 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32368 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32369 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32370 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32371 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32372 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32373 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32374 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32375 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32376 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32377 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32378 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32379 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32380 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32381 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32382 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32383 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32384 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32385 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32386 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32387 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32388 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32389 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32390 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32391 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32392 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32393 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32394 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32395 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32396 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
32397 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32398 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32399 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32400 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32401 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32402 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32403 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32404 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32405 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32406 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32407 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32408 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32409 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32410 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32411 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32412 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32413 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32414 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32415 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32416 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32417 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32418 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
32419 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32420 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32421 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32422 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32423 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
32424 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32425 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32426 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32427 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32428 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32429 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32430 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32431 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32432 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32433 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32434 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32435 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32436 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32437 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32438 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32439 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32440 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32441 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32442 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32443 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32444 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32445 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32446 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32447 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32448 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32449 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
32450 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32451 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32452 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32453 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32454 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32455 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32456 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32457 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
32458 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32459 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32460 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32461 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32462 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
32463 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32464 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
32465 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32466 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32467 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32468 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32469 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32470 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32471 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32472 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32473 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
32474 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32475 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
32476 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32477 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32478 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32479 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32480 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32481 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32482 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32483 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32484 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32485 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32486 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32487 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32488 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32489 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32490 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32491 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32492 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32493 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
32494 { NULL
, NULL
, 0, NULL
}
32498 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32500 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
32501 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32503 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
32504 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32506 static void *_p_wxChoicebookEventTo_p_wxBookCtrlEvent(void *x
) {
32507 return (void *)((wxBookCtrlEvent
*) ((wxChoicebookEvent
*) x
));
32509 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
32510 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
32512 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
32513 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32515 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
32516 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32518 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
32519 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
32521 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
32522 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32524 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
32525 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
32527 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
32528 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
32530 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
32531 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
32533 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32534 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32536 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32537 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32539 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32540 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32542 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32543 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32545 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32546 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32548 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
32549 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32551 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32552 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32554 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32555 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32557 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32558 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32560 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
32561 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32563 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
32564 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32566 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32567 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32569 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32570 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32572 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
32573 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
32575 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
32576 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32578 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
32579 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32581 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
32582 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxChoicebookEvent
*) x
));
32584 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
32585 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
32587 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32588 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32590 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32591 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32593 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32594 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32596 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32597 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32599 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32600 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32602 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32603 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32605 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32606 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32608 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32609 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32611 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32612 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32614 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32615 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32617 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32618 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32620 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32621 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32623 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32624 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32626 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32627 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32629 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32630 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32632 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32633 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32635 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32636 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32638 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32639 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32641 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32642 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32644 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32645 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32647 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32648 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32650 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32651 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32653 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32654 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32656 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32657 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32659 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32660 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32662 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
32663 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32665 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
32666 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
32668 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
32669 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32671 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
32672 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32674 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
32675 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
32677 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
32678 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32680 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
32681 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32683 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
32684 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
32686 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
32687 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
32689 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
32690 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
32692 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
32693 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
32695 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
32696 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
32698 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
32699 return (void *)((wxControl
*) ((wxPyControl
*) x
));
32701 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
32702 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
32704 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
32705 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32707 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
32708 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
32710 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
32711 return (void *)((wxControl
*) ((wxComboBox
*) x
));
32713 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
32714 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
32716 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
32717 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
32719 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
32720 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
32722 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
32723 return (void *)((wxControl
*) ((wxGauge
*) x
));
32725 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
32726 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
32728 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
32729 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxChoicebook
*) x
));
32731 static void *_p_wxListbookTo_p_wxControl(void *x
) {
32732 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
32734 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
32735 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
32737 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
32738 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
32740 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
32741 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
32743 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
32744 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32746 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
32747 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32749 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
32750 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32752 static void *_p_wxListViewTo_p_wxControl(void *x
) {
32753 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
32755 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
32756 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
32758 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
32759 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
32761 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
32762 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
32764 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
32765 return (void *)((wxControl
*) ((wxStaticText
*) x
));
32767 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
32768 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
32770 static void *_p_wxSliderTo_p_wxControl(void *x
) {
32771 return (void *)((wxControl
*) ((wxSlider
*) x
));
32773 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
32774 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32776 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
32777 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
32779 static void *_p_wxButtonTo_p_wxControl(void *x
) {
32780 return (void *)((wxControl
*) ((wxButton
*) x
));
32782 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
32783 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
32785 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
32786 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
32788 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
32789 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
32791 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
32792 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32794 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
32795 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32797 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
32798 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32800 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
32801 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
32803 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
32804 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32806 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
32807 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32809 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
32810 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32812 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
32813 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxChoicebookEvent
*) x
));
32815 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
32816 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
32818 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32819 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32821 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32822 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32824 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32825 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32827 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
32828 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32830 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32831 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32833 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
32834 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
32836 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
32837 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
32839 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32840 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32842 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32843 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32845 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
32846 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
32848 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
32849 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
32851 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
32852 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
32854 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
32855 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32857 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
32858 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
32860 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32861 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32863 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
32864 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
32866 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
32867 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
32869 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32870 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32872 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
32873 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
32875 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
32876 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
32878 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
32879 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxChoicebook
*) x
));
32881 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
32882 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32884 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
32885 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32887 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
32888 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32890 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
32891 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
32893 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
32894 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32896 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
32897 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32899 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
32900 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32902 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
32903 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32905 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
32906 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
32908 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
32909 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32911 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
32912 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
32914 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
32915 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
32917 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
32918 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
32920 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
32921 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
32923 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
32924 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
32926 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
32927 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
32929 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
32930 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32932 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
32933 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32935 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
32936 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
32938 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
32939 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
32941 static void *_p_wxChoicebookTo_p_wxBookCtrl(void *x
) {
32942 return (void *)((wxBookCtrl
*) ((wxChoicebook
*) x
));
32944 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
32945 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
32947 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
32948 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
32950 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
32951 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
32953 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
32954 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32956 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
32957 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32959 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
32960 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
32962 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32963 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32965 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32966 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32968 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32969 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32971 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32972 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32974 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32975 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32977 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
32978 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32980 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
32981 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32983 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32984 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32986 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32987 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32989 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32990 return (void *)((wxObject
*) ((wxSizer
*) x
));
32992 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32993 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32995 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
32996 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32998 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
32999 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
33001 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
33002 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33004 static void *_p_wxEventTo_p_wxObject(void *x
) {
33005 return (void *)((wxObject
*) ((wxEvent
*) x
));
33007 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
33008 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
33010 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
33011 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
33013 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
33014 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
33016 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
33017 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
33019 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
33020 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
33022 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
33023 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33025 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
33026 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
33028 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
33029 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
33031 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
33032 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
33034 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
33035 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
33037 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
33038 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
33040 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
33041 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
33043 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
33044 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
33046 static void *_p_wxControlTo_p_wxObject(void *x
) {
33047 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
33049 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
33050 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
33052 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
33053 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
33055 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
33056 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
33058 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
33059 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
33061 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
33062 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
33064 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
33065 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
33067 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
33068 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
33070 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
33071 return (void *)((wxObject
*) ((wxFSFile
*) x
));
33073 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
33074 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
33076 static void *_p_wxListViewTo_p_wxObject(void *x
) {
33077 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
33079 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
33080 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
33082 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
33083 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
33085 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
33086 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
33088 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
33089 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33091 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
33092 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxChoicebook
*) x
));
33094 static void *_p_wxListbookTo_p_wxObject(void *x
) {
33095 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
33097 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
33098 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
33100 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
33101 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
33103 static void *_p_wxSliderTo_p_wxObject(void *x
) {
33104 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
33106 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
33107 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
33109 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
33110 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
33112 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
33113 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33115 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
33116 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
33118 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
33119 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
33121 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
33122 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
33124 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
33125 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
33127 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
33128 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
33130 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
33131 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
33133 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
33134 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
33136 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
33137 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
33139 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
33140 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
33142 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
33143 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
33145 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
33146 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
33148 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
33149 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
33151 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
33152 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
33154 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
33155 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
33157 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
33158 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
33160 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
33161 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
33163 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
33164 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
33166 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
33167 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
33169 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
33170 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
33172 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
33173 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
33175 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
33176 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
33178 static void *_p_wxListEventTo_p_wxObject(void *x
) {
33179 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
33181 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
33182 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
33184 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
33185 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
33187 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
33188 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
33190 static void *_p_wxButtonTo_p_wxObject(void *x
) {
33191 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
33193 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
33194 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
33196 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
33197 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
33199 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
33200 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
33202 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
33203 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
33205 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
33206 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
33208 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
33209 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
33211 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
33212 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
33214 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
33215 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
33217 static void *_p_wxListItemTo_p_wxObject(void *x
) {
33218 return (void *)((wxObject
*) ((wxListItem
*) x
));
33220 static void *_p_wxImageTo_p_wxObject(void *x
) {
33221 return (void *)((wxObject
*) ((wxImage
*) x
));
33223 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
33224 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
33226 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
33227 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
33229 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
33230 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
33232 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
33233 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
33235 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
33236 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
33238 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
33239 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
33241 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
33242 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
33244 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
33245 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxChoicebookEvent
*) x
));
33247 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
33248 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33250 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
33251 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
33253 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
33254 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
33256 static void *_p_wxWindowTo_p_wxObject(void *x
) {
33257 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
33259 static void *_p_wxMenuTo_p_wxObject(void *x
) {
33260 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
33262 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
33263 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
33265 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
33266 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
33268 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
33269 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33271 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
33272 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
33274 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
33275 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
33277 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
33278 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
33280 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
33281 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
33283 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
33284 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
33286 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
33287 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
33289 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
33290 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33292 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
33293 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
33295 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
33296 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
33298 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
33299 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
33301 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
33302 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
33304 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
33305 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33307 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
33308 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
33310 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
33311 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
33313 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
33314 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
33316 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
33317 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
33319 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
33320 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
33322 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
33323 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
33325 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
33326 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
33328 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
33329 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
33331 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
33332 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
33334 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
33335 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
33337 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
33338 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
33340 static void *_p_wxControlTo_p_wxWindow(void *x
) {
33341 return (void *)((wxWindow
*) ((wxControl
*) x
));
33343 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
33344 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
33346 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
33347 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33349 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
33350 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
33352 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
33353 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
33355 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
33356 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
33358 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
33359 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
33361 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
33362 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
33364 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
33365 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
33367 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
33368 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
33370 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
33371 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
33373 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
33374 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxChoicebook
*) x
));
33376 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
33377 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
33379 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
33380 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
33382 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
33383 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
33385 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
33386 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
33388 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
33389 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
33391 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
33392 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
33394 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
33395 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
33397 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
33398 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
33400 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
33401 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
33403 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
33404 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
33406 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
33407 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
33409 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
33410 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
33412 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
33413 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
33415 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
33416 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
33418 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
33419 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
33421 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
33422 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
33424 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
33425 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
33427 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
33428 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
33430 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
33431 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
33433 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
33434 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33436 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
33437 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
33439 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
33440 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
33442 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
33443 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
33445 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
33446 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33448 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
33449 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33451 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
33452 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33454 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
33455 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxChoicebookEvent
*) x
));
33457 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
33458 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
33460 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
33461 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
33463 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
33464 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33466 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
33467 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
33469 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
33470 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
33472 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
33473 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
33475 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
33476 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
33478 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
33479 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33481 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
33482 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33484 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
33485 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33487 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
33488 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
33490 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
33491 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
33493 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
33494 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
33496 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
33497 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
33499 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}};
33500 static swig_type_info _swigt__p_wxBookCtrlEvent
[] = {{"_p_wxBookCtrlEvent", 0, "wxBookCtrlEvent *", 0, 0, 0, 0},{"_p_wxBookCtrlEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxBookCtrlEvent
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxBookCtrlEvent
, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxBookCtrlEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33501 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}};
33502 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}};
33503 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}};
33504 static swig_type_info _swigt__p_wxEvent
[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33505 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}};
33506 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}};
33507 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}};
33508 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}};
33509 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}};
33510 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}};
33511 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}};
33512 static swig_type_info _swigt__p_wxControl
[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33513 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}};
33514 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}};
33515 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}};
33516 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}};
33517 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}};
33518 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}};
33519 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}};
33520 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}};
33521 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}};
33522 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}};
33523 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}};
33524 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}};
33525 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}};
33526 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}};
33527 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}};
33528 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}};
33529 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}};
33530 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}};
33531 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}};
33532 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33533 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}};
33534 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}};
33535 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}};
33536 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}};
33537 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}};
33538 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}};
33539 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}};
33540 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}};
33541 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33542 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}};
33543 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}};
33544 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}};
33545 static swig_type_info _swigt__p_wxBookCtrl
[] = {{"_p_wxBookCtrl", 0, "wxBookCtrl *", 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxBookCtrl
, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxBookCtrl
, 0, 0, 0, 0, 0},{"_p_wxBookCtrl", 0, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxBookCtrl
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33546 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}};
33547 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}};
33548 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}};
33549 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}};
33550 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}};
33551 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}};
33552 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}};
33553 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}};
33554 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}};
33555 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}};
33556 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}};
33557 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}};
33558 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}};
33559 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}};
33560 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}};
33561 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}};
33562 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}};
33563 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}};
33564 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}};
33565 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}};
33566 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}};
33567 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}};
33568 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}};
33569 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}};
33570 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListItem", _p_wxListItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33571 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}};
33572 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}};
33573 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33574 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}};
33575 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}};
33576 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}};
33577 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}};
33578 static swig_type_info _swigt__p_wxCommandEvent
[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33579 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}};
33580 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}};
33581 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}};
33582 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}};
33583 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}};
33584 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}};
33585 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}};
33587 static swig_type_info
*swig_types_initial
[] = {
33588 _swigt__p_wxTextUrlEvent
,
33589 _swigt__p_wxBookCtrlEvent
,
33591 _swigt__p_wxCheckBox
,
33592 _swigt__p_wxPyTreeCtrl
,
33594 _swigt__p_wxGenericDirCtrl
,
33596 _swigt__p_wxPyTreeItemData
,
33597 _swigt__p_wxItemContainer
,
33598 _swigt__p_wxPyListCtrl
,
33599 _swigt__p_wxDirFilterListCtrl
,
33600 _swigt__p_wxStaticLine
,
33601 _swigt__p_wxControl
,
33602 _swigt__p_wxPyControl
,
33604 _swigt__p_wxToolBarBase
,
33606 _swigt__p_wxToggleButton
,
33607 _swigt__p_wxRadioButton
,
33608 _swigt__p_wxChoice
,
33609 _swigt__p_wxMemoryDC
,
33610 _swigt__p_wxListItemAttr
,
33615 _swigt__p_wxListView
,
33617 _swigt__p_wxVisualAttributes
,
33618 _swigt__p_wxTextCtrl
,
33619 _swigt__p_wxNotebook
,
33620 _swigt__p_wxChoicebook
,
33621 _swigt__p_wxNotifyEvent
,
33622 _swigt__p_wxArrayString
,
33623 _swigt__p_wxListbook
,
33624 _swigt__p_wxStaticBitmap
,
33625 _swigt__p_wxSlider
,
33626 _swigt__p_wxStaticBox
,
33627 _swigt__p_wxArrayInt
,
33628 _swigt__p_wxContextHelp
,
33630 _swigt__p_wxEvtHandler
,
33631 _swigt__p_wxListEvent
,
33632 _swigt__p_wxCheckListBox
,
33633 _swigt__p_wxListBox
,
33634 _swigt__p_wxBookCtrl
,
33635 _swigt__p_wxSpinButton
,
33636 _swigt__p_wxButton
,
33637 _swigt__p_wxBitmapButton
,
33639 _swigt__p_wxContextHelpButton
,
33640 _swigt__p_wxRadioBox
,
33641 _swigt__p_wxScrollBar
,
33643 _swigt__p_wxTreeItemId
,
33644 _swigt__p_wxComboBox
,
33645 _swigt__p_wxHelpEvent
,
33646 _swigt__p_wxListItem
,
33647 _swigt__p_wxNotebookSizer
,
33648 _swigt__p_wxSpinEvent
,
33649 _swigt__p_wxGenericDragImage
,
33650 _swigt__p_wxSpinCtrl
,
33651 _swigt__p_wxImageList
,
33652 _swigt__p_wxHelpProvider
,
33653 _swigt__p_wxTextAttr
,
33654 _swigt__p_wxSimpleHelpProvider
,
33656 _swigt__p_wxChoicebookEvent
,
33657 _swigt__p_wxListbookEvent
,
33658 _swigt__p_wxNotebookEvent
,
33659 _swigt__p_wxObject
,
33660 _swigt__p_wxCursor
,
33661 _swigt__p_wxKeyEvent
,
33662 _swigt__p_wxWindow
,
33663 _swigt__p_wxString
,
33664 _swigt__p_wxBitmap
,
33665 _swigt__p_wxTreeEvent
,
33666 _swigt__p_wxMouseEvent
,
33667 _swigt__p_wxCommandEvent
,
33668 _swigt__p_wxStaticText
,
33669 _swigt__p_wxControlWithItems
,
33670 _swigt__p_wxToolBarToolBase
,
33671 _swigt__p_wxColour
,
33672 _swigt__p_wxToolBar
,
33673 _swigt__p_wxBookCtrlSizer
,
33674 _swigt__p_wxValidator
,
33679 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33681 static swig_const_info swig_const_table
[] = {
33682 {0, 0, 0, 0.0, 0, 0}};
33691 SWIGEXPORT(void) SWIG_init(void) {
33692 static PyObject
*SWIG_globals
= 0;
33693 static int typeinit
= 0;
33696 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
33697 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33698 d
= PyModule_GetDict(m
);
33701 for (i
= 0; swig_types_initial
[i
]; i
++) {
33702 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
33706 SWIG_InstallConstants(d
,swig_const_table
);
33708 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
33709 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
33710 PyDict_SetItemString(d
,"BU_LEFT", SWIG_From_int((int)wxBU_LEFT
));
33711 PyDict_SetItemString(d
,"BU_TOP", SWIG_From_int((int)wxBU_TOP
));
33712 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_From_int((int)wxBU_RIGHT
));
33713 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_From_int((int)wxBU_BOTTOM
));
33714 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_From_int((int)wxBU_EXACTFIT
));
33715 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_From_int((int)wxBU_AUTODRAW
));
33716 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
33717 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_From_int((int)wxCHK_2STATE
));
33718 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_From_int((int)wxCHK_3STATE
));
33719 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
33720 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_From_int((int)wxCHK_UNCHECKED
));
33721 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_From_int((int)wxCHK_CHECKED
));
33722 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_From_int((int)wxCHK_UNDETERMINED
));
33723 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
33724 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
33725 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
33726 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_From_int((int)wxGA_HORIZONTAL
));
33727 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_From_int((int)wxGA_VERTICAL
));
33728 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_From_int((int)wxGA_SMOOTH
));
33729 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_From_int((int)wxGA_PROGRESSBAR
));
33730 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
33731 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
33732 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
33733 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
33734 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
33735 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_From_int((int)wxTE_NO_VSCROLL
));
33736 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_From_int((int)wxTE_AUTO_SCROLL
));
33737 PyDict_SetItemString(d
,"TE_READONLY", SWIG_From_int((int)wxTE_READONLY
));
33738 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_From_int((int)wxTE_MULTILINE
));
33739 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_From_int((int)wxTE_PROCESS_TAB
));
33740 PyDict_SetItemString(d
,"TE_LEFT", SWIG_From_int((int)wxTE_LEFT
));
33741 PyDict_SetItemString(d
,"TE_CENTER", SWIG_From_int((int)wxTE_CENTER
));
33742 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_From_int((int)wxTE_RIGHT
));
33743 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_From_int((int)wxTE_CENTRE
));
33744 PyDict_SetItemString(d
,"TE_RICH", SWIG_From_int((int)wxTE_RICH
));
33745 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_From_int((int)wxTE_PROCESS_ENTER
));
33746 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_From_int((int)wxTE_PASSWORD
));
33747 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_From_int((int)wxTE_AUTO_URL
));
33748 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_From_int((int)wxTE_NOHIDESEL
));
33749 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_From_int((int)wxTE_DONTWRAP
));
33750 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_From_int((int)wxTE_LINEWRAP
));
33751 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_From_int((int)wxTE_WORDWRAP
));
33752 PyDict_SetItemString(d
,"TE_RICH2", SWIG_From_int((int)wxTE_RICH2
));
33753 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)wxTEXT_ALIGNMENT_DEFAULT
));
33754 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)wxTEXT_ALIGNMENT_LEFT
));
33755 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)wxTEXT_ALIGNMENT_CENTRE
));
33756 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)wxTEXT_ALIGNMENT_CENTER
));
33757 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)wxTEXT_ALIGNMENT_RIGHT
));
33758 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
33759 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)wxTEXT_ATTR_TEXT_COLOUR
));
33760 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
33761 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)wxTEXT_ATTR_FONT_FACE
));
33762 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)wxTEXT_ATTR_FONT_SIZE
));
33763 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)wxTEXT_ATTR_FONT_WEIGHT
));
33764 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)wxTEXT_ATTR_FONT_ITALIC
));
33765 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)wxTEXT_ATTR_FONT_UNDERLINE
));
33766 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_From_int((int)wxTEXT_ATTR_FONT
));
33767 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)wxTEXT_ATTR_ALIGNMENT
));
33768 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)wxTEXT_ATTR_LEFT_INDENT
));
33769 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)wxTEXT_ATTR_RIGHT_INDENT
));
33770 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_From_int((int)wxTEXT_ATTR_TABS
));
33771 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_From_int((int)wxTE_HT_UNKNOWN
));
33772 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_From_int((int)wxTE_HT_BEFORE
));
33773 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_From_int((int)wxTE_HT_ON_TEXT
));
33774 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_From_int((int)wxTE_HT_BELOW
));
33775 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_From_int((int)wxTE_HT_BEYOND
));
33776 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
33777 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
33778 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
33779 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
33780 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
33781 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
33782 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
33783 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_From_int((int)wxSP_HORIZONTAL
));
33784 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_From_int((int)wxSP_VERTICAL
));
33785 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_From_int((int)wxSP_ARROW_KEYS
));
33786 PyDict_SetItemString(d
,"SP_WRAP", SWIG_From_int((int)wxSP_WRAP
));
33787 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
33788 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
33789 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
33790 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
33791 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
33792 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
33793 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
33794 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_From_int((int)wxNB_FIXEDWIDTH
));
33795 PyDict_SetItemString(d
,"NB_TOP", SWIG_From_int((int)wxNB_TOP
));
33796 PyDict_SetItemString(d
,"NB_LEFT", SWIG_From_int((int)wxNB_LEFT
));
33797 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_From_int((int)wxNB_RIGHT
));
33798 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_From_int((int)wxNB_BOTTOM
));
33799 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_From_int((int)wxNB_MULTILINE
));
33800 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_From_int((int)wxNB_HITTEST_NOWHERE
));
33801 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_From_int((int)wxNB_HITTEST_ONICON
));
33802 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_From_int((int)wxNB_HITTEST_ONLABEL
));
33803 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_From_int((int)wxNB_HITTEST_ONITEM
));
33804 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
33805 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
33806 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_From_int((int)wxLB_DEFAULT
));
33807 PyDict_SetItemString(d
,"LB_TOP", SWIG_From_int((int)wxLB_TOP
));
33808 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_From_int((int)wxLB_BOTTOM
));
33809 PyDict_SetItemString(d
,"LB_LEFT", SWIG_From_int((int)wxLB_LEFT
));
33810 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_From_int((int)wxLB_RIGHT
));
33811 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_From_int((int)wxLB_ALIGN_MASK
));
33812 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
33813 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
33814 PyDict_SetItemString(d
,"CHB_DEFAULT", SWIG_From_int((int)wxCHB_DEFAULT
));
33815 PyDict_SetItemString(d
,"CHB_TOP", SWIG_From_int((int)wxCHB_TOP
));
33816 PyDict_SetItemString(d
,"CHB_BOTTOM", SWIG_From_int((int)wxCHB_BOTTOM
));
33817 PyDict_SetItemString(d
,"CHB_LEFT", SWIG_From_int((int)wxCHB_LEFT
));
33818 PyDict_SetItemString(d
,"CHB_RIGHT", SWIG_From_int((int)wxCHB_RIGHT
));
33819 PyDict_SetItemString(d
,"CHB_ALIGN_MASK", SWIG_From_int((int)wxCHB_ALIGN_MASK
));
33820 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
33821 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
33822 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_From_int((int)wxTOOL_STYLE_BUTTON
));
33823 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)wxTOOL_STYLE_SEPARATOR
));
33824 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_From_int((int)wxTOOL_STYLE_CONTROL
));
33825 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_From_int((int)wxTB_HORIZONTAL
));
33826 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_From_int((int)wxTB_VERTICAL
));
33827 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_From_int((int)wxTB_3DBUTTONS
));
33828 PyDict_SetItemString(d
,"TB_FLAT", SWIG_From_int((int)wxTB_FLAT
));
33829 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_From_int((int)wxTB_DOCKABLE
));
33830 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_From_int((int)wxTB_NOICONS
));
33831 PyDict_SetItemString(d
,"TB_TEXT", SWIG_From_int((int)wxTB_TEXT
));
33832 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_From_int((int)wxTB_NODIVIDER
));
33833 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_From_int((int)wxTB_NOALIGN
));
33834 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_From_int((int)wxTB_HORZ_LAYOUT
));
33835 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_From_int((int)wxTB_HORZ_TEXT
));
33836 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
33837 PyDict_SetItemString(d
,"LC_VRULES", SWIG_From_int((int)wxLC_VRULES
));
33838 PyDict_SetItemString(d
,"LC_HRULES", SWIG_From_int((int)wxLC_HRULES
));
33839 PyDict_SetItemString(d
,"LC_ICON", SWIG_From_int((int)wxLC_ICON
));
33840 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_From_int((int)wxLC_SMALL_ICON
));
33841 PyDict_SetItemString(d
,"LC_LIST", SWIG_From_int((int)wxLC_LIST
));
33842 PyDict_SetItemString(d
,"LC_REPORT", SWIG_From_int((int)wxLC_REPORT
));
33843 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_From_int((int)wxLC_ALIGN_TOP
));
33844 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_From_int((int)wxLC_ALIGN_LEFT
));
33845 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_From_int((int)wxLC_AUTOARRANGE
));
33846 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_From_int((int)wxLC_VIRTUAL
));
33847 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_From_int((int)wxLC_EDIT_LABELS
));
33848 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_From_int((int)wxLC_NO_HEADER
));
33849 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_From_int((int)wxLC_NO_SORT_HEADER
));
33850 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_From_int((int)wxLC_SINGLE_SEL
));
33851 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_From_int((int)wxLC_SORT_ASCENDING
));
33852 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_From_int((int)wxLC_SORT_DESCENDING
));
33853 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_From_int((int)wxLC_MASK_TYPE
));
33854 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_From_int((int)wxLC_MASK_ALIGN
));
33855 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_From_int((int)wxLC_MASK_SORT
));
33856 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_From_int((int)wxLIST_MASK_STATE
));
33857 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_From_int((int)wxLIST_MASK_TEXT
));
33858 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_From_int((int)wxLIST_MASK_IMAGE
));
33859 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_From_int((int)wxLIST_MASK_DATA
));
33860 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_From_int((int)wxLIST_SET_ITEM
));
33861 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_From_int((int)wxLIST_MASK_WIDTH
));
33862 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_From_int((int)wxLIST_MASK_FORMAT
));
33863 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_From_int((int)wxLIST_STATE_DONTCARE
));
33864 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_From_int((int)wxLIST_STATE_DROPHILITED
));
33865 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_From_int((int)wxLIST_STATE_FOCUSED
));
33866 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_From_int((int)wxLIST_STATE_SELECTED
));
33867 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_From_int((int)wxLIST_STATE_CUT
));
33868 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_From_int((int)wxLIST_STATE_DISABLED
));
33869 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_From_int((int)wxLIST_STATE_FILTERED
));
33870 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_From_int((int)wxLIST_STATE_INUSE
));
33871 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_From_int((int)wxLIST_STATE_PICKED
));
33872 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_From_int((int)wxLIST_STATE_SOURCE
));
33873 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_From_int((int)wxLIST_HITTEST_ABOVE
));
33874 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_From_int((int)wxLIST_HITTEST_BELOW
));
33875 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)wxLIST_HITTEST_NOWHERE
));
33876 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)wxLIST_HITTEST_ONITEMICON
));
33877 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)wxLIST_HITTEST_ONITEMLABEL
));
33878 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)wxLIST_HITTEST_ONITEMRIGHT
));
33879 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)wxLIST_HITTEST_ONITEMSTATEICON
));
33880 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)wxLIST_HITTEST_TOLEFT
));
33881 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)wxLIST_HITTEST_TORIGHT
));
33882 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_From_int((int)wxLIST_HITTEST_ONITEM
));
33883 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_From_int((int)wxLIST_NEXT_ABOVE
));
33884 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_From_int((int)wxLIST_NEXT_ALL
));
33885 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_From_int((int)wxLIST_NEXT_BELOW
));
33886 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_From_int((int)wxLIST_NEXT_LEFT
));
33887 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_From_int((int)wxLIST_NEXT_RIGHT
));
33888 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)wxLIST_ALIGN_DEFAULT
));
33889 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_From_int((int)wxLIST_ALIGN_LEFT
));
33890 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_From_int((int)wxLIST_ALIGN_TOP
));
33891 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)wxLIST_ALIGN_SNAP_TO_GRID
));
33892 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_From_int((int)wxLIST_FORMAT_LEFT
));
33893 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_From_int((int)wxLIST_FORMAT_RIGHT
));
33894 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_From_int((int)wxLIST_FORMAT_CENTRE
));
33895 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_From_int((int)wxLIST_FORMAT_CENTER
));
33896 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_From_int((int)wxLIST_AUTOSIZE
));
33897 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)wxLIST_AUTOSIZE_USEHEADER
));
33898 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_From_int((int)wxLIST_RECT_BOUNDS
));
33899 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_From_int((int)wxLIST_RECT_ICON
));
33900 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_From_int((int)wxLIST_RECT_LABEL
));
33901 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_From_int((int)wxLIST_FIND_UP
));
33902 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_From_int((int)wxLIST_FIND_DOWN
));
33903 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_From_int((int)wxLIST_FIND_LEFT
));
33904 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_From_int((int)wxLIST_FIND_RIGHT
));
33905 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
33906 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
33907 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
33908 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
33909 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
33910 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
33911 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
33912 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
33913 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
33914 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
33915 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
33916 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
33917 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
33918 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
33919 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
33920 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
33921 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
33922 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
33923 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
33924 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
33925 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
33926 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
33928 // Map renamed classes back to their common name for OOR
33929 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
33931 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
33932 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_From_int((int)wxTR_NO_BUTTONS
));
33933 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_From_int((int)wxTR_HAS_BUTTONS
));
33934 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_From_int((int)wxTR_NO_LINES
));
33935 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_From_int((int)wxTR_LINES_AT_ROOT
));
33936 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_From_int((int)wxTR_SINGLE
));
33937 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_From_int((int)wxTR_MULTIPLE
));
33938 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_From_int((int)wxTR_EXTENDED
));
33939 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
33940 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_From_int((int)wxTR_EDIT_LABELS
));
33941 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_From_int((int)wxTR_HIDE_ROOT
));
33942 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_From_int((int)wxTR_ROW_LINES
));
33943 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)wxTR_FULL_ROW_HIGHLIGHT
));
33944 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_From_int((int)wxTR_DEFAULT_STYLE
));
33945 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_From_int((int)wxTR_TWIST_BUTTONS
));
33946 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_From_int((int)wxTR_MAC_BUTTONS
));
33947 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_From_int((int)wxTR_AQUA_BUTTONS
));
33948 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_From_int((int)wxTreeItemIcon_Normal
));
33949 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_From_int((int)wxTreeItemIcon_Selected
));
33950 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_From_int((int)wxTreeItemIcon_Expanded
));
33951 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)wxTreeItemIcon_SelectedExpanded
));
33952 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_From_int((int)wxTreeItemIcon_Max
));
33953 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_From_int((int)wxTREE_HITTEST_ABOVE
));
33954 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_From_int((int)wxTREE_HITTEST_BELOW
));
33955 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)wxTREE_HITTEST_NOWHERE
));
33956 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)wxTREE_HITTEST_ONITEMBUTTON
));
33957 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)wxTREE_HITTEST_ONITEMICON
));
33958 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)wxTREE_HITTEST_ONITEMINDENT
));
33959 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)wxTREE_HITTEST_ONITEMLABEL
));
33960 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)wxTREE_HITTEST_ONITEMRIGHT
));
33961 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)wxTREE_HITTEST_ONITEMSTATEICON
));
33962 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)wxTREE_HITTEST_TOLEFT
));
33963 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)wxTREE_HITTEST_TORIGHT
));
33964 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)wxTREE_HITTEST_ONITEMUPPERPART
));
33965 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)wxTREE_HITTEST_ONITEMLOWERPART
));
33966 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_From_int((int)wxTREE_HITTEST_ONITEM
));
33967 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
33968 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
33969 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
33970 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
33971 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
33972 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
33973 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
33974 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
33975 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
33976 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
33977 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
33978 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
33979 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
33980 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
33981 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
33982 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
33983 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
33984 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
33985 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
33986 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
33988 // Map renamed classes back to their common name for OOR
33989 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
33990 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
33992 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
33993 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)wxDIRCTRL_DIR_ONLY
));
33994 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)wxDIRCTRL_SELECT_FIRST
));
33995 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)wxDIRCTRL_SHOW_FILTERS
));
33996 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)wxDIRCTRL_3D_INTERNAL
));
33997 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)wxDIRCTRL_EDIT_LABELS
));
33998 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)wxFRAME_EX_CONTEXTHELP
));
33999 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)wxDIALOG_EX_CONTEXTHELP
));
34000 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
34001 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
34003 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");