1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypePrettyName SWIG_Python_TypePrettyName
47 #define SWIG_TypeQuery SWIG_Python_TypeQuery
48 #define SWIG_TypeClientData SWIG_Python_TypeClientData
49 #define SWIG_PackData SWIG_Python_PackData
50 #define SWIG_UnpackData SWIG_Python_UnpackData
53 /***********************************************************************
54 * common.swg for wxPython
56 * Include only the function prototypes and such from SWIG's common.swg,
57 * but not the runtime functions themselves. This helps keep the
58 * wrapper files clean of unnecessary stuff that is in the libpy.c file
61 ************************************************************************/
65 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
66 # if defined(_MSC_VER) || defined(__GNUC__)
67 # if defined(STATIC_LINKED)
68 # define SWIGEXPORT(a) a
69 # define SWIGIMPORT(a) extern a
71 # define SWIGEXPORT(a) __declspec(dllexport) a
72 # define SWIGIMPORT(a) extern a
75 # if defined(__BORLANDC__)
76 # define SWIGEXPORT(a) a _export
77 # define SWIGIMPORT(a) a _export
79 # define SWIGEXPORT(a) a
80 # define SWIGIMPORT(a) a
84 # define SWIGEXPORT(a) a
85 # define SWIGIMPORT(a) a
89 # define SWIGRUNTIME(a) SWIGEXPORT(a)
91 # define SWIGRUNTIME(a) static a
98 typedef void *(*swig_converter_func
)(void *);
99 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
101 typedef struct swig_type_info
{
103 swig_converter_func converter
;
106 swig_dycast_func dcast
;
107 struct swig_type_info
*next
;
108 struct swig_type_info
*prev
;
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
113 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
114 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
115 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
116 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
117 SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info
*);
118 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
119 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
120 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
129 /***********************************************************************
130 * pyrun.swg for wxPython
132 * Include only the function prototypes and such from SWIG's pyrun.swg,
133 * but not the runtime functions themselves. This helps keep the
134 * wrapper files clean of unnecessary stuff that is in the libpy.c file
137 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
187 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
199 /* Contract support */
201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
209 /* -------- TYPES TABLE (BEGIN) -------- */
211 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
212 #define SWIGTYPE_p_wxSizer swig_types[1]
213 #define SWIGTYPE_p_wxCheckBox swig_types[2]
214 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[3]
215 #define SWIGTYPE_p_wxEvent swig_types[4]
216 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[5]
217 #define SWIGTYPE_p_bool swig_types[6]
218 #define SWIGTYPE_p_wxPyTreeItemData swig_types[7]
219 #define SWIGTYPE_p_wxItemContainer swig_types[8]
220 #define SWIGTYPE_p_wxPyListCtrl swig_types[9]
221 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[10]
222 #define SWIGTYPE_p_wxStaticLine swig_types[11]
223 #define SWIGTYPE_p_wxControl swig_types[12]
224 #define SWIGTYPE_p_wxPyControl swig_types[13]
225 #define SWIGTYPE_p_wxGauge swig_types[14]
226 #define SWIGTYPE_p_wxToolBarBase swig_types[15]
227 #define SWIGTYPE_p_wxFont swig_types[16]
228 #define SWIGTYPE_p_wxToggleButton swig_types[17]
229 #define SWIGTYPE_p_wxRadioButton swig_types[18]
230 #define SWIGTYPE_p_wxChoice swig_types[19]
231 #define SWIGTYPE_p_wxMemoryDC swig_types[20]
232 #define SWIGTYPE_p_wxListItemAttr swig_types[21]
233 #define SWIGTYPE_p_void swig_types[22]
234 #define SWIGTYPE_p_int swig_types[23]
235 #define SWIGTYPE_p_wxSize swig_types[24]
236 #define SWIGTYPE_p_wxDC swig_types[25]
237 #define SWIGTYPE_p_wxListView swig_types[26]
238 #define SWIGTYPE_p_wxIcon swig_types[27]
239 #define SWIGTYPE_p_wxVisualAttributes swig_types[28]
240 #define SWIGTYPE_p_wxTextCtrl swig_types[29]
241 #define SWIGTYPE_p_wxNotebook swig_types[30]
242 #define SWIGTYPE_p_wxChoicebook swig_types[31]
243 #define SWIGTYPE_p_wxNotifyEvent swig_types[32]
244 #define SWIGTYPE_p_wxArrayString swig_types[33]
245 #define SWIGTYPE_p_wxListbook swig_types[34]
246 #define SWIGTYPE_p_wxStaticBitmap swig_types[35]
247 #define SWIGTYPE_p_wxSlider swig_types[36]
248 #define SWIGTYPE_p_wxStaticBox swig_types[37]
249 #define SWIGTYPE_p_wxArrayInt swig_types[38]
250 #define SWIGTYPE_p_wxContextHelp swig_types[39]
251 #define SWIGTYPE_p_long swig_types[40]
252 #define SWIGTYPE_p_wxBookCtrlBase swig_types[41]
253 #define SWIGTYPE_p_wxEvtHandler swig_types[42]
254 #define SWIGTYPE_p_wxListEvent swig_types[43]
255 #define SWIGTYPE_p_wxCheckListBox swig_types[44]
256 #define SWIGTYPE_p_wxListBox swig_types[45]
257 #define SWIGTYPE_p_wxSpinButton swig_types[46]
258 #define SWIGTYPE_p_wxButton swig_types[47]
259 #define SWIGTYPE_p_wxBitmapButton swig_types[48]
260 #define SWIGTYPE_p_wxRect swig_types[49]
261 #define SWIGTYPE_p_wxContextHelpButton swig_types[50]
262 #define SWIGTYPE_p_wxRadioBox swig_types[51]
263 #define SWIGTYPE_p_wxScrollBar swig_types[52]
264 #define SWIGTYPE_p_char swig_types[53]
265 #define SWIGTYPE_p_wxTreeItemId swig_types[54]
266 #define SWIGTYPE_p_wxComboBox swig_types[55]
267 #define SWIGTYPE_p_wxHelpEvent swig_types[56]
268 #define SWIGTYPE_p_wxListItem swig_types[57]
269 #define SWIGTYPE_p_wxNotebookSizer swig_types[58]
270 #define SWIGTYPE_p_wxSpinEvent swig_types[59]
271 #define SWIGTYPE_p_wxGenericDragImage swig_types[60]
272 #define SWIGTYPE_p_wxSpinCtrl swig_types[61]
273 #define SWIGTYPE_p_wxImageList swig_types[62]
274 #define SWIGTYPE_p_wxHelpProvider swig_types[63]
275 #define SWIGTYPE_p_wxTextAttr swig_types[64]
276 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[65]
277 #define SWIGTYPE_p_wxPoint swig_types[66]
278 #define SWIGTYPE_p_wxChoicebookEvent swig_types[67]
279 #define SWIGTYPE_p_wxListbookEvent swig_types[68]
280 #define SWIGTYPE_p_wxNotebookEvent swig_types[69]
281 #define SWIGTYPE_p_wxObject swig_types[70]
282 #define SWIGTYPE_p_wxCursor swig_types[71]
283 #define SWIGTYPE_p_wxKeyEvent swig_types[72]
284 #define SWIGTYPE_p_wxWindow swig_types[73]
285 #define SWIGTYPE_p_wxString swig_types[74]
286 #define SWIGTYPE_p_wxBitmap swig_types[75]
287 #define SWIGTYPE_p_wxTreeEvent swig_types[76]
288 #define SWIGTYPE_p_wxMouseEvent swig_types[77]
289 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[78]
290 #define SWIGTYPE_p_wxCommandEvent swig_types[79]
291 #define SWIGTYPE_p_wxStaticText swig_types[80]
292 #define SWIGTYPE_p_wxControlWithItems swig_types[81]
293 #define SWIGTYPE_p_wxToolBarToolBase swig_types[82]
294 #define SWIGTYPE_p_wxColour swig_types[83]
295 #define SWIGTYPE_p_wxToolBar swig_types[84]
296 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[85]
297 #define SWIGTYPE_p_wxValidator swig_types[86]
298 static swig_type_info
*swig_types
[88];
300 /* -------- TYPES TABLE (END) -------- */
303 /*-----------------------------------------------
304 @(target):= _controls_.so
305 ------------------------------------------------*/
306 #define SWIG_init init_controls_
308 #define SWIG_name "_controls_"
310 /* Auxiliar swig macros that appear in the header */
312 #define SWIG_OLDOBJ 1
313 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
314 #define SWIG_PYSTR SWIG_NEWOBJ + 1
317 #define SWIGSTATICINLINE(a) static inline a
318 #define SWIGSTATIC(a) static a
319 #define swig_new_array(size,Type) (new Type[(size)])
320 #define swig_delete(cptr) delete cptr
321 #define swig_delete_array(cptr) delete[] cptr
322 #define swig_const_cast(a,Type) const_cast<Type >(a)
323 #define swig_static_cast(a,Type) static_cast<Type >(a)
324 #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
325 #define swig_new_copy(ptr,Type) (new Type(*ptr))
326 #define swig_numeric_cast(a,Type) static_cast<Type >(a)
330 #define SWIGSTATICINLINE(a) static a
331 #define SWIGSTATIC(a) static a
332 #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
333 #define swig_delete(cptr) free((char*)cptr)
334 #define swig_delete_array(cptr) free((char*)cptr)
335 #define swig_const_cast(a,Type) (Type)(a)
336 #define swig_static_cast(a,Type) (Type)(a)
337 #define swig_reinterpret_cast(a,Type) (Type)(a)
338 #define swig_numeric_cast(a,Type) (Type)(a)
339 #define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
341 #endif /* __cplusplus */
344 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
345 #define SWIG_From_signed_SS_char PyInt_FromLong
347 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
348 #define SWIG_From_unsigned_SS_char PyInt_FromLong
350 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
351 #define SWIG_From_short PyInt_FromLong
353 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
354 #define SWIG_From_unsigned_SS_short PyInt_FromLong
356 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
357 #define SWIG_From_int PyInt_FromLong
359 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
360 #define SWIG_From_long PyInt_FromLong
362 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
363 #define SWIG_From_float PyFloat_FromDouble
365 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\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
);
551 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
557 } else if (target
== Py_None
) {
561 if (!PyTuple_Check(target
)) {
563 target
= PyTuple_New(1);
564 PyTuple_SetItem(target
, 0, o2
);
567 PyTuple_SetItem(o3
, 0, o
);
570 target
= PySequence_Concat(o2
, o3
);
578 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
579 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
580 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
581 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
583 #include <wx/checklst.h>
586 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
587 void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
589 wxPyClientData
* data
= new wxPyClientData(clientData
);
590 self
->Insert(item
, pos
, data
);
592 self
->Insert(item
, pos
);
594 PyObject
*wxListBox_GetSelections(wxListBox
*self
){
596 self
->GetSelections(lst
);
597 PyObject
*tup
= PyTuple_New(lst
.GetCount());
598 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
599 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
603 void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
605 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
606 self
->GetItem(item
)->SetTextColour(c
);
609 void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
611 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
612 self
->GetItem(item
)->SetBackgroundColour(c
);
615 void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
617 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
618 self
->GetItem(item
)->SetFont(f
);
621 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
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
){
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 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
911 #define SWIG_From_unsigned_SS_int SWIG_From_long
914 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\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_GetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3725 PyObject
*resultobj
;
3726 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3727 long *arg2
= (long *) 0 ;
3728 long *arg3
= (long *) 0 ;
3733 PyObject
* obj0
= 0 ;
3735 (char *) "self", NULL
3738 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
3739 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
3740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetMark",kwnames
,&obj0
)) goto fail
;
3741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3745 (arg1
)->GetSelection(arg2
,arg3
);
3747 wxPyEndAllowThreads(__tstate
);
3748 if (PyErr_Occurred()) SWIG_fail
;
3750 Py_INCREF(Py_None
); resultobj
= Py_None
;
3751 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
3752 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
3753 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
3754 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
3761 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3762 PyObject
*resultobj
;
3763 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3764 wxString
*arg2
= 0 ;
3766 bool temp2
= false ;
3767 PyObject
* obj0
= 0 ;
3768 PyObject
* obj1
= 0 ;
3770 (char *) "self",(char *) "string", NULL
3773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3777 arg2
= wxString_in_helper(obj1
);
3778 if (arg2
== NULL
) SWIG_fail
;
3782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3783 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
3785 wxPyEndAllowThreads(__tstate
);
3786 if (PyErr_Occurred()) SWIG_fail
;
3789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3805 static PyObject
*_wrap_ComboBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3806 PyObject
*resultobj
;
3807 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3809 wxString
*arg3
= 0 ;
3810 bool temp3
= false ;
3811 PyObject
* obj0
= 0 ;
3812 PyObject
* obj1
= 0 ;
3813 PyObject
* obj2
= 0 ;
3815 (char *) "self",(char *) "n",(char *) "string", NULL
3818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3821 arg2
= (int)SWIG_As_int(obj1
);
3822 if (PyErr_Occurred()) SWIG_fail
;
3824 arg3
= wxString_in_helper(obj2
);
3825 if (arg3
== NULL
) SWIG_fail
;
3829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3830 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
3832 wxPyEndAllowThreads(__tstate
);
3833 if (PyErr_Occurred()) SWIG_fail
;
3835 Py_INCREF(Py_None
); resultobj
= Py_None
;
3850 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3851 PyObject
*resultobj
;
3852 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3854 PyObject
* obj0
= 0 ;
3855 PyObject
* obj1
= 0 ;
3857 (char *) "self",(char *) "editable", NULL
3860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3863 arg2
= (bool)SWIG_As_bool(obj1
);
3864 if (PyErr_Occurred()) SWIG_fail
;
3866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3867 (arg1
)->SetEditable(arg2
);
3869 wxPyEndAllowThreads(__tstate
);
3870 if (PyErr_Occurred()) SWIG_fail
;
3872 Py_INCREF(Py_None
); resultobj
= Py_None
;
3879 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3880 PyObject
*resultobj
;
3881 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3882 PyObject
* obj0
= 0 ;
3884 (char *) "self", NULL
3887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3892 (arg1
)->SetInsertionPointEnd();
3894 wxPyEndAllowThreads(__tstate
);
3895 if (PyErr_Occurred()) SWIG_fail
;
3897 Py_INCREF(Py_None
); resultobj
= Py_None
;
3904 static PyObject
*_wrap_ComboBox_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3905 PyObject
*resultobj
;
3906 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3909 PyObject
* obj0
= 0 ;
3910 PyObject
* obj1
= 0 ;
3911 PyObject
* obj2
= 0 ;
3913 (char *) "self",(char *) "from",(char *) "to", NULL
3916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3919 arg2
= (long)SWIG_As_long(obj1
);
3920 if (PyErr_Occurred()) SWIG_fail
;
3921 arg3
= (long)SWIG_As_long(obj2
);
3922 if (PyErr_Occurred()) SWIG_fail
;
3924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3925 (arg1
)->Remove(arg2
,arg3
);
3927 wxPyEndAllowThreads(__tstate
);
3928 if (PyErr_Occurred()) SWIG_fail
;
3930 Py_INCREF(Py_None
); resultobj
= Py_None
;
3937 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3938 PyObject
*resultobj
;
3939 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
3940 wxVisualAttributes result
;
3941 PyObject
* obj0
= 0 ;
3943 (char *) "variant", NULL
3946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3948 arg1
= (int)SWIG_As_int(obj0
);
3949 if (PyErr_Occurred()) SWIG_fail
;
3952 if (!wxPyCheckForApp()) SWIG_fail
;
3953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3954 result
= wxComboBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3956 wxPyEndAllowThreads(__tstate
);
3957 if (PyErr_Occurred()) SWIG_fail
;
3960 wxVisualAttributes
* resultptr
;
3961 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
3962 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3970 static PyObject
* ComboBox_swigregister(PyObject
*, PyObject
*args
) {
3972 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3973 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3975 return Py_BuildValue((char *)"");
3977 static int _wrap_GaugeNameStr_set(PyObject
*) {
3978 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3983 static PyObject
*_wrap_GaugeNameStr_get() {
3988 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3990 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3997 static PyObject
*_wrap_new_Gauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3998 PyObject
*resultobj
;
3999 wxWindow
*arg1
= (wxWindow
*) 0 ;
4000 int arg2
= (int) -1 ;
4001 int arg3
= (int) 100 ;
4002 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4003 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4004 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4005 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4006 long arg6
= (long) wxGA_HORIZONTAL
;
4007 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
4008 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
4009 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
4010 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4014 bool temp8
= false ;
4015 PyObject
* obj0
= 0 ;
4016 PyObject
* obj1
= 0 ;
4017 PyObject
* obj2
= 0 ;
4018 PyObject
* obj3
= 0 ;
4019 PyObject
* obj4
= 0 ;
4020 PyObject
* obj5
= 0 ;
4021 PyObject
* obj6
= 0 ;
4022 PyObject
* obj7
= 0 ;
4024 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4031 arg2
= (int)SWIG_As_int(obj1
);
4032 if (PyErr_Occurred()) SWIG_fail
;
4035 arg3
= (int)SWIG_As_int(obj2
);
4036 if (PyErr_Occurred()) SWIG_fail
;
4041 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4047 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4051 arg6
= (long)SWIG_As_long(obj5
);
4052 if (PyErr_Occurred()) SWIG_fail
;
4055 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
4056 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4059 PyErr_SetString(PyExc_TypeError
,"null reference");
4065 arg8
= wxString_in_helper(obj7
);
4066 if (arg8
== NULL
) SWIG_fail
;
4071 if (!wxPyCheckForApp()) SWIG_fail
;
4072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4073 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4075 wxPyEndAllowThreads(__tstate
);
4076 if (PyErr_Occurred()) SWIG_fail
;
4078 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
4093 static PyObject
*_wrap_new_PreGauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4094 PyObject
*resultobj
;
4100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
4102 if (!wxPyCheckForApp()) SWIG_fail
;
4103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4104 result
= (wxGauge
*)new wxGauge();
4106 wxPyEndAllowThreads(__tstate
);
4107 if (PyErr_Occurred()) SWIG_fail
;
4109 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
4116 static PyObject
*_wrap_Gauge_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4117 PyObject
*resultobj
;
4118 wxGauge
*arg1
= (wxGauge
*) 0 ;
4119 wxWindow
*arg2
= (wxWindow
*) 0 ;
4120 int arg3
= (int) -1 ;
4121 int arg4
= (int) 100 ;
4122 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4123 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4124 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4125 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4126 long arg7
= (long) wxGA_HORIZONTAL
;
4127 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4128 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4129 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
4130 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4134 bool temp9
= false ;
4135 PyObject
* obj0
= 0 ;
4136 PyObject
* obj1
= 0 ;
4137 PyObject
* obj2
= 0 ;
4138 PyObject
* obj3
= 0 ;
4139 PyObject
* obj4
= 0 ;
4140 PyObject
* obj5
= 0 ;
4141 PyObject
* obj6
= 0 ;
4142 PyObject
* obj7
= 0 ;
4143 PyObject
* obj8
= 0 ;
4145 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4151 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4154 arg3
= (int)SWIG_As_int(obj2
);
4155 if (PyErr_Occurred()) SWIG_fail
;
4158 arg4
= (int)SWIG_As_int(obj3
);
4159 if (PyErr_Occurred()) SWIG_fail
;
4164 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4170 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4174 arg7
= (long)SWIG_As_long(obj6
);
4175 if (PyErr_Occurred()) SWIG_fail
;
4178 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
4179 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4182 PyErr_SetString(PyExc_TypeError
,"null reference");
4188 arg9
= wxString_in_helper(obj8
);
4189 if (arg9
== NULL
) SWIG_fail
;
4194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4195 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4197 wxPyEndAllowThreads(__tstate
);
4198 if (PyErr_Occurred()) SWIG_fail
;
4201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4217 static PyObject
*_wrap_Gauge_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4218 PyObject
*resultobj
;
4219 wxGauge
*arg1
= (wxGauge
*) 0 ;
4221 PyObject
* obj0
= 0 ;
4222 PyObject
* obj1
= 0 ;
4224 (char *) "self",(char *) "range", NULL
4227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
4228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4230 arg2
= (int)SWIG_As_int(obj1
);
4231 if (PyErr_Occurred()) SWIG_fail
;
4233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4234 (arg1
)->SetRange(arg2
);
4236 wxPyEndAllowThreads(__tstate
);
4237 if (PyErr_Occurred()) SWIG_fail
;
4239 Py_INCREF(Py_None
); resultobj
= Py_None
;
4246 static PyObject
*_wrap_Gauge_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4247 PyObject
*resultobj
;
4248 wxGauge
*arg1
= (wxGauge
*) 0 ;
4250 PyObject
* obj0
= 0 ;
4252 (char *) "self", NULL
4255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
4256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4260 result
= (int)((wxGauge
const *)arg1
)->GetRange();
4262 wxPyEndAllowThreads(__tstate
);
4263 if (PyErr_Occurred()) SWIG_fail
;
4265 resultobj
= SWIG_From_int((int)result
);
4272 static PyObject
*_wrap_Gauge_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4273 PyObject
*resultobj
;
4274 wxGauge
*arg1
= (wxGauge
*) 0 ;
4276 PyObject
* obj0
= 0 ;
4277 PyObject
* obj1
= 0 ;
4279 (char *) "self",(char *) "pos", NULL
4282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
4283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4285 arg2
= (int)SWIG_As_int(obj1
);
4286 if (PyErr_Occurred()) SWIG_fail
;
4288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4289 (arg1
)->SetValue(arg2
);
4291 wxPyEndAllowThreads(__tstate
);
4292 if (PyErr_Occurred()) SWIG_fail
;
4294 Py_INCREF(Py_None
); resultobj
= Py_None
;
4301 static PyObject
*_wrap_Gauge_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4302 PyObject
*resultobj
;
4303 wxGauge
*arg1
= (wxGauge
*) 0 ;
4305 PyObject
* obj0
= 0 ;
4307 (char *) "self", NULL
4310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
4311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4315 result
= (int)((wxGauge
const *)arg1
)->GetValue();
4317 wxPyEndAllowThreads(__tstate
);
4318 if (PyErr_Occurred()) SWIG_fail
;
4320 resultobj
= SWIG_From_int((int)result
);
4327 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4328 PyObject
*resultobj
;
4329 wxGauge
*arg1
= (wxGauge
*) 0 ;
4331 PyObject
* obj0
= 0 ;
4333 (char *) "self", NULL
4336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
4337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4341 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
4343 wxPyEndAllowThreads(__tstate
);
4344 if (PyErr_Occurred()) SWIG_fail
;
4347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4355 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4356 PyObject
*resultobj
;
4357 wxGauge
*arg1
= (wxGauge
*) 0 ;
4359 PyObject
* obj0
= 0 ;
4360 PyObject
* obj1
= 0 ;
4362 (char *) "self",(char *) "w", NULL
4365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4368 arg2
= (int)SWIG_As_int(obj1
);
4369 if (PyErr_Occurred()) SWIG_fail
;
4371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4372 (arg1
)->SetShadowWidth(arg2
);
4374 wxPyEndAllowThreads(__tstate
);
4375 if (PyErr_Occurred()) SWIG_fail
;
4377 Py_INCREF(Py_None
); resultobj
= Py_None
;
4384 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4385 PyObject
*resultobj
;
4386 wxGauge
*arg1
= (wxGauge
*) 0 ;
4388 PyObject
* obj0
= 0 ;
4390 (char *) "self", NULL
4393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
4394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4398 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
4400 wxPyEndAllowThreads(__tstate
);
4401 if (PyErr_Occurred()) SWIG_fail
;
4403 resultobj
= SWIG_From_int((int)result
);
4410 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4411 PyObject
*resultobj
;
4412 wxGauge
*arg1
= (wxGauge
*) 0 ;
4414 PyObject
* obj0
= 0 ;
4415 PyObject
* obj1
= 0 ;
4417 (char *) "self",(char *) "w", NULL
4420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
4421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4423 arg2
= (int)SWIG_As_int(obj1
);
4424 if (PyErr_Occurred()) SWIG_fail
;
4426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4427 (arg1
)->SetBezelFace(arg2
);
4429 wxPyEndAllowThreads(__tstate
);
4430 if (PyErr_Occurred()) SWIG_fail
;
4432 Py_INCREF(Py_None
); resultobj
= Py_None
;
4439 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4440 PyObject
*resultobj
;
4441 wxGauge
*arg1
= (wxGauge
*) 0 ;
4443 PyObject
* obj0
= 0 ;
4445 (char *) "self", NULL
4448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
4449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4453 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
4455 wxPyEndAllowThreads(__tstate
);
4456 if (PyErr_Occurred()) SWIG_fail
;
4458 resultobj
= SWIG_From_int((int)result
);
4465 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4466 PyObject
*resultobj
;
4467 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4468 wxVisualAttributes result
;
4469 PyObject
* obj0
= 0 ;
4471 (char *) "variant", NULL
4474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4476 arg1
= (int)SWIG_As_int(obj0
);
4477 if (PyErr_Occurred()) SWIG_fail
;
4480 if (!wxPyCheckForApp()) SWIG_fail
;
4481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4482 result
= wxGauge::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4484 wxPyEndAllowThreads(__tstate
);
4485 if (PyErr_Occurred()) SWIG_fail
;
4488 wxVisualAttributes
* resultptr
;
4489 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4490 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4498 static PyObject
* Gauge_swigregister(PyObject
*, PyObject
*args
) {
4500 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4501 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
4503 return Py_BuildValue((char *)"");
4505 static int _wrap_StaticBitmapNameStr_set(PyObject
*) {
4506 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
4511 static PyObject
*_wrap_StaticBitmapNameStr_get() {
4516 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4518 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4525 static int _wrap_StaticBoxNameStr_set(PyObject
*) {
4526 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
4531 static PyObject
*_wrap_StaticBoxNameStr_get() {
4536 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4538 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4545 static int _wrap_StaticTextNameStr_set(PyObject
*) {
4546 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
4551 static PyObject
*_wrap_StaticTextNameStr_get() {
4556 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4558 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4565 static PyObject
*_wrap_new_StaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4566 PyObject
*resultobj
;
4567 wxWindow
*arg1
= (wxWindow
*) 0 ;
4568 int arg2
= (int) -1 ;
4569 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4570 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4571 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4572 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4573 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4574 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4575 long arg6
= (long) 0 ;
4576 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
4577 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4578 wxStaticBox
*result
;
4579 bool temp3
= false ;
4582 bool temp7
= false ;
4583 PyObject
* obj0
= 0 ;
4584 PyObject
* obj1
= 0 ;
4585 PyObject
* obj2
= 0 ;
4586 PyObject
* obj3
= 0 ;
4587 PyObject
* obj4
= 0 ;
4588 PyObject
* obj5
= 0 ;
4589 PyObject
* obj6
= 0 ;
4591 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4598 arg2
= (int)SWIG_As_int(obj1
);
4599 if (PyErr_Occurred()) SWIG_fail
;
4603 arg3
= wxString_in_helper(obj2
);
4604 if (arg3
== NULL
) SWIG_fail
;
4611 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4617 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4621 arg6
= (long)SWIG_As_long(obj5
);
4622 if (PyErr_Occurred()) SWIG_fail
;
4626 arg7
= wxString_in_helper(obj6
);
4627 if (arg7
== NULL
) SWIG_fail
;
4632 if (!wxPyCheckForApp()) SWIG_fail
;
4633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4634 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4636 wxPyEndAllowThreads(__tstate
);
4637 if (PyErr_Occurred()) SWIG_fail
;
4639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
4662 static PyObject
*_wrap_new_PreStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4663 PyObject
*resultobj
;
4664 wxStaticBox
*result
;
4669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4671 if (!wxPyCheckForApp()) SWIG_fail
;
4672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4673 result
= (wxStaticBox
*)new wxStaticBox();
4675 wxPyEndAllowThreads(__tstate
);
4676 if (PyErr_Occurred()) SWIG_fail
;
4678 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
4685 static PyObject
*_wrap_StaticBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4686 PyObject
*resultobj
;
4687 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4688 wxWindow
*arg2
= (wxWindow
*) 0 ;
4689 int arg3
= (int) -1 ;
4690 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4691 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4692 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4693 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4694 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4695 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4696 long arg7
= (long) 0 ;
4697 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4698 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4700 bool temp4
= false ;
4703 bool temp8
= false ;
4704 PyObject
* obj0
= 0 ;
4705 PyObject
* obj1
= 0 ;
4706 PyObject
* obj2
= 0 ;
4707 PyObject
* obj3
= 0 ;
4708 PyObject
* obj4
= 0 ;
4709 PyObject
* obj5
= 0 ;
4710 PyObject
* obj6
= 0 ;
4711 PyObject
* obj7
= 0 ;
4713 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
4718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4719 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4722 arg3
= (int)SWIG_As_int(obj2
);
4723 if (PyErr_Occurred()) SWIG_fail
;
4727 arg4
= wxString_in_helper(obj3
);
4728 if (arg4
== NULL
) SWIG_fail
;
4735 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4741 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4745 arg7
= (long)SWIG_As_long(obj6
);
4746 if (PyErr_Occurred()) SWIG_fail
;
4750 arg8
= wxString_in_helper(obj7
);
4751 if (arg8
== NULL
) SWIG_fail
;
4756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4757 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4759 wxPyEndAllowThreads(__tstate
);
4760 if (PyErr_Occurred()) SWIG_fail
;
4763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4787 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4788 PyObject
*resultobj
;
4789 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4790 wxVisualAttributes result
;
4791 PyObject
* obj0
= 0 ;
4793 (char *) "variant", NULL
4796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4798 arg1
= (int)SWIG_As_int(obj0
);
4799 if (PyErr_Occurred()) SWIG_fail
;
4802 if (!wxPyCheckForApp()) SWIG_fail
;
4803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4804 result
= wxStaticBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4806 wxPyEndAllowThreads(__tstate
);
4807 if (PyErr_Occurred()) SWIG_fail
;
4810 wxVisualAttributes
* resultptr
;
4811 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4812 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4820 static PyObject
* StaticBox_swigregister(PyObject
*, PyObject
*args
) {
4822 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4823 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4825 return Py_BuildValue((char *)"");
4827 static PyObject
*_wrap_new_StaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4828 PyObject
*resultobj
;
4829 wxWindow
*arg1
= (wxWindow
*) 0 ;
4830 int arg2
= (int) -1 ;
4831 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4832 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4833 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4834 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4835 long arg5
= (long) wxLI_HORIZONTAL
;
4836 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4837 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4838 wxStaticLine
*result
;
4841 bool temp6
= false ;
4842 PyObject
* obj0
= 0 ;
4843 PyObject
* obj1
= 0 ;
4844 PyObject
* obj2
= 0 ;
4845 PyObject
* obj3
= 0 ;
4846 PyObject
* obj4
= 0 ;
4847 PyObject
* obj5
= 0 ;
4849 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4856 arg2
= (int)SWIG_As_int(obj1
);
4857 if (PyErr_Occurred()) SWIG_fail
;
4862 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4868 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4872 arg5
= (long)SWIG_As_long(obj4
);
4873 if (PyErr_Occurred()) SWIG_fail
;
4877 arg6
= wxString_in_helper(obj5
);
4878 if (arg6
== NULL
) SWIG_fail
;
4883 if (!wxPyCheckForApp()) SWIG_fail
;
4884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4885 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4887 wxPyEndAllowThreads(__tstate
);
4888 if (PyErr_Occurred()) SWIG_fail
;
4890 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4905 static PyObject
*_wrap_new_PreStaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4906 PyObject
*resultobj
;
4907 wxStaticLine
*result
;
4912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4914 if (!wxPyCheckForApp()) SWIG_fail
;
4915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4916 result
= (wxStaticLine
*)new wxStaticLine();
4918 wxPyEndAllowThreads(__tstate
);
4919 if (PyErr_Occurred()) SWIG_fail
;
4921 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4928 static PyObject
*_wrap_StaticLine_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4929 PyObject
*resultobj
;
4930 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4931 wxWindow
*arg2
= (wxWindow
*) 0 ;
4932 int arg3
= (int) -1 ;
4933 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4934 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4935 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4936 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4937 long arg6
= (long) wxLI_HORIZONTAL
;
4938 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4939 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4943 bool temp7
= false ;
4944 PyObject
* obj0
= 0 ;
4945 PyObject
* obj1
= 0 ;
4946 PyObject
* obj2
= 0 ;
4947 PyObject
* obj3
= 0 ;
4948 PyObject
* obj4
= 0 ;
4949 PyObject
* obj5
= 0 ;
4950 PyObject
* obj6
= 0 ;
4952 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4958 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4961 arg3
= (int)SWIG_As_int(obj2
);
4962 if (PyErr_Occurred()) SWIG_fail
;
4967 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4973 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4977 arg6
= (long)SWIG_As_long(obj5
);
4978 if (PyErr_Occurred()) SWIG_fail
;
4982 arg7
= wxString_in_helper(obj6
);
4983 if (arg7
== NULL
) SWIG_fail
;
4988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4989 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4991 wxPyEndAllowThreads(__tstate
);
4992 if (PyErr_Occurred()) SWIG_fail
;
4995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5011 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5012 PyObject
*resultobj
;
5013 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
5015 PyObject
* obj0
= 0 ;
5017 (char *) "self", NULL
5020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
5021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
5022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5025 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
5027 wxPyEndAllowThreads(__tstate
);
5028 if (PyErr_Occurred()) SWIG_fail
;
5031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5039 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5040 PyObject
*resultobj
;
5046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
5048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5049 result
= (int)wxStaticLine::GetDefaultSize();
5051 wxPyEndAllowThreads(__tstate
);
5052 if (PyErr_Occurred()) SWIG_fail
;
5054 resultobj
= SWIG_From_int((int)result
);
5061 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5062 PyObject
*resultobj
;
5063 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5064 wxVisualAttributes result
;
5065 PyObject
* obj0
= 0 ;
5067 (char *) "variant", NULL
5070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5072 arg1
= (int)SWIG_As_int(obj0
);
5073 if (PyErr_Occurred()) SWIG_fail
;
5076 if (!wxPyCheckForApp()) SWIG_fail
;
5077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5078 result
= wxStaticLine::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5080 wxPyEndAllowThreads(__tstate
);
5081 if (PyErr_Occurred()) SWIG_fail
;
5084 wxVisualAttributes
* resultptr
;
5085 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5086 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5094 static PyObject
* StaticLine_swigregister(PyObject
*, PyObject
*args
) {
5096 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5097 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
5099 return Py_BuildValue((char *)"");
5101 static PyObject
*_wrap_new_StaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5102 PyObject
*resultobj
;
5103 wxWindow
*arg1
= (wxWindow
*) 0 ;
5104 int arg2
= (int) -1 ;
5105 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5106 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5107 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5108 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5109 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5110 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5111 long arg6
= (long) 0 ;
5112 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
5113 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5114 wxStaticText
*result
;
5115 bool temp3
= false ;
5118 bool temp7
= false ;
5119 PyObject
* obj0
= 0 ;
5120 PyObject
* obj1
= 0 ;
5121 PyObject
* obj2
= 0 ;
5122 PyObject
* obj3
= 0 ;
5123 PyObject
* obj4
= 0 ;
5124 PyObject
* obj5
= 0 ;
5125 PyObject
* obj6
= 0 ;
5127 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5134 arg2
= (int)SWIG_As_int(obj1
);
5135 if (PyErr_Occurred()) SWIG_fail
;
5139 arg3
= wxString_in_helper(obj2
);
5140 if (arg3
== NULL
) SWIG_fail
;
5147 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5153 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5157 arg6
= (long)SWIG_As_long(obj5
);
5158 if (PyErr_Occurred()) SWIG_fail
;
5162 arg7
= wxString_in_helper(obj6
);
5163 if (arg7
== NULL
) SWIG_fail
;
5168 if (!wxPyCheckForApp()) SWIG_fail
;
5169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5170 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5172 wxPyEndAllowThreads(__tstate
);
5173 if (PyErr_Occurred()) SWIG_fail
;
5175 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
5198 static PyObject
*_wrap_new_PreStaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5199 PyObject
*resultobj
;
5200 wxStaticText
*result
;
5205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
5207 if (!wxPyCheckForApp()) SWIG_fail
;
5208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5209 result
= (wxStaticText
*)new wxStaticText();
5211 wxPyEndAllowThreads(__tstate
);
5212 if (PyErr_Occurred()) SWIG_fail
;
5214 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
5221 static PyObject
*_wrap_StaticText_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5222 PyObject
*resultobj
;
5223 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
5224 wxWindow
*arg2
= (wxWindow
*) 0 ;
5225 int arg3
= (int) -1 ;
5226 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5227 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5228 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5229 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5230 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5231 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5232 long arg7
= (long) 0 ;
5233 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
5234 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5236 bool temp4
= false ;
5239 bool temp8
= false ;
5240 PyObject
* obj0
= 0 ;
5241 PyObject
* obj1
= 0 ;
5242 PyObject
* obj2
= 0 ;
5243 PyObject
* obj3
= 0 ;
5244 PyObject
* obj4
= 0 ;
5245 PyObject
* obj5
= 0 ;
5246 PyObject
* obj6
= 0 ;
5247 PyObject
* obj7
= 0 ;
5249 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticText
,
5254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5255 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5258 arg3
= (int)SWIG_As_int(obj2
);
5259 if (PyErr_Occurred()) SWIG_fail
;
5263 arg4
= wxString_in_helper(obj3
);
5264 if (arg4
== NULL
) SWIG_fail
;
5271 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5277 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5281 arg7
= (long)SWIG_As_long(obj6
);
5282 if (PyErr_Occurred()) SWIG_fail
;
5286 arg8
= wxString_in_helper(obj7
);
5287 if (arg8
== NULL
) SWIG_fail
;
5292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5293 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5295 wxPyEndAllowThreads(__tstate
);
5296 if (PyErr_Occurred()) SWIG_fail
;
5299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5323 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5324 PyObject
*resultobj
;
5325 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5326 wxVisualAttributes result
;
5327 PyObject
* obj0
= 0 ;
5329 (char *) "variant", NULL
5332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5334 arg1
= (int)SWIG_As_int(obj0
);
5335 if (PyErr_Occurred()) SWIG_fail
;
5338 if (!wxPyCheckForApp()) SWIG_fail
;
5339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5340 result
= wxStaticText::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5342 wxPyEndAllowThreads(__tstate
);
5343 if (PyErr_Occurred()) SWIG_fail
;
5346 wxVisualAttributes
* resultptr
;
5347 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5348 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5356 static PyObject
* StaticText_swigregister(PyObject
*, PyObject
*args
) {
5358 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5359 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
5361 return Py_BuildValue((char *)"");
5363 static PyObject
*_wrap_new_StaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5364 PyObject
*resultobj
;
5365 wxWindow
*arg1
= (wxWindow
*) 0 ;
5366 int arg2
= (int) -1 ;
5367 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
5368 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
5369 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5370 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5371 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5372 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5373 long arg6
= (long) 0 ;
5374 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
5375 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5376 wxStaticBitmap
*result
;
5379 bool temp7
= false ;
5380 PyObject
* obj0
= 0 ;
5381 PyObject
* obj1
= 0 ;
5382 PyObject
* obj2
= 0 ;
5383 PyObject
* obj3
= 0 ;
5384 PyObject
* obj4
= 0 ;
5385 PyObject
* obj5
= 0 ;
5386 PyObject
* obj6
= 0 ;
5388 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5395 arg2
= (int)SWIG_As_int(obj1
);
5396 if (PyErr_Occurred()) SWIG_fail
;
5399 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
5400 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5403 PyErr_SetString(PyExc_TypeError
,"null reference");
5410 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5416 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5420 arg6
= (long)SWIG_As_long(obj5
);
5421 if (PyErr_Occurred()) SWIG_fail
;
5425 arg7
= wxString_in_helper(obj6
);
5426 if (arg7
== NULL
) SWIG_fail
;
5431 if (!wxPyCheckForApp()) SWIG_fail
;
5432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5433 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5435 wxPyEndAllowThreads(__tstate
);
5436 if (PyErr_Occurred()) SWIG_fail
;
5438 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5453 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5454 PyObject
*resultobj
;
5455 wxStaticBitmap
*result
;
5460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
5462 if (!wxPyCheckForApp()) SWIG_fail
;
5463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5464 result
= (wxStaticBitmap
*)new wxStaticBitmap();
5466 wxPyEndAllowThreads(__tstate
);
5467 if (PyErr_Occurred()) SWIG_fail
;
5469 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5476 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5477 PyObject
*resultobj
;
5478 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5479 wxWindow
*arg2
= (wxWindow
*) 0 ;
5480 int arg3
= (int) -1 ;
5481 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
5482 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
5483 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5484 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5485 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5486 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5487 long arg7
= (long) 0 ;
5488 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
5489 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5493 bool temp8
= false ;
5494 PyObject
* obj0
= 0 ;
5495 PyObject
* obj1
= 0 ;
5496 PyObject
* obj2
= 0 ;
5497 PyObject
* obj3
= 0 ;
5498 PyObject
* obj4
= 0 ;
5499 PyObject
* obj5
= 0 ;
5500 PyObject
* obj6
= 0 ;
5501 PyObject
* obj7
= 0 ;
5503 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5509 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5512 arg3
= (int)SWIG_As_int(obj2
);
5513 if (PyErr_Occurred()) SWIG_fail
;
5516 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
5517 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5520 PyErr_SetString(PyExc_TypeError
,"null reference");
5527 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5533 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5537 arg7
= (long)SWIG_As_long(obj6
);
5538 if (PyErr_Occurred()) SWIG_fail
;
5542 arg8
= wxString_in_helper(obj7
);
5543 if (arg8
== NULL
) SWIG_fail
;
5548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5549 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5551 wxPyEndAllowThreads(__tstate
);
5552 if (PyErr_Occurred()) SWIG_fail
;
5555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5571 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5572 PyObject
*resultobj
;
5573 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5575 PyObject
* obj0
= 0 ;
5577 (char *) "self", NULL
5580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
5581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5585 result
= (arg1
)->GetBitmap();
5587 wxPyEndAllowThreads(__tstate
);
5588 if (PyErr_Occurred()) SWIG_fail
;
5591 wxBitmap
* resultptr
;
5592 resultptr
= new wxBitmap((wxBitmap
&) result
);
5593 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5601 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5602 PyObject
*resultobj
;
5603 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5604 wxBitmap
*arg2
= 0 ;
5605 PyObject
* obj0
= 0 ;
5606 PyObject
* obj1
= 0 ;
5608 (char *) "self",(char *) "bitmap", NULL
5611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5614 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5615 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5618 PyErr_SetString(PyExc_TypeError
,"null reference");
5622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5623 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
5625 wxPyEndAllowThreads(__tstate
);
5626 if (PyErr_Occurred()) SWIG_fail
;
5628 Py_INCREF(Py_None
); resultobj
= Py_None
;
5635 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5636 PyObject
*resultobj
;
5637 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5639 PyObject
* obj0
= 0 ;
5640 PyObject
* obj1
= 0 ;
5642 (char *) "self",(char *) "icon", NULL
5645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
5646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5648 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
5649 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5652 PyErr_SetString(PyExc_TypeError
,"null reference");
5656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5657 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5659 wxPyEndAllowThreads(__tstate
);
5660 if (PyErr_Occurred()) SWIG_fail
;
5662 Py_INCREF(Py_None
); resultobj
= Py_None
;
5669 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5670 PyObject
*resultobj
;
5671 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5672 wxVisualAttributes result
;
5673 PyObject
* obj0
= 0 ;
5675 (char *) "variant", NULL
5678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5680 arg1
= (int)SWIG_As_int(obj0
);
5681 if (PyErr_Occurred()) SWIG_fail
;
5684 if (!wxPyCheckForApp()) SWIG_fail
;
5685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5686 result
= wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5688 wxPyEndAllowThreads(__tstate
);
5689 if (PyErr_Occurred()) SWIG_fail
;
5692 wxVisualAttributes
* resultptr
;
5693 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5694 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5702 static PyObject
* StaticBitmap_swigregister(PyObject
*, PyObject
*args
) {
5704 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5705 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
5707 return Py_BuildValue((char *)"");
5709 static int _wrap_ListBoxNameStr_set(PyObject
*) {
5710 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
5715 static PyObject
*_wrap_ListBoxNameStr_get() {
5720 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5722 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5729 static PyObject
*_wrap_new_ListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5730 PyObject
*resultobj
;
5731 wxWindow
*arg1
= (wxWindow
*) 0 ;
5732 int arg2
= (int) -1 ;
5733 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5734 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5735 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5736 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5737 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5738 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5739 long arg6
= (long) 0 ;
5740 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5741 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5742 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5743 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5747 bool temp5
= false ;
5748 bool temp8
= false ;
5749 PyObject
* obj0
= 0 ;
5750 PyObject
* obj1
= 0 ;
5751 PyObject
* obj2
= 0 ;
5752 PyObject
* obj3
= 0 ;
5753 PyObject
* obj4
= 0 ;
5754 PyObject
* obj5
= 0 ;
5755 PyObject
* obj6
= 0 ;
5756 PyObject
* obj7
= 0 ;
5758 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5765 arg2
= (int)SWIG_As_int(obj1
);
5766 if (PyErr_Occurred()) SWIG_fail
;
5771 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5777 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5782 if (! PySequence_Check(obj4
)) {
5783 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5786 arg5
= new wxArrayString
;
5788 int i
, len
=PySequence_Length(obj4
);
5789 for (i
=0; i
<len
; i
++) {
5790 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5792 PyObject
* str
= PyObject_Unicode(item
);
5794 PyObject
* str
= PyObject_Str(item
);
5796 if (PyErr_Occurred()) SWIG_fail
;
5797 arg5
->Add(Py2wxString(str
));
5804 arg6
= (long)SWIG_As_long(obj5
);
5805 if (PyErr_Occurred()) SWIG_fail
;
5808 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
5809 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5812 PyErr_SetString(PyExc_TypeError
,"null reference");
5818 arg8
= wxString_in_helper(obj7
);
5819 if (arg8
== NULL
) SWIG_fail
;
5824 if (!wxPyCheckForApp()) SWIG_fail
;
5825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5826 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5828 wxPyEndAllowThreads(__tstate
);
5829 if (PyErr_Occurred()) SWIG_fail
;
5831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5833 if (temp5
) delete arg5
;
5842 if (temp5
) delete arg5
;
5852 static PyObject
*_wrap_new_PreListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5853 PyObject
*resultobj
;
5859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5861 if (!wxPyCheckForApp()) SWIG_fail
;
5862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5863 result
= (wxListBox
*)new wxListBox();
5865 wxPyEndAllowThreads(__tstate
);
5866 if (PyErr_Occurred()) SWIG_fail
;
5868 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5875 static PyObject
*_wrap_ListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5876 PyObject
*resultobj
;
5877 wxListBox
*arg1
= (wxListBox
*) 0 ;
5878 wxWindow
*arg2
= (wxWindow
*) 0 ;
5879 int arg3
= (int) -1 ;
5880 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5881 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5882 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5883 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5884 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5885 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5886 long arg7
= (long) 0 ;
5887 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5888 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5889 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5890 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5894 bool temp6
= false ;
5895 bool temp9
= false ;
5896 PyObject
* obj0
= 0 ;
5897 PyObject
* obj1
= 0 ;
5898 PyObject
* obj2
= 0 ;
5899 PyObject
* obj3
= 0 ;
5900 PyObject
* obj4
= 0 ;
5901 PyObject
* obj5
= 0 ;
5902 PyObject
* obj6
= 0 ;
5903 PyObject
* obj7
= 0 ;
5904 PyObject
* obj8
= 0 ;
5906 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5912 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5915 arg3
= (int)SWIG_As_int(obj2
);
5916 if (PyErr_Occurred()) SWIG_fail
;
5921 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5927 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5932 if (! PySequence_Check(obj5
)) {
5933 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5936 arg6
= new wxArrayString
;
5938 int i
, len
=PySequence_Length(obj5
);
5939 for (i
=0; i
<len
; i
++) {
5940 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5942 PyObject
* str
= PyObject_Unicode(item
);
5944 PyObject
* str
= PyObject_Str(item
);
5946 if (PyErr_Occurred()) SWIG_fail
;
5947 arg6
->Add(Py2wxString(str
));
5954 arg7
= (long)SWIG_As_long(obj6
);
5955 if (PyErr_Occurred()) SWIG_fail
;
5958 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
5959 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5962 PyErr_SetString(PyExc_TypeError
,"null reference");
5968 arg9
= wxString_in_helper(obj8
);
5969 if (arg9
== NULL
) SWIG_fail
;
5974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5975 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5977 wxPyEndAllowThreads(__tstate
);
5978 if (PyErr_Occurred()) SWIG_fail
;
5981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5984 if (temp6
) delete arg6
;
5993 if (temp6
) delete arg6
;
6003 static PyObject
*_wrap_ListBox_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6004 PyObject
*resultobj
;
6005 wxListBox
*arg1
= (wxListBox
*) 0 ;
6006 wxString
*arg2
= 0 ;
6008 PyObject
*arg4
= (PyObject
*) NULL
;
6009 bool temp2
= false ;
6010 PyObject
* obj0
= 0 ;
6011 PyObject
* obj1
= 0 ;
6012 PyObject
* obj2
= 0 ;
6013 PyObject
* obj3
= 0 ;
6015 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
6018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6022 arg2
= wxString_in_helper(obj1
);
6023 if (arg2
== NULL
) SWIG_fail
;
6026 arg3
= (int)SWIG_As_int(obj2
);
6027 if (PyErr_Occurred()) SWIG_fail
;
6032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6033 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
6035 wxPyEndAllowThreads(__tstate
);
6036 if (PyErr_Occurred()) SWIG_fail
;
6038 Py_INCREF(Py_None
); resultobj
= Py_None
;
6053 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6054 PyObject
*resultobj
;
6055 wxListBox
*arg1
= (wxListBox
*) 0 ;
6056 wxArrayString
*arg2
= 0 ;
6058 bool temp2
= false ;
6059 PyObject
* obj0
= 0 ;
6060 PyObject
* obj1
= 0 ;
6061 PyObject
* obj2
= 0 ;
6063 (char *) "self",(char *) "items",(char *) "pos", NULL
6066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6070 if (! PySequence_Check(obj1
)) {
6071 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6074 arg2
= new wxArrayString
;
6076 int i
, len
=PySequence_Length(obj1
);
6077 for (i
=0; i
<len
; i
++) {
6078 PyObject
* item
= PySequence_GetItem(obj1
, i
);
6080 PyObject
* str
= PyObject_Unicode(item
);
6082 PyObject
* str
= PyObject_Str(item
);
6084 if (PyErr_Occurred()) SWIG_fail
;
6085 arg2
->Add(Py2wxString(str
));
6090 arg3
= (int)SWIG_As_int(obj2
);
6091 if (PyErr_Occurred()) SWIG_fail
;
6093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6094 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
6096 wxPyEndAllowThreads(__tstate
);
6097 if (PyErr_Occurred()) SWIG_fail
;
6099 Py_INCREF(Py_None
); resultobj
= Py_None
;
6101 if (temp2
) delete arg2
;
6106 if (temp2
) delete arg2
;
6112 static PyObject
*_wrap_ListBox_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6113 PyObject
*resultobj
;
6114 wxListBox
*arg1
= (wxListBox
*) 0 ;
6115 wxArrayString
*arg2
= 0 ;
6116 bool temp2
= false ;
6117 PyObject
* obj0
= 0 ;
6118 PyObject
* obj1
= 0 ;
6120 (char *) "self",(char *) "items", NULL
6123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
6124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6127 if (! PySequence_Check(obj1
)) {
6128 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6131 arg2
= new wxArrayString
;
6133 int i
, len
=PySequence_Length(obj1
);
6134 for (i
=0; i
<len
; i
++) {
6135 PyObject
* item
= PySequence_GetItem(obj1
, i
);
6137 PyObject
* str
= PyObject_Unicode(item
);
6139 PyObject
* str
= PyObject_Str(item
);
6141 if (PyErr_Occurred()) SWIG_fail
;
6142 arg2
->Add(Py2wxString(str
));
6148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6149 (arg1
)->Set((wxArrayString
const &)*arg2
);
6151 wxPyEndAllowThreads(__tstate
);
6152 if (PyErr_Occurred()) SWIG_fail
;
6154 Py_INCREF(Py_None
); resultobj
= Py_None
;
6156 if (temp2
) delete arg2
;
6161 if (temp2
) delete arg2
;
6167 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6168 PyObject
*resultobj
;
6169 wxListBox
*arg1
= (wxListBox
*) 0 ;
6172 PyObject
* obj0
= 0 ;
6173 PyObject
* obj1
= 0 ;
6175 (char *) "self",(char *) "n", NULL
6178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
6179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6181 arg2
= (int)SWIG_As_int(obj1
);
6182 if (PyErr_Occurred()) SWIG_fail
;
6184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6185 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
6187 wxPyEndAllowThreads(__tstate
);
6188 if (PyErr_Occurred()) SWIG_fail
;
6191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6199 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6200 PyObject
*resultobj
;
6201 wxListBox
*arg1
= (wxListBox
*) 0 ;
6203 bool arg3
= (bool) true ;
6204 PyObject
* obj0
= 0 ;
6205 PyObject
* obj1
= 0 ;
6206 PyObject
* obj2
= 0 ;
6208 (char *) "self",(char *) "n",(char *) "select", NULL
6211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6214 arg2
= (int)SWIG_As_int(obj1
);
6215 if (PyErr_Occurred()) SWIG_fail
;
6217 arg3
= (bool)SWIG_As_bool(obj2
);
6218 if (PyErr_Occurred()) SWIG_fail
;
6221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6222 (arg1
)->SetSelection(arg2
,arg3
);
6224 wxPyEndAllowThreads(__tstate
);
6225 if (PyErr_Occurred()) SWIG_fail
;
6227 Py_INCREF(Py_None
); resultobj
= Py_None
;
6234 static PyObject
*_wrap_ListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6235 PyObject
*resultobj
;
6236 wxListBox
*arg1
= (wxListBox
*) 0 ;
6238 PyObject
* obj0
= 0 ;
6239 PyObject
* obj1
= 0 ;
6241 (char *) "self",(char *) "n", NULL
6244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
6245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6247 arg2
= (int)SWIG_As_int(obj1
);
6248 if (PyErr_Occurred()) SWIG_fail
;
6250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6251 (arg1
)->Select(arg2
);
6253 wxPyEndAllowThreads(__tstate
);
6254 if (PyErr_Occurred()) SWIG_fail
;
6256 Py_INCREF(Py_None
); resultobj
= Py_None
;
6263 static PyObject
*_wrap_ListBox_Deselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6264 PyObject
*resultobj
;
6265 wxListBox
*arg1
= (wxListBox
*) 0 ;
6267 PyObject
* obj0
= 0 ;
6268 PyObject
* obj1
= 0 ;
6270 (char *) "self",(char *) "n", NULL
6273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
6274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6276 arg2
= (int)SWIG_As_int(obj1
);
6277 if (PyErr_Occurred()) SWIG_fail
;
6279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6280 (arg1
)->Deselect(arg2
);
6282 wxPyEndAllowThreads(__tstate
);
6283 if (PyErr_Occurred()) SWIG_fail
;
6285 Py_INCREF(Py_None
); resultobj
= Py_None
;
6292 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6293 PyObject
*resultobj
;
6294 wxListBox
*arg1
= (wxListBox
*) 0 ;
6295 int arg2
= (int) -1 ;
6296 PyObject
* obj0
= 0 ;
6297 PyObject
* obj1
= 0 ;
6299 (char *) "self",(char *) "itemToLeaveSelected", NULL
6302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
6303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6306 arg2
= (int)SWIG_As_int(obj1
);
6307 if (PyErr_Occurred()) SWIG_fail
;
6310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6311 (arg1
)->DeselectAll(arg2
);
6313 wxPyEndAllowThreads(__tstate
);
6314 if (PyErr_Occurred()) SWIG_fail
;
6316 Py_INCREF(Py_None
); resultobj
= Py_None
;
6323 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6324 PyObject
*resultobj
;
6325 wxListBox
*arg1
= (wxListBox
*) 0 ;
6326 wxString
*arg2
= 0 ;
6327 bool arg3
= (bool) true ;
6329 bool temp2
= false ;
6330 PyObject
* obj0
= 0 ;
6331 PyObject
* obj1
= 0 ;
6332 PyObject
* obj2
= 0 ;
6334 (char *) "self",(char *) "s",(char *) "select", NULL
6337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6341 arg2
= wxString_in_helper(obj1
);
6342 if (arg2
== NULL
) SWIG_fail
;
6346 arg3
= (bool)SWIG_As_bool(obj2
);
6347 if (PyErr_Occurred()) SWIG_fail
;
6350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6351 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
6353 wxPyEndAllowThreads(__tstate
);
6354 if (PyErr_Occurred()) SWIG_fail
;
6357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6373 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6374 PyObject
*resultobj
;
6375 wxListBox
*arg1
= (wxListBox
*) 0 ;
6377 PyObject
* obj0
= 0 ;
6379 (char *) "self", NULL
6382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
6383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6387 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
6389 wxPyEndAllowThreads(__tstate
);
6390 if (PyErr_Occurred()) SWIG_fail
;
6399 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6400 PyObject
*resultobj
;
6401 wxListBox
*arg1
= (wxListBox
*) 0 ;
6403 PyObject
* obj0
= 0 ;
6404 PyObject
* obj1
= 0 ;
6406 (char *) "self",(char *) "n", NULL
6409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
6410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6412 arg2
= (int)SWIG_As_int(obj1
);
6413 if (PyErr_Occurred()) SWIG_fail
;
6415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6416 (arg1
)->SetFirstItem(arg2
);
6418 wxPyEndAllowThreads(__tstate
);
6419 if (PyErr_Occurred()) SWIG_fail
;
6421 Py_INCREF(Py_None
); resultobj
= Py_None
;
6428 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6429 PyObject
*resultobj
;
6430 wxListBox
*arg1
= (wxListBox
*) 0 ;
6431 wxString
*arg2
= 0 ;
6432 bool temp2
= false ;
6433 PyObject
* obj0
= 0 ;
6434 PyObject
* obj1
= 0 ;
6436 (char *) "self",(char *) "s", NULL
6439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
6440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6443 arg2
= wxString_in_helper(obj1
);
6444 if (arg2
== NULL
) SWIG_fail
;
6448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6449 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
6451 wxPyEndAllowThreads(__tstate
);
6452 if (PyErr_Occurred()) SWIG_fail
;
6454 Py_INCREF(Py_None
); resultobj
= Py_None
;
6469 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6470 PyObject
*resultobj
;
6471 wxListBox
*arg1
= (wxListBox
*) 0 ;
6473 PyObject
* obj0
= 0 ;
6474 PyObject
* obj1
= 0 ;
6476 (char *) "self",(char *) "n", NULL
6479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6482 arg2
= (int)SWIG_As_int(obj1
);
6483 if (PyErr_Occurred()) SWIG_fail
;
6485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6486 (arg1
)->EnsureVisible(arg2
);
6488 wxPyEndAllowThreads(__tstate
);
6489 if (PyErr_Occurred()) SWIG_fail
;
6491 Py_INCREF(Py_None
); resultobj
= Py_None
;
6498 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6499 PyObject
*resultobj
;
6500 wxListBox
*arg1
= (wxListBox
*) 0 ;
6501 wxString
*arg2
= 0 ;
6502 bool temp2
= false ;
6503 PyObject
* obj0
= 0 ;
6504 PyObject
* obj1
= 0 ;
6506 (char *) "self",(char *) "s", NULL
6509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6513 arg2
= wxString_in_helper(obj1
);
6514 if (arg2
== NULL
) SWIG_fail
;
6518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6519 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
6521 wxPyEndAllowThreads(__tstate
);
6522 if (PyErr_Occurred()) SWIG_fail
;
6524 Py_INCREF(Py_None
); resultobj
= Py_None
;
6539 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6540 PyObject
*resultobj
;
6541 wxListBox
*arg1
= (wxListBox
*) 0 ;
6543 PyObject
* obj0
= 0 ;
6545 (char *) "self", NULL
6548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
6549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6553 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
6555 wxPyEndAllowThreads(__tstate
);
6556 if (PyErr_Occurred()) SWIG_fail
;
6559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6567 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6568 PyObject
*resultobj
;
6569 wxListBox
*arg1
= (wxListBox
*) 0 ;
6571 wxColour
*arg3
= 0 ;
6573 PyObject
* obj0
= 0 ;
6574 PyObject
* obj1
= 0 ;
6575 PyObject
* obj2
= 0 ;
6577 (char *) "self",(char *) "item",(char *) "c", NULL
6580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6583 arg2
= (int)SWIG_As_int(obj1
);
6584 if (PyErr_Occurred()) SWIG_fail
;
6587 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6591 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6593 wxPyEndAllowThreads(__tstate
);
6594 if (PyErr_Occurred()) SWIG_fail
;
6596 Py_INCREF(Py_None
); resultobj
= Py_None
;
6603 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6604 PyObject
*resultobj
;
6605 wxListBox
*arg1
= (wxListBox
*) 0 ;
6607 wxColour
*arg3
= 0 ;
6609 PyObject
* obj0
= 0 ;
6610 PyObject
* obj1
= 0 ;
6611 PyObject
* obj2
= 0 ;
6613 (char *) "self",(char *) "item",(char *) "c", NULL
6616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6619 arg2
= (int)SWIG_As_int(obj1
);
6620 if (PyErr_Occurred()) SWIG_fail
;
6623 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6627 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6629 wxPyEndAllowThreads(__tstate
);
6630 if (PyErr_Occurred()) SWIG_fail
;
6632 Py_INCREF(Py_None
); resultobj
= Py_None
;
6639 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6640 PyObject
*resultobj
;
6641 wxListBox
*arg1
= (wxListBox
*) 0 ;
6644 PyObject
* obj0
= 0 ;
6645 PyObject
* obj1
= 0 ;
6646 PyObject
* obj2
= 0 ;
6648 (char *) "self",(char *) "item",(char *) "f", NULL
6651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6654 arg2
= (int)SWIG_As_int(obj1
);
6655 if (PyErr_Occurred()) SWIG_fail
;
6656 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6657 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6660 PyErr_SetString(PyExc_TypeError
,"null reference");
6664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6665 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
6667 wxPyEndAllowThreads(__tstate
);
6668 if (PyErr_Occurred()) SWIG_fail
;
6670 Py_INCREF(Py_None
); resultobj
= Py_None
;
6677 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6678 PyObject
*resultobj
;
6679 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6680 wxVisualAttributes result
;
6681 PyObject
* obj0
= 0 ;
6683 (char *) "variant", NULL
6686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6688 arg1
= (int)SWIG_As_int(obj0
);
6689 if (PyErr_Occurred()) SWIG_fail
;
6692 if (!wxPyCheckForApp()) SWIG_fail
;
6693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6694 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6696 wxPyEndAllowThreads(__tstate
);
6697 if (PyErr_Occurred()) SWIG_fail
;
6700 wxVisualAttributes
* resultptr
;
6701 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6702 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6710 static PyObject
* ListBox_swigregister(PyObject
*, PyObject
*args
) {
6712 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6713 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
6715 return Py_BuildValue((char *)"");
6717 static PyObject
*_wrap_new_CheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6718 PyObject
*resultobj
;
6719 wxWindow
*arg1
= (wxWindow
*) 0 ;
6720 int arg2
= (int) -1 ;
6721 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6722 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6723 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6724 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6725 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
6726 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
6727 long arg6
= (long) 0 ;
6728 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6729 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6730 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
6731 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6732 wxCheckListBox
*result
;
6735 bool temp5
= false ;
6736 bool temp8
= false ;
6737 PyObject
* obj0
= 0 ;
6738 PyObject
* obj1
= 0 ;
6739 PyObject
* obj2
= 0 ;
6740 PyObject
* obj3
= 0 ;
6741 PyObject
* obj4
= 0 ;
6742 PyObject
* obj5
= 0 ;
6743 PyObject
* obj6
= 0 ;
6744 PyObject
* obj7
= 0 ;
6746 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6753 arg2
= (int)SWIG_As_int(obj1
);
6754 if (PyErr_Occurred()) SWIG_fail
;
6759 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6765 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6770 if (! PySequence_Check(obj4
)) {
6771 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6774 arg5
= new wxArrayString
;
6776 int i
, len
=PySequence_Length(obj4
);
6777 for (i
=0; i
<len
; i
++) {
6778 PyObject
* item
= PySequence_GetItem(obj4
, i
);
6780 PyObject
* str
= PyObject_Unicode(item
);
6782 PyObject
* str
= PyObject_Str(item
);
6784 if (PyErr_Occurred()) SWIG_fail
;
6785 arg5
->Add(Py2wxString(str
));
6792 arg6
= (long)SWIG_As_long(obj5
);
6793 if (PyErr_Occurred()) SWIG_fail
;
6796 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
6797 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6800 PyErr_SetString(PyExc_TypeError
,"null reference");
6806 arg8
= wxString_in_helper(obj7
);
6807 if (arg8
== NULL
) SWIG_fail
;
6812 if (!wxPyCheckForApp()) SWIG_fail
;
6813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6814 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6816 wxPyEndAllowThreads(__tstate
);
6817 if (PyErr_Occurred()) SWIG_fail
;
6819 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6821 if (temp5
) delete arg5
;
6830 if (temp5
) delete arg5
;
6840 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6841 PyObject
*resultobj
;
6842 wxCheckListBox
*result
;
6847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
6849 if (!wxPyCheckForApp()) SWIG_fail
;
6850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6851 result
= (wxCheckListBox
*)new wxCheckListBox();
6853 wxPyEndAllowThreads(__tstate
);
6854 if (PyErr_Occurred()) SWIG_fail
;
6856 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6863 static PyObject
*_wrap_CheckListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6864 PyObject
*resultobj
;
6865 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6866 wxWindow
*arg2
= (wxWindow
*) 0 ;
6867 int arg3
= (int) -1 ;
6868 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6869 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6870 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6871 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6872 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
6873 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
6874 long arg7
= (long) 0 ;
6875 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6876 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6877 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
6878 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6882 bool temp6
= false ;
6883 bool temp9
= false ;
6884 PyObject
* obj0
= 0 ;
6885 PyObject
* obj1
= 0 ;
6886 PyObject
* obj2
= 0 ;
6887 PyObject
* obj3
= 0 ;
6888 PyObject
* obj4
= 0 ;
6889 PyObject
* obj5
= 0 ;
6890 PyObject
* obj6
= 0 ;
6891 PyObject
* obj7
= 0 ;
6892 PyObject
* obj8
= 0 ;
6894 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
6898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6900 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6903 arg3
= (int)SWIG_As_int(obj2
);
6904 if (PyErr_Occurred()) SWIG_fail
;
6909 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6915 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6920 if (! PySequence_Check(obj5
)) {
6921 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6924 arg6
= new wxArrayString
;
6926 int i
, len
=PySequence_Length(obj5
);
6927 for (i
=0; i
<len
; i
++) {
6928 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6930 PyObject
* str
= PyObject_Unicode(item
);
6932 PyObject
* str
= PyObject_Str(item
);
6934 if (PyErr_Occurred()) SWIG_fail
;
6935 arg6
->Add(Py2wxString(str
));
6942 arg7
= (long)SWIG_As_long(obj6
);
6943 if (PyErr_Occurred()) SWIG_fail
;
6946 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
6947 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6950 PyErr_SetString(PyExc_TypeError
,"null reference");
6956 arg9
= wxString_in_helper(obj8
);
6957 if (arg9
== NULL
) SWIG_fail
;
6962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6963 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6965 wxPyEndAllowThreads(__tstate
);
6966 if (PyErr_Occurred()) SWIG_fail
;
6969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6972 if (temp6
) delete arg6
;
6981 if (temp6
) delete arg6
;
6991 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6992 PyObject
*resultobj
;
6993 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6996 PyObject
* obj0
= 0 ;
6997 PyObject
* obj1
= 0 ;
6999 (char *) "self",(char *) "index", NULL
7002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
7003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
7004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7005 arg2
= (int)SWIG_As_int(obj1
);
7006 if (PyErr_Occurred()) SWIG_fail
;
7008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7009 result
= (bool)(arg1
)->IsChecked(arg2
);
7011 wxPyEndAllowThreads(__tstate
);
7012 if (PyErr_Occurred()) SWIG_fail
;
7015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7023 static PyObject
*_wrap_CheckListBox_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7024 PyObject
*resultobj
;
7025 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
7027 int arg3
= (int) true ;
7028 PyObject
* obj0
= 0 ;
7029 PyObject
* obj1
= 0 ;
7030 PyObject
* obj2
= 0 ;
7032 (char *) "self",(char *) "index",(char *) "check", NULL
7035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
7037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7038 arg2
= (int)SWIG_As_int(obj1
);
7039 if (PyErr_Occurred()) SWIG_fail
;
7041 arg3
= (int)SWIG_As_int(obj2
);
7042 if (PyErr_Occurred()) SWIG_fail
;
7045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7046 (arg1
)->Check(arg2
,arg3
);
7048 wxPyEndAllowThreads(__tstate
);
7049 if (PyErr_Occurred()) SWIG_fail
;
7051 Py_INCREF(Py_None
); resultobj
= Py_None
;
7058 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7059 PyObject
*resultobj
;
7060 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
7062 PyObject
* obj0
= 0 ;
7064 (char *) "self", NULL
7067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
7068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
7069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7072 result
= (int)(arg1
)->GetItemHeight();
7074 wxPyEndAllowThreads(__tstate
);
7075 if (PyErr_Occurred()) SWIG_fail
;
7077 resultobj
= SWIG_From_int((int)result
);
7084 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7085 PyObject
*resultobj
;
7086 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
7090 PyObject
* obj0
= 0 ;
7091 PyObject
* obj1
= 0 ;
7093 (char *) "self",(char *) "pt", NULL
7096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
7097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
7098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7101 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7105 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
7107 wxPyEndAllowThreads(__tstate
);
7108 if (PyErr_Occurred()) SWIG_fail
;
7110 resultobj
= SWIG_From_int((int)result
);
7117 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7118 PyObject
*resultobj
;
7119 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
7123 PyObject
* obj0
= 0 ;
7124 PyObject
* obj1
= 0 ;
7125 PyObject
* obj2
= 0 ;
7127 (char *) "self",(char *) "x",(char *) "y", NULL
7130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
7132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7133 arg2
= (int)SWIG_As_int(obj1
);
7134 if (PyErr_Occurred()) SWIG_fail
;
7135 arg3
= (int)SWIG_As_int(obj2
);
7136 if (PyErr_Occurred()) SWIG_fail
;
7138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7139 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
7141 wxPyEndAllowThreads(__tstate
);
7142 if (PyErr_Occurred()) SWIG_fail
;
7144 resultobj
= SWIG_From_int((int)result
);
7151 static PyObject
* CheckListBox_swigregister(PyObject
*, PyObject
*args
) {
7153 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7154 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
7156 return Py_BuildValue((char *)"");
7158 static int _wrap_TextCtrlNameStr_set(PyObject
*) {
7159 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
7164 static PyObject
*_wrap_TextCtrlNameStr_get() {
7169 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
7171 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
7178 static PyObject
*_wrap_new_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7179 PyObject
*resultobj
;
7180 wxColour
const &arg1_defvalue
= wxNullColour
;
7181 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
7182 wxColour
const &arg2_defvalue
= wxNullColour
;
7183 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
7184 wxFont
const &arg3_defvalue
= wxNullFont
;
7185 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
7186 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
7190 PyObject
* obj0
= 0 ;
7191 PyObject
* obj1
= 0 ;
7192 PyObject
* obj2
= 0 ;
7193 PyObject
* obj3
= 0 ;
7195 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
7198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7202 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
7208 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7212 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
7213 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7216 PyErr_SetString(PyExc_TypeError
,"null reference");
7221 arg4
= (int)SWIG_As_int(obj3
);
7222 if (PyErr_Occurred()) SWIG_fail
;
7225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7226 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
7228 wxPyEndAllowThreads(__tstate
);
7229 if (PyErr_Occurred()) SWIG_fail
;
7231 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
7238 static PyObject
*_wrap_delete_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7239 PyObject
*resultobj
;
7240 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7241 PyObject
* obj0
= 0 ;
7243 (char *) "self", NULL
7246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
7247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7253 wxPyEndAllowThreads(__tstate
);
7254 if (PyErr_Occurred()) SWIG_fail
;
7256 Py_INCREF(Py_None
); resultobj
= Py_None
;
7263 static PyObject
*_wrap_TextAttr_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7264 PyObject
*resultobj
;
7265 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7266 PyObject
* obj0
= 0 ;
7268 (char *) "self", NULL
7271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
7272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7278 wxPyEndAllowThreads(__tstate
);
7279 if (PyErr_Occurred()) SWIG_fail
;
7281 Py_INCREF(Py_None
); resultobj
= Py_None
;
7288 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7289 PyObject
*resultobj
;
7290 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7291 wxColour
*arg2
= 0 ;
7293 PyObject
* obj0
= 0 ;
7294 PyObject
* obj1
= 0 ;
7296 (char *) "self",(char *) "colText", NULL
7299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7304 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7308 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
7310 wxPyEndAllowThreads(__tstate
);
7311 if (PyErr_Occurred()) SWIG_fail
;
7313 Py_INCREF(Py_None
); resultobj
= Py_None
;
7320 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7321 PyObject
*resultobj
;
7322 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7323 wxColour
*arg2
= 0 ;
7325 PyObject
* obj0
= 0 ;
7326 PyObject
* obj1
= 0 ;
7328 (char *) "self",(char *) "colBack", NULL
7331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7336 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7340 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
7342 wxPyEndAllowThreads(__tstate
);
7343 if (PyErr_Occurred()) SWIG_fail
;
7345 Py_INCREF(Py_None
); resultobj
= Py_None
;
7352 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7353 PyObject
*resultobj
;
7354 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7356 long arg3
= (long) wxTEXT_ATTR_FONT
;
7357 PyObject
* obj0
= 0 ;
7358 PyObject
* obj1
= 0 ;
7359 PyObject
* obj2
= 0 ;
7361 (char *) "self",(char *) "font",(char *) "flags", NULL
7364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7367 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7368 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7371 PyErr_SetString(PyExc_TypeError
,"null reference");
7375 arg3
= (long)SWIG_As_long(obj2
);
7376 if (PyErr_Occurred()) SWIG_fail
;
7379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7380 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
7382 wxPyEndAllowThreads(__tstate
);
7383 if (PyErr_Occurred()) SWIG_fail
;
7385 Py_INCREF(Py_None
); resultobj
= Py_None
;
7392 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7393 PyObject
*resultobj
;
7394 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7396 PyObject
* obj0
= 0 ;
7397 PyObject
* obj1
= 0 ;
7399 (char *) "self",(char *) "alignment", NULL
7402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7405 arg2
= (int)SWIG_As_int(obj1
);
7406 if (PyErr_Occurred()) SWIG_fail
;
7408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7409 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
7411 wxPyEndAllowThreads(__tstate
);
7412 if (PyErr_Occurred()) SWIG_fail
;
7414 Py_INCREF(Py_None
); resultobj
= Py_None
;
7421 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7422 PyObject
*resultobj
;
7423 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7424 wxArrayInt
*arg2
= 0 ;
7425 bool temp2
= false ;
7426 PyObject
* obj0
= 0 ;
7427 PyObject
* obj1
= 0 ;
7429 (char *) "self",(char *) "tabs", NULL
7432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
7433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7436 if (! PySequence_Check(obj1
)) {
7437 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
7440 arg2
= new wxArrayInt
;
7442 int i
, len
=PySequence_Length(obj1
);
7443 for (i
=0; i
<len
; i
++) {
7444 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7445 PyObject
* number
= PyNumber_Int(item
);
7446 arg2
->Add(PyInt_AS_LONG(number
));
7452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7453 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
7455 wxPyEndAllowThreads(__tstate
);
7456 if (PyErr_Occurred()) SWIG_fail
;
7458 Py_INCREF(Py_None
); resultobj
= Py_None
;
7460 if (temp2
) delete arg2
;
7465 if (temp2
) delete arg2
;
7471 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7472 PyObject
*resultobj
;
7473 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7475 int arg3
= (int) 0 ;
7476 PyObject
* obj0
= 0 ;
7477 PyObject
* obj1
= 0 ;
7478 PyObject
* obj2
= 0 ;
7480 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
7483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7486 arg2
= (int)SWIG_As_int(obj1
);
7487 if (PyErr_Occurred()) SWIG_fail
;
7489 arg3
= (int)SWIG_As_int(obj2
);
7490 if (PyErr_Occurred()) SWIG_fail
;
7493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7494 (arg1
)->SetLeftIndent(arg2
,arg3
);
7496 wxPyEndAllowThreads(__tstate
);
7497 if (PyErr_Occurred()) SWIG_fail
;
7499 Py_INCREF(Py_None
); resultobj
= Py_None
;
7506 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7507 PyObject
*resultobj
;
7508 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7510 PyObject
* obj0
= 0 ;
7511 PyObject
* obj1
= 0 ;
7513 (char *) "self",(char *) "indent", NULL
7516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
7517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7519 arg2
= (int)SWIG_As_int(obj1
);
7520 if (PyErr_Occurred()) SWIG_fail
;
7522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7523 (arg1
)->SetRightIndent(arg2
);
7525 wxPyEndAllowThreads(__tstate
);
7526 if (PyErr_Occurred()) SWIG_fail
;
7528 Py_INCREF(Py_None
); resultobj
= Py_None
;
7535 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7536 PyObject
*resultobj
;
7537 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7539 PyObject
* obj0
= 0 ;
7540 PyObject
* obj1
= 0 ;
7542 (char *) "self",(char *) "flags", NULL
7545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7548 arg2
= (long)SWIG_As_long(obj1
);
7549 if (PyErr_Occurred()) SWIG_fail
;
7551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7552 (arg1
)->SetFlags(arg2
);
7554 wxPyEndAllowThreads(__tstate
);
7555 if (PyErr_Occurred()) SWIG_fail
;
7557 Py_INCREF(Py_None
); resultobj
= Py_None
;
7564 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7565 PyObject
*resultobj
;
7566 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7568 PyObject
* obj0
= 0 ;
7570 (char *) "self", NULL
7573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
7574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7578 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
7580 wxPyEndAllowThreads(__tstate
);
7581 if (PyErr_Occurred()) SWIG_fail
;
7584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7592 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7593 PyObject
*resultobj
;
7594 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7596 PyObject
* obj0
= 0 ;
7598 (char *) "self", NULL
7601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
7602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7606 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
7608 wxPyEndAllowThreads(__tstate
);
7609 if (PyErr_Occurred()) SWIG_fail
;
7612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7620 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7621 PyObject
*resultobj
;
7622 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7624 PyObject
* obj0
= 0 ;
7626 (char *) "self", NULL
7629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
7630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7634 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
7636 wxPyEndAllowThreads(__tstate
);
7637 if (PyErr_Occurred()) SWIG_fail
;
7640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7648 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7649 PyObject
*resultobj
;
7650 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7652 PyObject
* obj0
= 0 ;
7654 (char *) "self", NULL
7657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
7658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7662 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
7664 wxPyEndAllowThreads(__tstate
);
7665 if (PyErr_Occurred()) SWIG_fail
;
7668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7676 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7677 PyObject
*resultobj
;
7678 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7680 PyObject
* obj0
= 0 ;
7682 (char *) "self", NULL
7685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
7686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7690 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
7692 wxPyEndAllowThreads(__tstate
);
7693 if (PyErr_Occurred()) SWIG_fail
;
7696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7704 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7705 PyObject
*resultobj
;
7706 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7708 PyObject
* obj0
= 0 ;
7710 (char *) "self", NULL
7713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
7714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7718 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
7720 wxPyEndAllowThreads(__tstate
);
7721 if (PyErr_Occurred()) SWIG_fail
;
7724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7732 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7733 PyObject
*resultobj
;
7734 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7736 PyObject
* obj0
= 0 ;
7738 (char *) "self", NULL
7741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
7742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7746 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
7748 wxPyEndAllowThreads(__tstate
);
7749 if (PyErr_Occurred()) SWIG_fail
;
7752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7760 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7761 PyObject
*resultobj
;
7762 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7765 PyObject
* obj0
= 0 ;
7766 PyObject
* obj1
= 0 ;
7768 (char *) "self",(char *) "flag", NULL
7771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
7772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7774 arg2
= (long)SWIG_As_long(obj1
);
7775 if (PyErr_Occurred()) SWIG_fail
;
7777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7778 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
7780 wxPyEndAllowThreads(__tstate
);
7781 if (PyErr_Occurred()) SWIG_fail
;
7784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7792 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7793 PyObject
*resultobj
;
7794 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7796 PyObject
* obj0
= 0 ;
7798 (char *) "self", NULL
7801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
7802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7807 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
7808 result
= (wxColour
*) &_result_ref
;
7811 wxPyEndAllowThreads(__tstate
);
7812 if (PyErr_Occurred()) SWIG_fail
;
7814 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7821 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7822 PyObject
*resultobj
;
7823 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7825 PyObject
* obj0
= 0 ;
7827 (char *) "self", NULL
7830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
7831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7836 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
7837 result
= (wxColour
*) &_result_ref
;
7840 wxPyEndAllowThreads(__tstate
);
7841 if (PyErr_Occurred()) SWIG_fail
;
7843 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7850 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7851 PyObject
*resultobj
;
7852 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7854 PyObject
* obj0
= 0 ;
7856 (char *) "self", NULL
7859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
7860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7865 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7866 result
= (wxFont
*) &_result_ref
;
7869 wxPyEndAllowThreads(__tstate
);
7870 if (PyErr_Occurred()) SWIG_fail
;
7873 wxFont
* resultptr
= new wxFont(*result
);
7874 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
7882 static PyObject
*_wrap_TextAttr_GetAlignment(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_GetAlignment",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
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7898 wxPyEndAllowThreads(__tstate
);
7899 if (PyErr_Occurred()) SWIG_fail
;
7901 resultobj
= SWIG_From_int((int)result
);
7908 static PyObject
*_wrap_TextAttr_GetTabs(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_GetTabs",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();
7923 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7924 result
= (wxArrayInt
*) &_result_ref
;
7927 wxPyEndAllowThreads(__tstate
);
7928 if (PyErr_Occurred()) SWIG_fail
;
7931 resultobj
= PyList_New(0);
7933 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7934 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7935 PyList_Append(resultobj
, val
);
7945 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7946 PyObject
*resultobj
;
7947 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7949 PyObject
* obj0
= 0 ;
7951 (char *) "self", NULL
7954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7959 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7961 wxPyEndAllowThreads(__tstate
);
7962 if (PyErr_Occurred()) SWIG_fail
;
7964 resultobj
= SWIG_From_long((long)result
);
7971 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7972 PyObject
*resultobj
;
7973 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7975 PyObject
* obj0
= 0 ;
7977 (char *) "self", NULL
7980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftSubIndent",kwnames
,&obj0
)) goto fail
;
7981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7985 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
7987 wxPyEndAllowThreads(__tstate
);
7988 if (PyErr_Occurred()) SWIG_fail
;
7990 resultobj
= SWIG_From_long((long)result
);
7997 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7998 PyObject
*resultobj
;
7999 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8001 PyObject
* obj0
= 0 ;
8003 (char *) "self", NULL
8006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
8007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
8008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8011 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
8013 wxPyEndAllowThreads(__tstate
);
8014 if (PyErr_Occurred()) SWIG_fail
;
8016 resultobj
= SWIG_From_long((long)result
);
8023 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8024 PyObject
*resultobj
;
8025 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8027 PyObject
* obj0
= 0 ;
8029 (char *) "self", NULL
8032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
8033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
8034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8037 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
8039 wxPyEndAllowThreads(__tstate
);
8040 if (PyErr_Occurred()) SWIG_fail
;
8042 resultobj
= SWIG_From_long((long)result
);
8049 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8050 PyObject
*resultobj
;
8051 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8053 PyObject
* obj0
= 0 ;
8055 (char *) "self", NULL
8058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
8059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
8060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8063 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
8065 wxPyEndAllowThreads(__tstate
);
8066 if (PyErr_Occurred()) SWIG_fail
;
8069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8077 static PyObject
*_wrap_TextAttr_Combine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8078 PyObject
*resultobj
;
8079 wxTextAttr
*arg1
= 0 ;
8080 wxTextAttr
*arg2
= 0 ;
8081 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
8083 PyObject
* obj0
= 0 ;
8084 PyObject
* obj1
= 0 ;
8085 PyObject
* obj2
= 0 ;
8087 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
8090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
8092 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8095 PyErr_SetString(PyExc_TypeError
,"null reference");
8098 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
8099 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8102 PyErr_SetString(PyExc_TypeError
,"null reference");
8105 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextCtrl
,
8106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8109 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
8111 wxPyEndAllowThreads(__tstate
);
8112 if (PyErr_Occurred()) SWIG_fail
;
8115 wxTextAttr
* resultptr
;
8116 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
8117 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
8125 static PyObject
* TextAttr_swigregister(PyObject
*, PyObject
*args
) {
8127 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8128 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
8130 return Py_BuildValue((char *)"");
8132 static PyObject
*_wrap_new_TextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8133 PyObject
*resultobj
;
8134 wxWindow
*arg1
= (wxWindow
*) 0 ;
8135 int arg2
= (int) -1 ;
8136 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8137 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8138 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8139 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8140 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8141 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8142 long arg6
= (long) 0 ;
8143 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8144 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8145 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
8146 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8148 bool temp3
= false ;
8151 bool temp8
= false ;
8152 PyObject
* obj0
= 0 ;
8153 PyObject
* obj1
= 0 ;
8154 PyObject
* obj2
= 0 ;
8155 PyObject
* obj3
= 0 ;
8156 PyObject
* obj4
= 0 ;
8157 PyObject
* obj5
= 0 ;
8158 PyObject
* obj6
= 0 ;
8159 PyObject
* obj7
= 0 ;
8161 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
8165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8168 arg2
= (int)SWIG_As_int(obj1
);
8169 if (PyErr_Occurred()) SWIG_fail
;
8173 arg3
= wxString_in_helper(obj2
);
8174 if (arg3
== NULL
) SWIG_fail
;
8181 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8187 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8191 arg6
= (long)SWIG_As_long(obj5
);
8192 if (PyErr_Occurred()) SWIG_fail
;
8195 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
8196 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8199 PyErr_SetString(PyExc_TypeError
,"null reference");
8205 arg8
= wxString_in_helper(obj7
);
8206 if (arg8
== NULL
) SWIG_fail
;
8211 if (!wxPyCheckForApp()) SWIG_fail
;
8212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8213 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8215 wxPyEndAllowThreads(__tstate
);
8216 if (PyErr_Occurred()) SWIG_fail
;
8218 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
8241 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8242 PyObject
*resultobj
;
8248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
8250 if (!wxPyCheckForApp()) SWIG_fail
;
8251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8252 result
= (wxTextCtrl
*)new wxTextCtrl();
8254 wxPyEndAllowThreads(__tstate
);
8255 if (PyErr_Occurred()) SWIG_fail
;
8257 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
8264 static PyObject
*_wrap_TextCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8265 PyObject
*resultobj
;
8266 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8267 wxWindow
*arg2
= (wxWindow
*) 0 ;
8268 int arg3
= (int) -1 ;
8269 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8270 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8271 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8272 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8273 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8274 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8275 long arg7
= (long) 0 ;
8276 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8277 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8278 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
8279 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8281 bool temp4
= false ;
8284 bool temp9
= false ;
8285 PyObject
* obj0
= 0 ;
8286 PyObject
* obj1
= 0 ;
8287 PyObject
* obj2
= 0 ;
8288 PyObject
* obj3
= 0 ;
8289 PyObject
* obj4
= 0 ;
8290 PyObject
* obj5
= 0 ;
8291 PyObject
* obj6
= 0 ;
8292 PyObject
* obj7
= 0 ;
8293 PyObject
* obj8
= 0 ;
8295 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8301 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8304 arg3
= (int)SWIG_As_int(obj2
);
8305 if (PyErr_Occurred()) SWIG_fail
;
8309 arg4
= wxString_in_helper(obj3
);
8310 if (arg4
== NULL
) SWIG_fail
;
8317 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8323 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8327 arg7
= (long)SWIG_As_long(obj6
);
8328 if (PyErr_Occurred()) SWIG_fail
;
8331 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
8332 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8335 PyErr_SetString(PyExc_TypeError
,"null reference");
8341 arg9
= wxString_in_helper(obj8
);
8342 if (arg9
== NULL
) SWIG_fail
;
8347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8348 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8350 wxPyEndAllowThreads(__tstate
);
8351 if (PyErr_Occurred()) SWIG_fail
;
8354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8378 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8379 PyObject
*resultobj
;
8380 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8382 PyObject
* obj0
= 0 ;
8384 (char *) "self", NULL
8387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
8388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8392 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
8394 wxPyEndAllowThreads(__tstate
);
8395 if (PyErr_Occurred()) SWIG_fail
;
8399 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8401 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8410 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8411 PyObject
*resultobj
;
8412 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8413 wxString
*arg2
= 0 ;
8414 bool temp2
= false ;
8415 PyObject
* obj0
= 0 ;
8416 PyObject
* obj1
= 0 ;
8418 (char *) "self",(char *) "value", NULL
8421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
8422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8425 arg2
= wxString_in_helper(obj1
);
8426 if (arg2
== NULL
) SWIG_fail
;
8430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8431 (arg1
)->SetValue((wxString
const &)*arg2
);
8433 wxPyEndAllowThreads(__tstate
);
8434 if (PyErr_Occurred()) SWIG_fail
;
8436 Py_INCREF(Py_None
); resultobj
= Py_None
;
8451 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8452 PyObject
*resultobj
;
8453 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8457 PyObject
* obj0
= 0 ;
8458 PyObject
* obj1
= 0 ;
8459 PyObject
* obj2
= 0 ;
8461 (char *) "self",(char *) "from",(char *) "to", NULL
8464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8467 arg2
= (long)SWIG_As_long(obj1
);
8468 if (PyErr_Occurred()) SWIG_fail
;
8469 arg3
= (long)SWIG_As_long(obj2
);
8470 if (PyErr_Occurred()) SWIG_fail
;
8472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8473 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
8475 wxPyEndAllowThreads(__tstate
);
8476 if (PyErr_Occurred()) SWIG_fail
;
8480 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8482 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8491 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8492 PyObject
*resultobj
;
8493 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8496 PyObject
* obj0
= 0 ;
8497 PyObject
* obj1
= 0 ;
8499 (char *) "self",(char *) "lineNo", NULL
8502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8505 arg2
= (long)SWIG_As_long(obj1
);
8506 if (PyErr_Occurred()) SWIG_fail
;
8508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8509 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
8511 wxPyEndAllowThreads(__tstate
);
8512 if (PyErr_Occurred()) SWIG_fail
;
8514 resultobj
= SWIG_From_int((int)result
);
8521 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8522 PyObject
*resultobj
;
8523 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8526 PyObject
* obj0
= 0 ;
8527 PyObject
* obj1
= 0 ;
8529 (char *) "self",(char *) "lineNo", NULL
8532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
8533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8535 arg2
= (long)SWIG_As_long(obj1
);
8536 if (PyErr_Occurred()) SWIG_fail
;
8538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8539 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
8541 wxPyEndAllowThreads(__tstate
);
8542 if (PyErr_Occurred()) SWIG_fail
;
8546 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8548 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8557 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8558 PyObject
*resultobj
;
8559 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8561 PyObject
* obj0
= 0 ;
8563 (char *) "self", NULL
8566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
8567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8571 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
8573 wxPyEndAllowThreads(__tstate
);
8574 if (PyErr_Occurred()) SWIG_fail
;
8576 resultobj
= SWIG_From_int((int)result
);
8583 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8584 PyObject
*resultobj
;
8585 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8587 PyObject
* obj0
= 0 ;
8589 (char *) "self", NULL
8592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
8593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8597 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
8599 wxPyEndAllowThreads(__tstate
);
8600 if (PyErr_Occurred()) SWIG_fail
;
8603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8611 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8612 PyObject
*resultobj
;
8613 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8615 PyObject
* obj0
= 0 ;
8617 (char *) "self", NULL
8620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
8621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8625 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
8627 wxPyEndAllowThreads(__tstate
);
8628 if (PyErr_Occurred()) SWIG_fail
;
8631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8639 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8640 PyObject
*resultobj
;
8641 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8643 PyObject
* obj0
= 0 ;
8645 (char *) "self", NULL
8648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",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 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
8655 wxPyEndAllowThreads(__tstate
);
8656 if (PyErr_Occurred()) SWIG_fail
;
8659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8667 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8668 PyObject
*resultobj
;
8669 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8671 PyObject
* obj0
= 0 ;
8673 (char *) "self", NULL
8676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
8677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8681 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
8683 wxPyEndAllowThreads(__tstate
);
8684 if (PyErr_Occurred()) SWIG_fail
;
8687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8695 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8696 PyObject
*resultobj
;
8697 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8698 long *arg2
= (long *) 0 ;
8699 long *arg3
= (long *) 0 ;
8704 PyObject
* obj0
= 0 ;
8706 (char *) "self", NULL
8709 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
8710 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
8711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
8712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8716 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
8718 wxPyEndAllowThreads(__tstate
);
8719 if (PyErr_Occurred()) SWIG_fail
;
8721 Py_INCREF(Py_None
); resultobj
= Py_None
;
8722 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
8723 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
8724 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
8725 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
8732 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8733 PyObject
*resultobj
;
8734 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8736 PyObject
* obj0
= 0 ;
8738 (char *) "self", NULL
8741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
8742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8746 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
8748 wxPyEndAllowThreads(__tstate
);
8749 if (PyErr_Occurred()) SWIG_fail
;
8753 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8755 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8764 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8765 PyObject
*resultobj
;
8766 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8767 PyObject
* obj0
= 0 ;
8769 (char *) "self", NULL
8772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
8773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8779 wxPyEndAllowThreads(__tstate
);
8780 if (PyErr_Occurred()) SWIG_fail
;
8782 Py_INCREF(Py_None
); resultobj
= Py_None
;
8789 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8790 PyObject
*resultobj
;
8791 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8794 wxString
*arg4
= 0 ;
8795 bool temp4
= false ;
8796 PyObject
* obj0
= 0 ;
8797 PyObject
* obj1
= 0 ;
8798 PyObject
* obj2
= 0 ;
8799 PyObject
* obj3
= 0 ;
8801 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8807 arg2
= (long)SWIG_As_long(obj1
);
8808 if (PyErr_Occurred()) SWIG_fail
;
8809 arg3
= (long)SWIG_As_long(obj2
);
8810 if (PyErr_Occurred()) SWIG_fail
;
8812 arg4
= wxString_in_helper(obj3
);
8813 if (arg4
== NULL
) SWIG_fail
;
8817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8818 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
8820 wxPyEndAllowThreads(__tstate
);
8821 if (PyErr_Occurred()) SWIG_fail
;
8823 Py_INCREF(Py_None
); resultobj
= Py_None
;
8838 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8839 PyObject
*resultobj
;
8840 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8843 PyObject
* obj0
= 0 ;
8844 PyObject
* obj1
= 0 ;
8845 PyObject
* obj2
= 0 ;
8847 (char *) "self",(char *) "from",(char *) "to", NULL
8850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8853 arg2
= (long)SWIG_As_long(obj1
);
8854 if (PyErr_Occurred()) SWIG_fail
;
8855 arg3
= (long)SWIG_As_long(obj2
);
8856 if (PyErr_Occurred()) SWIG_fail
;
8858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8859 (arg1
)->Remove(arg2
,arg3
);
8861 wxPyEndAllowThreads(__tstate
);
8862 if (PyErr_Occurred()) SWIG_fail
;
8864 Py_INCREF(Py_None
); resultobj
= Py_None
;
8871 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8872 PyObject
*resultobj
;
8873 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8874 wxString
*arg2
= 0 ;
8876 bool temp2
= false ;
8877 PyObject
* obj0
= 0 ;
8878 PyObject
* obj1
= 0 ;
8880 (char *) "self",(char *) "file", NULL
8883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8887 arg2
= wxString_in_helper(obj1
);
8888 if (arg2
== NULL
) SWIG_fail
;
8892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8893 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
8895 wxPyEndAllowThreads(__tstate
);
8896 if (PyErr_Occurred()) SWIG_fail
;
8899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8915 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8916 PyObject
*resultobj
;
8917 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8918 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8919 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8921 bool temp2
= false ;
8922 PyObject
* obj0
= 0 ;
8923 PyObject
* obj1
= 0 ;
8925 (char *) "self",(char *) "file", NULL
8928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8933 arg2
= wxString_in_helper(obj1
);
8934 if (arg2
== NULL
) SWIG_fail
;
8939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8940 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8942 wxPyEndAllowThreads(__tstate
);
8943 if (PyErr_Occurred()) SWIG_fail
;
8946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8962 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8963 PyObject
*resultobj
;
8964 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8965 PyObject
* obj0
= 0 ;
8967 (char *) "self", NULL
8970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8975 (arg1
)->MarkDirty();
8977 wxPyEndAllowThreads(__tstate
);
8978 if (PyErr_Occurred()) SWIG_fail
;
8980 Py_INCREF(Py_None
); resultobj
= Py_None
;
8987 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8988 PyObject
*resultobj
;
8989 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8990 PyObject
* obj0
= 0 ;
8992 (char *) "self", NULL
8995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9000 (arg1
)->DiscardEdits();
9002 wxPyEndAllowThreads(__tstate
);
9003 if (PyErr_Occurred()) SWIG_fail
;
9005 Py_INCREF(Py_None
); resultobj
= Py_None
;
9012 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9013 PyObject
*resultobj
;
9014 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9015 unsigned long arg2
;
9016 PyObject
* obj0
= 0 ;
9017 PyObject
* obj1
= 0 ;
9019 (char *) "self",(char *) "len", NULL
9022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
9023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9025 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
9026 if (PyErr_Occurred()) SWIG_fail
;
9028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9029 (arg1
)->SetMaxLength(arg2
);
9031 wxPyEndAllowThreads(__tstate
);
9032 if (PyErr_Occurred()) SWIG_fail
;
9034 Py_INCREF(Py_None
); resultobj
= Py_None
;
9041 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9042 PyObject
*resultobj
;
9043 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9044 wxString
*arg2
= 0 ;
9045 bool temp2
= false ;
9046 PyObject
* obj0
= 0 ;
9047 PyObject
* obj1
= 0 ;
9049 (char *) "self",(char *) "text", NULL
9052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
9053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9056 arg2
= wxString_in_helper(obj1
);
9057 if (arg2
== NULL
) SWIG_fail
;
9061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9062 (arg1
)->WriteText((wxString
const &)*arg2
);
9064 wxPyEndAllowThreads(__tstate
);
9065 if (PyErr_Occurred()) SWIG_fail
;
9067 Py_INCREF(Py_None
); resultobj
= Py_None
;
9082 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9083 PyObject
*resultobj
;
9084 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9085 wxString
*arg2
= 0 ;
9086 bool temp2
= false ;
9087 PyObject
* obj0
= 0 ;
9088 PyObject
* obj1
= 0 ;
9090 (char *) "self",(char *) "text", NULL
9093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
9094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9097 arg2
= wxString_in_helper(obj1
);
9098 if (arg2
== NULL
) SWIG_fail
;
9102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9103 (arg1
)->AppendText((wxString
const &)*arg2
);
9105 wxPyEndAllowThreads(__tstate
);
9106 if (PyErr_Occurred()) SWIG_fail
;
9108 Py_INCREF(Py_None
); resultobj
= Py_None
;
9123 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9124 PyObject
*resultobj
;
9125 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9126 wxKeyEvent
*arg2
= 0 ;
9128 PyObject
* obj0
= 0 ;
9129 PyObject
* obj1
= 0 ;
9131 (char *) "self",(char *) "event", NULL
9134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
9135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9137 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
9138 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9141 PyErr_SetString(PyExc_TypeError
,"null reference");
9145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9146 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
9148 wxPyEndAllowThreads(__tstate
);
9149 if (PyErr_Occurred()) SWIG_fail
;
9152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9160 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9161 PyObject
*resultobj
;
9162 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9165 wxTextAttr
*arg4
= 0 ;
9167 PyObject
* obj0
= 0 ;
9168 PyObject
* obj1
= 0 ;
9169 PyObject
* obj2
= 0 ;
9170 PyObject
* obj3
= 0 ;
9172 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
9175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9178 arg2
= (long)SWIG_As_long(obj1
);
9179 if (PyErr_Occurred()) SWIG_fail
;
9180 arg3
= (long)SWIG_As_long(obj2
);
9181 if (PyErr_Occurred()) SWIG_fail
;
9182 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxTextAttr
,
9183 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9186 PyErr_SetString(PyExc_TypeError
,"null reference");
9190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9191 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
9193 wxPyEndAllowThreads(__tstate
);
9194 if (PyErr_Occurred()) SWIG_fail
;
9197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9205 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9206 PyObject
*resultobj
;
9207 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9209 wxTextAttr
*arg3
= 0 ;
9211 PyObject
* obj0
= 0 ;
9212 PyObject
* obj1
= 0 ;
9213 PyObject
* obj2
= 0 ;
9215 (char *) "self",(char *) "position",(char *) "style", NULL
9218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9221 arg2
= (long)SWIG_As_long(obj1
);
9222 if (PyErr_Occurred()) SWIG_fail
;
9223 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextAttr
,
9224 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9227 PyErr_SetString(PyExc_TypeError
,"null reference");
9231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9232 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
9234 wxPyEndAllowThreads(__tstate
);
9235 if (PyErr_Occurred()) SWIG_fail
;
9238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9246 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9247 PyObject
*resultobj
;
9248 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9249 wxTextAttr
*arg2
= 0 ;
9251 PyObject
* obj0
= 0 ;
9252 PyObject
* obj1
= 0 ;
9254 (char *) "self",(char *) "style", NULL
9257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
9258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9260 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
9261 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9264 PyErr_SetString(PyExc_TypeError
,"null reference");
9268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9269 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
9271 wxPyEndAllowThreads(__tstate
);
9272 if (PyErr_Occurred()) SWIG_fail
;
9275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9283 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9284 PyObject
*resultobj
;
9285 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9287 PyObject
* obj0
= 0 ;
9289 (char *) "self", NULL
9292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
9293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9298 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
9299 result
= (wxTextAttr
*) &_result_ref
;
9302 wxPyEndAllowThreads(__tstate
);
9303 if (PyErr_Occurred()) SWIG_fail
;
9305 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
9312 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9313 PyObject
*resultobj
;
9314 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9318 PyObject
* obj0
= 0 ;
9319 PyObject
* obj1
= 0 ;
9320 PyObject
* obj2
= 0 ;
9322 (char *) "self",(char *) "x",(char *) "y", NULL
9325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9328 arg2
= (long)SWIG_As_long(obj1
);
9329 if (PyErr_Occurred()) SWIG_fail
;
9330 arg3
= (long)SWIG_As_long(obj2
);
9331 if (PyErr_Occurred()) SWIG_fail
;
9333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9334 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
9336 wxPyEndAllowThreads(__tstate
);
9337 if (PyErr_Occurred()) SWIG_fail
;
9339 resultobj
= SWIG_From_long((long)result
);
9346 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9347 PyObject
*resultobj
;
9348 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9350 long *arg3
= (long *) 0 ;
9351 long *arg4
= (long *) 0 ;
9356 PyObject
* obj0
= 0 ;
9357 PyObject
* obj1
= 0 ;
9359 (char *) "self",(char *) "pos", NULL
9362 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
9363 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
9364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
9365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9367 arg2
= (long)SWIG_As_long(obj1
);
9368 if (PyErr_Occurred()) SWIG_fail
;
9370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9371 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
9373 wxPyEndAllowThreads(__tstate
);
9374 if (PyErr_Occurred()) SWIG_fail
;
9376 Py_INCREF(Py_None
); resultobj
= Py_None
;
9377 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
9378 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
9379 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
9380 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
9387 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9388 PyObject
*resultobj
;
9389 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9391 PyObject
* obj0
= 0 ;
9392 PyObject
* obj1
= 0 ;
9394 (char *) "self",(char *) "pos", NULL
9397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9400 arg2
= (long)SWIG_As_long(obj1
);
9401 if (PyErr_Occurred()) SWIG_fail
;
9403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9404 (arg1
)->ShowPosition(arg2
);
9406 wxPyEndAllowThreads(__tstate
);
9407 if (PyErr_Occurred()) SWIG_fail
;
9409 Py_INCREF(Py_None
); resultobj
= Py_None
;
9416 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9417 PyObject
*resultobj
;
9418 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9420 long *arg3
= (long *) 0 ;
9421 long *arg4
= (long *) 0 ;
9428 PyObject
* obj0
= 0 ;
9429 PyObject
* obj1
= 0 ;
9431 (char *) "self",(char *) "pt", NULL
9434 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
9435 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
9436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9441 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9445 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
9447 wxPyEndAllowThreads(__tstate
);
9448 if (PyErr_Occurred()) SWIG_fail
;
9450 resultobj
= SWIG_From_int((int)result
);
9451 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
9452 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
9453 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
9454 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
9461 static PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9462 PyObject
*resultobj
;
9463 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9465 long *arg3
= (long *) 0 ;
9470 PyObject
* obj0
= 0 ;
9471 PyObject
* obj1
= 0 ;
9473 (char *) "self",(char *) "pt", NULL
9476 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
9477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) goto fail
;
9478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9482 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9486 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
9488 wxPyEndAllowThreads(__tstate
);
9489 if (PyErr_Occurred()) SWIG_fail
;
9491 resultobj
= SWIG_From_int((int)result
);
9492 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
9493 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
9500 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9501 PyObject
*resultobj
;
9502 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9503 PyObject
* obj0
= 0 ;
9505 (char *) "self", NULL
9508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
9509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9515 wxPyEndAllowThreads(__tstate
);
9516 if (PyErr_Occurred()) SWIG_fail
;
9518 Py_INCREF(Py_None
); resultobj
= Py_None
;
9525 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9526 PyObject
*resultobj
;
9527 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9528 PyObject
* obj0
= 0 ;
9530 (char *) "self", NULL
9533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
9534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9540 wxPyEndAllowThreads(__tstate
);
9541 if (PyErr_Occurred()) SWIG_fail
;
9543 Py_INCREF(Py_None
); resultobj
= Py_None
;
9550 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9551 PyObject
*resultobj
;
9552 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9553 PyObject
* obj0
= 0 ;
9555 (char *) "self", NULL
9558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
9559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9565 wxPyEndAllowThreads(__tstate
);
9566 if (PyErr_Occurred()) SWIG_fail
;
9568 Py_INCREF(Py_None
); resultobj
= Py_None
;
9575 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9576 PyObject
*resultobj
;
9577 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9579 PyObject
* obj0
= 0 ;
9581 (char *) "self", NULL
9584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
9585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9589 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
9591 wxPyEndAllowThreads(__tstate
);
9592 if (PyErr_Occurred()) SWIG_fail
;
9595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9603 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9604 PyObject
*resultobj
;
9605 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9607 PyObject
* obj0
= 0 ;
9609 (char *) "self", NULL
9612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
9613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9617 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
9619 wxPyEndAllowThreads(__tstate
);
9620 if (PyErr_Occurred()) SWIG_fail
;
9623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9631 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9632 PyObject
*resultobj
;
9633 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9635 PyObject
* obj0
= 0 ;
9637 (char *) "self", NULL
9640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
9641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9645 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
9647 wxPyEndAllowThreads(__tstate
);
9648 if (PyErr_Occurred()) SWIG_fail
;
9651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9659 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9660 PyObject
*resultobj
;
9661 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9662 PyObject
* obj0
= 0 ;
9664 (char *) "self", NULL
9667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
9668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9674 wxPyEndAllowThreads(__tstate
);
9675 if (PyErr_Occurred()) SWIG_fail
;
9677 Py_INCREF(Py_None
); resultobj
= Py_None
;
9684 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9685 PyObject
*resultobj
;
9686 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9687 PyObject
* obj0
= 0 ;
9689 (char *) "self", NULL
9692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
9693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9699 wxPyEndAllowThreads(__tstate
);
9700 if (PyErr_Occurred()) SWIG_fail
;
9702 Py_INCREF(Py_None
); resultobj
= Py_None
;
9709 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9710 PyObject
*resultobj
;
9711 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9713 PyObject
* obj0
= 0 ;
9715 (char *) "self", NULL
9718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
9719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9723 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
9725 wxPyEndAllowThreads(__tstate
);
9726 if (PyErr_Occurred()) SWIG_fail
;
9729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9737 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9738 PyObject
*resultobj
;
9739 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9741 PyObject
* obj0
= 0 ;
9743 (char *) "self", NULL
9746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
9747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9751 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
9753 wxPyEndAllowThreads(__tstate
);
9754 if (PyErr_Occurred()) SWIG_fail
;
9757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9765 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9766 PyObject
*resultobj
;
9767 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9769 PyObject
* obj0
= 0 ;
9770 PyObject
* obj1
= 0 ;
9772 (char *) "self",(char *) "pos", NULL
9775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
9776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9778 arg2
= (long)SWIG_As_long(obj1
);
9779 if (PyErr_Occurred()) SWIG_fail
;
9781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9782 (arg1
)->SetInsertionPoint(arg2
);
9784 wxPyEndAllowThreads(__tstate
);
9785 if (PyErr_Occurred()) SWIG_fail
;
9787 Py_INCREF(Py_None
); resultobj
= Py_None
;
9794 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9795 PyObject
*resultobj
;
9796 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9797 PyObject
* obj0
= 0 ;
9799 (char *) "self", NULL
9802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
9803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9807 (arg1
)->SetInsertionPointEnd();
9809 wxPyEndAllowThreads(__tstate
);
9810 if (PyErr_Occurred()) SWIG_fail
;
9812 Py_INCREF(Py_None
); resultobj
= Py_None
;
9819 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9820 PyObject
*resultobj
;
9821 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9823 PyObject
* obj0
= 0 ;
9825 (char *) "self", NULL
9828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
9829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9833 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
9835 wxPyEndAllowThreads(__tstate
);
9836 if (PyErr_Occurred()) SWIG_fail
;
9838 resultobj
= SWIG_From_long((long)result
);
9845 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9846 PyObject
*resultobj
;
9847 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9849 PyObject
* obj0
= 0 ;
9851 (char *) "self", NULL
9854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
9855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9859 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
9861 wxPyEndAllowThreads(__tstate
);
9862 if (PyErr_Occurred()) SWIG_fail
;
9864 resultobj
= SWIG_From_long((long)result
);
9871 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9872 PyObject
*resultobj
;
9873 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9876 PyObject
* obj0
= 0 ;
9877 PyObject
* obj1
= 0 ;
9878 PyObject
* obj2
= 0 ;
9880 (char *) "self",(char *) "from",(char *) "to", NULL
9883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9886 arg2
= (long)SWIG_As_long(obj1
);
9887 if (PyErr_Occurred()) SWIG_fail
;
9888 arg3
= (long)SWIG_As_long(obj2
);
9889 if (PyErr_Occurred()) SWIG_fail
;
9891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9892 (arg1
)->SetSelection(arg2
,arg3
);
9894 wxPyEndAllowThreads(__tstate
);
9895 if (PyErr_Occurred()) SWIG_fail
;
9897 Py_INCREF(Py_None
); resultobj
= Py_None
;
9904 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9905 PyObject
*resultobj
;
9906 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9907 PyObject
* obj0
= 0 ;
9909 (char *) "self", NULL
9912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
9913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9917 (arg1
)->SelectAll();
9919 wxPyEndAllowThreads(__tstate
);
9920 if (PyErr_Occurred()) SWIG_fail
;
9922 Py_INCREF(Py_None
); resultobj
= Py_None
;
9929 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9930 PyObject
*resultobj
;
9931 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9933 PyObject
* obj0
= 0 ;
9934 PyObject
* obj1
= 0 ;
9936 (char *) "self",(char *) "editable", NULL
9939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
9940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9942 arg2
= (bool)SWIG_As_bool(obj1
);
9943 if (PyErr_Occurred()) SWIG_fail
;
9945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9946 (arg1
)->SetEditable(arg2
);
9948 wxPyEndAllowThreads(__tstate
);
9949 if (PyErr_Occurred()) SWIG_fail
;
9951 Py_INCREF(Py_None
); resultobj
= Py_None
;
9958 static PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9959 PyObject
*resultobj
;
9960 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9961 bool arg2
= (bool) true ;
9963 PyObject
* obj0
= 0 ;
9964 PyObject
* obj1
= 0 ;
9966 (char *) "self",(char *) "show", NULL
9969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
9970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9973 arg2
= (bool)SWIG_As_bool(obj1
);
9974 if (PyErr_Occurred()) SWIG_fail
;
9977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9978 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
9980 wxPyEndAllowThreads(__tstate
);
9981 if (PyErr_Occurred()) SWIG_fail
;
9984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9992 static PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9993 PyObject
*resultobj
;
9994 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9996 PyObject
* obj0
= 0 ;
9998 (char *) "self", NULL
10001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_HideNativeCaret",kwnames
,&obj0
)) goto fail
;
10002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
10003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10006 result
= (bool)(arg1
)->HideNativeCaret();
10008 wxPyEndAllowThreads(__tstate
);
10009 if (PyErr_Occurred()) SWIG_fail
;
10012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10020 static PyObject
*_wrap_TextCtrl_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10021 PyObject
*resultobj
;
10022 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10023 wxString
*arg2
= 0 ;
10024 bool temp2
= false ;
10025 PyObject
* obj0
= 0 ;
10026 PyObject
* obj1
= 0 ;
10027 char *kwnames
[] = {
10028 (char *) "self",(char *) "text", NULL
10031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
10032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
10033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10035 arg2
= wxString_in_helper(obj1
);
10036 if (arg2
== NULL
) SWIG_fail
;
10040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10041 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
10043 wxPyEndAllowThreads(__tstate
);
10044 if (PyErr_Occurred()) SWIG_fail
;
10046 Py_INCREF(Py_None
); resultobj
= Py_None
;
10061 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10062 PyObject
*resultobj
;
10063 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10067 PyObject
* obj0
= 0 ;
10068 PyObject
* obj1
= 0 ;
10069 PyObject
* obj2
= 0 ;
10070 char *kwnames
[] = {
10071 (char *) "self",(char *) "from",(char *) "to", NULL
10074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
10076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10077 arg2
= (long)SWIG_As_long(obj1
);
10078 if (PyErr_Occurred()) SWIG_fail
;
10079 arg3
= (long)SWIG_As_long(obj2
);
10080 if (PyErr_Occurred()) SWIG_fail
;
10082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10083 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
10085 wxPyEndAllowThreads(__tstate
);
10086 if (PyErr_Occurred()) SWIG_fail
;
10090 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10092 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10101 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10102 PyObject
*resultobj
;
10103 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10104 wxVisualAttributes result
;
10105 PyObject
* obj0
= 0 ;
10106 char *kwnames
[] = {
10107 (char *) "variant", NULL
10110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10112 arg1
= (int)SWIG_As_int(obj0
);
10113 if (PyErr_Occurred()) SWIG_fail
;
10116 if (!wxPyCheckForApp()) SWIG_fail
;
10117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10118 result
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10120 wxPyEndAllowThreads(__tstate
);
10121 if (PyErr_Occurred()) SWIG_fail
;
10124 wxVisualAttributes
* resultptr
;
10125 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10126 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10134 static PyObject
* TextCtrl_swigregister(PyObject
*, PyObject
*args
) {
10136 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10137 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
10139 return Py_BuildValue((char *)"");
10141 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10142 PyObject
*resultobj
;
10144 wxMouseEvent
*arg2
= 0 ;
10147 wxTextUrlEvent
*result
;
10148 PyObject
* obj0
= 0 ;
10149 PyObject
* obj1
= 0 ;
10150 PyObject
* obj2
= 0 ;
10151 PyObject
* obj3
= 0 ;
10152 char *kwnames
[] = {
10153 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
10156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10157 arg1
= (int)SWIG_As_int(obj0
);
10158 if (PyErr_Occurred()) SWIG_fail
;
10159 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
,
10160 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10162 if (arg2
== NULL
) {
10163 PyErr_SetString(PyExc_TypeError
,"null reference");
10166 arg3
= (long)SWIG_As_long(obj2
);
10167 if (PyErr_Occurred()) SWIG_fail
;
10168 arg4
= (long)SWIG_As_long(obj3
);
10169 if (PyErr_Occurred()) SWIG_fail
;
10171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10172 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
10174 wxPyEndAllowThreads(__tstate
);
10175 if (PyErr_Occurred()) SWIG_fail
;
10177 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
10184 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10185 PyObject
*resultobj
;
10186 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
10187 wxMouseEvent
*result
;
10188 PyObject
* obj0
= 0 ;
10189 char *kwnames
[] = {
10190 (char *) "self", NULL
10193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
10194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
10195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10199 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
10200 result
= (wxMouseEvent
*) &_result_ref
;
10203 wxPyEndAllowThreads(__tstate
);
10204 if (PyErr_Occurred()) SWIG_fail
;
10206 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
10213 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10214 PyObject
*resultobj
;
10215 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
10217 PyObject
* obj0
= 0 ;
10218 char *kwnames
[] = {
10219 (char *) "self", NULL
10222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
10223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
10224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10227 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
10229 wxPyEndAllowThreads(__tstate
);
10230 if (PyErr_Occurred()) SWIG_fail
;
10232 resultobj
= SWIG_From_long((long)result
);
10239 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10240 PyObject
*resultobj
;
10241 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
10243 PyObject
* obj0
= 0 ;
10244 char *kwnames
[] = {
10245 (char *) "self", NULL
10248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
10249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
10250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10253 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
10255 wxPyEndAllowThreads(__tstate
);
10256 if (PyErr_Occurred()) SWIG_fail
;
10258 resultobj
= SWIG_From_long((long)result
);
10265 static PyObject
* TextUrlEvent_swigregister(PyObject
*, PyObject
*args
) {
10267 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10268 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
10270 return Py_BuildValue((char *)"");
10272 static int _wrap_ScrollBarNameStr_set(PyObject
*) {
10273 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
10278 static PyObject
*_wrap_ScrollBarNameStr_get() {
10283 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
10285 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
10292 static PyObject
*_wrap_new_ScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10293 PyObject
*resultobj
;
10294 wxWindow
*arg1
= (wxWindow
*) 0 ;
10295 int arg2
= (int) -1 ;
10296 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10297 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10298 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10299 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10300 long arg5
= (long) wxSB_HORIZONTAL
;
10301 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
10302 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
10303 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
10304 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10305 wxScrollBar
*result
;
10308 bool temp7
= false ;
10309 PyObject
* obj0
= 0 ;
10310 PyObject
* obj1
= 0 ;
10311 PyObject
* obj2
= 0 ;
10312 PyObject
* obj3
= 0 ;
10313 PyObject
* obj4
= 0 ;
10314 PyObject
* obj5
= 0 ;
10315 PyObject
* obj6
= 0 ;
10316 char *kwnames
[] = {
10317 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10324 arg2
= (int)SWIG_As_int(obj1
);
10325 if (PyErr_Occurred()) SWIG_fail
;
10330 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10336 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10340 arg5
= (long)SWIG_As_long(obj4
);
10341 if (PyErr_Occurred()) SWIG_fail
;
10344 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
10345 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10347 if (arg6
== NULL
) {
10348 PyErr_SetString(PyExc_TypeError
,"null reference");
10354 arg7
= wxString_in_helper(obj6
);
10355 if (arg7
== NULL
) SWIG_fail
;
10360 if (!wxPyCheckForApp()) SWIG_fail
;
10361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10362 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
10364 wxPyEndAllowThreads(__tstate
);
10365 if (PyErr_Occurred()) SWIG_fail
;
10367 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10382 static PyObject
*_wrap_new_PreScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10383 PyObject
*resultobj
;
10384 wxScrollBar
*result
;
10385 char *kwnames
[] = {
10389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
10391 if (!wxPyCheckForApp()) SWIG_fail
;
10392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10393 result
= (wxScrollBar
*)new wxScrollBar();
10395 wxPyEndAllowThreads(__tstate
);
10396 if (PyErr_Occurred()) SWIG_fail
;
10398 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10405 static PyObject
*_wrap_ScrollBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10406 PyObject
*resultobj
;
10407 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10408 wxWindow
*arg2
= (wxWindow
*) 0 ;
10409 int arg3
= (int) -1 ;
10410 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10411 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10412 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10413 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10414 long arg6
= (long) wxSB_HORIZONTAL
;
10415 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10416 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10417 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
10418 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10422 bool temp8
= false ;
10423 PyObject
* obj0
= 0 ;
10424 PyObject
* obj1
= 0 ;
10425 PyObject
* obj2
= 0 ;
10426 PyObject
* obj3
= 0 ;
10427 PyObject
* obj4
= 0 ;
10428 PyObject
* obj5
= 0 ;
10429 PyObject
* obj6
= 0 ;
10430 PyObject
* obj7
= 0 ;
10431 char *kwnames
[] = {
10432 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
10436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10438 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10441 arg3
= (int)SWIG_As_int(obj2
);
10442 if (PyErr_Occurred()) SWIG_fail
;
10447 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10453 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10457 arg6
= (long)SWIG_As_long(obj5
);
10458 if (PyErr_Occurred()) SWIG_fail
;
10461 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
10462 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10464 if (arg7
== NULL
) {
10465 PyErr_SetString(PyExc_TypeError
,"null reference");
10471 arg8
= wxString_in_helper(obj7
);
10472 if (arg8
== NULL
) SWIG_fail
;
10477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10478 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10480 wxPyEndAllowThreads(__tstate
);
10481 if (PyErr_Occurred()) SWIG_fail
;
10484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10500 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10501 PyObject
*resultobj
;
10502 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10504 PyObject
* obj0
= 0 ;
10505 char *kwnames
[] = {
10506 (char *) "self", NULL
10509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
10510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10514 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
10516 wxPyEndAllowThreads(__tstate
);
10517 if (PyErr_Occurred()) SWIG_fail
;
10519 resultobj
= SWIG_From_int((int)result
);
10526 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10527 PyObject
*resultobj
;
10528 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10530 PyObject
* obj0
= 0 ;
10531 char *kwnames
[] = {
10532 (char *) "self", NULL
10535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
10536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10540 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
10542 wxPyEndAllowThreads(__tstate
);
10543 if (PyErr_Occurred()) SWIG_fail
;
10545 resultobj
= SWIG_From_int((int)result
);
10552 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10553 PyObject
*resultobj
;
10554 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10556 PyObject
* obj0
= 0 ;
10557 char *kwnames
[] = {
10558 (char *) "self", NULL
10561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
10562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10566 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
10568 wxPyEndAllowThreads(__tstate
);
10569 if (PyErr_Occurred()) SWIG_fail
;
10571 resultobj
= SWIG_From_int((int)result
);
10578 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10579 PyObject
*resultobj
;
10580 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10582 PyObject
* obj0
= 0 ;
10583 char *kwnames
[] = {
10584 (char *) "self", NULL
10587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
10588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10592 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
10594 wxPyEndAllowThreads(__tstate
);
10595 if (PyErr_Occurred()) SWIG_fail
;
10597 resultobj
= SWIG_From_int((int)result
);
10604 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10605 PyObject
*resultobj
;
10606 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10608 PyObject
* obj0
= 0 ;
10609 char *kwnames
[] = {
10610 (char *) "self", NULL
10613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
10614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10618 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
10620 wxPyEndAllowThreads(__tstate
);
10621 if (PyErr_Occurred()) SWIG_fail
;
10624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10632 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10633 PyObject
*resultobj
;
10634 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10636 PyObject
* obj0
= 0 ;
10637 PyObject
* obj1
= 0 ;
10638 char *kwnames
[] = {
10639 (char *) "self",(char *) "viewStart", NULL
10642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10645 arg2
= (int)SWIG_As_int(obj1
);
10646 if (PyErr_Occurred()) SWIG_fail
;
10648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10649 (arg1
)->SetThumbPosition(arg2
);
10651 wxPyEndAllowThreads(__tstate
);
10652 if (PyErr_Occurred()) SWIG_fail
;
10654 Py_INCREF(Py_None
); resultobj
= Py_None
;
10661 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10662 PyObject
*resultobj
;
10663 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10668 bool arg6
= (bool) true ;
10669 PyObject
* obj0
= 0 ;
10670 PyObject
* obj1
= 0 ;
10671 PyObject
* obj2
= 0 ;
10672 PyObject
* obj3
= 0 ;
10673 PyObject
* obj4
= 0 ;
10674 PyObject
* obj5
= 0 ;
10675 char *kwnames
[] = {
10676 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
10679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10682 arg2
= (int)SWIG_As_int(obj1
);
10683 if (PyErr_Occurred()) SWIG_fail
;
10684 arg3
= (int)SWIG_As_int(obj2
);
10685 if (PyErr_Occurred()) SWIG_fail
;
10686 arg4
= (int)SWIG_As_int(obj3
);
10687 if (PyErr_Occurred()) SWIG_fail
;
10688 arg5
= (int)SWIG_As_int(obj4
);
10689 if (PyErr_Occurred()) SWIG_fail
;
10691 arg6
= (bool)SWIG_As_bool(obj5
);
10692 if (PyErr_Occurred()) SWIG_fail
;
10695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10696 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
10698 wxPyEndAllowThreads(__tstate
);
10699 if (PyErr_Occurred()) SWIG_fail
;
10701 Py_INCREF(Py_None
); resultobj
= Py_None
;
10708 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10709 PyObject
*resultobj
;
10710 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10711 wxVisualAttributes result
;
10712 PyObject
* obj0
= 0 ;
10713 char *kwnames
[] = {
10714 (char *) "variant", NULL
10717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10719 arg1
= (int)SWIG_As_int(obj0
);
10720 if (PyErr_Occurred()) SWIG_fail
;
10723 if (!wxPyCheckForApp()) SWIG_fail
;
10724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10725 result
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10727 wxPyEndAllowThreads(__tstate
);
10728 if (PyErr_Occurred()) SWIG_fail
;
10731 wxVisualAttributes
* resultptr
;
10732 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10733 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10741 static PyObject
* ScrollBar_swigregister(PyObject
*, PyObject
*args
) {
10743 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10744 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
10746 return Py_BuildValue((char *)"");
10748 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*) {
10749 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
10754 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
10759 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10761 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10768 static int _wrap_SpinCtrlNameStr_set(PyObject
*) {
10769 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
10774 static PyObject
*_wrap_SpinCtrlNameStr_get() {
10779 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10781 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10788 static PyObject
*_wrap_new_SpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10789 PyObject
*resultobj
;
10790 wxWindow
*arg1
= (wxWindow
*) 0 ;
10791 int arg2
= (int) -1 ;
10792 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10793 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10794 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10795 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10796 long arg5
= (long) wxSP_HORIZONTAL
;
10797 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
10798 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10799 wxSpinButton
*result
;
10802 bool temp6
= false ;
10803 PyObject
* obj0
= 0 ;
10804 PyObject
* obj1
= 0 ;
10805 PyObject
* obj2
= 0 ;
10806 PyObject
* obj3
= 0 ;
10807 PyObject
* obj4
= 0 ;
10808 PyObject
* obj5
= 0 ;
10809 char *kwnames
[] = {
10810 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10817 arg2
= (int)SWIG_As_int(obj1
);
10818 if (PyErr_Occurred()) SWIG_fail
;
10823 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10829 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10833 arg5
= (long)SWIG_As_long(obj4
);
10834 if (PyErr_Occurred()) SWIG_fail
;
10838 arg6
= wxString_in_helper(obj5
);
10839 if (arg6
== NULL
) SWIG_fail
;
10844 if (!wxPyCheckForApp()) SWIG_fail
;
10845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10846 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10848 wxPyEndAllowThreads(__tstate
);
10849 if (PyErr_Occurred()) SWIG_fail
;
10851 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10866 static PyObject
*_wrap_new_PreSpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10867 PyObject
*resultobj
;
10868 wxSpinButton
*result
;
10869 char *kwnames
[] = {
10873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
10875 if (!wxPyCheckForApp()) SWIG_fail
;
10876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10877 result
= (wxSpinButton
*)new wxSpinButton();
10879 wxPyEndAllowThreads(__tstate
);
10880 if (PyErr_Occurred()) SWIG_fail
;
10882 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10889 static PyObject
*_wrap_SpinButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10890 PyObject
*resultobj
;
10891 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10892 wxWindow
*arg2
= (wxWindow
*) 0 ;
10893 int arg3
= (int) -1 ;
10894 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10895 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10896 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10897 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10898 long arg6
= (long) wxSP_HORIZONTAL
;
10899 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
10900 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10904 bool temp7
= false ;
10905 PyObject
* obj0
= 0 ;
10906 PyObject
* obj1
= 0 ;
10907 PyObject
* obj2
= 0 ;
10908 PyObject
* obj3
= 0 ;
10909 PyObject
* obj4
= 0 ;
10910 PyObject
* obj5
= 0 ;
10911 PyObject
* obj6
= 0 ;
10912 char *kwnames
[] = {
10913 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10919 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10922 arg3
= (int)SWIG_As_int(obj2
);
10923 if (PyErr_Occurred()) SWIG_fail
;
10928 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10934 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10938 arg6
= (long)SWIG_As_long(obj5
);
10939 if (PyErr_Occurred()) SWIG_fail
;
10943 arg7
= wxString_in_helper(obj6
);
10944 if (arg7
== NULL
) SWIG_fail
;
10949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10950 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10952 wxPyEndAllowThreads(__tstate
);
10953 if (PyErr_Occurred()) SWIG_fail
;
10956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10972 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10973 PyObject
*resultobj
;
10974 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10976 PyObject
* obj0
= 0 ;
10977 char *kwnames
[] = {
10978 (char *) "self", NULL
10981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
10982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10986 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
10988 wxPyEndAllowThreads(__tstate
);
10989 if (PyErr_Occurred()) SWIG_fail
;
10991 resultobj
= SWIG_From_int((int)result
);
10998 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10999 PyObject
*resultobj
;
11000 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
11002 PyObject
* obj0
= 0 ;
11003 char *kwnames
[] = {
11004 (char *) "self", NULL
11007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
11008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
11009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11012 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
11014 wxPyEndAllowThreads(__tstate
);
11015 if (PyErr_Occurred()) SWIG_fail
;
11017 resultobj
= SWIG_From_int((int)result
);
11024 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11025 PyObject
*resultobj
;
11026 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
11028 PyObject
* obj0
= 0 ;
11029 char *kwnames
[] = {
11030 (char *) "self", NULL
11033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
11034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
11035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11038 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
11040 wxPyEndAllowThreads(__tstate
);
11041 if (PyErr_Occurred()) SWIG_fail
;
11043 resultobj
= SWIG_From_int((int)result
);
11050 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11051 PyObject
*resultobj
;
11052 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
11054 PyObject
* obj0
= 0 ;
11055 PyObject
* obj1
= 0 ;
11056 char *kwnames
[] = {
11057 (char *) "self",(char *) "val", NULL
11060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
11062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11063 arg2
= (int)SWIG_As_int(obj1
);
11064 if (PyErr_Occurred()) SWIG_fail
;
11066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11067 (arg1
)->SetValue(arg2
);
11069 wxPyEndAllowThreads(__tstate
);
11070 if (PyErr_Occurred()) SWIG_fail
;
11072 Py_INCREF(Py_None
); resultobj
= Py_None
;
11079 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11080 PyObject
*resultobj
;
11081 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
11083 PyObject
* obj0
= 0 ;
11084 PyObject
* obj1
= 0 ;
11085 char *kwnames
[] = {
11086 (char *) "self",(char *) "minVal", NULL
11089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
11090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
11091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11092 arg2
= (int)SWIG_As_int(obj1
);
11093 if (PyErr_Occurred()) SWIG_fail
;
11095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11096 (arg1
)->SetMin(arg2
);
11098 wxPyEndAllowThreads(__tstate
);
11099 if (PyErr_Occurred()) SWIG_fail
;
11101 Py_INCREF(Py_None
); resultobj
= Py_None
;
11108 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11109 PyObject
*resultobj
;
11110 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
11112 PyObject
* obj0
= 0 ;
11113 PyObject
* obj1
= 0 ;
11114 char *kwnames
[] = {
11115 (char *) "self",(char *) "maxVal", NULL
11118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
11119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
11120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11121 arg2
= (int)SWIG_As_int(obj1
);
11122 if (PyErr_Occurred()) SWIG_fail
;
11124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11125 (arg1
)->SetMax(arg2
);
11127 wxPyEndAllowThreads(__tstate
);
11128 if (PyErr_Occurred()) SWIG_fail
;
11130 Py_INCREF(Py_None
); resultobj
= Py_None
;
11137 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11138 PyObject
*resultobj
;
11139 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
11142 PyObject
* obj0
= 0 ;
11143 PyObject
* obj1
= 0 ;
11144 PyObject
* obj2
= 0 ;
11145 char *kwnames
[] = {
11146 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
11151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11152 arg2
= (int)SWIG_As_int(obj1
);
11153 if (PyErr_Occurred()) SWIG_fail
;
11154 arg3
= (int)SWIG_As_int(obj2
);
11155 if (PyErr_Occurred()) SWIG_fail
;
11157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11158 (arg1
)->SetRange(arg2
,arg3
);
11160 wxPyEndAllowThreads(__tstate
);
11161 if (PyErr_Occurred()) SWIG_fail
;
11163 Py_INCREF(Py_None
); resultobj
= Py_None
;
11170 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11171 PyObject
*resultobj
;
11172 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
11174 PyObject
* obj0
= 0 ;
11175 char *kwnames
[] = {
11176 (char *) "self", NULL
11179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
11180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
11181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11184 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
11186 wxPyEndAllowThreads(__tstate
);
11187 if (PyErr_Occurred()) SWIG_fail
;
11190 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11198 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11199 PyObject
*resultobj
;
11200 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
11201 wxVisualAttributes result
;
11202 PyObject
* obj0
= 0 ;
11203 char *kwnames
[] = {
11204 (char *) "variant", NULL
11207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11209 arg1
= (int)SWIG_As_int(obj0
);
11210 if (PyErr_Occurred()) SWIG_fail
;
11213 if (!wxPyCheckForApp()) SWIG_fail
;
11214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11215 result
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11217 wxPyEndAllowThreads(__tstate
);
11218 if (PyErr_Occurred()) SWIG_fail
;
11221 wxVisualAttributes
* resultptr
;
11222 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
11223 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11231 static PyObject
* SpinButton_swigregister(PyObject
*, PyObject
*args
) {
11233 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11234 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
11236 return Py_BuildValue((char *)"");
11238 static PyObject
*_wrap_new_SpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11239 PyObject
*resultobj
;
11240 wxWindow
*arg1
= (wxWindow
*) 0 ;
11241 int arg2
= (int) -1 ;
11242 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11243 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11244 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11245 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11246 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11247 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11248 long arg6
= (long) wxSP_ARROW_KEYS
;
11249 int arg7
= (int) 0 ;
11250 int arg8
= (int) 100 ;
11251 int arg9
= (int) 0 ;
11252 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
11253 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11254 wxSpinCtrl
*result
;
11255 bool temp3
= false ;
11258 bool temp10
= false ;
11259 PyObject
* obj0
= 0 ;
11260 PyObject
* obj1
= 0 ;
11261 PyObject
* obj2
= 0 ;
11262 PyObject
* obj3
= 0 ;
11263 PyObject
* obj4
= 0 ;
11264 PyObject
* obj5
= 0 ;
11265 PyObject
* obj6
= 0 ;
11266 PyObject
* obj7
= 0 ;
11267 PyObject
* obj8
= 0 ;
11268 PyObject
* obj9
= 0 ;
11269 char *kwnames
[] = {
11270 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11277 arg2
= (int)SWIG_As_int(obj1
);
11278 if (PyErr_Occurred()) SWIG_fail
;
11282 arg3
= wxString_in_helper(obj2
);
11283 if (arg3
== NULL
) SWIG_fail
;
11290 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11296 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11300 arg6
= (long)SWIG_As_long(obj5
);
11301 if (PyErr_Occurred()) SWIG_fail
;
11304 arg7
= (int)SWIG_As_int(obj6
);
11305 if (PyErr_Occurred()) SWIG_fail
;
11308 arg8
= (int)SWIG_As_int(obj7
);
11309 if (PyErr_Occurred()) SWIG_fail
;
11312 arg9
= (int)SWIG_As_int(obj8
);
11313 if (PyErr_Occurred()) SWIG_fail
;
11317 arg10
= wxString_in_helper(obj9
);
11318 if (arg10
== NULL
) SWIG_fail
;
11323 if (!wxPyCheckForApp()) SWIG_fail
;
11324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11325 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
11327 wxPyEndAllowThreads(__tstate
);
11328 if (PyErr_Occurred()) SWIG_fail
;
11330 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11353 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11354 PyObject
*resultobj
;
11355 wxSpinCtrl
*result
;
11356 char *kwnames
[] = {
11360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
11362 if (!wxPyCheckForApp()) SWIG_fail
;
11363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11364 result
= (wxSpinCtrl
*)new wxSpinCtrl();
11366 wxPyEndAllowThreads(__tstate
);
11367 if (PyErr_Occurred()) SWIG_fail
;
11369 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11376 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11377 PyObject
*resultobj
;
11378 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11379 wxWindow
*arg2
= (wxWindow
*) 0 ;
11380 int arg3
= (int) -1 ;
11381 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11382 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11383 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11384 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11385 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11386 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11387 long arg7
= (long) wxSP_ARROW_KEYS
;
11388 int arg8
= (int) 0 ;
11389 int arg9
= (int) 100 ;
11390 int arg10
= (int) 0 ;
11391 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
11392 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11394 bool temp4
= false ;
11397 bool temp11
= false ;
11398 PyObject
* obj0
= 0 ;
11399 PyObject
* obj1
= 0 ;
11400 PyObject
* obj2
= 0 ;
11401 PyObject
* obj3
= 0 ;
11402 PyObject
* obj4
= 0 ;
11403 PyObject
* obj5
= 0 ;
11404 PyObject
* obj6
= 0 ;
11405 PyObject
* obj7
= 0 ;
11406 PyObject
* obj8
= 0 ;
11407 PyObject
* obj9
= 0 ;
11408 PyObject
* obj10
= 0 ;
11409 char *kwnames
[] = {
11410 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11416 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11419 arg3
= (int)SWIG_As_int(obj2
);
11420 if (PyErr_Occurred()) SWIG_fail
;
11424 arg4
= wxString_in_helper(obj3
);
11425 if (arg4
== NULL
) SWIG_fail
;
11432 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11438 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11442 arg7
= (long)SWIG_As_long(obj6
);
11443 if (PyErr_Occurred()) SWIG_fail
;
11446 arg8
= (int)SWIG_As_int(obj7
);
11447 if (PyErr_Occurred()) SWIG_fail
;
11450 arg9
= (int)SWIG_As_int(obj8
);
11451 if (PyErr_Occurred()) SWIG_fail
;
11454 arg10
= (int)SWIG_As_int(obj9
);
11455 if (PyErr_Occurred()) SWIG_fail
;
11459 arg11
= wxString_in_helper(obj10
);
11460 if (arg11
== NULL
) SWIG_fail
;
11465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11466 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
11468 wxPyEndAllowThreads(__tstate
);
11469 if (PyErr_Occurred()) SWIG_fail
;
11472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11496 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11497 PyObject
*resultobj
;
11498 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11500 PyObject
* obj0
= 0 ;
11501 char *kwnames
[] = {
11502 (char *) "self", NULL
11505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
11506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11510 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
11512 wxPyEndAllowThreads(__tstate
);
11513 if (PyErr_Occurred()) SWIG_fail
;
11515 resultobj
= SWIG_From_int((int)result
);
11522 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11523 PyObject
*resultobj
;
11524 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11526 PyObject
* obj0
= 0 ;
11527 PyObject
* obj1
= 0 ;
11528 char *kwnames
[] = {
11529 (char *) "self",(char *) "value", NULL
11532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11535 arg2
= (int)SWIG_As_int(obj1
);
11536 if (PyErr_Occurred()) SWIG_fail
;
11538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11539 (arg1
)->SetValue(arg2
);
11541 wxPyEndAllowThreads(__tstate
);
11542 if (PyErr_Occurred()) SWIG_fail
;
11544 Py_INCREF(Py_None
); resultobj
= Py_None
;
11551 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11552 PyObject
*resultobj
;
11553 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11554 wxString
*arg2
= 0 ;
11555 bool temp2
= false ;
11556 PyObject
* obj0
= 0 ;
11557 PyObject
* obj1
= 0 ;
11558 char *kwnames
[] = {
11559 (char *) "self",(char *) "text", NULL
11562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
11563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11566 arg2
= wxString_in_helper(obj1
);
11567 if (arg2
== NULL
) SWIG_fail
;
11571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11572 (arg1
)->SetValue((wxString
const &)*arg2
);
11574 wxPyEndAllowThreads(__tstate
);
11575 if (PyErr_Occurred()) SWIG_fail
;
11577 Py_INCREF(Py_None
); resultobj
= Py_None
;
11592 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11593 PyObject
*resultobj
;
11594 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11597 PyObject
* obj0
= 0 ;
11598 PyObject
* obj1
= 0 ;
11599 PyObject
* obj2
= 0 ;
11600 char *kwnames
[] = {
11601 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11607 arg2
= (int)SWIG_As_int(obj1
);
11608 if (PyErr_Occurred()) SWIG_fail
;
11609 arg3
= (int)SWIG_As_int(obj2
);
11610 if (PyErr_Occurred()) SWIG_fail
;
11612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11613 (arg1
)->SetRange(arg2
,arg3
);
11615 wxPyEndAllowThreads(__tstate
);
11616 if (PyErr_Occurred()) SWIG_fail
;
11618 Py_INCREF(Py_None
); resultobj
= Py_None
;
11625 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11626 PyObject
*resultobj
;
11627 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11629 PyObject
* obj0
= 0 ;
11630 char *kwnames
[] = {
11631 (char *) "self", NULL
11634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
11635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11639 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
11641 wxPyEndAllowThreads(__tstate
);
11642 if (PyErr_Occurred()) SWIG_fail
;
11644 resultobj
= SWIG_From_int((int)result
);
11651 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11652 PyObject
*resultobj
;
11653 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11655 PyObject
* obj0
= 0 ;
11656 char *kwnames
[] = {
11657 (char *) "self", NULL
11660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
11661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11665 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
11667 wxPyEndAllowThreads(__tstate
);
11668 if (PyErr_Occurred()) SWIG_fail
;
11670 resultobj
= SWIG_From_int((int)result
);
11677 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11678 PyObject
*resultobj
;
11679 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11682 PyObject
* obj0
= 0 ;
11683 PyObject
* obj1
= 0 ;
11684 PyObject
* obj2
= 0 ;
11685 char *kwnames
[] = {
11686 (char *) "self",(char *) "from",(char *) "to", NULL
11689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11692 arg2
= (long)SWIG_As_long(obj1
);
11693 if (PyErr_Occurred()) SWIG_fail
;
11694 arg3
= (long)SWIG_As_long(obj2
);
11695 if (PyErr_Occurred()) SWIG_fail
;
11697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11698 (arg1
)->SetSelection(arg2
,arg3
);
11700 wxPyEndAllowThreads(__tstate
);
11701 if (PyErr_Occurred()) SWIG_fail
;
11703 Py_INCREF(Py_None
); resultobj
= Py_None
;
11710 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11711 PyObject
*resultobj
;
11712 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
11713 wxVisualAttributes result
;
11714 PyObject
* obj0
= 0 ;
11715 char *kwnames
[] = {
11716 (char *) "variant", NULL
11719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11721 arg1
= (int)SWIG_As_int(obj0
);
11722 if (PyErr_Occurred()) SWIG_fail
;
11725 if (!wxPyCheckForApp()) SWIG_fail
;
11726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11727 result
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11729 wxPyEndAllowThreads(__tstate
);
11730 if (PyErr_Occurred()) SWIG_fail
;
11733 wxVisualAttributes
* resultptr
;
11734 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
11735 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11743 static PyObject
* SpinCtrl_swigregister(PyObject
*, PyObject
*args
) {
11745 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11746 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
11748 return Py_BuildValue((char *)"");
11750 static PyObject
*_wrap_new_SpinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11751 PyObject
*resultobj
;
11752 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11753 int arg2
= (int) 0 ;
11754 wxSpinEvent
*result
;
11755 PyObject
* obj0
= 0 ;
11756 PyObject
* obj1
= 0 ;
11757 char *kwnames
[] = {
11758 (char *) "commandType",(char *) "winid", NULL
11761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11763 arg1
= (wxEventType
)SWIG_As_int(obj0
);
11764 if (PyErr_Occurred()) SWIG_fail
;
11767 arg2
= (int)SWIG_As_int(obj1
);
11768 if (PyErr_Occurred()) SWIG_fail
;
11771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11772 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
11774 wxPyEndAllowThreads(__tstate
);
11775 if (PyErr_Occurred()) SWIG_fail
;
11777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
11784 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11785 PyObject
*resultobj
;
11786 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11788 PyObject
* obj0
= 0 ;
11789 char *kwnames
[] = {
11790 (char *) "self", NULL
11793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11798 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
11800 wxPyEndAllowThreads(__tstate
);
11801 if (PyErr_Occurred()) SWIG_fail
;
11803 resultobj
= SWIG_From_int((int)result
);
11810 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11811 PyObject
*resultobj
;
11812 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11814 PyObject
* obj0
= 0 ;
11815 PyObject
* obj1
= 0 ;
11816 char *kwnames
[] = {
11817 (char *) "self",(char *) "pos", NULL
11820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11823 arg2
= (int)SWIG_As_int(obj1
);
11824 if (PyErr_Occurred()) SWIG_fail
;
11826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11827 (arg1
)->SetPosition(arg2
);
11829 wxPyEndAllowThreads(__tstate
);
11830 if (PyErr_Occurred()) SWIG_fail
;
11832 Py_INCREF(Py_None
); resultobj
= Py_None
;
11839 static PyObject
* SpinEvent_swigregister(PyObject
*, PyObject
*args
) {
11841 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11842 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
11844 return Py_BuildValue((char *)"");
11846 static int _wrap_RadioBoxNameStr_set(PyObject
*) {
11847 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
11852 static PyObject
*_wrap_RadioBoxNameStr_get() {
11857 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11859 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11866 static int _wrap_RadioButtonNameStr_set(PyObject
*) {
11867 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
11872 static PyObject
*_wrap_RadioButtonNameStr_get() {
11877 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11879 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11886 static PyObject
*_wrap_new_RadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11887 PyObject
*resultobj
;
11888 wxWindow
*arg1
= (wxWindow
*) 0 ;
11889 int arg2
= (int) -1 ;
11890 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11891 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11892 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11893 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11894 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11895 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11896 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
11897 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
11898 int arg7
= (int) 0 ;
11899 long arg8
= (long) wxRA_HORIZONTAL
;
11900 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11901 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11902 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
11903 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11904 wxRadioBox
*result
;
11905 bool temp3
= false ;
11908 bool temp6
= false ;
11909 bool temp10
= false ;
11910 PyObject
* obj0
= 0 ;
11911 PyObject
* obj1
= 0 ;
11912 PyObject
* obj2
= 0 ;
11913 PyObject
* obj3
= 0 ;
11914 PyObject
* obj4
= 0 ;
11915 PyObject
* obj5
= 0 ;
11916 PyObject
* obj6
= 0 ;
11917 PyObject
* obj7
= 0 ;
11918 PyObject
* obj8
= 0 ;
11919 PyObject
* obj9
= 0 ;
11920 char *kwnames
[] = {
11921 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11928 arg2
= (int)SWIG_As_int(obj1
);
11929 if (PyErr_Occurred()) SWIG_fail
;
11933 arg3
= wxString_in_helper(obj2
);
11934 if (arg3
== NULL
) SWIG_fail
;
11941 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11947 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11952 if (! PySequence_Check(obj5
)) {
11953 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11956 arg6
= new wxArrayString
;
11958 int i
, len
=PySequence_Length(obj5
);
11959 for (i
=0; i
<len
; i
++) {
11960 PyObject
* item
= PySequence_GetItem(obj5
, i
);
11962 PyObject
* str
= PyObject_Unicode(item
);
11964 PyObject
* str
= PyObject_Str(item
);
11966 if (PyErr_Occurred()) SWIG_fail
;
11967 arg6
->Add(Py2wxString(str
));
11974 arg7
= (int)SWIG_As_int(obj6
);
11975 if (PyErr_Occurred()) SWIG_fail
;
11978 arg8
= (long)SWIG_As_long(obj7
);
11979 if (PyErr_Occurred()) SWIG_fail
;
11982 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
11983 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11985 if (arg9
== NULL
) {
11986 PyErr_SetString(PyExc_TypeError
,"null reference");
11992 arg10
= wxString_in_helper(obj9
);
11993 if (arg10
== NULL
) SWIG_fail
;
11998 if (!wxPyCheckForApp()) SWIG_fail
;
11999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12000 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
);
12002 wxPyEndAllowThreads(__tstate
);
12003 if (PyErr_Occurred()) SWIG_fail
;
12005 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
12011 if (temp6
) delete arg6
;
12024 if (temp6
) delete arg6
;
12034 static PyObject
*_wrap_new_PreRadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12035 PyObject
*resultobj
;
12036 wxRadioBox
*result
;
12037 char *kwnames
[] = {
12041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
12043 if (!wxPyCheckForApp()) SWIG_fail
;
12044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12045 result
= (wxRadioBox
*)new wxRadioBox();
12047 wxPyEndAllowThreads(__tstate
);
12048 if (PyErr_Occurred()) SWIG_fail
;
12050 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
12057 static PyObject
*_wrap_RadioBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12058 PyObject
*resultobj
;
12059 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12060 wxWindow
*arg2
= (wxWindow
*) 0 ;
12061 int arg3
= (int) -1 ;
12062 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12063 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12064 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12065 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12066 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12067 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12068 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
12069 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
12070 int arg8
= (int) 0 ;
12071 long arg9
= (long) wxRA_HORIZONTAL
;
12072 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
12073 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
12074 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
12075 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12077 bool temp4
= false ;
12080 bool temp7
= false ;
12081 bool temp11
= false ;
12082 PyObject
* obj0
= 0 ;
12083 PyObject
* obj1
= 0 ;
12084 PyObject
* obj2
= 0 ;
12085 PyObject
* obj3
= 0 ;
12086 PyObject
* obj4
= 0 ;
12087 PyObject
* obj5
= 0 ;
12088 PyObject
* obj6
= 0 ;
12089 PyObject
* obj7
= 0 ;
12090 PyObject
* obj8
= 0 ;
12091 PyObject
* obj9
= 0 ;
12092 PyObject
* obj10
= 0 ;
12093 char *kwnames
[] = {
12094 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
12097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12100 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12103 arg3
= (int)SWIG_As_int(obj2
);
12104 if (PyErr_Occurred()) SWIG_fail
;
12108 arg4
= wxString_in_helper(obj3
);
12109 if (arg4
== NULL
) SWIG_fail
;
12116 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12122 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12127 if (! PySequence_Check(obj6
)) {
12128 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
12131 arg7
= new wxArrayString
;
12133 int i
, len
=PySequence_Length(obj6
);
12134 for (i
=0; i
<len
; i
++) {
12135 PyObject
* item
= PySequence_GetItem(obj6
, i
);
12137 PyObject
* str
= PyObject_Unicode(item
);
12139 PyObject
* str
= PyObject_Str(item
);
12141 if (PyErr_Occurred()) SWIG_fail
;
12142 arg7
->Add(Py2wxString(str
));
12149 arg8
= (int)SWIG_As_int(obj7
);
12150 if (PyErr_Occurred()) SWIG_fail
;
12153 arg9
= (long)SWIG_As_long(obj8
);
12154 if (PyErr_Occurred()) SWIG_fail
;
12157 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
12158 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12160 if (arg10
== NULL
) {
12161 PyErr_SetString(PyExc_TypeError
,"null reference");
12167 arg11
= wxString_in_helper(obj10
);
12168 if (arg11
== NULL
) SWIG_fail
;
12173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12174 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
);
12176 wxPyEndAllowThreads(__tstate
);
12177 if (PyErr_Occurred()) SWIG_fail
;
12180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12187 if (temp7
) delete arg7
;
12200 if (temp7
) delete arg7
;
12210 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12211 PyObject
*resultobj
;
12212 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12214 PyObject
* obj0
= 0 ;
12215 PyObject
* obj1
= 0 ;
12216 char *kwnames
[] = {
12217 (char *) "self",(char *) "n", NULL
12220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12223 arg2
= (int)SWIG_As_int(obj1
);
12224 if (PyErr_Occurred()) SWIG_fail
;
12226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12227 (arg1
)->SetSelection(arg2
);
12229 wxPyEndAllowThreads(__tstate
);
12230 if (PyErr_Occurred()) SWIG_fail
;
12232 Py_INCREF(Py_None
); resultobj
= Py_None
;
12239 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12240 PyObject
*resultobj
;
12241 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12243 PyObject
* obj0
= 0 ;
12244 char *kwnames
[] = {
12245 (char *) "self", NULL
12248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
12249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12253 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
12255 wxPyEndAllowThreads(__tstate
);
12256 if (PyErr_Occurred()) SWIG_fail
;
12258 resultobj
= SWIG_From_int((int)result
);
12265 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12266 PyObject
*resultobj
;
12267 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12269 PyObject
* obj0
= 0 ;
12270 char *kwnames
[] = {
12271 (char *) "self", NULL
12274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12279 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
12281 wxPyEndAllowThreads(__tstate
);
12282 if (PyErr_Occurred()) SWIG_fail
;
12286 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12288 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12297 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12298 PyObject
*resultobj
;
12299 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12300 wxString
*arg2
= 0 ;
12302 bool temp2
= false ;
12303 PyObject
* obj0
= 0 ;
12304 PyObject
* obj1
= 0 ;
12305 char *kwnames
[] = {
12306 (char *) "self",(char *) "s", NULL
12309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12313 arg2
= wxString_in_helper(obj1
);
12314 if (arg2
== NULL
) SWIG_fail
;
12318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12319 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
12321 wxPyEndAllowThreads(__tstate
);
12322 if (PyErr_Occurred()) SWIG_fail
;
12325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12341 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12342 PyObject
*resultobj
;
12343 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12345 PyObject
* obj0
= 0 ;
12346 char *kwnames
[] = {
12347 (char *) "self", NULL
12350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
12351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12355 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
12357 wxPyEndAllowThreads(__tstate
);
12358 if (PyErr_Occurred()) SWIG_fail
;
12360 resultobj
= SWIG_From_int((int)result
);
12367 static PyObject
*_wrap_RadioBox_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12368 PyObject
*resultobj
;
12369 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12370 wxString
*arg2
= 0 ;
12372 bool temp2
= false ;
12373 PyObject
* obj0
= 0 ;
12374 PyObject
* obj1
= 0 ;
12375 char *kwnames
[] = {
12376 (char *) "self",(char *) "s", NULL
12379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
12380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12383 arg2
= wxString_in_helper(obj1
);
12384 if (arg2
== NULL
) SWIG_fail
;
12388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12389 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
12391 wxPyEndAllowThreads(__tstate
);
12392 if (PyErr_Occurred()) SWIG_fail
;
12394 resultobj
= SWIG_From_int((int)result
);
12409 static PyObject
*_wrap_RadioBox_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12410 PyObject
*resultobj
;
12411 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12414 PyObject
* obj0
= 0 ;
12415 PyObject
* obj1
= 0 ;
12416 char *kwnames
[] = {
12417 (char *) "self",(char *) "n", NULL
12420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12423 arg2
= (int)SWIG_As_int(obj1
);
12424 if (PyErr_Occurred()) SWIG_fail
;
12426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12427 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
12429 wxPyEndAllowThreads(__tstate
);
12430 if (PyErr_Occurred()) SWIG_fail
;
12434 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12436 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12445 static PyObject
*_wrap_RadioBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12446 PyObject
*resultobj
;
12447 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12449 wxString
*arg3
= 0 ;
12450 bool temp3
= false ;
12451 PyObject
* obj0
= 0 ;
12452 PyObject
* obj1
= 0 ;
12453 PyObject
* obj2
= 0 ;
12454 char *kwnames
[] = {
12455 (char *) "self",(char *) "n",(char *) "label", NULL
12458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12461 arg2
= (int)SWIG_As_int(obj1
);
12462 if (PyErr_Occurred()) SWIG_fail
;
12464 arg3
= wxString_in_helper(obj2
);
12465 if (arg3
== NULL
) SWIG_fail
;
12469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12470 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
12472 wxPyEndAllowThreads(__tstate
);
12473 if (PyErr_Occurred()) SWIG_fail
;
12475 Py_INCREF(Py_None
); resultobj
= Py_None
;
12490 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12491 PyObject
*resultobj
;
12492 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12494 bool arg3
= (bool) true ;
12495 PyObject
* obj0
= 0 ;
12496 PyObject
* obj1
= 0 ;
12497 PyObject
* obj2
= 0 ;
12498 char *kwnames
[] = {
12499 (char *) "self",(char *) "n",(char *) "enable", NULL
12502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) 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
;
12508 arg3
= (bool)SWIG_As_bool(obj2
);
12509 if (PyErr_Occurred()) SWIG_fail
;
12512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12513 (arg1
)->Enable(arg2
,arg3
);
12515 wxPyEndAllowThreads(__tstate
);
12516 if (PyErr_Occurred()) SWIG_fail
;
12518 Py_INCREF(Py_None
); resultobj
= Py_None
;
12525 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12526 PyObject
*resultobj
;
12527 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12529 bool arg3
= (bool) true ;
12530 PyObject
* obj0
= 0 ;
12531 PyObject
* obj1
= 0 ;
12532 PyObject
* obj2
= 0 ;
12533 char *kwnames
[] = {
12534 (char *) "self",(char *) "n",(char *) "show", NULL
12537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12540 arg2
= (int)SWIG_As_int(obj1
);
12541 if (PyErr_Occurred()) SWIG_fail
;
12543 arg3
= (bool)SWIG_As_bool(obj2
);
12544 if (PyErr_Occurred()) SWIG_fail
;
12547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12548 (arg1
)->Show(arg2
,arg3
);
12550 wxPyEndAllowThreads(__tstate
);
12551 if (PyErr_Occurred()) SWIG_fail
;
12553 Py_INCREF(Py_None
); resultobj
= Py_None
;
12560 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12561 PyObject
*resultobj
;
12562 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12564 PyObject
* obj0
= 0 ;
12565 char *kwnames
[] = {
12566 (char *) "self", NULL
12569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
12570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12574 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
12576 wxPyEndAllowThreads(__tstate
);
12577 if (PyErr_Occurred()) SWIG_fail
;
12579 resultobj
= SWIG_From_int((int)result
);
12586 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12587 PyObject
*resultobj
;
12588 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12590 PyObject
* obj0
= 0 ;
12591 char *kwnames
[] = {
12592 (char *) "self", NULL
12595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
12596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12600 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
12602 wxPyEndAllowThreads(__tstate
);
12603 if (PyErr_Occurred()) SWIG_fail
;
12605 resultobj
= SWIG_From_int((int)result
);
12612 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12613 PyObject
*resultobj
;
12614 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12619 PyObject
* obj0
= 0 ;
12620 PyObject
* obj1
= 0 ;
12621 PyObject
* obj2
= 0 ;
12622 PyObject
* obj3
= 0 ;
12623 char *kwnames
[] = {
12624 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
12627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12630 arg2
= (int)SWIG_As_int(obj1
);
12631 if (PyErr_Occurred()) SWIG_fail
;
12632 arg3
= (int)SWIG_As_int(obj2
);
12633 if (PyErr_Occurred()) SWIG_fail
;
12634 arg4
= (long)SWIG_As_long(obj3
);
12635 if (PyErr_Occurred()) SWIG_fail
;
12637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12638 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
12640 wxPyEndAllowThreads(__tstate
);
12641 if (PyErr_Occurred()) SWIG_fail
;
12643 resultobj
= SWIG_From_int((int)result
);
12650 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12651 PyObject
*resultobj
;
12652 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12653 wxVisualAttributes result
;
12654 PyObject
* obj0
= 0 ;
12655 char *kwnames
[] = {
12656 (char *) "variant", NULL
12659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12661 arg1
= (int)SWIG_As_int(obj0
);
12662 if (PyErr_Occurred()) SWIG_fail
;
12665 if (!wxPyCheckForApp()) SWIG_fail
;
12666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12667 result
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12669 wxPyEndAllowThreads(__tstate
);
12670 if (PyErr_Occurred()) SWIG_fail
;
12673 wxVisualAttributes
* resultptr
;
12674 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12675 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12683 static PyObject
* RadioBox_swigregister(PyObject
*, PyObject
*args
) {
12685 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12686 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
12688 return Py_BuildValue((char *)"");
12690 static PyObject
*_wrap_new_RadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12691 PyObject
*resultobj
;
12692 wxWindow
*arg1
= (wxWindow
*) 0 ;
12693 int arg2
= (int) -1 ;
12694 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12695 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12696 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12697 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12698 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12699 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12700 long arg6
= (long) 0 ;
12701 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12702 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12703 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
12704 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12705 wxRadioButton
*result
;
12706 bool temp3
= false ;
12709 bool temp8
= false ;
12710 PyObject
* obj0
= 0 ;
12711 PyObject
* obj1
= 0 ;
12712 PyObject
* obj2
= 0 ;
12713 PyObject
* obj3
= 0 ;
12714 PyObject
* obj4
= 0 ;
12715 PyObject
* obj5
= 0 ;
12716 PyObject
* obj6
= 0 ;
12717 PyObject
* obj7
= 0 ;
12718 char *kwnames
[] = {
12719 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12726 arg2
= (int)SWIG_As_int(obj1
);
12727 if (PyErr_Occurred()) SWIG_fail
;
12731 arg3
= wxString_in_helper(obj2
);
12732 if (arg3
== NULL
) SWIG_fail
;
12739 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12745 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12749 arg6
= (long)SWIG_As_long(obj5
);
12750 if (PyErr_Occurred()) SWIG_fail
;
12753 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
12754 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12756 if (arg7
== NULL
) {
12757 PyErr_SetString(PyExc_TypeError
,"null reference");
12763 arg8
= wxString_in_helper(obj7
);
12764 if (arg8
== NULL
) SWIG_fail
;
12769 if (!wxPyCheckForApp()) SWIG_fail
;
12770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12771 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12773 wxPyEndAllowThreads(__tstate
);
12774 if (PyErr_Occurred()) SWIG_fail
;
12776 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12799 static PyObject
*_wrap_new_PreRadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12800 PyObject
*resultobj
;
12801 wxRadioButton
*result
;
12802 char *kwnames
[] = {
12806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
12808 if (!wxPyCheckForApp()) SWIG_fail
;
12809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12810 result
= (wxRadioButton
*)new wxRadioButton();
12812 wxPyEndAllowThreads(__tstate
);
12813 if (PyErr_Occurred()) SWIG_fail
;
12815 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12822 static PyObject
*_wrap_RadioButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12823 PyObject
*resultobj
;
12824 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12825 wxWindow
*arg2
= (wxWindow
*) 0 ;
12826 int arg3
= (int) -1 ;
12827 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12828 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12829 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12830 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12831 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12832 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12833 long arg7
= (long) 0 ;
12834 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
12835 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
12836 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
12837 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
12839 bool temp4
= false ;
12842 bool temp9
= false ;
12843 PyObject
* obj0
= 0 ;
12844 PyObject
* obj1
= 0 ;
12845 PyObject
* obj2
= 0 ;
12846 PyObject
* obj3
= 0 ;
12847 PyObject
* obj4
= 0 ;
12848 PyObject
* obj5
= 0 ;
12849 PyObject
* obj6
= 0 ;
12850 PyObject
* obj7
= 0 ;
12851 PyObject
* obj8
= 0 ;
12852 char *kwnames
[] = {
12853 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
12857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12859 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12862 arg3
= (int)SWIG_As_int(obj2
);
12863 if (PyErr_Occurred()) SWIG_fail
;
12867 arg4
= wxString_in_helper(obj3
);
12868 if (arg4
== NULL
) SWIG_fail
;
12875 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12881 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12885 arg7
= (long)SWIG_As_long(obj6
);
12886 if (PyErr_Occurred()) SWIG_fail
;
12889 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
12890 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12892 if (arg8
== NULL
) {
12893 PyErr_SetString(PyExc_TypeError
,"null reference");
12899 arg9
= wxString_in_helper(obj8
);
12900 if (arg9
== NULL
) SWIG_fail
;
12905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12906 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
12908 wxPyEndAllowThreads(__tstate
);
12909 if (PyErr_Occurred()) SWIG_fail
;
12912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12936 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12937 PyObject
*resultobj
;
12938 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12940 PyObject
* obj0
= 0 ;
12941 char *kwnames
[] = {
12942 (char *) "self", NULL
12945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
12946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12950 result
= (bool)(arg1
)->GetValue();
12952 wxPyEndAllowThreads(__tstate
);
12953 if (PyErr_Occurred()) SWIG_fail
;
12956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12964 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12965 PyObject
*resultobj
;
12966 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12968 PyObject
* obj0
= 0 ;
12969 PyObject
* obj1
= 0 ;
12970 char *kwnames
[] = {
12971 (char *) "self",(char *) "value", NULL
12974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12977 arg2
= (bool)SWIG_As_bool(obj1
);
12978 if (PyErr_Occurred()) SWIG_fail
;
12980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12981 (arg1
)->SetValue(arg2
);
12983 wxPyEndAllowThreads(__tstate
);
12984 if (PyErr_Occurred()) SWIG_fail
;
12986 Py_INCREF(Py_None
); resultobj
= Py_None
;
12993 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12994 PyObject
*resultobj
;
12995 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12996 wxVisualAttributes result
;
12997 PyObject
* obj0
= 0 ;
12998 char *kwnames
[] = {
12999 (char *) "variant", NULL
13002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13004 arg1
= (int)SWIG_As_int(obj0
);
13005 if (PyErr_Occurred()) SWIG_fail
;
13008 if (!wxPyCheckForApp()) SWIG_fail
;
13009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13010 result
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13012 wxPyEndAllowThreads(__tstate
);
13013 if (PyErr_Occurred()) SWIG_fail
;
13016 wxVisualAttributes
* resultptr
;
13017 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
13018 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13026 static PyObject
* RadioButton_swigregister(PyObject
*, PyObject
*args
) {
13028 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13029 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
13031 return Py_BuildValue((char *)"");
13033 static int _wrap_SliderNameStr_set(PyObject
*) {
13034 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
13039 static PyObject
*_wrap_SliderNameStr_get() {
13044 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
13046 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
13053 static PyObject
*_wrap_new_Slider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13054 PyObject
*resultobj
;
13055 wxWindow
*arg1
= (wxWindow
*) 0 ;
13056 int arg2
= (int) -1 ;
13057 int arg3
= (int) 0 ;
13058 int arg4
= (int) 0 ;
13059 int arg5
= (int) 100 ;
13060 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
13061 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
13062 wxSize
const &arg7_defvalue
= wxDefaultSize
;
13063 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
13064 long arg8
= (long) wxSL_HORIZONTAL
;
13065 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
13066 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
13067 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
13068 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
13072 bool temp10
= false ;
13073 PyObject
* obj0
= 0 ;
13074 PyObject
* obj1
= 0 ;
13075 PyObject
* obj2
= 0 ;
13076 PyObject
* obj3
= 0 ;
13077 PyObject
* obj4
= 0 ;
13078 PyObject
* obj5
= 0 ;
13079 PyObject
* obj6
= 0 ;
13080 PyObject
* obj7
= 0 ;
13081 PyObject
* obj8
= 0 ;
13082 PyObject
* obj9
= 0 ;
13083 char *kwnames
[] = {
13084 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
13088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13091 arg2
= (int)SWIG_As_int(obj1
);
13092 if (PyErr_Occurred()) SWIG_fail
;
13095 arg3
= (int)SWIG_As_int(obj2
);
13096 if (PyErr_Occurred()) SWIG_fail
;
13099 arg4
= (int)SWIG_As_int(obj3
);
13100 if (PyErr_Occurred()) SWIG_fail
;
13103 arg5
= (int)SWIG_As_int(obj4
);
13104 if (PyErr_Occurred()) SWIG_fail
;
13109 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
13115 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
13119 arg8
= (long)SWIG_As_long(obj7
);
13120 if (PyErr_Occurred()) SWIG_fail
;
13123 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
13124 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13126 if (arg9
== NULL
) {
13127 PyErr_SetString(PyExc_TypeError
,"null reference");
13133 arg10
= wxString_in_helper(obj9
);
13134 if (arg10
== NULL
) SWIG_fail
;
13139 if (!wxPyCheckForApp()) SWIG_fail
;
13140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13141 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
13143 wxPyEndAllowThreads(__tstate
);
13144 if (PyErr_Occurred()) SWIG_fail
;
13146 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
13161 static PyObject
*_wrap_new_PreSlider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13162 PyObject
*resultobj
;
13164 char *kwnames
[] = {
13168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
13170 if (!wxPyCheckForApp()) SWIG_fail
;
13171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13172 result
= (wxSlider
*)new wxSlider();
13174 wxPyEndAllowThreads(__tstate
);
13175 if (PyErr_Occurred()) SWIG_fail
;
13177 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
13184 static PyObject
*_wrap_Slider_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13185 PyObject
*resultobj
;
13186 wxSlider
*arg1
= (wxSlider
*) 0 ;
13187 wxWindow
*arg2
= (wxWindow
*) 0 ;
13188 int arg3
= (int) -1 ;
13189 int arg4
= (int) 0 ;
13190 int arg5
= (int) 0 ;
13191 int arg6
= (int) 100 ;
13192 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
13193 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
13194 wxSize
const &arg8_defvalue
= wxDefaultSize
;
13195 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
13196 long arg9
= (long) wxSL_HORIZONTAL
;
13197 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
13198 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
13199 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
13200 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13204 bool temp11
= false ;
13205 PyObject
* obj0
= 0 ;
13206 PyObject
* obj1
= 0 ;
13207 PyObject
* obj2
= 0 ;
13208 PyObject
* obj3
= 0 ;
13209 PyObject
* obj4
= 0 ;
13210 PyObject
* obj5
= 0 ;
13211 PyObject
* obj6
= 0 ;
13212 PyObject
* obj7
= 0 ;
13213 PyObject
* obj8
= 0 ;
13214 PyObject
* obj9
= 0 ;
13215 PyObject
* obj10
= 0 ;
13216 char *kwnames
[] = {
13217 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13223 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13226 arg3
= (int)SWIG_As_int(obj2
);
13227 if (PyErr_Occurred()) SWIG_fail
;
13230 arg4
= (int)SWIG_As_int(obj3
);
13231 if (PyErr_Occurred()) SWIG_fail
;
13234 arg5
= (int)SWIG_As_int(obj4
);
13235 if (PyErr_Occurred()) SWIG_fail
;
13238 arg6
= (int)SWIG_As_int(obj5
);
13239 if (PyErr_Occurred()) SWIG_fail
;
13244 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
13250 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
13254 arg9
= (long)SWIG_As_long(obj8
);
13255 if (PyErr_Occurred()) SWIG_fail
;
13258 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
13259 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13261 if (arg10
== NULL
) {
13262 PyErr_SetString(PyExc_TypeError
,"null reference");
13268 arg11
= wxString_in_helper(obj10
);
13269 if (arg11
== NULL
) SWIG_fail
;
13274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13275 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
13277 wxPyEndAllowThreads(__tstate
);
13278 if (PyErr_Occurred()) SWIG_fail
;
13281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13297 static PyObject
*_wrap_Slider_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13298 PyObject
*resultobj
;
13299 wxSlider
*arg1
= (wxSlider
*) 0 ;
13301 PyObject
* obj0
= 0 ;
13302 char *kwnames
[] = {
13303 (char *) "self", NULL
13306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
13307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13311 result
= (int)((wxSlider
const *)arg1
)->GetValue();
13313 wxPyEndAllowThreads(__tstate
);
13314 if (PyErr_Occurred()) SWIG_fail
;
13316 resultobj
= SWIG_From_int((int)result
);
13323 static PyObject
*_wrap_Slider_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13324 PyObject
*resultobj
;
13325 wxSlider
*arg1
= (wxSlider
*) 0 ;
13327 PyObject
* obj0
= 0 ;
13328 PyObject
* obj1
= 0 ;
13329 char *kwnames
[] = {
13330 (char *) "self",(char *) "value", NULL
13333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13336 arg2
= (int)SWIG_As_int(obj1
);
13337 if (PyErr_Occurred()) SWIG_fail
;
13339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13340 (arg1
)->SetValue(arg2
);
13342 wxPyEndAllowThreads(__tstate
);
13343 if (PyErr_Occurred()) SWIG_fail
;
13345 Py_INCREF(Py_None
); resultobj
= Py_None
;
13352 static PyObject
*_wrap_Slider_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13353 PyObject
*resultobj
;
13354 wxSlider
*arg1
= (wxSlider
*) 0 ;
13357 PyObject
* obj0
= 0 ;
13358 PyObject
* obj1
= 0 ;
13359 PyObject
* obj2
= 0 ;
13360 char *kwnames
[] = {
13361 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
13364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13367 arg2
= (int)SWIG_As_int(obj1
);
13368 if (PyErr_Occurred()) SWIG_fail
;
13369 arg3
= (int)SWIG_As_int(obj2
);
13370 if (PyErr_Occurred()) SWIG_fail
;
13372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13373 (arg1
)->SetRange(arg2
,arg3
);
13375 wxPyEndAllowThreads(__tstate
);
13376 if (PyErr_Occurred()) SWIG_fail
;
13378 Py_INCREF(Py_None
); resultobj
= Py_None
;
13385 static PyObject
*_wrap_Slider_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13386 PyObject
*resultobj
;
13387 wxSlider
*arg1
= (wxSlider
*) 0 ;
13389 PyObject
* obj0
= 0 ;
13390 char *kwnames
[] = {
13391 (char *) "self", NULL
13394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
13395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13399 result
= (int)((wxSlider
const *)arg1
)->GetMin();
13401 wxPyEndAllowThreads(__tstate
);
13402 if (PyErr_Occurred()) SWIG_fail
;
13404 resultobj
= SWIG_From_int((int)result
);
13411 static PyObject
*_wrap_Slider_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13412 PyObject
*resultobj
;
13413 wxSlider
*arg1
= (wxSlider
*) 0 ;
13415 PyObject
* obj0
= 0 ;
13416 char *kwnames
[] = {
13417 (char *) "self", NULL
13420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
13421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13425 result
= (int)((wxSlider
const *)arg1
)->GetMax();
13427 wxPyEndAllowThreads(__tstate
);
13428 if (PyErr_Occurred()) SWIG_fail
;
13430 resultobj
= SWIG_From_int((int)result
);
13437 static PyObject
*_wrap_Slider_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13438 PyObject
*resultobj
;
13439 wxSlider
*arg1
= (wxSlider
*) 0 ;
13441 PyObject
* obj0
= 0 ;
13442 PyObject
* obj1
= 0 ;
13443 char *kwnames
[] = {
13444 (char *) "self",(char *) "minValue", NULL
13447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
13448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13450 arg2
= (int)SWIG_As_int(obj1
);
13451 if (PyErr_Occurred()) SWIG_fail
;
13453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13454 (arg1
)->SetMin(arg2
);
13456 wxPyEndAllowThreads(__tstate
);
13457 if (PyErr_Occurred()) SWIG_fail
;
13459 Py_INCREF(Py_None
); resultobj
= Py_None
;
13466 static PyObject
*_wrap_Slider_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13467 PyObject
*resultobj
;
13468 wxSlider
*arg1
= (wxSlider
*) 0 ;
13470 PyObject
* obj0
= 0 ;
13471 PyObject
* obj1
= 0 ;
13472 char *kwnames
[] = {
13473 (char *) "self",(char *) "maxValue", NULL
13476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
13477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13479 arg2
= (int)SWIG_As_int(obj1
);
13480 if (PyErr_Occurred()) SWIG_fail
;
13482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13483 (arg1
)->SetMax(arg2
);
13485 wxPyEndAllowThreads(__tstate
);
13486 if (PyErr_Occurred()) SWIG_fail
;
13488 Py_INCREF(Py_None
); resultobj
= Py_None
;
13495 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13496 PyObject
*resultobj
;
13497 wxSlider
*arg1
= (wxSlider
*) 0 ;
13499 PyObject
* obj0
= 0 ;
13500 PyObject
* obj1
= 0 ;
13501 char *kwnames
[] = {
13502 (char *) "self",(char *) "lineSize", NULL
13505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13508 arg2
= (int)SWIG_As_int(obj1
);
13509 if (PyErr_Occurred()) SWIG_fail
;
13511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13512 (arg1
)->SetLineSize(arg2
);
13514 wxPyEndAllowThreads(__tstate
);
13515 if (PyErr_Occurred()) SWIG_fail
;
13517 Py_INCREF(Py_None
); resultobj
= Py_None
;
13524 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13525 PyObject
*resultobj
;
13526 wxSlider
*arg1
= (wxSlider
*) 0 ;
13528 PyObject
* obj0
= 0 ;
13529 PyObject
* obj1
= 0 ;
13530 char *kwnames
[] = {
13531 (char *) "self",(char *) "pageSize", NULL
13534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13537 arg2
= (int)SWIG_As_int(obj1
);
13538 if (PyErr_Occurred()) SWIG_fail
;
13540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13541 (arg1
)->SetPageSize(arg2
);
13543 wxPyEndAllowThreads(__tstate
);
13544 if (PyErr_Occurred()) SWIG_fail
;
13546 Py_INCREF(Py_None
); resultobj
= Py_None
;
13553 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13554 PyObject
*resultobj
;
13555 wxSlider
*arg1
= (wxSlider
*) 0 ;
13557 PyObject
* obj0
= 0 ;
13558 char *kwnames
[] = {
13559 (char *) "self", NULL
13562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
13563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13567 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
13569 wxPyEndAllowThreads(__tstate
);
13570 if (PyErr_Occurred()) SWIG_fail
;
13572 resultobj
= SWIG_From_int((int)result
);
13579 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13580 PyObject
*resultobj
;
13581 wxSlider
*arg1
= (wxSlider
*) 0 ;
13583 PyObject
* obj0
= 0 ;
13584 char *kwnames
[] = {
13585 (char *) "self", NULL
13588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
13589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13593 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
13595 wxPyEndAllowThreads(__tstate
);
13596 if (PyErr_Occurred()) SWIG_fail
;
13598 resultobj
= SWIG_From_int((int)result
);
13605 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13606 PyObject
*resultobj
;
13607 wxSlider
*arg1
= (wxSlider
*) 0 ;
13609 PyObject
* obj0
= 0 ;
13610 PyObject
* obj1
= 0 ;
13611 char *kwnames
[] = {
13612 (char *) "self",(char *) "lenPixels", NULL
13615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
13616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13618 arg2
= (int)SWIG_As_int(obj1
);
13619 if (PyErr_Occurred()) SWIG_fail
;
13621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13622 (arg1
)->SetThumbLength(arg2
);
13624 wxPyEndAllowThreads(__tstate
);
13625 if (PyErr_Occurred()) SWIG_fail
;
13627 Py_INCREF(Py_None
); resultobj
= Py_None
;
13634 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13635 PyObject
*resultobj
;
13636 wxSlider
*arg1
= (wxSlider
*) 0 ;
13638 PyObject
* obj0
= 0 ;
13639 char *kwnames
[] = {
13640 (char *) "self", NULL
13643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
13644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13648 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
13650 wxPyEndAllowThreads(__tstate
);
13651 if (PyErr_Occurred()) SWIG_fail
;
13653 resultobj
= SWIG_From_int((int)result
);
13660 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13661 PyObject
*resultobj
;
13662 wxSlider
*arg1
= (wxSlider
*) 0 ;
13664 int arg3
= (int) 1 ;
13665 PyObject
* obj0
= 0 ;
13666 PyObject
* obj1
= 0 ;
13667 PyObject
* obj2
= 0 ;
13668 char *kwnames
[] = {
13669 (char *) "self",(char *) "n",(char *) "pos", NULL
13672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13675 arg2
= (int)SWIG_As_int(obj1
);
13676 if (PyErr_Occurred()) SWIG_fail
;
13678 arg3
= (int)SWIG_As_int(obj2
);
13679 if (PyErr_Occurred()) SWIG_fail
;
13682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13683 (arg1
)->SetTickFreq(arg2
,arg3
);
13685 wxPyEndAllowThreads(__tstate
);
13686 if (PyErr_Occurred()) SWIG_fail
;
13688 Py_INCREF(Py_None
); resultobj
= Py_None
;
13695 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13696 PyObject
*resultobj
;
13697 wxSlider
*arg1
= (wxSlider
*) 0 ;
13699 PyObject
* obj0
= 0 ;
13700 char *kwnames
[] = {
13701 (char *) "self", NULL
13704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
13705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13709 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
13711 wxPyEndAllowThreads(__tstate
);
13712 if (PyErr_Occurred()) SWIG_fail
;
13714 resultobj
= SWIG_From_int((int)result
);
13721 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13722 PyObject
*resultobj
;
13723 wxSlider
*arg1
= (wxSlider
*) 0 ;
13724 PyObject
* obj0
= 0 ;
13725 char *kwnames
[] = {
13726 (char *) "self", NULL
13729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
13730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13734 (arg1
)->ClearTicks();
13736 wxPyEndAllowThreads(__tstate
);
13737 if (PyErr_Occurred()) SWIG_fail
;
13739 Py_INCREF(Py_None
); resultobj
= Py_None
;
13746 static PyObject
*_wrap_Slider_SetTick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13747 PyObject
*resultobj
;
13748 wxSlider
*arg1
= (wxSlider
*) 0 ;
13750 PyObject
* obj0
= 0 ;
13751 PyObject
* obj1
= 0 ;
13752 char *kwnames
[] = {
13753 (char *) "self",(char *) "tickPos", NULL
13756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
13757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13759 arg2
= (int)SWIG_As_int(obj1
);
13760 if (PyErr_Occurred()) SWIG_fail
;
13762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13763 (arg1
)->SetTick(arg2
);
13765 wxPyEndAllowThreads(__tstate
);
13766 if (PyErr_Occurred()) SWIG_fail
;
13768 Py_INCREF(Py_None
); resultobj
= Py_None
;
13775 static PyObject
*_wrap_Slider_ClearSel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13776 PyObject
*resultobj
;
13777 wxSlider
*arg1
= (wxSlider
*) 0 ;
13778 PyObject
* obj0
= 0 ;
13779 char *kwnames
[] = {
13780 (char *) "self", NULL
13783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
13784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13788 (arg1
)->ClearSel();
13790 wxPyEndAllowThreads(__tstate
);
13791 if (PyErr_Occurred()) SWIG_fail
;
13793 Py_INCREF(Py_None
); resultobj
= Py_None
;
13800 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13801 PyObject
*resultobj
;
13802 wxSlider
*arg1
= (wxSlider
*) 0 ;
13804 PyObject
* obj0
= 0 ;
13805 char *kwnames
[] = {
13806 (char *) "self", NULL
13809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
13810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13814 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
13816 wxPyEndAllowThreads(__tstate
);
13817 if (PyErr_Occurred()) SWIG_fail
;
13819 resultobj
= SWIG_From_int((int)result
);
13826 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13827 PyObject
*resultobj
;
13828 wxSlider
*arg1
= (wxSlider
*) 0 ;
13830 PyObject
* obj0
= 0 ;
13831 char *kwnames
[] = {
13832 (char *) "self", NULL
13835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
13836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13840 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
13842 wxPyEndAllowThreads(__tstate
);
13843 if (PyErr_Occurred()) SWIG_fail
;
13845 resultobj
= SWIG_From_int((int)result
);
13852 static PyObject
*_wrap_Slider_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13853 PyObject
*resultobj
;
13854 wxSlider
*arg1
= (wxSlider
*) 0 ;
13857 PyObject
* obj0
= 0 ;
13858 PyObject
* obj1
= 0 ;
13859 PyObject
* obj2
= 0 ;
13860 char *kwnames
[] = {
13861 (char *) "self",(char *) "min",(char *) "max", NULL
13864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13867 arg2
= (int)SWIG_As_int(obj1
);
13868 if (PyErr_Occurred()) SWIG_fail
;
13869 arg3
= (int)SWIG_As_int(obj2
);
13870 if (PyErr_Occurred()) SWIG_fail
;
13872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13873 (arg1
)->SetSelection(arg2
,arg3
);
13875 wxPyEndAllowThreads(__tstate
);
13876 if (PyErr_Occurred()) SWIG_fail
;
13878 Py_INCREF(Py_None
); resultobj
= Py_None
;
13885 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13886 PyObject
*resultobj
;
13887 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
13888 wxVisualAttributes result
;
13889 PyObject
* obj0
= 0 ;
13890 char *kwnames
[] = {
13891 (char *) "variant", NULL
13894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13896 arg1
= (int)SWIG_As_int(obj0
);
13897 if (PyErr_Occurred()) SWIG_fail
;
13900 if (!wxPyCheckForApp()) SWIG_fail
;
13901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13902 result
= wxSlider::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13904 wxPyEndAllowThreads(__tstate
);
13905 if (PyErr_Occurred()) SWIG_fail
;
13908 wxVisualAttributes
* resultptr
;
13909 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
13910 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13918 static PyObject
* Slider_swigregister(PyObject
*, PyObject
*args
) {
13920 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13921 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
13923 return Py_BuildValue((char *)"");
13925 static int _wrap_ToggleButtonNameStr_set(PyObject
*) {
13926 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
13931 static PyObject
*_wrap_ToggleButtonNameStr_get() {
13936 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13938 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13945 static PyObject
*_wrap_new_ToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13946 PyObject
*resultobj
;
13947 wxWindow
*arg1
= (wxWindow
*) 0 ;
13948 int arg2
= (int) -1 ;
13949 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13950 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13951 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13952 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13953 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13954 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13955 long arg6
= (long) 0 ;
13956 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
13957 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
13958 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
13959 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13960 wxToggleButton
*result
;
13961 bool temp3
= false ;
13964 bool temp8
= false ;
13965 PyObject
* obj0
= 0 ;
13966 PyObject
* obj1
= 0 ;
13967 PyObject
* obj2
= 0 ;
13968 PyObject
* obj3
= 0 ;
13969 PyObject
* obj4
= 0 ;
13970 PyObject
* obj5
= 0 ;
13971 PyObject
* obj6
= 0 ;
13972 PyObject
* obj7
= 0 ;
13973 char *kwnames
[] = {
13974 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
13978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13981 arg2
= (int)SWIG_As_int(obj1
);
13982 if (PyErr_Occurred()) SWIG_fail
;
13986 arg3
= wxString_in_helper(obj2
);
13987 if (arg3
== NULL
) SWIG_fail
;
13994 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14000 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14004 arg6
= (long)SWIG_As_long(obj5
);
14005 if (PyErr_Occurred()) SWIG_fail
;
14008 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
14009 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14011 if (arg7
== NULL
) {
14012 PyErr_SetString(PyExc_TypeError
,"null reference");
14018 arg8
= wxString_in_helper(obj7
);
14019 if (arg8
== NULL
) SWIG_fail
;
14024 if (!wxPyCheckForApp()) SWIG_fail
;
14025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14026 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
14028 wxPyEndAllowThreads(__tstate
);
14029 if (PyErr_Occurred()) SWIG_fail
;
14031 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
14054 static PyObject
*_wrap_new_PreToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14055 PyObject
*resultobj
;
14056 wxToggleButton
*result
;
14057 char *kwnames
[] = {
14061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
14063 if (!wxPyCheckForApp()) SWIG_fail
;
14064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14065 result
= (wxToggleButton
*)new wxToggleButton();
14067 wxPyEndAllowThreads(__tstate
);
14068 if (PyErr_Occurred()) SWIG_fail
;
14070 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
14077 static PyObject
*_wrap_ToggleButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14078 PyObject
*resultobj
;
14079 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14080 wxWindow
*arg2
= (wxWindow
*) 0 ;
14081 int arg3
= (int) -1 ;
14082 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14083 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14084 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14085 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14086 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14087 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14088 long arg7
= (long) 0 ;
14089 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
14090 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
14091 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
14092 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
14094 bool temp4
= false ;
14097 bool temp9
= false ;
14098 PyObject
* obj0
= 0 ;
14099 PyObject
* obj1
= 0 ;
14100 PyObject
* obj2
= 0 ;
14101 PyObject
* obj3
= 0 ;
14102 PyObject
* obj4
= 0 ;
14103 PyObject
* obj5
= 0 ;
14104 PyObject
* obj6
= 0 ;
14105 PyObject
* obj7
= 0 ;
14106 PyObject
* obj8
= 0 ;
14107 char *kwnames
[] = {
14108 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
14112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14114 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14117 arg3
= (int)SWIG_As_int(obj2
);
14118 if (PyErr_Occurred()) SWIG_fail
;
14122 arg4
= wxString_in_helper(obj3
);
14123 if (arg4
== NULL
) SWIG_fail
;
14130 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14136 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14140 arg7
= (long)SWIG_As_long(obj6
);
14141 if (PyErr_Occurred()) SWIG_fail
;
14144 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
14145 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14147 if (arg8
== NULL
) {
14148 PyErr_SetString(PyExc_TypeError
,"null reference");
14154 arg9
= wxString_in_helper(obj8
);
14155 if (arg9
== NULL
) SWIG_fail
;
14160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14161 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
14163 wxPyEndAllowThreads(__tstate
);
14164 if (PyErr_Occurred()) SWIG_fail
;
14167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14191 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14192 PyObject
*resultobj
;
14193 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14195 PyObject
* obj0
= 0 ;
14196 PyObject
* obj1
= 0 ;
14197 char *kwnames
[] = {
14198 (char *) "self",(char *) "value", NULL
14201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14204 arg2
= (bool)SWIG_As_bool(obj1
);
14205 if (PyErr_Occurred()) SWIG_fail
;
14207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14208 (arg1
)->SetValue(arg2
);
14210 wxPyEndAllowThreads(__tstate
);
14211 if (PyErr_Occurred()) SWIG_fail
;
14213 Py_INCREF(Py_None
); resultobj
= Py_None
;
14220 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14221 PyObject
*resultobj
;
14222 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14224 PyObject
* obj0
= 0 ;
14225 char *kwnames
[] = {
14226 (char *) "self", NULL
14229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
14230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14234 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
14236 wxPyEndAllowThreads(__tstate
);
14237 if (PyErr_Occurred()) SWIG_fail
;
14240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14248 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14249 PyObject
*resultobj
;
14250 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14251 wxString
*arg2
= 0 ;
14252 bool temp2
= false ;
14253 PyObject
* obj0
= 0 ;
14254 PyObject
* obj1
= 0 ;
14255 char *kwnames
[] = {
14256 (char *) "self",(char *) "label", NULL
14259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
14260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14263 arg2
= wxString_in_helper(obj1
);
14264 if (arg2
== NULL
) SWIG_fail
;
14268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14269 (arg1
)->SetLabel((wxString
const &)*arg2
);
14271 wxPyEndAllowThreads(__tstate
);
14272 if (PyErr_Occurred()) SWIG_fail
;
14274 Py_INCREF(Py_None
); resultobj
= Py_None
;
14289 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14290 PyObject
*resultobj
;
14291 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14292 wxVisualAttributes result
;
14293 PyObject
* obj0
= 0 ;
14294 char *kwnames
[] = {
14295 (char *) "variant", NULL
14298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14300 arg1
= (int)SWIG_As_int(obj0
);
14301 if (PyErr_Occurred()) SWIG_fail
;
14304 if (!wxPyCheckForApp()) SWIG_fail
;
14305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14306 result
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14308 wxPyEndAllowThreads(__tstate
);
14309 if (PyErr_Occurred()) SWIG_fail
;
14312 wxVisualAttributes
* resultptr
;
14313 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14314 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14322 static PyObject
* ToggleButton_swigregister(PyObject
*, PyObject
*args
) {
14324 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14325 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
14327 return Py_BuildValue((char *)"");
14329 static int _wrap_NOTEBOOK_NAME_set(PyObject
*) {
14330 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
14335 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
14340 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
14342 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
14349 static PyObject
*_wrap_BookCtrlBase_GetPageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14350 PyObject
*resultobj
;
14351 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14353 PyObject
* obj0
= 0 ;
14354 char *kwnames
[] = {
14355 (char *) "self", NULL
14358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetPageCount",kwnames
,&obj0
)) goto fail
;
14359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14363 result
= (size_t)((wxBookCtrlBase
const *)arg1
)->GetPageCount();
14365 wxPyEndAllowThreads(__tstate
);
14366 if (PyErr_Occurred()) SWIG_fail
;
14368 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
14375 static PyObject
*_wrap_BookCtrlBase_GetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14376 PyObject
*resultobj
;
14377 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14380 PyObject
* obj0
= 0 ;
14381 PyObject
* obj1
= 0 ;
14382 char *kwnames
[] = {
14383 (char *) "self",(char *) "n", NULL
14386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14389 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14390 if (PyErr_Occurred()) SWIG_fail
;
14392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14393 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
14395 wxPyEndAllowThreads(__tstate
);
14396 if (PyErr_Occurred()) SWIG_fail
;
14399 resultobj
= wxPyMake_wxObject(result
, 0);
14407 static PyObject
*_wrap_BookCtrlBase_GetCurrentPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14408 PyObject
*resultobj
;
14409 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14411 PyObject
* obj0
= 0 ;
14412 char *kwnames
[] = {
14413 (char *) "self", NULL
14416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetCurrentPage",kwnames
,&obj0
)) goto fail
;
14417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14421 result
= (wxWindow
*)((wxBookCtrlBase
const *)arg1
)->GetCurrentPage();
14423 wxPyEndAllowThreads(__tstate
);
14424 if (PyErr_Occurred()) SWIG_fail
;
14427 resultobj
= wxPyMake_wxObject(result
, 0);
14435 static PyObject
*_wrap_BookCtrlBase_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14436 PyObject
*resultobj
;
14437 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14439 PyObject
* obj0
= 0 ;
14440 char *kwnames
[] = {
14441 (char *) "self", NULL
14444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetSelection",kwnames
,&obj0
)) goto fail
;
14445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14449 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetSelection();
14451 wxPyEndAllowThreads(__tstate
);
14452 if (PyErr_Occurred()) SWIG_fail
;
14454 resultobj
= SWIG_From_int((int)result
);
14461 static PyObject
*_wrap_BookCtrlBase_SetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14462 PyObject
*resultobj
;
14463 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14465 wxString
*arg3
= 0 ;
14467 bool temp3
= false ;
14468 PyObject
* obj0
= 0 ;
14469 PyObject
* obj1
= 0 ;
14470 PyObject
* obj2
= 0 ;
14471 char *kwnames
[] = {
14472 (char *) "self",(char *) "n",(char *) "strText", NULL
14475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14478 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14479 if (PyErr_Occurred()) SWIG_fail
;
14481 arg3
= wxString_in_helper(obj2
);
14482 if (arg3
== NULL
) SWIG_fail
;
14486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14487 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
14489 wxPyEndAllowThreads(__tstate
);
14490 if (PyErr_Occurred()) SWIG_fail
;
14493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14509 static PyObject
*_wrap_BookCtrlBase_GetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14510 PyObject
*resultobj
;
14511 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14514 PyObject
* obj0
= 0 ;
14515 PyObject
* obj1
= 0 ;
14516 char *kwnames
[] = {
14517 (char *) "self",(char *) "n", NULL
14520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
14521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14523 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14524 if (PyErr_Occurred()) SWIG_fail
;
14526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14527 result
= ((wxBookCtrlBase
const *)arg1
)->GetPageText(arg2
);
14529 wxPyEndAllowThreads(__tstate
);
14530 if (PyErr_Occurred()) SWIG_fail
;
14534 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14536 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14545 static PyObject
*_wrap_BookCtrlBase_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14546 PyObject
*resultobj
;
14547 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14548 wxImageList
*arg2
= (wxImageList
*) 0 ;
14549 PyObject
* obj0
= 0 ;
14550 PyObject
* obj1
= 0 ;
14551 char *kwnames
[] = {
14552 (char *) "self",(char *) "imageList", NULL
14555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14558 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14562 (arg1
)->SetImageList(arg2
);
14564 wxPyEndAllowThreads(__tstate
);
14565 if (PyErr_Occurred()) SWIG_fail
;
14567 Py_INCREF(Py_None
); resultobj
= Py_None
;
14574 static PyObject
*_wrap_BookCtrlBase_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14575 PyObject
*resultobj
;
14576 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14577 wxImageList
*arg2
= (wxImageList
*) 0 ;
14578 PyObject
* obj0
= 0 ;
14579 PyObject
* obj1
= 0 ;
14580 char *kwnames
[] = {
14581 (char *) "self",(char *) "imageList", NULL
14584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14587 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14588 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
14590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14591 (arg1
)->AssignImageList(arg2
);
14593 wxPyEndAllowThreads(__tstate
);
14594 if (PyErr_Occurred()) SWIG_fail
;
14596 Py_INCREF(Py_None
); resultobj
= Py_None
;
14603 static PyObject
*_wrap_BookCtrlBase_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14604 PyObject
*resultobj
;
14605 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14606 wxImageList
*result
;
14607 PyObject
* obj0
= 0 ;
14608 char *kwnames
[] = {
14609 (char *) "self", NULL
14612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_GetImageList",kwnames
,&obj0
)) goto fail
;
14613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14617 result
= (wxImageList
*)((wxBookCtrlBase
const *)arg1
)->GetImageList();
14619 wxPyEndAllowThreads(__tstate
);
14620 if (PyErr_Occurred()) SWIG_fail
;
14623 resultobj
= wxPyMake_wxObject(result
, 0);
14631 static PyObject
*_wrap_BookCtrlBase_GetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14632 PyObject
*resultobj
;
14633 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14636 PyObject
* obj0
= 0 ;
14637 PyObject
* obj1
= 0 ;
14638 char *kwnames
[] = {
14639 (char *) "self",(char *) "n", NULL
14642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
14643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14645 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14646 if (PyErr_Occurred()) SWIG_fail
;
14648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14649 result
= (int)((wxBookCtrlBase
const *)arg1
)->GetPageImage(arg2
);
14651 wxPyEndAllowThreads(__tstate
);
14652 if (PyErr_Occurred()) SWIG_fail
;
14654 resultobj
= SWIG_From_int((int)result
);
14661 static PyObject
*_wrap_BookCtrlBase_SetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14662 PyObject
*resultobj
;
14663 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14667 PyObject
* obj0
= 0 ;
14668 PyObject
* obj1
= 0 ;
14669 PyObject
* obj2
= 0 ;
14670 char *kwnames
[] = {
14671 (char *) "self",(char *) "n",(char *) "imageId", NULL
14674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrlBase_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14677 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14678 if (PyErr_Occurred()) SWIG_fail
;
14679 arg3
= (int)SWIG_As_int(obj2
);
14680 if (PyErr_Occurred()) SWIG_fail
;
14682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14683 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
14685 wxPyEndAllowThreads(__tstate
);
14686 if (PyErr_Occurred()) SWIG_fail
;
14689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14697 static PyObject
*_wrap_BookCtrlBase_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14698 PyObject
*resultobj
;
14699 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14702 PyObject
* obj0
= 0 ;
14703 PyObject
* obj1
= 0 ;
14704 char *kwnames
[] = {
14705 (char *) "self",(char *) "size", NULL
14708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14713 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14717 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
14719 wxPyEndAllowThreads(__tstate
);
14720 if (PyErr_Occurred()) SWIG_fail
;
14722 Py_INCREF(Py_None
); resultobj
= Py_None
;
14729 static PyObject
*_wrap_BookCtrlBase_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14730 PyObject
*resultobj
;
14731 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14735 PyObject
* obj0
= 0 ;
14736 PyObject
* obj1
= 0 ;
14737 char *kwnames
[] = {
14738 (char *) "self",(char *) "sizePage", NULL
14741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14746 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14750 result
= ((wxBookCtrlBase
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14752 wxPyEndAllowThreads(__tstate
);
14753 if (PyErr_Occurred()) SWIG_fail
;
14756 wxSize
* resultptr
;
14757 resultptr
= new wxSize((wxSize
&) result
);
14758 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14766 static PyObject
*_wrap_BookCtrlBase_DeletePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14767 PyObject
*resultobj
;
14768 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14771 PyObject
* obj0
= 0 ;
14772 PyObject
* obj1
= 0 ;
14773 char *kwnames
[] = {
14774 (char *) "self",(char *) "n", NULL
14777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14780 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14781 if (PyErr_Occurred()) SWIG_fail
;
14783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14784 result
= (bool)(arg1
)->DeletePage(arg2
);
14786 wxPyEndAllowThreads(__tstate
);
14787 if (PyErr_Occurred()) SWIG_fail
;
14790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14798 static PyObject
*_wrap_BookCtrlBase_RemovePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14799 PyObject
*resultobj
;
14800 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14803 PyObject
* obj0
= 0 ;
14804 PyObject
* obj1
= 0 ;
14805 char *kwnames
[] = {
14806 (char *) "self",(char *) "n", NULL
14809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14812 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14813 if (PyErr_Occurred()) SWIG_fail
;
14815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14816 result
= (bool)(arg1
)->RemovePage(arg2
);
14818 wxPyEndAllowThreads(__tstate
);
14819 if (PyErr_Occurred()) SWIG_fail
;
14822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14830 static PyObject
*_wrap_BookCtrlBase_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14831 PyObject
*resultobj
;
14832 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14834 PyObject
* obj0
= 0 ;
14835 char *kwnames
[] = {
14836 (char *) "self", NULL
14839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBase_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
14840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14844 result
= (bool)(arg1
)->DeleteAllPages();
14846 wxPyEndAllowThreads(__tstate
);
14847 if (PyErr_Occurred()) SWIG_fail
;
14850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14858 static PyObject
*_wrap_BookCtrlBase_AddPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14859 PyObject
*resultobj
;
14860 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14861 wxWindow
*arg2
= (wxWindow
*) 0 ;
14862 wxString
*arg3
= 0 ;
14863 bool arg4
= (bool) false ;
14864 int arg5
= (int) -1 ;
14866 bool temp3
= false ;
14867 PyObject
* obj0
= 0 ;
14868 PyObject
* obj1
= 0 ;
14869 PyObject
* obj2
= 0 ;
14870 PyObject
* obj3
= 0 ;
14871 PyObject
* obj4
= 0 ;
14872 char *kwnames
[] = {
14873 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrlBase_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14879 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14882 arg3
= wxString_in_helper(obj2
);
14883 if (arg3
== NULL
) SWIG_fail
;
14887 arg4
= (bool)SWIG_As_bool(obj3
);
14888 if (PyErr_Occurred()) SWIG_fail
;
14891 arg5
= (int)SWIG_As_int(obj4
);
14892 if (PyErr_Occurred()) SWIG_fail
;
14895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14896 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
14898 wxPyEndAllowThreads(__tstate
);
14899 if (PyErr_Occurred()) SWIG_fail
;
14902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14918 static PyObject
*_wrap_BookCtrlBase_InsertPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14919 PyObject
*resultobj
;
14920 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14922 wxWindow
*arg3
= (wxWindow
*) 0 ;
14923 wxString
*arg4
= 0 ;
14924 bool arg5
= (bool) false ;
14925 int arg6
= (int) -1 ;
14927 bool temp4
= false ;
14928 PyObject
* obj0
= 0 ;
14929 PyObject
* obj1
= 0 ;
14930 PyObject
* obj2
= 0 ;
14931 PyObject
* obj3
= 0 ;
14932 PyObject
* obj4
= 0 ;
14933 PyObject
* obj5
= 0 ;
14934 char *kwnames
[] = {
14935 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrlBase_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14941 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14942 if (PyErr_Occurred()) SWIG_fail
;
14943 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
14944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14946 arg4
= wxString_in_helper(obj3
);
14947 if (arg4
== NULL
) SWIG_fail
;
14951 arg5
= (bool)SWIG_As_bool(obj4
);
14952 if (PyErr_Occurred()) SWIG_fail
;
14955 arg6
= (int)SWIG_As_int(obj5
);
14956 if (PyErr_Occurred()) SWIG_fail
;
14959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14960 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
14962 wxPyEndAllowThreads(__tstate
);
14963 if (PyErr_Occurred()) SWIG_fail
;
14966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14982 static PyObject
*_wrap_BookCtrlBase_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14983 PyObject
*resultobj
;
14984 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
14987 PyObject
* obj0
= 0 ;
14988 PyObject
* obj1
= 0 ;
14989 char *kwnames
[] = {
14990 (char *) "self",(char *) "n", NULL
14993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBase_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
14995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14996 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14997 if (PyErr_Occurred()) SWIG_fail
;
14999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15000 result
= (int)(arg1
)->SetSelection(arg2
);
15002 wxPyEndAllowThreads(__tstate
);
15003 if (PyErr_Occurred()) SWIG_fail
;
15005 resultobj
= SWIG_From_int((int)result
);
15012 static PyObject
*_wrap_BookCtrlBase_AdvanceSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15013 PyObject
*resultobj
;
15014 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
15015 bool arg2
= (bool) true ;
15016 PyObject
* obj0
= 0 ;
15017 PyObject
* obj1
= 0 ;
15018 char *kwnames
[] = {
15019 (char *) "self",(char *) "forward", NULL
15022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrlBase_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
15023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
15024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15026 arg2
= (bool)SWIG_As_bool(obj1
);
15027 if (PyErr_Occurred()) SWIG_fail
;
15030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15031 (arg1
)->AdvanceSelection(arg2
);
15033 wxPyEndAllowThreads(__tstate
);
15034 if (PyErr_Occurred()) SWIG_fail
;
15036 Py_INCREF(Py_None
); resultobj
= Py_None
;
15043 static PyObject
*_wrap_BookCtrlBase_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15044 PyObject
*resultobj
;
15045 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
15046 wxVisualAttributes result
;
15047 PyObject
* obj0
= 0 ;
15048 char *kwnames
[] = {
15049 (char *) "variant", NULL
15052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrlBase_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15054 arg1
= (int)SWIG_As_int(obj0
);
15055 if (PyErr_Occurred()) SWIG_fail
;
15058 if (!wxPyCheckForApp()) SWIG_fail
;
15059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15060 result
= wxBookCtrlBase::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15062 wxPyEndAllowThreads(__tstate
);
15063 if (PyErr_Occurred()) SWIG_fail
;
15066 wxVisualAttributes
* resultptr
;
15067 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
15068 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15076 static PyObject
* BookCtrlBase_swigregister(PyObject
*, PyObject
*args
) {
15078 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15079 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBase
, obj
);
15081 return Py_BuildValue((char *)"");
15083 static PyObject
*_wrap_new_BookCtrlBaseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15084 PyObject
*resultobj
;
15085 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15086 int arg2
= (int) 0 ;
15087 int arg3
= (int) -1 ;
15088 int arg4
= (int) -1 ;
15089 wxBookCtrlBaseEvent
*result
;
15090 PyObject
* obj0
= 0 ;
15091 PyObject
* obj1
= 0 ;
15092 PyObject
* obj2
= 0 ;
15093 PyObject
* obj3
= 0 ;
15094 char *kwnames
[] = {
15095 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlBaseEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15100 arg1
= (wxEventType
)SWIG_As_int(obj0
);
15101 if (PyErr_Occurred()) SWIG_fail
;
15104 arg2
= (int)SWIG_As_int(obj1
);
15105 if (PyErr_Occurred()) SWIG_fail
;
15108 arg3
= (int)SWIG_As_int(obj2
);
15109 if (PyErr_Occurred()) SWIG_fail
;
15112 arg4
= (int)SWIG_As_int(obj3
);
15113 if (PyErr_Occurred()) SWIG_fail
;
15116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15117 result
= (wxBookCtrlBaseEvent
*)new wxBookCtrlBaseEvent(arg1
,arg2
,arg3
,arg4
);
15119 wxPyEndAllowThreads(__tstate
);
15120 if (PyErr_Occurred()) SWIG_fail
;
15122 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBaseEvent
, 1);
15129 static PyObject
*_wrap_BookCtrlBaseEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15130 PyObject
*resultobj
;
15131 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
15133 PyObject
* obj0
= 0 ;
15134 char *kwnames
[] = {
15135 (char *) "self", NULL
15138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
15139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBaseEvent
,
15140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15143 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetSelection();
15145 wxPyEndAllowThreads(__tstate
);
15146 if (PyErr_Occurred()) SWIG_fail
;
15148 resultobj
= SWIG_From_int((int)result
);
15155 static PyObject
*_wrap_BookCtrlBaseEvent_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15156 PyObject
*resultobj
;
15157 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
15159 PyObject
* obj0
= 0 ;
15160 PyObject
* obj1
= 0 ;
15161 char *kwnames
[] = {
15162 (char *) "self",(char *) "nSel", NULL
15165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
15166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBaseEvent
,
15167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15168 arg2
= (int)SWIG_As_int(obj1
);
15169 if (PyErr_Occurred()) SWIG_fail
;
15171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15172 (arg1
)->SetSelection(arg2
);
15174 wxPyEndAllowThreads(__tstate
);
15175 if (PyErr_Occurred()) SWIG_fail
;
15177 Py_INCREF(Py_None
); resultobj
= Py_None
;
15184 static PyObject
*_wrap_BookCtrlBaseEvent_GetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15185 PyObject
*resultobj
;
15186 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
15188 PyObject
* obj0
= 0 ;
15189 char *kwnames
[] = {
15190 (char *) "self", NULL
15193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlBaseEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
15194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBaseEvent
,
15195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15198 result
= (int)((wxBookCtrlBaseEvent
const *)arg1
)->GetOldSelection();
15200 wxPyEndAllowThreads(__tstate
);
15201 if (PyErr_Occurred()) SWIG_fail
;
15203 resultobj
= SWIG_From_int((int)result
);
15210 static PyObject
*_wrap_BookCtrlBaseEvent_SetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15211 PyObject
*resultobj
;
15212 wxBookCtrlBaseEvent
*arg1
= (wxBookCtrlBaseEvent
*) 0 ;
15214 PyObject
* obj0
= 0 ;
15215 PyObject
* obj1
= 0 ;
15216 char *kwnames
[] = {
15217 (char *) "self",(char *) "nOldSel", NULL
15220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlBaseEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
15221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBaseEvent
,
15222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15223 arg2
= (int)SWIG_As_int(obj1
);
15224 if (PyErr_Occurred()) SWIG_fail
;
15226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15227 (arg1
)->SetOldSelection(arg2
);
15229 wxPyEndAllowThreads(__tstate
);
15230 if (PyErr_Occurred()) SWIG_fail
;
15232 Py_INCREF(Py_None
); resultobj
= Py_None
;
15239 static PyObject
* BookCtrlBaseEvent_swigregister(PyObject
*, PyObject
*args
) {
15241 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15242 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlBaseEvent
, obj
);
15244 return Py_BuildValue((char *)"");
15246 static PyObject
*_wrap_new_Notebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15247 PyObject
*resultobj
;
15248 wxWindow
*arg1
= (wxWindow
*) 0 ;
15249 int arg2
= (int) -1 ;
15250 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15251 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15252 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15253 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15254 long arg5
= (long) 0 ;
15255 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
15256 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15257 wxNotebook
*result
;
15260 bool temp6
= false ;
15261 PyObject
* obj0
= 0 ;
15262 PyObject
* obj1
= 0 ;
15263 PyObject
* obj2
= 0 ;
15264 PyObject
* obj3
= 0 ;
15265 PyObject
* obj4
= 0 ;
15266 PyObject
* obj5
= 0 ;
15267 char *kwnames
[] = {
15268 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15275 arg2
= (int)SWIG_As_int(obj1
);
15276 if (PyErr_Occurred()) SWIG_fail
;
15281 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15287 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15291 arg5
= (long)SWIG_As_long(obj4
);
15292 if (PyErr_Occurred()) SWIG_fail
;
15296 arg6
= wxString_in_helper(obj5
);
15297 if (arg6
== NULL
) SWIG_fail
;
15302 if (!wxPyCheckForApp()) SWIG_fail
;
15303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15304 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15306 wxPyEndAllowThreads(__tstate
);
15307 if (PyErr_Occurred()) SWIG_fail
;
15309 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
15324 static PyObject
*_wrap_new_PreNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15325 PyObject
*resultobj
;
15326 wxNotebook
*result
;
15327 char *kwnames
[] = {
15331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
15333 if (!wxPyCheckForApp()) SWIG_fail
;
15334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15335 result
= (wxNotebook
*)new wxNotebook();
15337 wxPyEndAllowThreads(__tstate
);
15338 if (PyErr_Occurred()) SWIG_fail
;
15340 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
15347 static PyObject
*_wrap_Notebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15348 PyObject
*resultobj
;
15349 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15350 wxWindow
*arg2
= (wxWindow
*) 0 ;
15351 int arg3
= (int) -1 ;
15352 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15353 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15354 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15355 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15356 long arg6
= (long) 0 ;
15357 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
15358 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15362 bool temp7
= false ;
15363 PyObject
* obj0
= 0 ;
15364 PyObject
* obj1
= 0 ;
15365 PyObject
* obj2
= 0 ;
15366 PyObject
* obj3
= 0 ;
15367 PyObject
* obj4
= 0 ;
15368 PyObject
* obj5
= 0 ;
15369 PyObject
* obj6
= 0 ;
15370 char *kwnames
[] = {
15371 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15377 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15380 arg3
= (int)SWIG_As_int(obj2
);
15381 if (PyErr_Occurred()) SWIG_fail
;
15386 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15392 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15396 arg6
= (long)SWIG_As_long(obj5
);
15397 if (PyErr_Occurred()) SWIG_fail
;
15401 arg7
= wxString_in_helper(obj6
);
15402 if (arg7
== NULL
) SWIG_fail
;
15407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15408 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15410 wxPyEndAllowThreads(__tstate
);
15411 if (PyErr_Occurred()) SWIG_fail
;
15414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15430 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15431 PyObject
*resultobj
;
15432 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15434 PyObject
* obj0
= 0 ;
15435 char *kwnames
[] = {
15436 (char *) "self", NULL
15439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
15440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15444 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
15446 wxPyEndAllowThreads(__tstate
);
15447 if (PyErr_Occurred()) SWIG_fail
;
15449 resultobj
= SWIG_From_int((int)result
);
15456 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15457 PyObject
*resultobj
;
15458 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15461 PyObject
* obj0
= 0 ;
15462 PyObject
* obj1
= 0 ;
15463 char *kwnames
[] = {
15464 (char *) "self",(char *) "padding", NULL
15467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
15468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15472 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15476 (arg1
)->SetPadding((wxSize
const &)*arg2
);
15478 wxPyEndAllowThreads(__tstate
);
15479 if (PyErr_Occurred()) SWIG_fail
;
15481 Py_INCREF(Py_None
); resultobj
= Py_None
;
15488 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15489 PyObject
*resultobj
;
15490 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15493 PyObject
* obj0
= 0 ;
15494 PyObject
* obj1
= 0 ;
15495 char *kwnames
[] = {
15496 (char *) "self",(char *) "sz", NULL
15499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15504 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15508 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
15510 wxPyEndAllowThreads(__tstate
);
15511 if (PyErr_Occurred()) SWIG_fail
;
15513 Py_INCREF(Py_None
); resultobj
= Py_None
;
15520 static PyObject
*_wrap_Notebook_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15521 PyObject
*resultobj
;
15522 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15523 wxPoint
*arg2
= 0 ;
15524 long *arg3
= (long *) 0 ;
15529 PyObject
* obj0
= 0 ;
15530 PyObject
* obj1
= 0 ;
15531 char *kwnames
[] = {
15532 (char *) "self",(char *) "pt", NULL
15535 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
15537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15541 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15545 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
15547 wxPyEndAllowThreads(__tstate
);
15548 if (PyErr_Occurred()) SWIG_fail
;
15550 resultobj
= SWIG_From_int((int)result
);
15551 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15552 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
15559 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15560 PyObject
*resultobj
;
15561 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15565 PyObject
* obj0
= 0 ;
15566 PyObject
* obj1
= 0 ;
15567 char *kwnames
[] = {
15568 (char *) "self",(char *) "sizePage", NULL
15571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
15572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15576 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15580 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
15582 wxPyEndAllowThreads(__tstate
);
15583 if (PyErr_Occurred()) SWIG_fail
;
15586 wxSize
* resultptr
;
15587 resultptr
= new wxSize((wxSize
&) result
);
15588 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15596 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15597 PyObject
*resultobj
;
15598 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
15599 wxVisualAttributes result
;
15600 PyObject
* obj0
= 0 ;
15601 char *kwnames
[] = {
15602 (char *) "variant", NULL
15605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15607 arg1
= (int)SWIG_As_int(obj0
);
15608 if (PyErr_Occurred()) SWIG_fail
;
15611 if (!wxPyCheckForApp()) SWIG_fail
;
15612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15613 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15615 wxPyEndAllowThreads(__tstate
);
15616 if (PyErr_Occurred()) SWIG_fail
;
15619 wxVisualAttributes
* resultptr
;
15620 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
15621 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15629 static PyObject
* Notebook_swigregister(PyObject
*, PyObject
*args
) {
15631 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15632 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
15634 return Py_BuildValue((char *)"");
15636 static PyObject
*_wrap_new_NotebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15637 PyObject
*resultobj
;
15638 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15639 int arg2
= (int) 0 ;
15640 int arg3
= (int) -1 ;
15641 int arg4
= (int) -1 ;
15642 wxNotebookEvent
*result
;
15643 PyObject
* obj0
= 0 ;
15644 PyObject
* obj1
= 0 ;
15645 PyObject
* obj2
= 0 ;
15646 PyObject
* obj3
= 0 ;
15647 char *kwnames
[] = {
15648 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15653 arg1
= (wxEventType
)SWIG_As_int(obj0
);
15654 if (PyErr_Occurred()) SWIG_fail
;
15657 arg2
= (int)SWIG_As_int(obj1
);
15658 if (PyErr_Occurred()) SWIG_fail
;
15661 arg3
= (int)SWIG_As_int(obj2
);
15662 if (PyErr_Occurred()) SWIG_fail
;
15665 arg4
= (int)SWIG_As_int(obj3
);
15666 if (PyErr_Occurred()) SWIG_fail
;
15669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15670 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
15672 wxPyEndAllowThreads(__tstate
);
15673 if (PyErr_Occurred()) SWIG_fail
;
15675 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
15682 static PyObject
* NotebookEvent_swigregister(PyObject
*, PyObject
*args
) {
15684 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15685 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
15687 return Py_BuildValue((char *)"");
15689 static PyObject
*_wrap_new_Listbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15690 PyObject
*resultobj
;
15691 wxWindow
*arg1
= (wxWindow
*) 0 ;
15692 int arg2
= (int) -1 ;
15693 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15694 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15695 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15696 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15697 long arg5
= (long) 0 ;
15698 wxString
const &arg6_defvalue
= wxPyEmptyString
;
15699 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15700 wxListbook
*result
;
15703 bool temp6
= false ;
15704 PyObject
* obj0
= 0 ;
15705 PyObject
* obj1
= 0 ;
15706 PyObject
* obj2
= 0 ;
15707 PyObject
* obj3
= 0 ;
15708 PyObject
* obj4
= 0 ;
15709 PyObject
* obj5
= 0 ;
15710 char *kwnames
[] = {
15711 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15718 arg2
= (int)SWIG_As_int(obj1
);
15719 if (PyErr_Occurred()) SWIG_fail
;
15724 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15730 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15734 arg5
= (long)SWIG_As_long(obj4
);
15735 if (PyErr_Occurred()) SWIG_fail
;
15739 arg6
= wxString_in_helper(obj5
);
15740 if (arg6
== NULL
) SWIG_fail
;
15745 if (!wxPyCheckForApp()) SWIG_fail
;
15746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15747 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15749 wxPyEndAllowThreads(__tstate
);
15750 if (PyErr_Occurred()) SWIG_fail
;
15752 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15767 static PyObject
*_wrap_new_PreListbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15768 PyObject
*resultobj
;
15769 wxListbook
*result
;
15770 char *kwnames
[] = {
15774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
15776 if (!wxPyCheckForApp()) SWIG_fail
;
15777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15778 result
= (wxListbook
*)new wxListbook();
15780 wxPyEndAllowThreads(__tstate
);
15781 if (PyErr_Occurred()) SWIG_fail
;
15783 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15790 static PyObject
*_wrap_Listbook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15791 PyObject
*resultobj
;
15792 wxListbook
*arg1
= (wxListbook
*) 0 ;
15793 wxWindow
*arg2
= (wxWindow
*) 0 ;
15794 int arg3
= (int) -1 ;
15795 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15796 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15797 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15798 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15799 long arg6
= (long) 0 ;
15800 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15801 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15805 bool temp7
= false ;
15806 PyObject
* obj0
= 0 ;
15807 PyObject
* obj1
= 0 ;
15808 PyObject
* obj2
= 0 ;
15809 PyObject
* obj3
= 0 ;
15810 PyObject
* obj4
= 0 ;
15811 PyObject
* obj5
= 0 ;
15812 PyObject
* obj6
= 0 ;
15813 char *kwnames
[] = {
15814 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15820 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15823 arg3
= (int)SWIG_As_int(obj2
);
15824 if (PyErr_Occurred()) SWIG_fail
;
15829 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15835 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15839 arg6
= (long)SWIG_As_long(obj5
);
15840 if (PyErr_Occurred()) SWIG_fail
;
15844 arg7
= wxString_in_helper(obj6
);
15845 if (arg7
== NULL
) SWIG_fail
;
15850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15851 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15853 wxPyEndAllowThreads(__tstate
);
15854 if (PyErr_Occurred()) SWIG_fail
;
15857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15873 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15874 PyObject
*resultobj
;
15875 wxListbook
*arg1
= (wxListbook
*) 0 ;
15877 PyObject
* obj0
= 0 ;
15878 char *kwnames
[] = {
15879 (char *) "self", NULL
15882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
15883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15887 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
15889 wxPyEndAllowThreads(__tstate
);
15890 if (PyErr_Occurred()) SWIG_fail
;
15893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15901 static PyObject
*_wrap_Listbook_GetListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15902 PyObject
*resultobj
;
15903 wxListbook
*arg1
= (wxListbook
*) 0 ;
15904 wxListView
*result
;
15905 PyObject
* obj0
= 0 ;
15906 char *kwnames
[] = {
15907 (char *) "self", NULL
15910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_GetListView",kwnames
,&obj0
)) goto fail
;
15911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15915 result
= (wxListView
*)(arg1
)->GetListView();
15917 wxPyEndAllowThreads(__tstate
);
15918 if (PyErr_Occurred()) SWIG_fail
;
15920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 0);
15927 static PyObject
* Listbook_swigregister(PyObject
*, PyObject
*args
) {
15929 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15930 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
15932 return Py_BuildValue((char *)"");
15934 static PyObject
*_wrap_new_ListbookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15935 PyObject
*resultobj
;
15936 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15937 int arg2
= (int) 0 ;
15938 int arg3
= (int) -1 ;
15939 int arg4
= (int) -1 ;
15940 wxListbookEvent
*result
;
15941 PyObject
* obj0
= 0 ;
15942 PyObject
* obj1
= 0 ;
15943 PyObject
* obj2
= 0 ;
15944 PyObject
* obj3
= 0 ;
15945 char *kwnames
[] = {
15946 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15951 arg1
= (wxEventType
)SWIG_As_int(obj0
);
15952 if (PyErr_Occurred()) SWIG_fail
;
15955 arg2
= (int)SWIG_As_int(obj1
);
15956 if (PyErr_Occurred()) SWIG_fail
;
15959 arg3
= (int)SWIG_As_int(obj2
);
15960 if (PyErr_Occurred()) SWIG_fail
;
15963 arg4
= (int)SWIG_As_int(obj3
);
15964 if (PyErr_Occurred()) SWIG_fail
;
15967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15968 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
15970 wxPyEndAllowThreads(__tstate
);
15971 if (PyErr_Occurred()) SWIG_fail
;
15973 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
15980 static PyObject
* ListbookEvent_swigregister(PyObject
*, PyObject
*args
) {
15982 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15983 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
15985 return Py_BuildValue((char *)"");
15987 static PyObject
*_wrap_new_Choicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15988 PyObject
*resultobj
;
15989 wxWindow
*arg1
= (wxWindow
*) 0 ;
15991 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15992 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15993 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15994 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15995 long arg5
= (long) 0 ;
15996 wxString
const &arg6_defvalue
= wxPyEmptyString
;
15997 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15998 wxChoicebook
*result
;
16001 bool temp6
= false ;
16002 PyObject
* obj0
= 0 ;
16003 PyObject
* obj1
= 0 ;
16004 PyObject
* obj2
= 0 ;
16005 PyObject
* obj3
= 0 ;
16006 PyObject
* obj4
= 0 ;
16007 PyObject
* obj5
= 0 ;
16008 char *kwnames
[] = {
16009 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Choicebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
16013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16015 arg2
= (int)SWIG_As_int(obj1
);
16016 if (PyErr_Occurred()) SWIG_fail
;
16020 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16026 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
16030 arg5
= (long)SWIG_As_long(obj4
);
16031 if (PyErr_Occurred()) SWIG_fail
;
16035 arg6
= wxString_in_helper(obj5
);
16036 if (arg6
== NULL
) SWIG_fail
;
16041 if (!wxPyCheckForApp()) SWIG_fail
;
16042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16043 result
= (wxChoicebook
*)new wxChoicebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
16045 wxPyEndAllowThreads(__tstate
);
16046 if (PyErr_Occurred()) SWIG_fail
;
16048 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
16063 static PyObject
*_wrap_new_PreChoicebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16064 PyObject
*resultobj
;
16065 wxChoicebook
*result
;
16066 char *kwnames
[] = {
16070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoicebook",kwnames
)) goto fail
;
16072 if (!wxPyCheckForApp()) SWIG_fail
;
16073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16074 result
= (wxChoicebook
*)new wxChoicebook();
16076 wxPyEndAllowThreads(__tstate
);
16077 if (PyErr_Occurred()) SWIG_fail
;
16079 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebook
, 1);
16086 static PyObject
*_wrap_Choicebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16087 PyObject
*resultobj
;
16088 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
16089 wxWindow
*arg2
= (wxWindow
*) 0 ;
16091 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
16092 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
16093 wxSize
const &arg5_defvalue
= wxDefaultSize
;
16094 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
16095 long arg6
= (long) 0 ;
16096 wxString
const &arg7_defvalue
= wxPyEmptyString
;
16097 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16101 bool temp7
= false ;
16102 PyObject
* obj0
= 0 ;
16103 PyObject
* obj1
= 0 ;
16104 PyObject
* obj2
= 0 ;
16105 PyObject
* obj3
= 0 ;
16106 PyObject
* obj4
= 0 ;
16107 PyObject
* obj5
= 0 ;
16108 PyObject
* obj6
= 0 ;
16109 char *kwnames
[] = {
16110 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
16113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Choicebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
16114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoicebook
,
16115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16116 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16118 arg3
= (int)SWIG_As_int(obj2
);
16119 if (PyErr_Occurred()) SWIG_fail
;
16123 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
16129 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
16133 arg6
= (long)SWIG_As_long(obj5
);
16134 if (PyErr_Occurred()) SWIG_fail
;
16138 arg7
= wxString_in_helper(obj6
);
16139 if (arg7
== NULL
) SWIG_fail
;
16144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16145 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
16147 wxPyEndAllowThreads(__tstate
);
16148 if (PyErr_Occurred()) SWIG_fail
;
16151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16167 static PyObject
*_wrap_Choicebook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16168 PyObject
*resultobj
;
16169 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
16171 PyObject
* obj0
= 0 ;
16172 char *kwnames
[] = {
16173 (char *) "self", NULL
16176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_IsVertical",kwnames
,&obj0
)) goto fail
;
16177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoicebook
,
16178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16181 result
= (bool)((wxChoicebook
const *)arg1
)->IsVertical();
16183 wxPyEndAllowThreads(__tstate
);
16184 if (PyErr_Occurred()) SWIG_fail
;
16187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16195 static PyObject
*_wrap_Choicebook_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16196 PyObject
*resultobj
;
16197 wxChoicebook
*arg1
= (wxChoicebook
*) 0 ;
16199 PyObject
* obj0
= 0 ;
16200 char *kwnames
[] = {
16201 (char *) "self", NULL
16204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Choicebook_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
16205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoicebook
,
16206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16209 result
= (bool)(arg1
)->DeleteAllPages();
16211 wxPyEndAllowThreads(__tstate
);
16212 if (PyErr_Occurred()) SWIG_fail
;
16215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16223 static PyObject
* Choicebook_swigregister(PyObject
*, PyObject
*args
) {
16225 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16226 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebook
, obj
);
16228 return Py_BuildValue((char *)"");
16230 static PyObject
*_wrap_new_ChoicebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16231 PyObject
*resultobj
;
16232 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16233 int arg2
= (int) 0 ;
16234 int arg3
= (int) -1 ;
16235 int arg4
= (int) -1 ;
16236 wxChoicebookEvent
*result
;
16237 PyObject
* obj0
= 0 ;
16238 PyObject
* obj1
= 0 ;
16239 PyObject
* obj2
= 0 ;
16240 PyObject
* obj3
= 0 ;
16241 char *kwnames
[] = {
16242 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
16245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ChoicebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
16247 arg1
= (wxEventType
)SWIG_As_int(obj0
);
16248 if (PyErr_Occurred()) SWIG_fail
;
16251 arg2
= (int)SWIG_As_int(obj1
);
16252 if (PyErr_Occurred()) SWIG_fail
;
16255 arg3
= (int)SWIG_As_int(obj2
);
16256 if (PyErr_Occurred()) SWIG_fail
;
16259 arg4
= (int)SWIG_As_int(obj3
);
16260 if (PyErr_Occurred()) SWIG_fail
;
16263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16264 result
= (wxChoicebookEvent
*)new wxChoicebookEvent(arg1
,arg2
,arg3
,arg4
);
16266 wxPyEndAllowThreads(__tstate
);
16267 if (PyErr_Occurred()) SWIG_fail
;
16269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoicebookEvent
, 1);
16276 static PyObject
* ChoicebookEvent_swigregister(PyObject
*, PyObject
*args
) {
16278 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16279 SWIG_TypeClientData(SWIGTYPE_p_wxChoicebookEvent
, obj
);
16281 return Py_BuildValue((char *)"");
16283 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16284 PyObject
*resultobj
;
16285 wxBookCtrlBase
*arg1
= (wxBookCtrlBase
*) 0 ;
16286 wxBookCtrlSizer
*result
;
16287 PyObject
* obj0
= 0 ;
16288 char *kwnames
[] = {
16289 (char *) "nb", NULL
16292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
16293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlBase
,
16294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16297 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
16299 wxPyEndAllowThreads(__tstate
);
16300 if (PyErr_Occurred()) SWIG_fail
;
16302 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
16309 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16310 PyObject
*resultobj
;
16311 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
16312 PyObject
* obj0
= 0 ;
16313 char *kwnames
[] = {
16314 (char *) "self", NULL
16317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
16318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
16319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16322 (arg1
)->RecalcSizes();
16324 wxPyEndAllowThreads(__tstate
);
16325 if (PyErr_Occurred()) SWIG_fail
;
16327 Py_INCREF(Py_None
); resultobj
= Py_None
;
16334 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16335 PyObject
*resultobj
;
16336 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
16338 PyObject
* obj0
= 0 ;
16339 char *kwnames
[] = {
16340 (char *) "self", NULL
16343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
16344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
16345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16348 result
= (arg1
)->CalcMin();
16350 wxPyEndAllowThreads(__tstate
);
16351 if (PyErr_Occurred()) SWIG_fail
;
16354 wxSize
* resultptr
;
16355 resultptr
= new wxSize((wxSize
&) result
);
16356 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16364 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16365 PyObject
*resultobj
;
16366 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
16367 wxBookCtrlBase
*result
;
16368 PyObject
* obj0
= 0 ;
16369 char *kwnames
[] = {
16370 (char *) "self", NULL
16373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
16374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
16375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16378 result
= (wxBookCtrlBase
*)(arg1
)->GetControl();
16380 wxPyEndAllowThreads(__tstate
);
16381 if (PyErr_Occurred()) SWIG_fail
;
16383 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlBase
, 0);
16390 static PyObject
* BookCtrlSizer_swigregister(PyObject
*, PyObject
*args
) {
16392 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16393 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
16395 return Py_BuildValue((char *)"");
16397 static PyObject
*_wrap_new_NotebookSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16398 PyObject
*resultobj
;
16399 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
16400 wxNotebookSizer
*result
;
16401 PyObject
* obj0
= 0 ;
16402 char *kwnames
[] = {
16403 (char *) "nb", NULL
16406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
16407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
16408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16411 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
16413 wxPyEndAllowThreads(__tstate
);
16414 if (PyErr_Occurred()) SWIG_fail
;
16416 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
16423 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16424 PyObject
*resultobj
;
16425 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
16426 PyObject
* obj0
= 0 ;
16427 char *kwnames
[] = {
16428 (char *) "self", NULL
16431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
16432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
16433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16436 (arg1
)->RecalcSizes();
16438 wxPyEndAllowThreads(__tstate
);
16439 if (PyErr_Occurred()) SWIG_fail
;
16441 Py_INCREF(Py_None
); resultobj
= Py_None
;
16448 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16449 PyObject
*resultobj
;
16450 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
16452 PyObject
* obj0
= 0 ;
16453 char *kwnames
[] = {
16454 (char *) "self", NULL
16457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
16458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
16459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16462 result
= (arg1
)->CalcMin();
16464 wxPyEndAllowThreads(__tstate
);
16465 if (PyErr_Occurred()) SWIG_fail
;
16468 wxSize
* resultptr
;
16469 resultptr
= new wxSize((wxSize
&) result
);
16470 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16478 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16479 PyObject
*resultobj
;
16480 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
16481 wxNotebook
*result
;
16482 PyObject
* obj0
= 0 ;
16483 char *kwnames
[] = {
16484 (char *) "self", NULL
16487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
16488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
16489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16492 result
= (wxNotebook
*)(arg1
)->GetNotebook();
16494 wxPyEndAllowThreads(__tstate
);
16495 if (PyErr_Occurred()) SWIG_fail
;
16498 resultobj
= wxPyMake_wxObject(result
, 0);
16506 static PyObject
* NotebookSizer_swigregister(PyObject
*, PyObject
*args
) {
16508 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16509 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
16511 return Py_BuildValue((char *)"");
16513 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16514 PyObject
*resultobj
;
16515 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16517 PyObject
* obj0
= 0 ;
16518 char *kwnames
[] = {
16519 (char *) "self", NULL
16522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
16523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16527 result
= (int)(arg1
)->GetId();
16529 wxPyEndAllowThreads(__tstate
);
16530 if (PyErr_Occurred()) SWIG_fail
;
16532 resultobj
= SWIG_From_int((int)result
);
16539 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16540 PyObject
*resultobj
;
16541 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16543 PyObject
* obj0
= 0 ;
16544 char *kwnames
[] = {
16545 (char *) "self", NULL
16548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
16549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16553 result
= (wxControl
*)(arg1
)->GetControl();
16555 wxPyEndAllowThreads(__tstate
);
16556 if (PyErr_Occurred()) SWIG_fail
;
16559 resultobj
= wxPyMake_wxObject(result
, 0);
16567 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16568 PyObject
*resultobj
;
16569 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16570 wxToolBarBase
*result
;
16571 PyObject
* obj0
= 0 ;
16572 char *kwnames
[] = {
16573 (char *) "self", NULL
16576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
16577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16581 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
16583 wxPyEndAllowThreads(__tstate
);
16584 if (PyErr_Occurred()) SWIG_fail
;
16587 resultobj
= wxPyMake_wxObject(result
, 0);
16595 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16596 PyObject
*resultobj
;
16597 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16599 PyObject
* obj0
= 0 ;
16600 char *kwnames
[] = {
16601 (char *) "self", NULL
16604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
16605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16609 result
= (int)(arg1
)->IsButton();
16611 wxPyEndAllowThreads(__tstate
);
16612 if (PyErr_Occurred()) SWIG_fail
;
16614 resultobj
= SWIG_From_int((int)result
);
16621 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16622 PyObject
*resultobj
;
16623 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16625 PyObject
* obj0
= 0 ;
16626 char *kwnames
[] = {
16627 (char *) "self", NULL
16630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
16631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16635 result
= (int)(arg1
)->IsControl();
16637 wxPyEndAllowThreads(__tstate
);
16638 if (PyErr_Occurred()) SWIG_fail
;
16640 resultobj
= SWIG_From_int((int)result
);
16647 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16648 PyObject
*resultobj
;
16649 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16651 PyObject
* obj0
= 0 ;
16652 char *kwnames
[] = {
16653 (char *) "self", NULL
16656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
16657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16661 result
= (int)(arg1
)->IsSeparator();
16663 wxPyEndAllowThreads(__tstate
);
16664 if (PyErr_Occurred()) SWIG_fail
;
16666 resultobj
= SWIG_From_int((int)result
);
16673 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16674 PyObject
*resultobj
;
16675 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16677 PyObject
* obj0
= 0 ;
16678 char *kwnames
[] = {
16679 (char *) "self", NULL
16682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16687 result
= (int)(arg1
)->GetStyle();
16689 wxPyEndAllowThreads(__tstate
);
16690 if (PyErr_Occurred()) SWIG_fail
;
16692 resultobj
= SWIG_From_int((int)result
);
16699 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16700 PyObject
*resultobj
;
16701 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16703 PyObject
* obj0
= 0 ;
16704 char *kwnames
[] = {
16705 (char *) "self", NULL
16708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
16709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16713 result
= (int)(arg1
)->GetKind();
16715 wxPyEndAllowThreads(__tstate
);
16716 if (PyErr_Occurred()) SWIG_fail
;
16718 resultobj
= SWIG_From_int((int)result
);
16725 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16726 PyObject
*resultobj
;
16727 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16729 PyObject
* obj0
= 0 ;
16730 char *kwnames
[] = {
16731 (char *) "self", NULL
16734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
16735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16739 result
= (bool)(arg1
)->IsEnabled();
16741 wxPyEndAllowThreads(__tstate
);
16742 if (PyErr_Occurred()) SWIG_fail
;
16745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16753 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16754 PyObject
*resultobj
;
16755 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16757 PyObject
* obj0
= 0 ;
16758 char *kwnames
[] = {
16759 (char *) "self", NULL
16762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
16763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16767 result
= (bool)(arg1
)->IsToggled();
16769 wxPyEndAllowThreads(__tstate
);
16770 if (PyErr_Occurred()) SWIG_fail
;
16773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16781 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16782 PyObject
*resultobj
;
16783 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16785 PyObject
* obj0
= 0 ;
16786 char *kwnames
[] = {
16787 (char *) "self", NULL
16790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
16791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16795 result
= (bool)(arg1
)->CanBeToggled();
16797 wxPyEndAllowThreads(__tstate
);
16798 if (PyErr_Occurred()) SWIG_fail
;
16801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16809 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16810 PyObject
*resultobj
;
16811 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16813 PyObject
* obj0
= 0 ;
16814 char *kwnames
[] = {
16815 (char *) "self", NULL
16818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
16819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16824 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
16825 result
= (wxBitmap
*) &_result_ref
;
16828 wxPyEndAllowThreads(__tstate
);
16829 if (PyErr_Occurred()) SWIG_fail
;
16832 wxBitmap
* resultptr
= new wxBitmap(*result
);
16833 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16841 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16842 PyObject
*resultobj
;
16843 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16845 PyObject
* obj0
= 0 ;
16846 char *kwnames
[] = {
16847 (char *) "self", NULL
16850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
16851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16856 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
16857 result
= (wxBitmap
*) &_result_ref
;
16860 wxPyEndAllowThreads(__tstate
);
16861 if (PyErr_Occurred()) SWIG_fail
;
16864 wxBitmap
* resultptr
= new wxBitmap(*result
);
16865 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16873 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16874 PyObject
*resultobj
;
16875 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16877 PyObject
* obj0
= 0 ;
16878 char *kwnames
[] = {
16879 (char *) "self", NULL
16882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
16883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16887 result
= (arg1
)->GetBitmap();
16889 wxPyEndAllowThreads(__tstate
);
16890 if (PyErr_Occurred()) SWIG_fail
;
16893 wxBitmap
* resultptr
;
16894 resultptr
= new wxBitmap((wxBitmap
&) result
);
16895 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16903 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16904 PyObject
*resultobj
;
16905 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16907 PyObject
* obj0
= 0 ;
16908 char *kwnames
[] = {
16909 (char *) "self", NULL
16912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
16913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16917 result
= (arg1
)->GetLabel();
16919 wxPyEndAllowThreads(__tstate
);
16920 if (PyErr_Occurred()) SWIG_fail
;
16924 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16926 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16935 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16936 PyObject
*resultobj
;
16937 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16939 PyObject
* obj0
= 0 ;
16940 char *kwnames
[] = {
16941 (char *) "self", NULL
16944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
16945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16949 result
= (arg1
)->GetShortHelp();
16951 wxPyEndAllowThreads(__tstate
);
16952 if (PyErr_Occurred()) SWIG_fail
;
16956 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16958 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16967 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16968 PyObject
*resultobj
;
16969 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16971 PyObject
* obj0
= 0 ;
16972 char *kwnames
[] = {
16973 (char *) "self", NULL
16976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
16977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16981 result
= (arg1
)->GetLongHelp();
16983 wxPyEndAllowThreads(__tstate
);
16984 if (PyErr_Occurred()) SWIG_fail
;
16988 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16990 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16999 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17000 PyObject
*resultobj
;
17001 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17004 PyObject
* obj0
= 0 ;
17005 PyObject
* obj1
= 0 ;
17006 char *kwnames
[] = {
17007 (char *) "self",(char *) "enable", NULL
17010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
17011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17013 arg2
= (bool)SWIG_As_bool(obj1
);
17014 if (PyErr_Occurred()) SWIG_fail
;
17016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17017 result
= (bool)(arg1
)->Enable(arg2
);
17019 wxPyEndAllowThreads(__tstate
);
17020 if (PyErr_Occurred()) SWIG_fail
;
17023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17031 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17032 PyObject
*resultobj
;
17033 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17034 PyObject
* obj0
= 0 ;
17035 char *kwnames
[] = {
17036 (char *) "self", NULL
17039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
17040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17046 wxPyEndAllowThreads(__tstate
);
17047 if (PyErr_Occurred()) SWIG_fail
;
17049 Py_INCREF(Py_None
); resultobj
= Py_None
;
17056 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17057 PyObject
*resultobj
;
17058 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17061 PyObject
* obj0
= 0 ;
17062 PyObject
* obj1
= 0 ;
17063 char *kwnames
[] = {
17064 (char *) "self",(char *) "toggle", NULL
17067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
17068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17070 arg2
= (bool)SWIG_As_bool(obj1
);
17071 if (PyErr_Occurred()) SWIG_fail
;
17073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17074 result
= (bool)(arg1
)->SetToggle(arg2
);
17076 wxPyEndAllowThreads(__tstate
);
17077 if (PyErr_Occurred()) SWIG_fail
;
17080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17088 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17089 PyObject
*resultobj
;
17090 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17091 wxString
*arg2
= 0 ;
17093 bool temp2
= false ;
17094 PyObject
* obj0
= 0 ;
17095 PyObject
* obj1
= 0 ;
17096 char *kwnames
[] = {
17097 (char *) "self",(char *) "help", NULL
17100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17104 arg2
= wxString_in_helper(obj1
);
17105 if (arg2
== NULL
) SWIG_fail
;
17109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17110 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
17112 wxPyEndAllowThreads(__tstate
);
17113 if (PyErr_Occurred()) SWIG_fail
;
17116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17132 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17133 PyObject
*resultobj
;
17134 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17135 wxString
*arg2
= 0 ;
17137 bool temp2
= false ;
17138 PyObject
* obj0
= 0 ;
17139 PyObject
* obj1
= 0 ;
17140 char *kwnames
[] = {
17141 (char *) "self",(char *) "help", NULL
17144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17148 arg2
= wxString_in_helper(obj1
);
17149 if (arg2
== NULL
) SWIG_fail
;
17153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17154 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
17156 wxPyEndAllowThreads(__tstate
);
17157 if (PyErr_Occurred()) SWIG_fail
;
17160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17176 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17177 PyObject
*resultobj
;
17178 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17179 wxBitmap
*arg2
= 0 ;
17180 PyObject
* obj0
= 0 ;
17181 PyObject
* obj1
= 0 ;
17182 char *kwnames
[] = {
17183 (char *) "self",(char *) "bmp", NULL
17186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
17187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17189 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
17190 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17192 if (arg2
== NULL
) {
17193 PyErr_SetString(PyExc_TypeError
,"null reference");
17197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17198 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
17200 wxPyEndAllowThreads(__tstate
);
17201 if (PyErr_Occurred()) SWIG_fail
;
17203 Py_INCREF(Py_None
); resultobj
= Py_None
;
17210 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17211 PyObject
*resultobj
;
17212 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17213 wxBitmap
*arg2
= 0 ;
17214 PyObject
* obj0
= 0 ;
17215 PyObject
* obj1
= 0 ;
17216 char *kwnames
[] = {
17217 (char *) "self",(char *) "bmp", NULL
17220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
17221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17223 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
17224 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17226 if (arg2
== NULL
) {
17227 PyErr_SetString(PyExc_TypeError
,"null reference");
17231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17232 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
17234 wxPyEndAllowThreads(__tstate
);
17235 if (PyErr_Occurred()) SWIG_fail
;
17237 Py_INCREF(Py_None
); resultobj
= Py_None
;
17244 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17245 PyObject
*resultobj
;
17246 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17247 wxString
*arg2
= 0 ;
17248 bool temp2
= false ;
17249 PyObject
* obj0
= 0 ;
17250 PyObject
* obj1
= 0 ;
17251 char *kwnames
[] = {
17252 (char *) "self",(char *) "label", NULL
17255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
17256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17259 arg2
= wxString_in_helper(obj1
);
17260 if (arg2
== NULL
) SWIG_fail
;
17264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17265 (arg1
)->SetLabel((wxString
const &)*arg2
);
17267 wxPyEndAllowThreads(__tstate
);
17268 if (PyErr_Occurred()) SWIG_fail
;
17270 Py_INCREF(Py_None
); resultobj
= Py_None
;
17285 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17286 PyObject
*resultobj
;
17287 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17288 PyObject
* obj0
= 0 ;
17289 char *kwnames
[] = {
17290 (char *) "self", NULL
17293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
17294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17300 wxPyEndAllowThreads(__tstate
);
17301 if (PyErr_Occurred()) SWIG_fail
;
17303 Py_INCREF(Py_None
); resultobj
= Py_None
;
17310 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17311 PyObject
*resultobj
;
17312 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17313 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
17314 PyObject
* obj0
= 0 ;
17315 PyObject
* obj1
= 0 ;
17316 char *kwnames
[] = {
17317 (char *) "self",(char *) "tbar", NULL
17320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
17321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17323 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
,
17324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17327 (arg1
)->Attach(arg2
);
17329 wxPyEndAllowThreads(__tstate
);
17330 if (PyErr_Occurred()) SWIG_fail
;
17332 Py_INCREF(Py_None
); resultobj
= Py_None
;
17339 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17340 PyObject
*resultobj
;
17341 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17343 PyObject
* obj0
= 0 ;
17344 char *kwnames
[] = {
17345 (char *) "self", NULL
17348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
17349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17353 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
17355 wxPyEndAllowThreads(__tstate
);
17356 if (PyErr_Occurred()) SWIG_fail
;
17358 resultobj
= result
;
17365 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17366 PyObject
*resultobj
;
17367 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17368 PyObject
*arg2
= (PyObject
*) 0 ;
17369 PyObject
* obj0
= 0 ;
17370 PyObject
* obj1
= 0 ;
17371 char *kwnames
[] = {
17372 (char *) "self",(char *) "clientData", NULL
17375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
17376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17381 wxToolBarToolBase_SetClientData(arg1
,arg2
);
17383 wxPyEndAllowThreads(__tstate
);
17384 if (PyErr_Occurred()) SWIG_fail
;
17386 Py_INCREF(Py_None
); resultobj
= Py_None
;
17393 static PyObject
* ToolBarToolBase_swigregister(PyObject
*, PyObject
*args
) {
17395 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17396 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
17398 return Py_BuildValue((char *)"");
17400 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17401 PyObject
*resultobj
;
17402 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17404 wxString
*arg3
= 0 ;
17405 wxBitmap
*arg4
= 0 ;
17406 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
17407 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
17408 int arg6
= (int) wxITEM_NORMAL
;
17409 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17410 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17411 wxString
const &arg8_defvalue
= wxPyEmptyString
;
17412 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17413 PyObject
*arg9
= (PyObject
*) NULL
;
17414 wxToolBarToolBase
*result
;
17415 bool temp3
= false ;
17416 bool temp7
= false ;
17417 bool temp8
= false ;
17418 PyObject
* obj0
= 0 ;
17419 PyObject
* obj1
= 0 ;
17420 PyObject
* obj2
= 0 ;
17421 PyObject
* obj3
= 0 ;
17422 PyObject
* obj4
= 0 ;
17423 PyObject
* obj5
= 0 ;
17424 PyObject
* obj6
= 0 ;
17425 PyObject
* obj7
= 0 ;
17426 PyObject
* obj8
= 0 ;
17427 char *kwnames
[] = {
17428 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
17431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
17432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17434 arg2
= (int)SWIG_As_int(obj1
);
17435 if (PyErr_Occurred()) SWIG_fail
;
17437 arg3
= wxString_in_helper(obj2
);
17438 if (arg3
== NULL
) SWIG_fail
;
17441 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
17442 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17444 if (arg4
== NULL
) {
17445 PyErr_SetString(PyExc_TypeError
,"null reference");
17449 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
17450 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17452 if (arg5
== NULL
) {
17453 PyErr_SetString(PyExc_TypeError
,"null reference");
17458 arg6
= (int)SWIG_As_int(obj5
);
17459 if (PyErr_Occurred()) SWIG_fail
;
17463 arg7
= wxString_in_helper(obj6
);
17464 if (arg7
== NULL
) SWIG_fail
;
17470 arg8
= wxString_in_helper(obj7
);
17471 if (arg8
== NULL
) SWIG_fail
;
17479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17480 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
17482 wxPyEndAllowThreads(__tstate
);
17483 if (PyErr_Occurred()) SWIG_fail
;
17486 resultobj
= wxPyMake_wxObject(result
, 0);
17518 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17519 PyObject
*resultobj
;
17520 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17523 wxString
*arg4
= 0 ;
17524 wxBitmap
*arg5
= 0 ;
17525 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
17526 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
17527 int arg7
= (int) wxITEM_NORMAL
;
17528 wxString
const &arg8_defvalue
= wxPyEmptyString
;
17529 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17530 wxString
const &arg9_defvalue
= wxPyEmptyString
;
17531 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17532 PyObject
*arg10
= (PyObject
*) NULL
;
17533 wxToolBarToolBase
*result
;
17534 bool temp4
= false ;
17535 bool temp8
= false ;
17536 bool temp9
= false ;
17537 PyObject
* obj0
= 0 ;
17538 PyObject
* obj1
= 0 ;
17539 PyObject
* obj2
= 0 ;
17540 PyObject
* obj3
= 0 ;
17541 PyObject
* obj4
= 0 ;
17542 PyObject
* obj5
= 0 ;
17543 PyObject
* obj6
= 0 ;
17544 PyObject
* obj7
= 0 ;
17545 PyObject
* obj8
= 0 ;
17546 PyObject
* obj9
= 0 ;
17547 char *kwnames
[] = {
17548 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
17551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
17552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17554 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17555 if (PyErr_Occurred()) SWIG_fail
;
17556 arg3
= (int)SWIG_As_int(obj2
);
17557 if (PyErr_Occurred()) SWIG_fail
;
17559 arg4
= wxString_in_helper(obj3
);
17560 if (arg4
== NULL
) SWIG_fail
;
17563 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
17564 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17566 if (arg5
== NULL
) {
17567 PyErr_SetString(PyExc_TypeError
,"null reference");
17571 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
,
17572 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17574 if (arg6
== NULL
) {
17575 PyErr_SetString(PyExc_TypeError
,"null reference");
17580 arg7
= (int)SWIG_As_int(obj6
);
17581 if (PyErr_Occurred()) SWIG_fail
;
17585 arg8
= wxString_in_helper(obj7
);
17586 if (arg8
== NULL
) SWIG_fail
;
17592 arg9
= wxString_in_helper(obj8
);
17593 if (arg9
== NULL
) SWIG_fail
;
17601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17602 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
);
17604 wxPyEndAllowThreads(__tstate
);
17605 if (PyErr_Occurred()) SWIG_fail
;
17608 resultobj
= wxPyMake_wxObject(result
, 0);
17640 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17641 PyObject
*resultobj
;
17642 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17643 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
17644 wxToolBarToolBase
*result
;
17645 PyObject
* obj0
= 0 ;
17646 PyObject
* obj1
= 0 ;
17647 char *kwnames
[] = {
17648 (char *) "self",(char *) "tool", NULL
17651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
17652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17654 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
,
17655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17658 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
17660 wxPyEndAllowThreads(__tstate
);
17661 if (PyErr_Occurred()) SWIG_fail
;
17664 resultobj
= wxPyMake_wxObject(result
, 0);
17672 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17673 PyObject
*resultobj
;
17674 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17676 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
17677 wxToolBarToolBase
*result
;
17678 PyObject
* obj0
= 0 ;
17679 PyObject
* obj1
= 0 ;
17680 PyObject
* obj2
= 0 ;
17681 char *kwnames
[] = {
17682 (char *) "self",(char *) "pos",(char *) "tool", NULL
17685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17688 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17689 if (PyErr_Occurred()) SWIG_fail
;
17690 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
,
17691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17694 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
17696 wxPyEndAllowThreads(__tstate
);
17697 if (PyErr_Occurred()) SWIG_fail
;
17700 resultobj
= wxPyMake_wxObject(result
, 0);
17708 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17709 PyObject
*resultobj
;
17710 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17711 wxControl
*arg2
= (wxControl
*) 0 ;
17712 wxToolBarToolBase
*result
;
17713 PyObject
* obj0
= 0 ;
17714 PyObject
* obj1
= 0 ;
17715 char *kwnames
[] = {
17716 (char *) "self",(char *) "control", NULL
17719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17722 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
17723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17726 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
17728 wxPyEndAllowThreads(__tstate
);
17729 if (PyErr_Occurred()) SWIG_fail
;
17732 resultobj
= wxPyMake_wxObject(result
, 0);
17740 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17741 PyObject
*resultobj
;
17742 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17744 wxControl
*arg3
= (wxControl
*) 0 ;
17745 wxToolBarToolBase
*result
;
17746 PyObject
* obj0
= 0 ;
17747 PyObject
* obj1
= 0 ;
17748 PyObject
* obj2
= 0 ;
17749 char *kwnames
[] = {
17750 (char *) "self",(char *) "pos",(char *) "control", NULL
17753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17756 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17757 if (PyErr_Occurred()) SWIG_fail
;
17758 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
,
17759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17762 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
17764 wxPyEndAllowThreads(__tstate
);
17765 if (PyErr_Occurred()) SWIG_fail
;
17768 resultobj
= wxPyMake_wxObject(result
, 0);
17776 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17777 PyObject
*resultobj
;
17778 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17781 PyObject
* obj0
= 0 ;
17782 PyObject
* obj1
= 0 ;
17783 char *kwnames
[] = {
17784 (char *) "self",(char *) "id", NULL
17787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17790 arg2
= (int)SWIG_As_int(obj1
);
17791 if (PyErr_Occurred()) SWIG_fail
;
17793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17794 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
17796 wxPyEndAllowThreads(__tstate
);
17797 if (PyErr_Occurred()) SWIG_fail
;
17800 resultobj
= wxPyMake_wxObject(result
, 0);
17808 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17809 PyObject
*resultobj
;
17810 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17811 wxToolBarToolBase
*result
;
17812 PyObject
* obj0
= 0 ;
17813 char *kwnames
[] = {
17814 (char *) "self", NULL
17817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
17818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17822 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
17824 wxPyEndAllowThreads(__tstate
);
17825 if (PyErr_Occurred()) SWIG_fail
;
17828 resultobj
= wxPyMake_wxObject(result
, 0);
17836 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17837 PyObject
*resultobj
;
17838 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17840 wxToolBarToolBase
*result
;
17841 PyObject
* obj0
= 0 ;
17842 PyObject
* obj1
= 0 ;
17843 char *kwnames
[] = {
17844 (char *) "self",(char *) "pos", NULL
17847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
17848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17850 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17851 if (PyErr_Occurred()) SWIG_fail
;
17853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17854 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
17856 wxPyEndAllowThreads(__tstate
);
17857 if (PyErr_Occurred()) SWIG_fail
;
17860 resultobj
= wxPyMake_wxObject(result
, 0);
17868 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17869 PyObject
*resultobj
;
17870 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17872 wxToolBarToolBase
*result
;
17873 PyObject
* obj0
= 0 ;
17874 PyObject
* obj1
= 0 ;
17875 char *kwnames
[] = {
17876 (char *) "self",(char *) "id", NULL
17879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17882 arg2
= (int)SWIG_As_int(obj1
);
17883 if (PyErr_Occurred()) SWIG_fail
;
17885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17886 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
17888 wxPyEndAllowThreads(__tstate
);
17889 if (PyErr_Occurred()) SWIG_fail
;
17892 resultobj
= wxPyMake_wxObject(result
, 0);
17900 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17901 PyObject
*resultobj
;
17902 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17905 PyObject
* obj0
= 0 ;
17906 PyObject
* obj1
= 0 ;
17907 char *kwnames
[] = {
17908 (char *) "self",(char *) "pos", NULL
17911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17914 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17915 if (PyErr_Occurred()) SWIG_fail
;
17917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17918 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
17920 wxPyEndAllowThreads(__tstate
);
17921 if (PyErr_Occurred()) SWIG_fail
;
17924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17932 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17933 PyObject
*resultobj
;
17934 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17937 PyObject
* obj0
= 0 ;
17938 PyObject
* obj1
= 0 ;
17939 char *kwnames
[] = {
17940 (char *) "self",(char *) "id", NULL
17943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17946 arg2
= (int)SWIG_As_int(obj1
);
17947 if (PyErr_Occurred()) SWIG_fail
;
17949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17950 result
= (bool)(arg1
)->DeleteTool(arg2
);
17952 wxPyEndAllowThreads(__tstate
);
17953 if (PyErr_Occurred()) SWIG_fail
;
17956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17964 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17965 PyObject
*resultobj
;
17966 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17967 PyObject
* obj0
= 0 ;
17968 char *kwnames
[] = {
17969 (char *) "self", NULL
17972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
17973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17977 (arg1
)->ClearTools();
17979 wxPyEndAllowThreads(__tstate
);
17980 if (PyErr_Occurred()) SWIG_fail
;
17982 Py_INCREF(Py_None
); resultobj
= Py_None
;
17989 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17990 PyObject
*resultobj
;
17991 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17993 PyObject
* obj0
= 0 ;
17994 char *kwnames
[] = {
17995 (char *) "self", NULL
17998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
17999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18003 result
= (bool)(arg1
)->Realize();
18005 wxPyEndAllowThreads(__tstate
);
18006 if (PyErr_Occurred()) SWIG_fail
;
18009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18017 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18018 PyObject
*resultobj
;
18019 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18022 PyObject
* obj0
= 0 ;
18023 PyObject
* obj1
= 0 ;
18024 PyObject
* obj2
= 0 ;
18025 char *kwnames
[] = {
18026 (char *) "self",(char *) "id",(char *) "enable", NULL
18029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18032 arg2
= (int)SWIG_As_int(obj1
);
18033 if (PyErr_Occurred()) SWIG_fail
;
18034 arg3
= (bool)SWIG_As_bool(obj2
);
18035 if (PyErr_Occurred()) SWIG_fail
;
18037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18038 (arg1
)->EnableTool(arg2
,arg3
);
18040 wxPyEndAllowThreads(__tstate
);
18041 if (PyErr_Occurred()) SWIG_fail
;
18043 Py_INCREF(Py_None
); resultobj
= Py_None
;
18050 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18051 PyObject
*resultobj
;
18052 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18055 PyObject
* obj0
= 0 ;
18056 PyObject
* obj1
= 0 ;
18057 PyObject
* obj2
= 0 ;
18058 char *kwnames
[] = {
18059 (char *) "self",(char *) "id",(char *) "toggle", NULL
18062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18065 arg2
= (int)SWIG_As_int(obj1
);
18066 if (PyErr_Occurred()) SWIG_fail
;
18067 arg3
= (bool)SWIG_As_bool(obj2
);
18068 if (PyErr_Occurred()) SWIG_fail
;
18070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18071 (arg1
)->ToggleTool(arg2
,arg3
);
18073 wxPyEndAllowThreads(__tstate
);
18074 if (PyErr_Occurred()) SWIG_fail
;
18076 Py_INCREF(Py_None
); resultobj
= Py_None
;
18083 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18084 PyObject
*resultobj
;
18085 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18088 PyObject
* obj0
= 0 ;
18089 PyObject
* obj1
= 0 ;
18090 PyObject
* obj2
= 0 ;
18091 char *kwnames
[] = {
18092 (char *) "self",(char *) "id",(char *) "toggle", NULL
18095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18098 arg2
= (int)SWIG_As_int(obj1
);
18099 if (PyErr_Occurred()) SWIG_fail
;
18100 arg3
= (bool)SWIG_As_bool(obj2
);
18101 if (PyErr_Occurred()) SWIG_fail
;
18103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18104 (arg1
)->SetToggle(arg2
,arg3
);
18106 wxPyEndAllowThreads(__tstate
);
18107 if (PyErr_Occurred()) SWIG_fail
;
18109 Py_INCREF(Py_None
); resultobj
= Py_None
;
18116 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18117 PyObject
*resultobj
;
18118 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18121 PyObject
* obj0
= 0 ;
18122 PyObject
* obj1
= 0 ;
18123 char *kwnames
[] = {
18124 (char *) "self",(char *) "id", NULL
18127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
18128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18130 arg2
= (int)SWIG_As_int(obj1
);
18131 if (PyErr_Occurred()) SWIG_fail
;
18133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18134 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
18136 wxPyEndAllowThreads(__tstate
);
18137 if (PyErr_Occurred()) SWIG_fail
;
18139 resultobj
= result
;
18146 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18147 PyObject
*resultobj
;
18148 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18150 PyObject
*arg3
= (PyObject
*) 0 ;
18151 PyObject
* obj0
= 0 ;
18152 PyObject
* obj1
= 0 ;
18153 PyObject
* obj2
= 0 ;
18154 char *kwnames
[] = {
18155 (char *) "self",(char *) "id",(char *) "clientData", NULL
18158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18161 arg2
= (int)SWIG_As_int(obj1
);
18162 if (PyErr_Occurred()) SWIG_fail
;
18165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18166 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
18168 wxPyEndAllowThreads(__tstate
);
18169 if (PyErr_Occurred()) SWIG_fail
;
18171 Py_INCREF(Py_None
); resultobj
= Py_None
;
18178 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18179 PyObject
*resultobj
;
18180 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18183 PyObject
* obj0
= 0 ;
18184 PyObject
* obj1
= 0 ;
18185 char *kwnames
[] = {
18186 (char *) "self",(char *) "id", NULL
18189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
18190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18192 arg2
= (int)SWIG_As_int(obj1
);
18193 if (PyErr_Occurred()) SWIG_fail
;
18195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18196 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
18198 wxPyEndAllowThreads(__tstate
);
18199 if (PyErr_Occurred()) SWIG_fail
;
18201 resultobj
= SWIG_From_int((int)result
);
18208 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18209 PyObject
*resultobj
;
18210 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18213 PyObject
* obj0
= 0 ;
18214 PyObject
* obj1
= 0 ;
18215 char *kwnames
[] = {
18216 (char *) "self",(char *) "id", NULL
18219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
18220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18222 arg2
= (int)SWIG_As_int(obj1
);
18223 if (PyErr_Occurred()) SWIG_fail
;
18225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18226 result
= (bool)(arg1
)->GetToolState(arg2
);
18228 wxPyEndAllowThreads(__tstate
);
18229 if (PyErr_Occurred()) SWIG_fail
;
18232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18240 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18241 PyObject
*resultobj
;
18242 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18245 PyObject
* obj0
= 0 ;
18246 PyObject
* obj1
= 0 ;
18247 char *kwnames
[] = {
18248 (char *) "self",(char *) "id", NULL
18251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
18252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18254 arg2
= (int)SWIG_As_int(obj1
);
18255 if (PyErr_Occurred()) SWIG_fail
;
18257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18258 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
18260 wxPyEndAllowThreads(__tstate
);
18261 if (PyErr_Occurred()) SWIG_fail
;
18264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18272 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18273 PyObject
*resultobj
;
18274 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18276 wxString
*arg3
= 0 ;
18277 bool temp3
= false ;
18278 PyObject
* obj0
= 0 ;
18279 PyObject
* obj1
= 0 ;
18280 PyObject
* obj2
= 0 ;
18281 char *kwnames
[] = {
18282 (char *) "self",(char *) "id",(char *) "helpString", NULL
18285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18288 arg2
= (int)SWIG_As_int(obj1
);
18289 if (PyErr_Occurred()) SWIG_fail
;
18291 arg3
= wxString_in_helper(obj2
);
18292 if (arg3
== NULL
) SWIG_fail
;
18296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18297 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
18299 wxPyEndAllowThreads(__tstate
);
18300 if (PyErr_Occurred()) SWIG_fail
;
18302 Py_INCREF(Py_None
); resultobj
= Py_None
;
18317 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18318 PyObject
*resultobj
;
18319 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18322 PyObject
* obj0
= 0 ;
18323 PyObject
* obj1
= 0 ;
18324 char *kwnames
[] = {
18325 (char *) "self",(char *) "id", NULL
18328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
18329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18331 arg2
= (int)SWIG_As_int(obj1
);
18332 if (PyErr_Occurred()) SWIG_fail
;
18334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18335 result
= (arg1
)->GetToolShortHelp(arg2
);
18337 wxPyEndAllowThreads(__tstate
);
18338 if (PyErr_Occurred()) SWIG_fail
;
18342 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18344 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18353 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18354 PyObject
*resultobj
;
18355 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18357 wxString
*arg3
= 0 ;
18358 bool temp3
= false ;
18359 PyObject
* obj0
= 0 ;
18360 PyObject
* obj1
= 0 ;
18361 PyObject
* obj2
= 0 ;
18362 char *kwnames
[] = {
18363 (char *) "self",(char *) "id",(char *) "helpString", NULL
18366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18369 arg2
= (int)SWIG_As_int(obj1
);
18370 if (PyErr_Occurred()) SWIG_fail
;
18372 arg3
= wxString_in_helper(obj2
);
18373 if (arg3
== NULL
) SWIG_fail
;
18377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18378 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
18380 wxPyEndAllowThreads(__tstate
);
18381 if (PyErr_Occurred()) SWIG_fail
;
18383 Py_INCREF(Py_None
); resultobj
= Py_None
;
18398 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18399 PyObject
*resultobj
;
18400 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18403 PyObject
* obj0
= 0 ;
18404 PyObject
* obj1
= 0 ;
18405 char *kwnames
[] = {
18406 (char *) "self",(char *) "id", NULL
18409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
18410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18412 arg2
= (int)SWIG_As_int(obj1
);
18413 if (PyErr_Occurred()) SWIG_fail
;
18415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18416 result
= (arg1
)->GetToolLongHelp(arg2
);
18418 wxPyEndAllowThreads(__tstate
);
18419 if (PyErr_Occurred()) SWIG_fail
;
18423 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18425 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18434 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18435 PyObject
*resultobj
;
18436 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18439 PyObject
* obj0
= 0 ;
18440 PyObject
* obj1
= 0 ;
18441 PyObject
* obj2
= 0 ;
18442 char *kwnames
[] = {
18443 (char *) "self",(char *) "x",(char *) "y", NULL
18446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18449 arg2
= (int)SWIG_As_int(obj1
);
18450 if (PyErr_Occurred()) SWIG_fail
;
18451 arg3
= (int)SWIG_As_int(obj2
);
18452 if (PyErr_Occurred()) SWIG_fail
;
18454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18455 (arg1
)->SetMargins(arg2
,arg3
);
18457 wxPyEndAllowThreads(__tstate
);
18458 if (PyErr_Occurred()) SWIG_fail
;
18460 Py_INCREF(Py_None
); resultobj
= Py_None
;
18467 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18468 PyObject
*resultobj
;
18469 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18472 PyObject
* obj0
= 0 ;
18473 PyObject
* obj1
= 0 ;
18474 char *kwnames
[] = {
18475 (char *) "self",(char *) "size", NULL
18478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
18479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18483 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18487 (arg1
)->SetMargins((wxSize
const &)*arg2
);
18489 wxPyEndAllowThreads(__tstate
);
18490 if (PyErr_Occurred()) SWIG_fail
;
18492 Py_INCREF(Py_None
); resultobj
= Py_None
;
18499 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18500 PyObject
*resultobj
;
18501 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18503 PyObject
* obj0
= 0 ;
18504 PyObject
* obj1
= 0 ;
18505 char *kwnames
[] = {
18506 (char *) "self",(char *) "packing", NULL
18509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
18510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18512 arg2
= (int)SWIG_As_int(obj1
);
18513 if (PyErr_Occurred()) SWIG_fail
;
18515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18516 (arg1
)->SetToolPacking(arg2
);
18518 wxPyEndAllowThreads(__tstate
);
18519 if (PyErr_Occurred()) SWIG_fail
;
18521 Py_INCREF(Py_None
); resultobj
= Py_None
;
18528 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18529 PyObject
*resultobj
;
18530 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18532 PyObject
* obj0
= 0 ;
18533 PyObject
* obj1
= 0 ;
18534 char *kwnames
[] = {
18535 (char *) "self",(char *) "separation", NULL
18538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
18539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18541 arg2
= (int)SWIG_As_int(obj1
);
18542 if (PyErr_Occurred()) SWIG_fail
;
18544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18545 (arg1
)->SetToolSeparation(arg2
);
18547 wxPyEndAllowThreads(__tstate
);
18548 if (PyErr_Occurred()) SWIG_fail
;
18550 Py_INCREF(Py_None
); resultobj
= Py_None
;
18557 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18558 PyObject
*resultobj
;
18559 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18561 PyObject
* obj0
= 0 ;
18562 char *kwnames
[] = {
18563 (char *) "self", NULL
18566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
18567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18571 result
= (arg1
)->GetToolMargins();
18573 wxPyEndAllowThreads(__tstate
);
18574 if (PyErr_Occurred()) SWIG_fail
;
18577 wxSize
* resultptr
;
18578 resultptr
= new wxSize((wxSize
&) result
);
18579 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18587 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18588 PyObject
*resultobj
;
18589 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18591 PyObject
* obj0
= 0 ;
18592 char *kwnames
[] = {
18593 (char *) "self", NULL
18596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
18597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18601 result
= (arg1
)->GetMargins();
18603 wxPyEndAllowThreads(__tstate
);
18604 if (PyErr_Occurred()) SWIG_fail
;
18607 wxSize
* resultptr
;
18608 resultptr
= new wxSize((wxSize
&) result
);
18609 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18617 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18618 PyObject
*resultobj
;
18619 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18621 PyObject
* obj0
= 0 ;
18622 char *kwnames
[] = {
18623 (char *) "self", NULL
18626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
18627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18631 result
= (int)(arg1
)->GetToolPacking();
18633 wxPyEndAllowThreads(__tstate
);
18634 if (PyErr_Occurred()) SWIG_fail
;
18636 resultobj
= SWIG_From_int((int)result
);
18643 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18644 PyObject
*resultobj
;
18645 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18647 PyObject
* obj0
= 0 ;
18648 char *kwnames
[] = {
18649 (char *) "self", NULL
18652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
18653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18657 result
= (int)(arg1
)->GetToolSeparation();
18659 wxPyEndAllowThreads(__tstate
);
18660 if (PyErr_Occurred()) SWIG_fail
;
18662 resultobj
= SWIG_From_int((int)result
);
18669 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18670 PyObject
*resultobj
;
18671 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18673 PyObject
* obj0
= 0 ;
18674 PyObject
* obj1
= 0 ;
18675 char *kwnames
[] = {
18676 (char *) "self",(char *) "nRows", NULL
18679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
18680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18682 arg2
= (int)SWIG_As_int(obj1
);
18683 if (PyErr_Occurred()) SWIG_fail
;
18685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18686 (arg1
)->SetRows(arg2
);
18688 wxPyEndAllowThreads(__tstate
);
18689 if (PyErr_Occurred()) SWIG_fail
;
18691 Py_INCREF(Py_None
); resultobj
= Py_None
;
18698 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18699 PyObject
*resultobj
;
18700 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18703 PyObject
* obj0
= 0 ;
18704 PyObject
* obj1
= 0 ;
18705 PyObject
* obj2
= 0 ;
18706 char *kwnames
[] = {
18707 (char *) "self",(char *) "rows",(char *) "cols", NULL
18710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18713 arg2
= (int)SWIG_As_int(obj1
);
18714 if (PyErr_Occurred()) SWIG_fail
;
18715 arg3
= (int)SWIG_As_int(obj2
);
18716 if (PyErr_Occurred()) SWIG_fail
;
18718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18719 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
18721 wxPyEndAllowThreads(__tstate
);
18722 if (PyErr_Occurred()) SWIG_fail
;
18724 Py_INCREF(Py_None
); resultobj
= Py_None
;
18731 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18732 PyObject
*resultobj
;
18733 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18735 PyObject
* obj0
= 0 ;
18736 char *kwnames
[] = {
18737 (char *) "self", NULL
18740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
18741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18745 result
= (int)(arg1
)->GetMaxRows();
18747 wxPyEndAllowThreads(__tstate
);
18748 if (PyErr_Occurred()) SWIG_fail
;
18750 resultobj
= SWIG_From_int((int)result
);
18757 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18758 PyObject
*resultobj
;
18759 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18761 PyObject
* obj0
= 0 ;
18762 char *kwnames
[] = {
18763 (char *) "self", NULL
18766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
18767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18771 result
= (int)(arg1
)->GetMaxCols();
18773 wxPyEndAllowThreads(__tstate
);
18774 if (PyErr_Occurred()) SWIG_fail
;
18776 resultobj
= SWIG_From_int((int)result
);
18783 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18784 PyObject
*resultobj
;
18785 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18788 PyObject
* obj0
= 0 ;
18789 PyObject
* obj1
= 0 ;
18790 char *kwnames
[] = {
18791 (char *) "self",(char *) "size", NULL
18794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18799 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18803 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
18805 wxPyEndAllowThreads(__tstate
);
18806 if (PyErr_Occurred()) SWIG_fail
;
18808 Py_INCREF(Py_None
); resultobj
= Py_None
;
18815 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18816 PyObject
*resultobj
;
18817 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18819 PyObject
* obj0
= 0 ;
18820 char *kwnames
[] = {
18821 (char *) "self", NULL
18824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
18825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18829 result
= (arg1
)->GetToolBitmapSize();
18831 wxPyEndAllowThreads(__tstate
);
18832 if (PyErr_Occurred()) SWIG_fail
;
18835 wxSize
* resultptr
;
18836 resultptr
= new wxSize((wxSize
&) result
);
18837 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18845 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18846 PyObject
*resultobj
;
18847 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18849 PyObject
* obj0
= 0 ;
18850 char *kwnames
[] = {
18851 (char *) "self", NULL
18854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
18855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18859 result
= (arg1
)->GetToolSize();
18861 wxPyEndAllowThreads(__tstate
);
18862 if (PyErr_Occurred()) SWIG_fail
;
18865 wxSize
* resultptr
;
18866 resultptr
= new wxSize((wxSize
&) result
);
18867 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18875 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18876 PyObject
*resultobj
;
18877 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18880 wxToolBarToolBase
*result
;
18881 PyObject
* obj0
= 0 ;
18882 PyObject
* obj1
= 0 ;
18883 PyObject
* obj2
= 0 ;
18884 char *kwnames
[] = {
18885 (char *) "self",(char *) "x",(char *) "y", NULL
18888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18891 arg2
= (int)SWIG_As_int(obj1
);
18892 if (PyErr_Occurred()) SWIG_fail
;
18893 arg3
= (int)SWIG_As_int(obj2
);
18894 if (PyErr_Occurred()) SWIG_fail
;
18896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18897 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18899 wxPyEndAllowThreads(__tstate
);
18900 if (PyErr_Occurred()) SWIG_fail
;
18903 resultobj
= wxPyMake_wxObject(result
, 0);
18911 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18912 PyObject
*resultobj
;
18913 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18915 wxToolBarToolBase
*result
;
18916 PyObject
* obj0
= 0 ;
18917 PyObject
* obj1
= 0 ;
18918 char *kwnames
[] = {
18919 (char *) "self",(char *) "toolid", NULL
18922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
18923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18925 arg2
= (int)SWIG_As_int(obj1
);
18926 if (PyErr_Occurred()) SWIG_fail
;
18928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18929 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
18931 wxPyEndAllowThreads(__tstate
);
18932 if (PyErr_Occurred()) SWIG_fail
;
18935 resultobj
= wxPyMake_wxObject(result
, 0);
18943 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18944 PyObject
*resultobj
;
18945 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18947 PyObject
* obj0
= 0 ;
18948 char *kwnames
[] = {
18949 (char *) "self", NULL
18952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
18953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18957 result
= (bool)(arg1
)->IsVertical();
18959 wxPyEndAllowThreads(__tstate
);
18960 if (PyErr_Occurred()) SWIG_fail
;
18963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18971 static PyObject
* ToolBarBase_swigregister(PyObject
*, PyObject
*args
) {
18973 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18974 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
18976 return Py_BuildValue((char *)"");
18978 static PyObject
*_wrap_new_ToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18979 PyObject
*resultobj
;
18980 wxWindow
*arg1
= (wxWindow
*) 0 ;
18981 int arg2
= (int) -1 ;
18982 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18983 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18984 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18985 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18986 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18987 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
18988 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18992 bool temp6
= false ;
18993 PyObject
* obj0
= 0 ;
18994 PyObject
* obj1
= 0 ;
18995 PyObject
* obj2
= 0 ;
18996 PyObject
* obj3
= 0 ;
18997 PyObject
* obj4
= 0 ;
18998 PyObject
* obj5
= 0 ;
18999 char *kwnames
[] = {
19000 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
19004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19007 arg2
= (int)SWIG_As_int(obj1
);
19008 if (PyErr_Occurred()) SWIG_fail
;
19013 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19019 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19023 arg5
= (long)SWIG_As_long(obj4
);
19024 if (PyErr_Occurred()) SWIG_fail
;
19028 arg6
= wxString_in_helper(obj5
);
19029 if (arg6
== NULL
) SWIG_fail
;
19034 if (!wxPyCheckForApp()) SWIG_fail
;
19035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19036 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
19038 wxPyEndAllowThreads(__tstate
);
19039 if (PyErr_Occurred()) SWIG_fail
;
19041 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
19056 static PyObject
*_wrap_new_PreToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19057 PyObject
*resultobj
;
19059 char *kwnames
[] = {
19063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
19065 if (!wxPyCheckForApp()) SWIG_fail
;
19066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19067 result
= (wxToolBar
*)new wxToolBar();
19069 wxPyEndAllowThreads(__tstate
);
19070 if (PyErr_Occurred()) SWIG_fail
;
19072 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
19079 static PyObject
*_wrap_ToolBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19080 PyObject
*resultobj
;
19081 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
19082 wxWindow
*arg2
= (wxWindow
*) 0 ;
19083 int arg3
= (int) -1 ;
19084 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19085 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19086 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19087 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19088 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
19089 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
19090 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19094 bool temp7
= false ;
19095 PyObject
* obj0
= 0 ;
19096 PyObject
* obj1
= 0 ;
19097 PyObject
* obj2
= 0 ;
19098 PyObject
* obj3
= 0 ;
19099 PyObject
* obj4
= 0 ;
19100 PyObject
* obj5
= 0 ;
19101 PyObject
* obj6
= 0 ;
19102 char *kwnames
[] = {
19103 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
19107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
19108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19109 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19112 arg3
= (int)SWIG_As_int(obj2
);
19113 if (PyErr_Occurred()) SWIG_fail
;
19118 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19124 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19128 arg6
= (long)SWIG_As_long(obj5
);
19129 if (PyErr_Occurred()) SWIG_fail
;
19133 arg7
= wxString_in_helper(obj6
);
19134 if (arg7
== NULL
) SWIG_fail
;
19139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19140 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
19142 wxPyEndAllowThreads(__tstate
);
19143 if (PyErr_Occurred()) SWIG_fail
;
19146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19162 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19163 PyObject
*resultobj
;
19164 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
19167 wxToolBarToolBase
*result
;
19168 PyObject
* obj0
= 0 ;
19169 PyObject
* obj1
= 0 ;
19170 PyObject
* obj2
= 0 ;
19171 char *kwnames
[] = {
19172 (char *) "self",(char *) "x",(char *) "y", NULL
19175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
19177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19178 arg2
= (int)SWIG_As_int(obj1
);
19179 if (PyErr_Occurred()) SWIG_fail
;
19180 arg3
= (int)SWIG_As_int(obj2
);
19181 if (PyErr_Occurred()) SWIG_fail
;
19183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19184 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
19186 wxPyEndAllowThreads(__tstate
);
19187 if (PyErr_Occurred()) SWIG_fail
;
19190 resultobj
= wxPyMake_wxObject(result
, 0);
19198 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19199 PyObject
*resultobj
;
19200 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
19201 wxVisualAttributes result
;
19202 PyObject
* obj0
= 0 ;
19203 char *kwnames
[] = {
19204 (char *) "variant", NULL
19207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
19209 arg1
= (int)SWIG_As_int(obj0
);
19210 if (PyErr_Occurred()) SWIG_fail
;
19213 if (!wxPyCheckForApp()) SWIG_fail
;
19214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19215 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
19217 wxPyEndAllowThreads(__tstate
);
19218 if (PyErr_Occurred()) SWIG_fail
;
19221 wxVisualAttributes
* resultptr
;
19222 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
19223 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
19231 static PyObject
* ToolBar_swigregister(PyObject
*, PyObject
*args
) {
19233 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19234 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
19236 return Py_BuildValue((char *)"");
19238 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
19239 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
19244 static PyObject
*_wrap_ListCtrlNameStr_get() {
19249 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
19251 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
19258 static PyObject
*_wrap_new_ListItemAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19259 PyObject
*resultobj
;
19260 wxColour
const &arg1_defvalue
= wxNullColour
;
19261 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
19262 wxColour
const &arg2_defvalue
= wxNullColour
;
19263 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
19264 wxFont
const &arg3_defvalue
= wxNullFont
;
19265 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
19266 wxListItemAttr
*result
;
19269 PyObject
* obj0
= 0 ;
19270 PyObject
* obj1
= 0 ;
19271 PyObject
* obj2
= 0 ;
19272 char *kwnames
[] = {
19273 (char *) "colText",(char *) "colBack",(char *) "font", NULL
19276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19280 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
19286 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19290 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
19291 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19293 if (arg3
== NULL
) {
19294 PyErr_SetString(PyExc_TypeError
,"null reference");
19299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19300 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
19302 wxPyEndAllowThreads(__tstate
);
19303 if (PyErr_Occurred()) SWIG_fail
;
19305 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
19312 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19313 PyObject
*resultobj
;
19314 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19315 wxColour
*arg2
= 0 ;
19317 PyObject
* obj0
= 0 ;
19318 PyObject
* obj1
= 0 ;
19319 char *kwnames
[] = {
19320 (char *) "self",(char *) "colText", NULL
19323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19328 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19332 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
19334 wxPyEndAllowThreads(__tstate
);
19335 if (PyErr_Occurred()) SWIG_fail
;
19337 Py_INCREF(Py_None
); resultobj
= Py_None
;
19344 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19345 PyObject
*resultobj
;
19346 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19347 wxColour
*arg2
= 0 ;
19349 PyObject
* obj0
= 0 ;
19350 PyObject
* obj1
= 0 ;
19351 char *kwnames
[] = {
19352 (char *) "self",(char *) "colBack", NULL
19355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19360 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19364 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
19366 wxPyEndAllowThreads(__tstate
);
19367 if (PyErr_Occurred()) SWIG_fail
;
19369 Py_INCREF(Py_None
); resultobj
= Py_None
;
19376 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19377 PyObject
*resultobj
;
19378 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19380 PyObject
* obj0
= 0 ;
19381 PyObject
* obj1
= 0 ;
19382 char *kwnames
[] = {
19383 (char *) "self",(char *) "font", NULL
19386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
19387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19389 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
19390 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19392 if (arg2
== NULL
) {
19393 PyErr_SetString(PyExc_TypeError
,"null reference");
19397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19398 (arg1
)->SetFont((wxFont
const &)*arg2
);
19400 wxPyEndAllowThreads(__tstate
);
19401 if (PyErr_Occurred()) SWIG_fail
;
19403 Py_INCREF(Py_None
); resultobj
= Py_None
;
19410 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19411 PyObject
*resultobj
;
19412 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19414 PyObject
* obj0
= 0 ;
19415 char *kwnames
[] = {
19416 (char *) "self", NULL
19419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
19420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19424 result
= (bool)(arg1
)->HasTextColour();
19426 wxPyEndAllowThreads(__tstate
);
19427 if (PyErr_Occurred()) SWIG_fail
;
19430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19438 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19439 PyObject
*resultobj
;
19440 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19442 PyObject
* obj0
= 0 ;
19443 char *kwnames
[] = {
19444 (char *) "self", NULL
19447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
19448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19452 result
= (bool)(arg1
)->HasBackgroundColour();
19454 wxPyEndAllowThreads(__tstate
);
19455 if (PyErr_Occurred()) SWIG_fail
;
19458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19466 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19467 PyObject
*resultobj
;
19468 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19470 PyObject
* obj0
= 0 ;
19471 char *kwnames
[] = {
19472 (char *) "self", NULL
19475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
19476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19480 result
= (bool)(arg1
)->HasFont();
19482 wxPyEndAllowThreads(__tstate
);
19483 if (PyErr_Occurred()) SWIG_fail
;
19486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19494 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19495 PyObject
*resultobj
;
19496 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19498 PyObject
* obj0
= 0 ;
19499 char *kwnames
[] = {
19500 (char *) "self", NULL
19503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
19504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19508 result
= (arg1
)->GetTextColour();
19510 wxPyEndAllowThreads(__tstate
);
19511 if (PyErr_Occurred()) SWIG_fail
;
19514 wxColour
* resultptr
;
19515 resultptr
= new wxColour((wxColour
&) result
);
19516 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19524 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19525 PyObject
*resultobj
;
19526 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19528 PyObject
* obj0
= 0 ;
19529 char *kwnames
[] = {
19530 (char *) "self", NULL
19533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
19534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19538 result
= (arg1
)->GetBackgroundColour();
19540 wxPyEndAllowThreads(__tstate
);
19541 if (PyErr_Occurred()) SWIG_fail
;
19544 wxColour
* resultptr
;
19545 resultptr
= new wxColour((wxColour
&) result
);
19546 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19554 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19555 PyObject
*resultobj
;
19556 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19558 PyObject
* obj0
= 0 ;
19559 char *kwnames
[] = {
19560 (char *) "self", NULL
19563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
19564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19568 result
= (arg1
)->GetFont();
19570 wxPyEndAllowThreads(__tstate
);
19571 if (PyErr_Occurred()) SWIG_fail
;
19574 wxFont
* resultptr
;
19575 resultptr
= new wxFont((wxFont
&) result
);
19576 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
19584 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19585 PyObject
*resultobj
;
19586 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19587 PyObject
* obj0
= 0 ;
19588 char *kwnames
[] = {
19589 (char *) "self", NULL
19592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
19593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19597 wxListItemAttr_Destroy(arg1
);
19599 wxPyEndAllowThreads(__tstate
);
19600 if (PyErr_Occurred()) SWIG_fail
;
19602 Py_INCREF(Py_None
); resultobj
= Py_None
;
19609 static PyObject
* ListItemAttr_swigregister(PyObject
*, PyObject
*args
) {
19611 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19612 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
19614 return Py_BuildValue((char *)"");
19616 static PyObject
*_wrap_new_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19617 PyObject
*resultobj
;
19618 wxListItem
*result
;
19619 char *kwnames
[] = {
19623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
19625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19626 result
= (wxListItem
*)new wxListItem();
19628 wxPyEndAllowThreads(__tstate
);
19629 if (PyErr_Occurred()) SWIG_fail
;
19632 resultobj
= wxPyMake_wxObject(result
, 1);
19640 static PyObject
*_wrap_delete_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19641 PyObject
*resultobj
;
19642 wxListItem
*arg1
= (wxListItem
*) 0 ;
19643 PyObject
* obj0
= 0 ;
19644 char *kwnames
[] = {
19645 (char *) "self", NULL
19648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
19649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19655 wxPyEndAllowThreads(__tstate
);
19656 if (PyErr_Occurred()) SWIG_fail
;
19658 Py_INCREF(Py_None
); resultobj
= Py_None
;
19665 static PyObject
*_wrap_ListItem_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19666 PyObject
*resultobj
;
19667 wxListItem
*arg1
= (wxListItem
*) 0 ;
19668 PyObject
* obj0
= 0 ;
19669 char *kwnames
[] = {
19670 (char *) "self", NULL
19673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
19674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19680 wxPyEndAllowThreads(__tstate
);
19681 if (PyErr_Occurred()) SWIG_fail
;
19683 Py_INCREF(Py_None
); resultobj
= Py_None
;
19690 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19691 PyObject
*resultobj
;
19692 wxListItem
*arg1
= (wxListItem
*) 0 ;
19693 PyObject
* obj0
= 0 ;
19694 char *kwnames
[] = {
19695 (char *) "self", NULL
19698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
19699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19703 (arg1
)->ClearAttributes();
19705 wxPyEndAllowThreads(__tstate
);
19706 if (PyErr_Occurred()) SWIG_fail
;
19708 Py_INCREF(Py_None
); resultobj
= Py_None
;
19715 static PyObject
*_wrap_ListItem_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19716 PyObject
*resultobj
;
19717 wxListItem
*arg1
= (wxListItem
*) 0 ;
19719 PyObject
* obj0
= 0 ;
19720 PyObject
* obj1
= 0 ;
19721 char *kwnames
[] = {
19722 (char *) "self",(char *) "mask", NULL
19725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19728 arg2
= (long)SWIG_As_long(obj1
);
19729 if (PyErr_Occurred()) SWIG_fail
;
19731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19732 (arg1
)->SetMask(arg2
);
19734 wxPyEndAllowThreads(__tstate
);
19735 if (PyErr_Occurred()) SWIG_fail
;
19737 Py_INCREF(Py_None
); resultobj
= Py_None
;
19744 static PyObject
*_wrap_ListItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19745 PyObject
*resultobj
;
19746 wxListItem
*arg1
= (wxListItem
*) 0 ;
19748 PyObject
* obj0
= 0 ;
19749 PyObject
* obj1
= 0 ;
19750 char *kwnames
[] = {
19751 (char *) "self",(char *) "id", NULL
19754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
19755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19757 arg2
= (long)SWIG_As_long(obj1
);
19758 if (PyErr_Occurred()) SWIG_fail
;
19760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19761 (arg1
)->SetId(arg2
);
19763 wxPyEndAllowThreads(__tstate
);
19764 if (PyErr_Occurred()) SWIG_fail
;
19766 Py_INCREF(Py_None
); resultobj
= Py_None
;
19773 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19774 PyObject
*resultobj
;
19775 wxListItem
*arg1
= (wxListItem
*) 0 ;
19777 PyObject
* obj0
= 0 ;
19778 PyObject
* obj1
= 0 ;
19779 char *kwnames
[] = {
19780 (char *) "self",(char *) "col", NULL
19783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
19784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19786 arg2
= (int)SWIG_As_int(obj1
);
19787 if (PyErr_Occurred()) SWIG_fail
;
19789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19790 (arg1
)->SetColumn(arg2
);
19792 wxPyEndAllowThreads(__tstate
);
19793 if (PyErr_Occurred()) SWIG_fail
;
19795 Py_INCREF(Py_None
); resultobj
= Py_None
;
19802 static PyObject
*_wrap_ListItem_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19803 PyObject
*resultobj
;
19804 wxListItem
*arg1
= (wxListItem
*) 0 ;
19806 PyObject
* obj0
= 0 ;
19807 PyObject
* obj1
= 0 ;
19808 char *kwnames
[] = {
19809 (char *) "self",(char *) "state", NULL
19812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
19813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19815 arg2
= (long)SWIG_As_long(obj1
);
19816 if (PyErr_Occurred()) SWIG_fail
;
19818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19819 (arg1
)->SetState(arg2
);
19821 wxPyEndAllowThreads(__tstate
);
19822 if (PyErr_Occurred()) SWIG_fail
;
19824 Py_INCREF(Py_None
); resultobj
= Py_None
;
19831 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19832 PyObject
*resultobj
;
19833 wxListItem
*arg1
= (wxListItem
*) 0 ;
19835 PyObject
* obj0
= 0 ;
19836 PyObject
* obj1
= 0 ;
19837 char *kwnames
[] = {
19838 (char *) "self",(char *) "stateMask", NULL
19841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19844 arg2
= (long)SWIG_As_long(obj1
);
19845 if (PyErr_Occurred()) SWIG_fail
;
19847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19848 (arg1
)->SetStateMask(arg2
);
19850 wxPyEndAllowThreads(__tstate
);
19851 if (PyErr_Occurred()) SWIG_fail
;
19853 Py_INCREF(Py_None
); resultobj
= Py_None
;
19860 static PyObject
*_wrap_ListItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19861 PyObject
*resultobj
;
19862 wxListItem
*arg1
= (wxListItem
*) 0 ;
19863 wxString
*arg2
= 0 ;
19864 bool temp2
= false ;
19865 PyObject
* obj0
= 0 ;
19866 PyObject
* obj1
= 0 ;
19867 char *kwnames
[] = {
19868 (char *) "self",(char *) "text", NULL
19871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
19872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19875 arg2
= wxString_in_helper(obj1
);
19876 if (arg2
== NULL
) SWIG_fail
;
19880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19881 (arg1
)->SetText((wxString
const &)*arg2
);
19883 wxPyEndAllowThreads(__tstate
);
19884 if (PyErr_Occurred()) SWIG_fail
;
19886 Py_INCREF(Py_None
); resultobj
= Py_None
;
19901 static PyObject
*_wrap_ListItem_SetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19902 PyObject
*resultobj
;
19903 wxListItem
*arg1
= (wxListItem
*) 0 ;
19905 PyObject
* obj0
= 0 ;
19906 PyObject
* obj1
= 0 ;
19907 char *kwnames
[] = {
19908 (char *) "self",(char *) "image", NULL
19911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
19912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19914 arg2
= (int)SWIG_As_int(obj1
);
19915 if (PyErr_Occurred()) SWIG_fail
;
19917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19918 (arg1
)->SetImage(arg2
);
19920 wxPyEndAllowThreads(__tstate
);
19921 if (PyErr_Occurred()) SWIG_fail
;
19923 Py_INCREF(Py_None
); resultobj
= Py_None
;
19930 static PyObject
*_wrap_ListItem_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19931 PyObject
*resultobj
;
19932 wxListItem
*arg1
= (wxListItem
*) 0 ;
19934 PyObject
* obj0
= 0 ;
19935 PyObject
* obj1
= 0 ;
19936 char *kwnames
[] = {
19937 (char *) "self",(char *) "data", NULL
19940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
19941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19943 arg2
= (long)SWIG_As_long(obj1
);
19944 if (PyErr_Occurred()) SWIG_fail
;
19946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19947 (arg1
)->SetData(arg2
);
19949 wxPyEndAllowThreads(__tstate
);
19950 if (PyErr_Occurred()) SWIG_fail
;
19952 Py_INCREF(Py_None
); resultobj
= Py_None
;
19959 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19960 PyObject
*resultobj
;
19961 wxListItem
*arg1
= (wxListItem
*) 0 ;
19963 PyObject
* obj0
= 0 ;
19964 PyObject
* obj1
= 0 ;
19965 char *kwnames
[] = {
19966 (char *) "self",(char *) "width", NULL
19969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
19970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19972 arg2
= (int)SWIG_As_int(obj1
);
19973 if (PyErr_Occurred()) SWIG_fail
;
19975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19976 (arg1
)->SetWidth(arg2
);
19978 wxPyEndAllowThreads(__tstate
);
19979 if (PyErr_Occurred()) SWIG_fail
;
19981 Py_INCREF(Py_None
); resultobj
= Py_None
;
19988 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19989 PyObject
*resultobj
;
19990 wxListItem
*arg1
= (wxListItem
*) 0 ;
19992 PyObject
* obj0
= 0 ;
19993 PyObject
* obj1
= 0 ;
19994 char *kwnames
[] = {
19995 (char *) "self",(char *) "align", NULL
19998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
19999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20001 arg2
= (int)SWIG_As_int(obj1
);
20002 if (PyErr_Occurred()) SWIG_fail
;
20004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20005 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
20007 wxPyEndAllowThreads(__tstate
);
20008 if (PyErr_Occurred()) SWIG_fail
;
20010 Py_INCREF(Py_None
); resultobj
= Py_None
;
20017 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20018 PyObject
*resultobj
;
20019 wxListItem
*arg1
= (wxListItem
*) 0 ;
20020 wxColour
*arg2
= 0 ;
20022 PyObject
* obj0
= 0 ;
20023 PyObject
* obj1
= 0 ;
20024 char *kwnames
[] = {
20025 (char *) "self",(char *) "colText", NULL
20028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20033 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20037 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
20039 wxPyEndAllowThreads(__tstate
);
20040 if (PyErr_Occurred()) SWIG_fail
;
20042 Py_INCREF(Py_None
); resultobj
= Py_None
;
20049 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20050 PyObject
*resultobj
;
20051 wxListItem
*arg1
= (wxListItem
*) 0 ;
20052 wxColour
*arg2
= 0 ;
20054 PyObject
* obj0
= 0 ;
20055 PyObject
* obj1
= 0 ;
20056 char *kwnames
[] = {
20057 (char *) "self",(char *) "colBack", NULL
20060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
20061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20065 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
20068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20069 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
20071 wxPyEndAllowThreads(__tstate
);
20072 if (PyErr_Occurred()) SWIG_fail
;
20074 Py_INCREF(Py_None
); resultobj
= Py_None
;
20081 static PyObject
*_wrap_ListItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20082 PyObject
*resultobj
;
20083 wxListItem
*arg1
= (wxListItem
*) 0 ;
20085 PyObject
* obj0
= 0 ;
20086 PyObject
* obj1
= 0 ;
20087 char *kwnames
[] = {
20088 (char *) "self",(char *) "font", NULL
20091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
20092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20094 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
20095 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20097 if (arg2
== NULL
) {
20098 PyErr_SetString(PyExc_TypeError
,"null reference");
20102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20103 (arg1
)->SetFont((wxFont
const &)*arg2
);
20105 wxPyEndAllowThreads(__tstate
);
20106 if (PyErr_Occurred()) SWIG_fail
;
20108 Py_INCREF(Py_None
); resultobj
= Py_None
;
20115 static PyObject
*_wrap_ListItem_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20116 PyObject
*resultobj
;
20117 wxListItem
*arg1
= (wxListItem
*) 0 ;
20119 PyObject
* obj0
= 0 ;
20120 char *kwnames
[] = {
20121 (char *) "self", NULL
20124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
20125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20129 result
= (long)(arg1
)->GetMask();
20131 wxPyEndAllowThreads(__tstate
);
20132 if (PyErr_Occurred()) SWIG_fail
;
20134 resultobj
= SWIG_From_long((long)result
);
20141 static PyObject
*_wrap_ListItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20142 PyObject
*resultobj
;
20143 wxListItem
*arg1
= (wxListItem
*) 0 ;
20145 PyObject
* obj0
= 0 ;
20146 char *kwnames
[] = {
20147 (char *) "self", NULL
20150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
20151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20155 result
= (long)(arg1
)->GetId();
20157 wxPyEndAllowThreads(__tstate
);
20158 if (PyErr_Occurred()) SWIG_fail
;
20160 resultobj
= SWIG_From_long((long)result
);
20167 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20168 PyObject
*resultobj
;
20169 wxListItem
*arg1
= (wxListItem
*) 0 ;
20171 PyObject
* obj0
= 0 ;
20172 char *kwnames
[] = {
20173 (char *) "self", NULL
20176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
20177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20181 result
= (int)(arg1
)->GetColumn();
20183 wxPyEndAllowThreads(__tstate
);
20184 if (PyErr_Occurred()) SWIG_fail
;
20186 resultobj
= SWIG_From_int((int)result
);
20193 static PyObject
*_wrap_ListItem_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20194 PyObject
*resultobj
;
20195 wxListItem
*arg1
= (wxListItem
*) 0 ;
20197 PyObject
* obj0
= 0 ;
20198 char *kwnames
[] = {
20199 (char *) "self", NULL
20202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
20203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20207 result
= (long)(arg1
)->GetState();
20209 wxPyEndAllowThreads(__tstate
);
20210 if (PyErr_Occurred()) SWIG_fail
;
20212 resultobj
= SWIG_From_long((long)result
);
20219 static PyObject
*_wrap_ListItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20220 PyObject
*resultobj
;
20221 wxListItem
*arg1
= (wxListItem
*) 0 ;
20223 PyObject
* obj0
= 0 ;
20224 char *kwnames
[] = {
20225 (char *) "self", NULL
20228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
20229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20234 wxString
const &_result_ref
= (arg1
)->GetText();
20235 result
= (wxString
*) &_result_ref
;
20238 wxPyEndAllowThreads(__tstate
);
20239 if (PyErr_Occurred()) SWIG_fail
;
20243 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20245 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20254 static PyObject
*_wrap_ListItem_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20255 PyObject
*resultobj
;
20256 wxListItem
*arg1
= (wxListItem
*) 0 ;
20258 PyObject
* obj0
= 0 ;
20259 char *kwnames
[] = {
20260 (char *) "self", NULL
20263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
20264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20268 result
= (int)(arg1
)->GetImage();
20270 wxPyEndAllowThreads(__tstate
);
20271 if (PyErr_Occurred()) SWIG_fail
;
20273 resultobj
= SWIG_From_int((int)result
);
20280 static PyObject
*_wrap_ListItem_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20281 PyObject
*resultobj
;
20282 wxListItem
*arg1
= (wxListItem
*) 0 ;
20284 PyObject
* obj0
= 0 ;
20285 char *kwnames
[] = {
20286 (char *) "self", NULL
20289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
20290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20294 result
= (long)(arg1
)->GetData();
20296 wxPyEndAllowThreads(__tstate
);
20297 if (PyErr_Occurred()) SWIG_fail
;
20299 resultobj
= SWIG_From_long((long)result
);
20306 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20307 PyObject
*resultobj
;
20308 wxListItem
*arg1
= (wxListItem
*) 0 ;
20310 PyObject
* obj0
= 0 ;
20311 char *kwnames
[] = {
20312 (char *) "self", NULL
20315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
20316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20320 result
= (int)(arg1
)->GetWidth();
20322 wxPyEndAllowThreads(__tstate
);
20323 if (PyErr_Occurred()) SWIG_fail
;
20325 resultobj
= SWIG_From_int((int)result
);
20332 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20333 PyObject
*resultobj
;
20334 wxListItem
*arg1
= (wxListItem
*) 0 ;
20336 PyObject
* obj0
= 0 ;
20337 char *kwnames
[] = {
20338 (char *) "self", NULL
20341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
20342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20346 result
= (int)(arg1
)->GetAlign();
20348 wxPyEndAllowThreads(__tstate
);
20349 if (PyErr_Occurred()) SWIG_fail
;
20351 resultobj
= SWIG_From_int((int)result
);
20358 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20359 PyObject
*resultobj
;
20360 wxListItem
*arg1
= (wxListItem
*) 0 ;
20361 wxListItemAttr
*result
;
20362 PyObject
* obj0
= 0 ;
20363 char *kwnames
[] = {
20364 (char *) "self", NULL
20367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
20368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20372 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
20374 wxPyEndAllowThreads(__tstate
);
20375 if (PyErr_Occurred()) SWIG_fail
;
20377 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
20384 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20385 PyObject
*resultobj
;
20386 wxListItem
*arg1
= (wxListItem
*) 0 ;
20388 PyObject
* obj0
= 0 ;
20389 char *kwnames
[] = {
20390 (char *) "self", NULL
20393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
20394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20398 result
= (bool)(arg1
)->HasAttributes();
20400 wxPyEndAllowThreads(__tstate
);
20401 if (PyErr_Occurred()) SWIG_fail
;
20404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20412 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20413 PyObject
*resultobj
;
20414 wxListItem
*arg1
= (wxListItem
*) 0 ;
20416 PyObject
* obj0
= 0 ;
20417 char *kwnames
[] = {
20418 (char *) "self", NULL
20421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
20422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20426 result
= ((wxListItem
const *)arg1
)->GetTextColour();
20428 wxPyEndAllowThreads(__tstate
);
20429 if (PyErr_Occurred()) SWIG_fail
;
20432 wxColour
* resultptr
;
20433 resultptr
= new wxColour((wxColour
&) result
);
20434 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20442 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20443 PyObject
*resultobj
;
20444 wxListItem
*arg1
= (wxListItem
*) 0 ;
20446 PyObject
* obj0
= 0 ;
20447 char *kwnames
[] = {
20448 (char *) "self", NULL
20451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
20452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20456 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
20458 wxPyEndAllowThreads(__tstate
);
20459 if (PyErr_Occurred()) SWIG_fail
;
20462 wxColour
* resultptr
;
20463 resultptr
= new wxColour((wxColour
&) result
);
20464 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20472 static PyObject
*_wrap_ListItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20473 PyObject
*resultobj
;
20474 wxListItem
*arg1
= (wxListItem
*) 0 ;
20476 PyObject
* obj0
= 0 ;
20477 char *kwnames
[] = {
20478 (char *) "self", NULL
20481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
20482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20486 result
= ((wxListItem
const *)arg1
)->GetFont();
20488 wxPyEndAllowThreads(__tstate
);
20489 if (PyErr_Occurred()) SWIG_fail
;
20492 wxFont
* resultptr
;
20493 resultptr
= new wxFont((wxFont
&) result
);
20494 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
20502 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20503 PyObject
*resultobj
;
20504 wxListItem
*arg1
= (wxListItem
*) 0 ;
20506 PyObject
* obj0
= 0 ;
20507 PyObject
* obj1
= 0 ;
20508 char *kwnames
[] = {
20509 (char *) "self",(char *) "m_mask", NULL
20512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20515 arg2
= (long)SWIG_As_long(obj1
);
20516 if (PyErr_Occurred()) SWIG_fail
;
20517 if (arg1
) (arg1
)->m_mask
= arg2
;
20519 Py_INCREF(Py_None
); resultobj
= Py_None
;
20526 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20527 PyObject
*resultobj
;
20528 wxListItem
*arg1
= (wxListItem
*) 0 ;
20530 PyObject
* obj0
= 0 ;
20531 char *kwnames
[] = {
20532 (char *) "self", NULL
20535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
20536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20538 result
= (long) ((arg1
)->m_mask
);
20540 resultobj
= SWIG_From_long((long)result
);
20547 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20548 PyObject
*resultobj
;
20549 wxListItem
*arg1
= (wxListItem
*) 0 ;
20551 PyObject
* obj0
= 0 ;
20552 PyObject
* obj1
= 0 ;
20553 char *kwnames
[] = {
20554 (char *) "self",(char *) "m_itemId", NULL
20557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20560 arg2
= (long)SWIG_As_long(obj1
);
20561 if (PyErr_Occurred()) SWIG_fail
;
20562 if (arg1
) (arg1
)->m_itemId
= arg2
;
20564 Py_INCREF(Py_None
); resultobj
= Py_None
;
20571 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20572 PyObject
*resultobj
;
20573 wxListItem
*arg1
= (wxListItem
*) 0 ;
20575 PyObject
* obj0
= 0 ;
20576 char *kwnames
[] = {
20577 (char *) "self", NULL
20580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
20581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20583 result
= (long) ((arg1
)->m_itemId
);
20585 resultobj
= SWIG_From_long((long)result
);
20592 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20593 PyObject
*resultobj
;
20594 wxListItem
*arg1
= (wxListItem
*) 0 ;
20596 PyObject
* obj0
= 0 ;
20597 PyObject
* obj1
= 0 ;
20598 char *kwnames
[] = {
20599 (char *) "self",(char *) "m_col", NULL
20602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20605 arg2
= (int)SWIG_As_int(obj1
);
20606 if (PyErr_Occurred()) SWIG_fail
;
20607 if (arg1
) (arg1
)->m_col
= arg2
;
20609 Py_INCREF(Py_None
); resultobj
= Py_None
;
20616 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20617 PyObject
*resultobj
;
20618 wxListItem
*arg1
= (wxListItem
*) 0 ;
20620 PyObject
* obj0
= 0 ;
20621 char *kwnames
[] = {
20622 (char *) "self", NULL
20625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
20626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20628 result
= (int) ((arg1
)->m_col
);
20630 resultobj
= SWIG_From_int((int)result
);
20637 static PyObject
*_wrap_ListItem_m_state_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_state", NULL
20647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_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
= (long)SWIG_As_long(obj1
);
20651 if (PyErr_Occurred()) SWIG_fail
;
20652 if (arg1
) (arg1
)->m_state
= arg2
;
20654 Py_INCREF(Py_None
); resultobj
= Py_None
;
20661 static PyObject
*_wrap_ListItem_m_state_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_state_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
= (long) ((arg1
)->m_state
);
20675 resultobj
= SWIG_From_long((long)result
);
20682 static PyObject
*_wrap_ListItem_m_stateMask_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_stateMask", NULL
20692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_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_stateMask
= arg2
;
20699 Py_INCREF(Py_None
); resultobj
= Py_None
;
20706 static PyObject
*_wrap_ListItem_m_stateMask_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_stateMask_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_stateMask
);
20720 resultobj
= SWIG_From_long((long)result
);
20727 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20728 PyObject
*resultobj
;
20729 wxListItem
*arg1
= (wxListItem
*) 0 ;
20730 wxString
*arg2
= (wxString
*) 0 ;
20731 bool temp2
= false ;
20732 PyObject
* obj0
= 0 ;
20733 PyObject
* obj1
= 0 ;
20734 char *kwnames
[] = {
20735 (char *) "self",(char *) "m_text", NULL
20738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20742 arg2
= wxString_in_helper(obj1
);
20743 if (arg2
== NULL
) SWIG_fail
;
20746 if (arg1
) (arg1
)->m_text
= *arg2
;
20748 Py_INCREF(Py_None
); resultobj
= Py_None
;
20763 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20764 PyObject
*resultobj
;
20765 wxListItem
*arg1
= (wxListItem
*) 0 ;
20767 PyObject
* obj0
= 0 ;
20768 char *kwnames
[] = {
20769 (char *) "self", NULL
20772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
20773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20775 result
= (wxString
*)& ((arg1
)->m_text
);
20779 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20781 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20790 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20791 PyObject
*resultobj
;
20792 wxListItem
*arg1
= (wxListItem
*) 0 ;
20794 PyObject
* obj0
= 0 ;
20795 PyObject
* obj1
= 0 ;
20796 char *kwnames
[] = {
20797 (char *) "self",(char *) "m_image", NULL
20800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20803 arg2
= (int)SWIG_As_int(obj1
);
20804 if (PyErr_Occurred()) SWIG_fail
;
20805 if (arg1
) (arg1
)->m_image
= arg2
;
20807 Py_INCREF(Py_None
); resultobj
= Py_None
;
20814 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20815 PyObject
*resultobj
;
20816 wxListItem
*arg1
= (wxListItem
*) 0 ;
20818 PyObject
* obj0
= 0 ;
20819 char *kwnames
[] = {
20820 (char *) "self", NULL
20823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
20824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20826 result
= (int) ((arg1
)->m_image
);
20828 resultobj
= SWIG_From_int((int)result
);
20835 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20836 PyObject
*resultobj
;
20837 wxListItem
*arg1
= (wxListItem
*) 0 ;
20839 PyObject
* obj0
= 0 ;
20840 PyObject
* obj1
= 0 ;
20841 char *kwnames
[] = {
20842 (char *) "self",(char *) "m_data", NULL
20845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20848 arg2
= (long)SWIG_As_long(obj1
);
20849 if (PyErr_Occurred()) SWIG_fail
;
20850 if (arg1
) (arg1
)->m_data
= arg2
;
20852 Py_INCREF(Py_None
); resultobj
= Py_None
;
20859 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20860 PyObject
*resultobj
;
20861 wxListItem
*arg1
= (wxListItem
*) 0 ;
20863 PyObject
* obj0
= 0 ;
20864 char *kwnames
[] = {
20865 (char *) "self", NULL
20868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
20869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20871 result
= (long) ((arg1
)->m_data
);
20873 resultobj
= SWIG_From_long((long)result
);
20880 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20881 PyObject
*resultobj
;
20882 wxListItem
*arg1
= (wxListItem
*) 0 ;
20884 PyObject
* obj0
= 0 ;
20885 PyObject
* obj1
= 0 ;
20886 char *kwnames
[] = {
20887 (char *) "self",(char *) "m_format", NULL
20890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20893 arg2
= (int)SWIG_As_int(obj1
);
20894 if (PyErr_Occurred()) SWIG_fail
;
20895 if (arg1
) (arg1
)->m_format
= arg2
;
20897 Py_INCREF(Py_None
); resultobj
= Py_None
;
20904 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20905 PyObject
*resultobj
;
20906 wxListItem
*arg1
= (wxListItem
*) 0 ;
20908 PyObject
* obj0
= 0 ;
20909 char *kwnames
[] = {
20910 (char *) "self", NULL
20913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
20914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20916 result
= (int) ((arg1
)->m_format
);
20918 resultobj
= SWIG_From_int((int)result
);
20925 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20926 PyObject
*resultobj
;
20927 wxListItem
*arg1
= (wxListItem
*) 0 ;
20929 PyObject
* obj0
= 0 ;
20930 PyObject
* obj1
= 0 ;
20931 char *kwnames
[] = {
20932 (char *) "self",(char *) "m_width", NULL
20935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20938 arg2
= (int)SWIG_As_int(obj1
);
20939 if (PyErr_Occurred()) SWIG_fail
;
20940 if (arg1
) (arg1
)->m_width
= arg2
;
20942 Py_INCREF(Py_None
); resultobj
= Py_None
;
20949 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20950 PyObject
*resultobj
;
20951 wxListItem
*arg1
= (wxListItem
*) 0 ;
20953 PyObject
* obj0
= 0 ;
20954 char *kwnames
[] = {
20955 (char *) "self", NULL
20958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
20959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20961 result
= (int) ((arg1
)->m_width
);
20963 resultobj
= SWIG_From_int((int)result
);
20970 static PyObject
* ListItem_swigregister(PyObject
*, PyObject
*args
) {
20972 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20973 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
20975 return Py_BuildValue((char *)"");
20977 static PyObject
*_wrap_new_ListEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20978 PyObject
*resultobj
;
20979 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20980 int arg2
= (int) 0 ;
20981 wxListEvent
*result
;
20982 PyObject
* obj0
= 0 ;
20983 PyObject
* obj1
= 0 ;
20984 char *kwnames
[] = {
20985 (char *) "commandType",(char *) "id", NULL
20988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20990 arg1
= (wxEventType
)SWIG_As_int(obj0
);
20991 if (PyErr_Occurred()) SWIG_fail
;
20994 arg2
= (int)SWIG_As_int(obj1
);
20995 if (PyErr_Occurred()) SWIG_fail
;
20998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20999 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
21001 wxPyEndAllowThreads(__tstate
);
21002 if (PyErr_Occurred()) SWIG_fail
;
21004 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
21011 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21012 PyObject
*resultobj
;
21013 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21015 PyObject
* obj0
= 0 ;
21016 PyObject
* obj1
= 0 ;
21017 char *kwnames
[] = {
21018 (char *) "self",(char *) "m_code", NULL
21021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21024 arg2
= (int)SWIG_As_int(obj1
);
21025 if (PyErr_Occurred()) SWIG_fail
;
21026 if (arg1
) (arg1
)->m_code
= arg2
;
21028 Py_INCREF(Py_None
); resultobj
= Py_None
;
21035 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21036 PyObject
*resultobj
;
21037 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21039 PyObject
* obj0
= 0 ;
21040 char *kwnames
[] = {
21041 (char *) "self", NULL
21044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
21045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21047 result
= (int) ((arg1
)->m_code
);
21049 resultobj
= SWIG_From_int((int)result
);
21056 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21057 PyObject
*resultobj
;
21058 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21060 PyObject
* obj0
= 0 ;
21061 PyObject
* obj1
= 0 ;
21062 char *kwnames
[] = {
21063 (char *) "self",(char *) "m_oldItemIndex", NULL
21066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21069 arg2
= (long)SWIG_As_long(obj1
);
21070 if (PyErr_Occurred()) SWIG_fail
;
21071 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
21073 Py_INCREF(Py_None
); resultobj
= Py_None
;
21080 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21081 PyObject
*resultobj
;
21082 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21084 PyObject
* obj0
= 0 ;
21085 char *kwnames
[] = {
21086 (char *) "self", NULL
21089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
21090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21092 result
= (long) ((arg1
)->m_oldItemIndex
);
21094 resultobj
= SWIG_From_long((long)result
);
21101 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21102 PyObject
*resultobj
;
21103 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21105 PyObject
* obj0
= 0 ;
21106 PyObject
* obj1
= 0 ;
21107 char *kwnames
[] = {
21108 (char *) "self",(char *) "m_itemIndex", NULL
21111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21114 arg2
= (long)SWIG_As_long(obj1
);
21115 if (PyErr_Occurred()) SWIG_fail
;
21116 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
21118 Py_INCREF(Py_None
); resultobj
= Py_None
;
21125 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21126 PyObject
*resultobj
;
21127 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21129 PyObject
* obj0
= 0 ;
21130 char *kwnames
[] = {
21131 (char *) "self", NULL
21134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
21135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21137 result
= (long) ((arg1
)->m_itemIndex
);
21139 resultobj
= SWIG_From_long((long)result
);
21146 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21147 PyObject
*resultobj
;
21148 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21150 PyObject
* obj0
= 0 ;
21151 PyObject
* obj1
= 0 ;
21152 char *kwnames
[] = {
21153 (char *) "self",(char *) "m_col", NULL
21156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21159 arg2
= (int)SWIG_As_int(obj1
);
21160 if (PyErr_Occurred()) SWIG_fail
;
21161 if (arg1
) (arg1
)->m_col
= arg2
;
21163 Py_INCREF(Py_None
); resultobj
= Py_None
;
21170 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21171 PyObject
*resultobj
;
21172 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21174 PyObject
* obj0
= 0 ;
21175 char *kwnames
[] = {
21176 (char *) "self", NULL
21179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
21180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21182 result
= (int) ((arg1
)->m_col
);
21184 resultobj
= SWIG_From_int((int)result
);
21191 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21192 PyObject
*resultobj
;
21193 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21194 wxPoint
*arg2
= (wxPoint
*) 0 ;
21195 PyObject
* obj0
= 0 ;
21196 PyObject
* obj1
= 0 ;
21197 char *kwnames
[] = {
21198 (char *) "self",(char *) "m_pointDrag", NULL
21201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21204 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
21205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21206 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
21208 Py_INCREF(Py_None
); resultobj
= Py_None
;
21215 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21216 PyObject
*resultobj
;
21217 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21219 PyObject
* obj0
= 0 ;
21220 char *kwnames
[] = {
21221 (char *) "self", NULL
21224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
21225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21227 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
21229 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
21236 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21237 PyObject
*resultobj
;
21238 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21239 wxListItem
*result
;
21240 PyObject
* obj0
= 0 ;
21241 char *kwnames
[] = {
21242 (char *) "self", NULL
21245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
21246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21248 result
= (wxListItem
*)& ((arg1
)->m_item
);
21251 resultobj
= wxPyMake_wxObject(result
, 0);
21259 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21260 PyObject
*resultobj
;
21261 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21263 PyObject
* obj0
= 0 ;
21264 char *kwnames
[] = {
21265 (char *) "self", NULL
21268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
21269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21273 result
= (int)(arg1
)->GetKeyCode();
21275 wxPyEndAllowThreads(__tstate
);
21276 if (PyErr_Occurred()) SWIG_fail
;
21278 resultobj
= SWIG_From_int((int)result
);
21285 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21286 PyObject
*resultobj
;
21287 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21289 PyObject
* obj0
= 0 ;
21290 char *kwnames
[] = {
21291 (char *) "self", NULL
21294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
21295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21299 result
= (long)(arg1
)->GetIndex();
21301 wxPyEndAllowThreads(__tstate
);
21302 if (PyErr_Occurred()) SWIG_fail
;
21304 resultobj
= SWIG_From_long((long)result
);
21311 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21312 PyObject
*resultobj
;
21313 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21315 PyObject
* obj0
= 0 ;
21316 char *kwnames
[] = {
21317 (char *) "self", NULL
21320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
21321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21325 result
= (int)(arg1
)->GetColumn();
21327 wxPyEndAllowThreads(__tstate
);
21328 if (PyErr_Occurred()) SWIG_fail
;
21330 resultobj
= SWIG_From_int((int)result
);
21337 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21338 PyObject
*resultobj
;
21339 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21341 PyObject
* obj0
= 0 ;
21342 char *kwnames
[] = {
21343 (char *) "self", NULL
21346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
21347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21351 result
= (arg1
)->GetPoint();
21353 wxPyEndAllowThreads(__tstate
);
21354 if (PyErr_Occurred()) SWIG_fail
;
21357 wxPoint
* resultptr
;
21358 resultptr
= new wxPoint((wxPoint
&) result
);
21359 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
21367 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21368 PyObject
*resultobj
;
21369 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21371 PyObject
* obj0
= 0 ;
21372 char *kwnames
[] = {
21373 (char *) "self", NULL
21376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
21377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21382 wxString
const &_result_ref
= (arg1
)->GetLabel();
21383 result
= (wxString
*) &_result_ref
;
21386 wxPyEndAllowThreads(__tstate
);
21387 if (PyErr_Occurred()) SWIG_fail
;
21391 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21393 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21402 static PyObject
*_wrap_ListEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21403 PyObject
*resultobj
;
21404 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21406 PyObject
* obj0
= 0 ;
21407 char *kwnames
[] = {
21408 (char *) "self", NULL
21411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
21412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21417 wxString
const &_result_ref
= (arg1
)->GetText();
21418 result
= (wxString
*) &_result_ref
;
21421 wxPyEndAllowThreads(__tstate
);
21422 if (PyErr_Occurred()) SWIG_fail
;
21426 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21428 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21437 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21438 PyObject
*resultobj
;
21439 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21441 PyObject
* obj0
= 0 ;
21442 char *kwnames
[] = {
21443 (char *) "self", NULL
21446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
21447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21451 result
= (int)(arg1
)->GetImage();
21453 wxPyEndAllowThreads(__tstate
);
21454 if (PyErr_Occurred()) SWIG_fail
;
21456 resultobj
= SWIG_From_int((int)result
);
21463 static PyObject
*_wrap_ListEvent_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21464 PyObject
*resultobj
;
21465 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21467 PyObject
* obj0
= 0 ;
21468 char *kwnames
[] = {
21469 (char *) "self", NULL
21472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
21473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21477 result
= (long)(arg1
)->GetData();
21479 wxPyEndAllowThreads(__tstate
);
21480 if (PyErr_Occurred()) SWIG_fail
;
21482 resultobj
= SWIG_From_long((long)result
);
21489 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21490 PyObject
*resultobj
;
21491 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21493 PyObject
* obj0
= 0 ;
21494 char *kwnames
[] = {
21495 (char *) "self", NULL
21498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
21499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21503 result
= (long)(arg1
)->GetMask();
21505 wxPyEndAllowThreads(__tstate
);
21506 if (PyErr_Occurred()) SWIG_fail
;
21508 resultobj
= SWIG_From_long((long)result
);
21515 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21516 PyObject
*resultobj
;
21517 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21518 wxListItem
*result
;
21519 PyObject
* obj0
= 0 ;
21520 char *kwnames
[] = {
21521 (char *) "self", NULL
21524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
21525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21530 wxListItem
const &_result_ref
= (arg1
)->GetItem();
21531 result
= (wxListItem
*) &_result_ref
;
21534 wxPyEndAllowThreads(__tstate
);
21535 if (PyErr_Occurred()) SWIG_fail
;
21537 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
21544 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21545 PyObject
*resultobj
;
21546 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21548 PyObject
* obj0
= 0 ;
21549 char *kwnames
[] = {
21550 (char *) "self", NULL
21553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
21554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21558 result
= (long)(arg1
)->GetCacheFrom();
21560 wxPyEndAllowThreads(__tstate
);
21561 if (PyErr_Occurred()) SWIG_fail
;
21563 resultobj
= SWIG_From_long((long)result
);
21570 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21571 PyObject
*resultobj
;
21572 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21574 PyObject
* obj0
= 0 ;
21575 char *kwnames
[] = {
21576 (char *) "self", NULL
21579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
21580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21584 result
= (long)(arg1
)->GetCacheTo();
21586 wxPyEndAllowThreads(__tstate
);
21587 if (PyErr_Occurred()) SWIG_fail
;
21589 resultobj
= SWIG_From_long((long)result
);
21596 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21597 PyObject
*resultobj
;
21598 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21600 PyObject
* obj0
= 0 ;
21601 char *kwnames
[] = {
21602 (char *) "self", NULL
21605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
21606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21610 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
21612 wxPyEndAllowThreads(__tstate
);
21613 if (PyErr_Occurred()) SWIG_fail
;
21616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21624 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21625 PyObject
*resultobj
;
21626 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21628 PyObject
* obj0
= 0 ;
21629 PyObject
* obj1
= 0 ;
21630 char *kwnames
[] = {
21631 (char *) "self",(char *) "editCancelled", NULL
21634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
21635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21637 arg2
= (bool)SWIG_As_bool(obj1
);
21638 if (PyErr_Occurred()) SWIG_fail
;
21640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21641 (arg1
)->SetEditCanceled(arg2
);
21643 wxPyEndAllowThreads(__tstate
);
21644 if (PyErr_Occurred()) SWIG_fail
;
21646 Py_INCREF(Py_None
); resultobj
= Py_None
;
21653 static PyObject
* ListEvent_swigregister(PyObject
*, PyObject
*args
) {
21655 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21656 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
21658 return Py_BuildValue((char *)"");
21660 static PyObject
*_wrap_new_ListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21661 PyObject
*resultobj
;
21662 wxWindow
*arg1
= (wxWindow
*) 0 ;
21663 int arg2
= (int) -1 ;
21664 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21665 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21666 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21667 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21668 long arg5
= (long) wxLC_ICON
;
21669 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
21670 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
21671 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
21672 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21673 wxPyListCtrl
*result
;
21676 bool temp7
= false ;
21677 PyObject
* obj0
= 0 ;
21678 PyObject
* obj1
= 0 ;
21679 PyObject
* obj2
= 0 ;
21680 PyObject
* obj3
= 0 ;
21681 PyObject
* obj4
= 0 ;
21682 PyObject
* obj5
= 0 ;
21683 PyObject
* obj6
= 0 ;
21684 char *kwnames
[] = {
21685 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21692 arg2
= (int)SWIG_As_int(obj1
);
21693 if (PyErr_Occurred()) SWIG_fail
;
21698 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21704 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21708 arg5
= (long)SWIG_As_long(obj4
);
21709 if (PyErr_Occurred()) SWIG_fail
;
21712 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
21713 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21715 if (arg6
== NULL
) {
21716 PyErr_SetString(PyExc_TypeError
,"null reference");
21722 arg7
= wxString_in_helper(obj6
);
21723 if (arg7
== NULL
) SWIG_fail
;
21728 if (!wxPyCheckForApp()) SWIG_fail
;
21729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21730 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
21732 wxPyEndAllowThreads(__tstate
);
21733 if (PyErr_Occurred()) SWIG_fail
;
21735 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21750 static PyObject
*_wrap_new_PreListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21751 PyObject
*resultobj
;
21752 wxPyListCtrl
*result
;
21753 char *kwnames
[] = {
21757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
21759 if (!wxPyCheckForApp()) SWIG_fail
;
21760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21761 result
= (wxPyListCtrl
*)new wxPyListCtrl();
21763 wxPyEndAllowThreads(__tstate
);
21764 if (PyErr_Occurred()) SWIG_fail
;
21766 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21773 static PyObject
*_wrap_ListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21774 PyObject
*resultobj
;
21775 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21776 wxWindow
*arg2
= (wxWindow
*) 0 ;
21777 int arg3
= (int) -1 ;
21778 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21779 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21780 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21781 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21782 long arg6
= (long) wxLC_ICON
;
21783 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
21784 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
21785 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
21786 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21790 bool temp8
= false ;
21791 PyObject
* obj0
= 0 ;
21792 PyObject
* obj1
= 0 ;
21793 PyObject
* obj2
= 0 ;
21794 PyObject
* obj3
= 0 ;
21795 PyObject
* obj4
= 0 ;
21796 PyObject
* obj5
= 0 ;
21797 PyObject
* obj6
= 0 ;
21798 PyObject
* obj7
= 0 ;
21799 char *kwnames
[] = {
21800 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
21804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21806 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21809 arg3
= (int)SWIG_As_int(obj2
);
21810 if (PyErr_Occurred()) SWIG_fail
;
21815 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21821 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21825 arg6
= (long)SWIG_As_long(obj5
);
21826 if (PyErr_Occurred()) SWIG_fail
;
21829 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
21830 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21832 if (arg7
== NULL
) {
21833 PyErr_SetString(PyExc_TypeError
,"null reference");
21839 arg8
= wxString_in_helper(obj7
);
21840 if (arg8
== NULL
) SWIG_fail
;
21845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21846 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
21848 wxPyEndAllowThreads(__tstate
);
21849 if (PyErr_Occurred()) SWIG_fail
;
21852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21868 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21869 PyObject
*resultobj
;
21870 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21871 PyObject
*arg2
= (PyObject
*) 0 ;
21872 PyObject
*arg3
= (PyObject
*) 0 ;
21873 PyObject
* obj0
= 0 ;
21874 PyObject
* obj1
= 0 ;
21875 PyObject
* obj2
= 0 ;
21876 char *kwnames
[] = {
21877 (char *) "self",(char *) "self",(char *) "_class", NULL
21880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21887 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21889 wxPyEndAllowThreads(__tstate
);
21890 if (PyErr_Occurred()) SWIG_fail
;
21892 Py_INCREF(Py_None
); resultobj
= Py_None
;
21899 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21900 PyObject
*resultobj
;
21901 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21902 wxColour
*arg2
= 0 ;
21905 PyObject
* obj0
= 0 ;
21906 PyObject
* obj1
= 0 ;
21907 char *kwnames
[] = {
21908 (char *) "self",(char *) "col", NULL
21911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21916 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21920 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
21922 wxPyEndAllowThreads(__tstate
);
21923 if (PyErr_Occurred()) SWIG_fail
;
21926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21934 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21935 PyObject
*resultobj
;
21936 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21937 wxColour
*arg2
= 0 ;
21940 PyObject
* obj0
= 0 ;
21941 PyObject
* obj1
= 0 ;
21942 char *kwnames
[] = {
21943 (char *) "self",(char *) "col", NULL
21946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21951 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21955 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21957 wxPyEndAllowThreads(__tstate
);
21958 if (PyErr_Occurred()) SWIG_fail
;
21961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21969 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21970 PyObject
*resultobj
;
21971 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21973 wxListItem
*result
;
21974 PyObject
* obj0
= 0 ;
21975 PyObject
* obj1
= 0 ;
21976 char *kwnames
[] = {
21977 (char *) "self",(char *) "col", NULL
21980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21983 arg2
= (int)SWIG_As_int(obj1
);
21984 if (PyErr_Occurred()) SWIG_fail
;
21986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21987 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
21989 wxPyEndAllowThreads(__tstate
);
21990 if (PyErr_Occurred()) SWIG_fail
;
21993 resultobj
= wxPyMake_wxObject(result
, 0);
22001 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22002 PyObject
*resultobj
;
22003 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22005 wxListItem
*arg3
= 0 ;
22007 PyObject
* obj0
= 0 ;
22008 PyObject
* obj1
= 0 ;
22009 PyObject
* obj2
= 0 ;
22010 char *kwnames
[] = {
22011 (char *) "self",(char *) "col",(char *) "item", NULL
22014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22017 arg2
= (int)SWIG_As_int(obj1
);
22018 if (PyErr_Occurred()) SWIG_fail
;
22019 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
22020 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22022 if (arg3
== NULL
) {
22023 PyErr_SetString(PyExc_TypeError
,"null reference");
22027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22028 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
22030 wxPyEndAllowThreads(__tstate
);
22031 if (PyErr_Occurred()) SWIG_fail
;
22034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22042 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22043 PyObject
*resultobj
;
22044 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22047 PyObject
* obj0
= 0 ;
22048 PyObject
* obj1
= 0 ;
22049 char *kwnames
[] = {
22050 (char *) "self",(char *) "col", NULL
22053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
22054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22056 arg2
= (int)SWIG_As_int(obj1
);
22057 if (PyErr_Occurred()) SWIG_fail
;
22059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22060 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
22062 wxPyEndAllowThreads(__tstate
);
22063 if (PyErr_Occurred()) SWIG_fail
;
22065 resultobj
= SWIG_From_int((int)result
);
22072 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22073 PyObject
*resultobj
;
22074 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22078 PyObject
* obj0
= 0 ;
22079 PyObject
* obj1
= 0 ;
22080 PyObject
* obj2
= 0 ;
22081 char *kwnames
[] = {
22082 (char *) "self",(char *) "col",(char *) "width", NULL
22085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22088 arg2
= (int)SWIG_As_int(obj1
);
22089 if (PyErr_Occurred()) SWIG_fail
;
22090 arg3
= (int)SWIG_As_int(obj2
);
22091 if (PyErr_Occurred()) SWIG_fail
;
22093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22094 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
22096 wxPyEndAllowThreads(__tstate
);
22097 if (PyErr_Occurred()) SWIG_fail
;
22100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22108 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22109 PyObject
*resultobj
;
22110 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22112 PyObject
* obj0
= 0 ;
22113 char *kwnames
[] = {
22114 (char *) "self", NULL
22117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
22118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22122 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
22124 wxPyEndAllowThreads(__tstate
);
22125 if (PyErr_Occurred()) SWIG_fail
;
22127 resultobj
= SWIG_From_int((int)result
);
22134 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22135 PyObject
*resultobj
;
22136 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22138 PyObject
* obj0
= 0 ;
22139 char *kwnames
[] = {
22140 (char *) "self", NULL
22143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
22144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22148 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
22150 wxPyEndAllowThreads(__tstate
);
22151 if (PyErr_Occurred()) SWIG_fail
;
22154 wxRect
* resultptr
;
22155 resultptr
= new wxRect((wxRect
&) result
);
22156 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22164 static PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22165 PyObject
*resultobj
;
22166 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22167 wxTextCtrl
*result
;
22168 PyObject
* obj0
= 0 ;
22169 char *kwnames
[] = {
22170 (char *) "self", NULL
22173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
22174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22178 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
22180 wxPyEndAllowThreads(__tstate
);
22181 if (PyErr_Occurred()) SWIG_fail
;
22184 resultobj
= wxPyMake_wxObject(result
, 0);
22192 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22193 PyObject
*resultobj
;
22194 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22196 int arg3
= (int) 0 ;
22197 wxListItem
*result
;
22198 PyObject
* obj0
= 0 ;
22199 PyObject
* obj1
= 0 ;
22200 PyObject
* obj2
= 0 ;
22201 char *kwnames
[] = {
22202 (char *) "self",(char *) "itemId",(char *) "col", NULL
22205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22208 arg2
= (long)SWIG_As_long(obj1
);
22209 if (PyErr_Occurred()) SWIG_fail
;
22211 arg3
= (int)SWIG_As_int(obj2
);
22212 if (PyErr_Occurred()) SWIG_fail
;
22215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22216 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
22218 wxPyEndAllowThreads(__tstate
);
22219 if (PyErr_Occurred()) SWIG_fail
;
22222 resultobj
= wxPyMake_wxObject(result
, 0);
22230 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22231 PyObject
*resultobj
;
22232 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22233 wxListItem
*arg2
= 0 ;
22235 PyObject
* obj0
= 0 ;
22236 PyObject
* obj1
= 0 ;
22237 char *kwnames
[] = {
22238 (char *) "self",(char *) "info", NULL
22241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22244 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
22245 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22247 if (arg2
== NULL
) {
22248 PyErr_SetString(PyExc_TypeError
,"null reference");
22252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22253 result
= (bool)(arg1
)->SetItem(*arg2
);
22255 wxPyEndAllowThreads(__tstate
);
22256 if (PyErr_Occurred()) SWIG_fail
;
22259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22267 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22268 PyObject
*resultobj
;
22269 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22272 wxString
*arg4
= 0 ;
22273 int arg5
= (int) -1 ;
22275 bool temp4
= false ;
22276 PyObject
* obj0
= 0 ;
22277 PyObject
* obj1
= 0 ;
22278 PyObject
* obj2
= 0 ;
22279 PyObject
* obj3
= 0 ;
22280 PyObject
* obj4
= 0 ;
22281 char *kwnames
[] = {
22282 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
22285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22288 arg2
= (long)SWIG_As_long(obj1
);
22289 if (PyErr_Occurred()) SWIG_fail
;
22290 arg3
= (int)SWIG_As_int(obj2
);
22291 if (PyErr_Occurred()) SWIG_fail
;
22293 arg4
= wxString_in_helper(obj3
);
22294 if (arg4
== NULL
) SWIG_fail
;
22298 arg5
= (int)SWIG_As_int(obj4
);
22299 if (PyErr_Occurred()) SWIG_fail
;
22302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22303 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
22305 wxPyEndAllowThreads(__tstate
);
22306 if (PyErr_Occurred()) SWIG_fail
;
22308 resultobj
= SWIG_From_long((long)result
);
22323 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22324 PyObject
*resultobj
;
22325 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22329 PyObject
* obj0
= 0 ;
22330 PyObject
* obj1
= 0 ;
22331 PyObject
* obj2
= 0 ;
22332 char *kwnames
[] = {
22333 (char *) "self",(char *) "item",(char *) "stateMask", NULL
22336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22339 arg2
= (long)SWIG_As_long(obj1
);
22340 if (PyErr_Occurred()) SWIG_fail
;
22341 arg3
= (long)SWIG_As_long(obj2
);
22342 if (PyErr_Occurred()) SWIG_fail
;
22344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22345 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
22347 wxPyEndAllowThreads(__tstate
);
22348 if (PyErr_Occurred()) SWIG_fail
;
22350 resultobj
= SWIG_From_int((int)result
);
22357 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22358 PyObject
*resultobj
;
22359 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22364 PyObject
* obj0
= 0 ;
22365 PyObject
* obj1
= 0 ;
22366 PyObject
* obj2
= 0 ;
22367 PyObject
* obj3
= 0 ;
22368 char *kwnames
[] = {
22369 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
22372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22375 arg2
= (long)SWIG_As_long(obj1
);
22376 if (PyErr_Occurred()) SWIG_fail
;
22377 arg3
= (long)SWIG_As_long(obj2
);
22378 if (PyErr_Occurred()) SWIG_fail
;
22379 arg4
= (long)SWIG_As_long(obj3
);
22380 if (PyErr_Occurred()) SWIG_fail
;
22382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22383 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
22385 wxPyEndAllowThreads(__tstate
);
22386 if (PyErr_Occurred()) SWIG_fail
;
22389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22397 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22398 PyObject
*resultobj
;
22399 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22402 int arg4
= (int) -1 ;
22404 PyObject
* obj0
= 0 ;
22405 PyObject
* obj1
= 0 ;
22406 PyObject
* obj2
= 0 ;
22407 PyObject
* obj3
= 0 ;
22408 char *kwnames
[] = {
22409 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
22412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22415 arg2
= (long)SWIG_As_long(obj1
);
22416 if (PyErr_Occurred()) SWIG_fail
;
22417 arg3
= (int)SWIG_As_int(obj2
);
22418 if (PyErr_Occurred()) SWIG_fail
;
22420 arg4
= (int)SWIG_As_int(obj3
);
22421 if (PyErr_Occurred()) SWIG_fail
;
22424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22425 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
22427 wxPyEndAllowThreads(__tstate
);
22428 if (PyErr_Occurred()) SWIG_fail
;
22431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22439 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22440 PyObject
*resultobj
;
22441 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22444 PyObject
* obj0
= 0 ;
22445 PyObject
* obj1
= 0 ;
22446 char *kwnames
[] = {
22447 (char *) "self",(char *) "item", NULL
22450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
22451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22453 arg2
= (long)SWIG_As_long(obj1
);
22454 if (PyErr_Occurred()) SWIG_fail
;
22456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22457 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
22459 wxPyEndAllowThreads(__tstate
);
22460 if (PyErr_Occurred()) SWIG_fail
;
22464 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22466 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22475 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22476 PyObject
*resultobj
;
22477 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22479 wxString
*arg3
= 0 ;
22480 bool temp3
= false ;
22481 PyObject
* obj0
= 0 ;
22482 PyObject
* obj1
= 0 ;
22483 PyObject
* obj2
= 0 ;
22484 char *kwnames
[] = {
22485 (char *) "self",(char *) "item",(char *) "str", NULL
22488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22491 arg2
= (long)SWIG_As_long(obj1
);
22492 if (PyErr_Occurred()) SWIG_fail
;
22494 arg3
= wxString_in_helper(obj2
);
22495 if (arg3
== NULL
) SWIG_fail
;
22499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22500 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
22502 wxPyEndAllowThreads(__tstate
);
22503 if (PyErr_Occurred()) SWIG_fail
;
22505 Py_INCREF(Py_None
); resultobj
= Py_None
;
22520 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22521 PyObject
*resultobj
;
22522 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22525 PyObject
* obj0
= 0 ;
22526 PyObject
* obj1
= 0 ;
22527 char *kwnames
[] = {
22528 (char *) "self",(char *) "item", NULL
22531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
22532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22534 arg2
= (long)SWIG_As_long(obj1
);
22535 if (PyErr_Occurred()) SWIG_fail
;
22537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22538 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
22540 wxPyEndAllowThreads(__tstate
);
22541 if (PyErr_Occurred()) SWIG_fail
;
22543 resultobj
= SWIG_From_long((long)result
);
22550 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22551 PyObject
*resultobj
;
22552 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22556 PyObject
* obj0
= 0 ;
22557 PyObject
* obj1
= 0 ;
22558 PyObject
* obj2
= 0 ;
22559 char *kwnames
[] = {
22560 (char *) "self",(char *) "item",(char *) "data", NULL
22563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22566 arg2
= (long)SWIG_As_long(obj1
);
22567 if (PyErr_Occurred()) SWIG_fail
;
22568 arg3
= (long)SWIG_As_long(obj2
);
22569 if (PyErr_Occurred()) SWIG_fail
;
22571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22572 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
22574 wxPyEndAllowThreads(__tstate
);
22575 if (PyErr_Occurred()) SWIG_fail
;
22578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22586 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22587 PyObject
*resultobj
;
22588 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22591 PyObject
* obj0
= 0 ;
22592 PyObject
* obj1
= 0 ;
22593 char *kwnames
[] = {
22594 (char *) "self",(char *) "item", NULL
22597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
22598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22600 arg2
= (long)SWIG_As_long(obj1
);
22601 if (PyErr_Occurred()) SWIG_fail
;
22603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22604 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
22606 wxPyEndAllowThreads(__tstate
);
22607 if (PyErr_Occurred()) SWIG_fail
;
22610 wxPoint
* resultptr
;
22611 resultptr
= new wxPoint((wxPoint
&) result
);
22612 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22620 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22621 PyObject
*resultobj
;
22622 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22624 int arg3
= (int) wxLIST_RECT_BOUNDS
;
22626 PyObject
* obj0
= 0 ;
22627 PyObject
* obj1
= 0 ;
22628 PyObject
* obj2
= 0 ;
22629 char *kwnames
[] = {
22630 (char *) "self",(char *) "item",(char *) "code", NULL
22633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22636 arg2
= (long)SWIG_As_long(obj1
);
22637 if (PyErr_Occurred()) SWIG_fail
;
22639 arg3
= (int)SWIG_As_int(obj2
);
22640 if (PyErr_Occurred()) SWIG_fail
;
22643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22644 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
22646 wxPyEndAllowThreads(__tstate
);
22647 if (PyErr_Occurred()) SWIG_fail
;
22650 wxRect
* resultptr
;
22651 resultptr
= new wxRect((wxRect
&) result
);
22652 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22660 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22661 PyObject
*resultobj
;
22662 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22664 wxPoint
*arg3
= 0 ;
22667 PyObject
* obj0
= 0 ;
22668 PyObject
* obj1
= 0 ;
22669 PyObject
* obj2
= 0 ;
22670 char *kwnames
[] = {
22671 (char *) "self",(char *) "item",(char *) "pos", NULL
22674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22677 arg2
= (long)SWIG_As_long(obj1
);
22678 if (PyErr_Occurred()) SWIG_fail
;
22681 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22685 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
22687 wxPyEndAllowThreads(__tstate
);
22688 if (PyErr_Occurred()) SWIG_fail
;
22691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22699 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22700 PyObject
*resultobj
;
22701 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22703 PyObject
* obj0
= 0 ;
22704 char *kwnames
[] = {
22705 (char *) "self", NULL
22708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
22709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22713 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
22715 wxPyEndAllowThreads(__tstate
);
22716 if (PyErr_Occurred()) SWIG_fail
;
22718 resultobj
= SWIG_From_int((int)result
);
22725 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22726 PyObject
*resultobj
;
22727 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22729 PyObject
* obj0
= 0 ;
22730 char *kwnames
[] = {
22731 (char *) "self", NULL
22734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
22735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22739 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
22741 wxPyEndAllowThreads(__tstate
);
22742 if (PyErr_Occurred()) SWIG_fail
;
22744 resultobj
= SWIG_From_int((int)result
);
22751 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22752 PyObject
*resultobj
;
22753 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22755 PyObject
* obj0
= 0 ;
22756 char *kwnames
[] = {
22757 (char *) "self", NULL
22760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
22761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22765 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
22767 wxPyEndAllowThreads(__tstate
);
22768 if (PyErr_Occurred()) SWIG_fail
;
22771 wxSize
* resultptr
;
22772 resultptr
= new wxSize((wxSize
&) result
);
22773 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22781 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22782 PyObject
*resultobj
;
22783 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22785 PyObject
* obj0
= 0 ;
22786 char *kwnames
[] = {
22787 (char *) "self", NULL
22790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
22791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22795 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
22797 wxPyEndAllowThreads(__tstate
);
22798 if (PyErr_Occurred()) SWIG_fail
;
22800 resultobj
= SWIG_From_int((int)result
);
22807 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22808 PyObject
*resultobj
;
22809 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22811 PyObject
* obj0
= 0 ;
22812 char *kwnames
[] = {
22813 (char *) "self", NULL
22816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
22817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22821 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
22823 wxPyEndAllowThreads(__tstate
);
22824 if (PyErr_Occurred()) SWIG_fail
;
22827 wxColour
* resultptr
;
22828 resultptr
= new wxColour((wxColour
&) result
);
22829 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22837 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22838 PyObject
*resultobj
;
22839 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22840 wxColour
*arg2
= 0 ;
22842 PyObject
* obj0
= 0 ;
22843 PyObject
* obj1
= 0 ;
22844 char *kwnames
[] = {
22845 (char *) "self",(char *) "col", NULL
22848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22853 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22857 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22859 wxPyEndAllowThreads(__tstate
);
22860 if (PyErr_Occurred()) SWIG_fail
;
22862 Py_INCREF(Py_None
); resultobj
= Py_None
;
22869 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22870 PyObject
*resultobj
;
22871 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22873 PyObject
* obj0
= 0 ;
22874 char *kwnames
[] = {
22875 (char *) "self", NULL
22878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
22879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22883 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
22885 wxPyEndAllowThreads(__tstate
);
22886 if (PyErr_Occurred()) SWIG_fail
;
22888 resultobj
= SWIG_From_long((long)result
);
22895 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22896 PyObject
*resultobj
;
22897 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22899 bool arg3
= (bool) true ;
22900 PyObject
* obj0
= 0 ;
22901 PyObject
* obj1
= 0 ;
22902 PyObject
* obj2
= 0 ;
22903 char *kwnames
[] = {
22904 (char *) "self",(char *) "style",(char *) "add", NULL
22907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22910 arg2
= (long)SWIG_As_long(obj1
);
22911 if (PyErr_Occurred()) SWIG_fail
;
22913 arg3
= (bool)SWIG_As_bool(obj2
);
22914 if (PyErr_Occurred()) SWIG_fail
;
22917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22918 (arg1
)->SetSingleStyle(arg2
,arg3
);
22920 wxPyEndAllowThreads(__tstate
);
22921 if (PyErr_Occurred()) SWIG_fail
;
22923 Py_INCREF(Py_None
); resultobj
= Py_None
;
22930 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22931 PyObject
*resultobj
;
22932 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22934 PyObject
* obj0
= 0 ;
22935 PyObject
* obj1
= 0 ;
22936 char *kwnames
[] = {
22937 (char *) "self",(char *) "style", NULL
22940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
22941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22943 arg2
= (long)SWIG_As_long(obj1
);
22944 if (PyErr_Occurred()) SWIG_fail
;
22946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22947 (arg1
)->SetWindowStyleFlag(arg2
);
22949 wxPyEndAllowThreads(__tstate
);
22950 if (PyErr_Occurred()) SWIG_fail
;
22952 Py_INCREF(Py_None
); resultobj
= Py_None
;
22959 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22960 PyObject
*resultobj
;
22961 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22963 int arg3
= (int) wxLIST_NEXT_ALL
;
22964 int arg4
= (int) wxLIST_STATE_DONTCARE
;
22966 PyObject
* obj0
= 0 ;
22967 PyObject
* obj1
= 0 ;
22968 PyObject
* obj2
= 0 ;
22969 PyObject
* obj3
= 0 ;
22970 char *kwnames
[] = {
22971 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
22974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22977 arg2
= (long)SWIG_As_long(obj1
);
22978 if (PyErr_Occurred()) SWIG_fail
;
22980 arg3
= (int)SWIG_As_int(obj2
);
22981 if (PyErr_Occurred()) SWIG_fail
;
22984 arg4
= (int)SWIG_As_int(obj3
);
22985 if (PyErr_Occurred()) SWIG_fail
;
22988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22989 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
22991 wxPyEndAllowThreads(__tstate
);
22992 if (PyErr_Occurred()) SWIG_fail
;
22994 resultobj
= SWIG_From_long((long)result
);
23001 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23002 PyObject
*resultobj
;
23003 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23005 wxImageList
*result
;
23006 PyObject
* obj0
= 0 ;
23007 PyObject
* obj1
= 0 ;
23008 char *kwnames
[] = {
23009 (char *) "self",(char *) "which", NULL
23012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
23013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23015 arg2
= (int)SWIG_As_int(obj1
);
23016 if (PyErr_Occurred()) SWIG_fail
;
23018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23019 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
23021 wxPyEndAllowThreads(__tstate
);
23022 if (PyErr_Occurred()) SWIG_fail
;
23025 resultobj
= wxPyMake_wxObject(result
, 0);
23033 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23034 PyObject
*resultobj
;
23035 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23036 wxImageList
*arg2
= (wxImageList
*) 0 ;
23038 PyObject
* obj0
= 0 ;
23039 PyObject
* obj1
= 0 ;
23040 PyObject
* obj2
= 0 ;
23041 char *kwnames
[] = {
23042 (char *) "self",(char *) "imageList",(char *) "which", NULL
23045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23048 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
23049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23050 arg3
= (int)SWIG_As_int(obj2
);
23051 if (PyErr_Occurred()) SWIG_fail
;
23053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23054 (arg1
)->SetImageList(arg2
,arg3
);
23056 wxPyEndAllowThreads(__tstate
);
23057 if (PyErr_Occurred()) SWIG_fail
;
23059 Py_INCREF(Py_None
); resultobj
= Py_None
;
23066 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23067 PyObject
*resultobj
;
23068 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23069 wxImageList
*arg2
= (wxImageList
*) 0 ;
23071 PyObject
* obj0
= 0 ;
23072 PyObject
* obj1
= 0 ;
23073 PyObject
* obj2
= 0 ;
23074 char *kwnames
[] = {
23075 (char *) "self",(char *) "imageList",(char *) "which", NULL
23078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23081 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
23082 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
23083 arg3
= (int)SWIG_As_int(obj2
);
23084 if (PyErr_Occurred()) SWIG_fail
;
23086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23087 (arg1
)->AssignImageList(arg2
,arg3
);
23089 wxPyEndAllowThreads(__tstate
);
23090 if (PyErr_Occurred()) SWIG_fail
;
23092 Py_INCREF(Py_None
); resultobj
= Py_None
;
23099 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23100 PyObject
*resultobj
;
23101 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23103 PyObject
* obj0
= 0 ;
23104 char *kwnames
[] = {
23105 (char *) "self", NULL
23108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
23109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23113 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
23115 wxPyEndAllowThreads(__tstate
);
23116 if (PyErr_Occurred()) SWIG_fail
;
23119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23127 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23128 PyObject
*resultobj
;
23129 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23131 PyObject
* obj0
= 0 ;
23132 char *kwnames
[] = {
23133 (char *) "self", NULL
23136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
23137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23141 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
23143 wxPyEndAllowThreads(__tstate
);
23144 if (PyErr_Occurred()) SWIG_fail
;
23147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23155 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23156 PyObject
*resultobj
;
23157 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23159 PyObject
* obj0
= 0 ;
23160 PyObject
* obj1
= 0 ;
23161 char *kwnames
[] = {
23162 (char *) "self",(char *) "item", NULL
23165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23168 arg2
= (long)SWIG_As_long(obj1
);
23169 if (PyErr_Occurred()) SWIG_fail
;
23171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23172 (arg1
)->RefreshItem(arg2
);
23174 wxPyEndAllowThreads(__tstate
);
23175 if (PyErr_Occurred()) SWIG_fail
;
23177 Py_INCREF(Py_None
); resultobj
= Py_None
;
23184 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23185 PyObject
*resultobj
;
23186 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23189 PyObject
* obj0
= 0 ;
23190 PyObject
* obj1
= 0 ;
23191 PyObject
* obj2
= 0 ;
23192 char *kwnames
[] = {
23193 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
23196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23199 arg2
= (long)SWIG_As_long(obj1
);
23200 if (PyErr_Occurred()) SWIG_fail
;
23201 arg3
= (long)SWIG_As_long(obj2
);
23202 if (PyErr_Occurred()) SWIG_fail
;
23204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23205 (arg1
)->RefreshItems(arg2
,arg3
);
23207 wxPyEndAllowThreads(__tstate
);
23208 if (PyErr_Occurred()) SWIG_fail
;
23210 Py_INCREF(Py_None
); resultobj
= Py_None
;
23217 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23218 PyObject
*resultobj
;
23219 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23220 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
23222 PyObject
* obj0
= 0 ;
23223 PyObject
* obj1
= 0 ;
23224 char *kwnames
[] = {
23225 (char *) "self",(char *) "flag", NULL
23228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
23229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23232 arg2
= (int)SWIG_As_int(obj1
);
23233 if (PyErr_Occurred()) SWIG_fail
;
23236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23237 result
= (bool)(arg1
)->Arrange(arg2
);
23239 wxPyEndAllowThreads(__tstate
);
23240 if (PyErr_Occurred()) SWIG_fail
;
23243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23251 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23252 PyObject
*resultobj
;
23253 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23256 PyObject
* obj0
= 0 ;
23257 PyObject
* obj1
= 0 ;
23258 char *kwnames
[] = {
23259 (char *) "self",(char *) "item", NULL
23262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23265 arg2
= (long)SWIG_As_long(obj1
);
23266 if (PyErr_Occurred()) SWIG_fail
;
23268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23269 result
= (bool)(arg1
)->DeleteItem(arg2
);
23271 wxPyEndAllowThreads(__tstate
);
23272 if (PyErr_Occurred()) SWIG_fail
;
23275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23283 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23284 PyObject
*resultobj
;
23285 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23287 PyObject
* obj0
= 0 ;
23288 char *kwnames
[] = {
23289 (char *) "self", NULL
23292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
23293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23297 result
= (bool)(arg1
)->DeleteAllItems();
23299 wxPyEndAllowThreads(__tstate
);
23300 if (PyErr_Occurred()) SWIG_fail
;
23303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23311 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23312 PyObject
*resultobj
;
23313 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23316 PyObject
* obj0
= 0 ;
23317 PyObject
* obj1
= 0 ;
23318 char *kwnames
[] = {
23319 (char *) "self",(char *) "col", NULL
23322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
23323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23325 arg2
= (int)SWIG_As_int(obj1
);
23326 if (PyErr_Occurred()) SWIG_fail
;
23328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23329 result
= (bool)(arg1
)->DeleteColumn(arg2
);
23331 wxPyEndAllowThreads(__tstate
);
23332 if (PyErr_Occurred()) SWIG_fail
;
23335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23343 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23344 PyObject
*resultobj
;
23345 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23347 PyObject
* obj0
= 0 ;
23348 char *kwnames
[] = {
23349 (char *) "self", NULL
23352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
23353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23357 result
= (bool)(arg1
)->DeleteAllColumns();
23359 wxPyEndAllowThreads(__tstate
);
23360 if (PyErr_Occurred()) SWIG_fail
;
23363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23371 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23372 PyObject
*resultobj
;
23373 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23374 PyObject
* obj0
= 0 ;
23375 char *kwnames
[] = {
23376 (char *) "self", NULL
23379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
23380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23384 (arg1
)->ClearAll();
23386 wxPyEndAllowThreads(__tstate
);
23387 if (PyErr_Occurred()) SWIG_fail
;
23389 Py_INCREF(Py_None
); resultobj
= Py_None
;
23396 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23397 PyObject
*resultobj
;
23398 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23400 wxTextCtrl
*result
;
23401 PyObject
* obj0
= 0 ;
23402 PyObject
* obj1
= 0 ;
23403 char *kwnames
[] = {
23404 (char *) "self",(char *) "item", NULL
23407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
23408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23410 arg2
= (long)SWIG_As_long(obj1
);
23411 if (PyErr_Occurred()) SWIG_fail
;
23413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23414 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
23416 wxPyEndAllowThreads(__tstate
);
23417 if (PyErr_Occurred()) SWIG_fail
;
23420 resultobj
= wxPyMake_wxObject(result
, 0);
23428 static PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23429 PyObject
*resultobj
;
23430 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23433 PyObject
* obj0
= 0 ;
23434 PyObject
* obj1
= 0 ;
23435 char *kwnames
[] = {
23436 (char *) "self",(char *) "cancel", NULL
23439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
23440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23442 arg2
= (bool)SWIG_As_bool(obj1
);
23443 if (PyErr_Occurred()) SWIG_fail
;
23445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23446 result
= (bool)(arg1
)->EndEditLabel(arg2
);
23448 wxPyEndAllowThreads(__tstate
);
23449 if (PyErr_Occurred()) SWIG_fail
;
23452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23460 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23461 PyObject
*resultobj
;
23462 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23465 PyObject
* obj0
= 0 ;
23466 PyObject
* obj1
= 0 ;
23467 char *kwnames
[] = {
23468 (char *) "self",(char *) "item", NULL
23471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
23472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23474 arg2
= (long)SWIG_As_long(obj1
);
23475 if (PyErr_Occurred()) SWIG_fail
;
23477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23478 result
= (bool)(arg1
)->EnsureVisible(arg2
);
23480 wxPyEndAllowThreads(__tstate
);
23481 if (PyErr_Occurred()) SWIG_fail
;
23484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23492 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23493 PyObject
*resultobj
;
23494 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23496 wxString
*arg3
= 0 ;
23497 bool arg4
= (bool) false ;
23499 bool temp3
= false ;
23500 PyObject
* obj0
= 0 ;
23501 PyObject
* obj1
= 0 ;
23502 PyObject
* obj2
= 0 ;
23503 PyObject
* obj3
= 0 ;
23504 char *kwnames
[] = {
23505 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
23508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23511 arg2
= (long)SWIG_As_long(obj1
);
23512 if (PyErr_Occurred()) SWIG_fail
;
23514 arg3
= wxString_in_helper(obj2
);
23515 if (arg3
== NULL
) SWIG_fail
;
23519 arg4
= (bool)SWIG_As_bool(obj3
);
23520 if (PyErr_Occurred()) SWIG_fail
;
23523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23524 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
23526 wxPyEndAllowThreads(__tstate
);
23527 if (PyErr_Occurred()) SWIG_fail
;
23529 resultobj
= SWIG_From_long((long)result
);
23544 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23545 PyObject
*resultobj
;
23546 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23550 PyObject
* obj0
= 0 ;
23551 PyObject
* obj1
= 0 ;
23552 PyObject
* obj2
= 0 ;
23553 char *kwnames
[] = {
23554 (char *) "self",(char *) "start",(char *) "data", NULL
23557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23560 arg2
= (long)SWIG_As_long(obj1
);
23561 if (PyErr_Occurred()) SWIG_fail
;
23562 arg3
= (long)SWIG_As_long(obj2
);
23563 if (PyErr_Occurred()) SWIG_fail
;
23565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23566 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
23568 wxPyEndAllowThreads(__tstate
);
23569 if (PyErr_Occurred()) SWIG_fail
;
23571 resultobj
= SWIG_From_long((long)result
);
23578 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23579 PyObject
*resultobj
;
23580 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23582 wxPoint
*arg3
= 0 ;
23586 PyObject
* obj0
= 0 ;
23587 PyObject
* obj1
= 0 ;
23588 PyObject
* obj2
= 0 ;
23589 PyObject
* obj3
= 0 ;
23590 char *kwnames
[] = {
23591 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
23594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23597 arg2
= (long)SWIG_As_long(obj1
);
23598 if (PyErr_Occurred()) SWIG_fail
;
23601 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23603 arg4
= (int)SWIG_As_int(obj3
);
23604 if (PyErr_Occurred()) SWIG_fail
;
23606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23607 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
23609 wxPyEndAllowThreads(__tstate
);
23610 if (PyErr_Occurred()) SWIG_fail
;
23612 resultobj
= SWIG_From_long((long)result
);
23619 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23620 PyObject
*resultobj
;
23621 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23622 wxPoint
*arg2
= 0 ;
23628 PyObject
* obj0
= 0 ;
23629 PyObject
* obj1
= 0 ;
23630 char *kwnames
[] = {
23631 (char *) "self",(char *) "point", NULL
23634 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
23636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23640 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23644 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
23646 wxPyEndAllowThreads(__tstate
);
23647 if (PyErr_Occurred()) SWIG_fail
;
23649 resultobj
= SWIG_From_long((long)result
);
23650 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23651 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23658 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23659 PyObject
*resultobj
;
23660 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23661 wxListItem
*arg2
= 0 ;
23663 PyObject
* obj0
= 0 ;
23664 PyObject
* obj1
= 0 ;
23665 char *kwnames
[] = {
23666 (char *) "self",(char *) "info", NULL
23669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23672 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
23673 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23675 if (arg2
== NULL
) {
23676 PyErr_SetString(PyExc_TypeError
,"null reference");
23680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23681 result
= (long)(arg1
)->InsertItem(*arg2
);
23683 wxPyEndAllowThreads(__tstate
);
23684 if (PyErr_Occurred()) SWIG_fail
;
23686 resultobj
= SWIG_From_long((long)result
);
23693 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23694 PyObject
*resultobj
;
23695 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23697 wxString
*arg3
= 0 ;
23699 bool temp3
= false ;
23700 PyObject
* obj0
= 0 ;
23701 PyObject
* obj1
= 0 ;
23702 PyObject
* obj2
= 0 ;
23703 char *kwnames
[] = {
23704 (char *) "self",(char *) "index",(char *) "label", NULL
23707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23710 arg2
= (long)SWIG_As_long(obj1
);
23711 if (PyErr_Occurred()) SWIG_fail
;
23713 arg3
= wxString_in_helper(obj2
);
23714 if (arg3
== NULL
) SWIG_fail
;
23718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23719 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
23721 wxPyEndAllowThreads(__tstate
);
23722 if (PyErr_Occurred()) SWIG_fail
;
23724 resultobj
= SWIG_From_long((long)result
);
23739 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23740 PyObject
*resultobj
;
23741 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23745 PyObject
* obj0
= 0 ;
23746 PyObject
* obj1
= 0 ;
23747 PyObject
* obj2
= 0 ;
23748 char *kwnames
[] = {
23749 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
23752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23755 arg2
= (long)SWIG_As_long(obj1
);
23756 if (PyErr_Occurred()) SWIG_fail
;
23757 arg3
= (int)SWIG_As_int(obj2
);
23758 if (PyErr_Occurred()) SWIG_fail
;
23760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23761 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
23763 wxPyEndAllowThreads(__tstate
);
23764 if (PyErr_Occurred()) SWIG_fail
;
23766 resultobj
= SWIG_From_long((long)result
);
23773 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23774 PyObject
*resultobj
;
23775 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23777 wxString
*arg3
= 0 ;
23780 bool temp3
= false ;
23781 PyObject
* obj0
= 0 ;
23782 PyObject
* obj1
= 0 ;
23783 PyObject
* obj2
= 0 ;
23784 PyObject
* obj3
= 0 ;
23785 char *kwnames
[] = {
23786 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
23789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23792 arg2
= (long)SWIG_As_long(obj1
);
23793 if (PyErr_Occurred()) SWIG_fail
;
23795 arg3
= wxString_in_helper(obj2
);
23796 if (arg3
== NULL
) SWIG_fail
;
23799 arg4
= (int)SWIG_As_int(obj3
);
23800 if (PyErr_Occurred()) SWIG_fail
;
23802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23803 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
23805 wxPyEndAllowThreads(__tstate
);
23806 if (PyErr_Occurred()) SWIG_fail
;
23808 resultobj
= SWIG_From_long((long)result
);
23823 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23824 PyObject
*resultobj
;
23825 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23827 wxListItem
*arg3
= 0 ;
23829 PyObject
* obj0
= 0 ;
23830 PyObject
* obj1
= 0 ;
23831 PyObject
* obj2
= 0 ;
23832 char *kwnames
[] = {
23833 (char *) "self",(char *) "col",(char *) "info", NULL
23836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23839 arg2
= (long)SWIG_As_long(obj1
);
23840 if (PyErr_Occurred()) SWIG_fail
;
23841 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
23842 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23844 if (arg3
== NULL
) {
23845 PyErr_SetString(PyExc_TypeError
,"null reference");
23849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23850 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
23852 wxPyEndAllowThreads(__tstate
);
23853 if (PyErr_Occurred()) SWIG_fail
;
23855 resultobj
= SWIG_From_long((long)result
);
23862 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23863 PyObject
*resultobj
;
23864 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23866 wxString
*arg3
= 0 ;
23867 int arg4
= (int) wxLIST_FORMAT_LEFT
;
23868 int arg5
= (int) -1 ;
23870 bool temp3
= false ;
23871 PyObject
* obj0
= 0 ;
23872 PyObject
* obj1
= 0 ;
23873 PyObject
* obj2
= 0 ;
23874 PyObject
* obj3
= 0 ;
23875 PyObject
* obj4
= 0 ;
23876 char *kwnames
[] = {
23877 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
23880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23883 arg2
= (long)SWIG_As_long(obj1
);
23884 if (PyErr_Occurred()) SWIG_fail
;
23886 arg3
= wxString_in_helper(obj2
);
23887 if (arg3
== NULL
) SWIG_fail
;
23891 arg4
= (int)SWIG_As_int(obj3
);
23892 if (PyErr_Occurred()) SWIG_fail
;
23895 arg5
= (int)SWIG_As_int(obj4
);
23896 if (PyErr_Occurred()) SWIG_fail
;
23899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23900 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
23902 wxPyEndAllowThreads(__tstate
);
23903 if (PyErr_Occurred()) SWIG_fail
;
23905 resultobj
= SWIG_From_long((long)result
);
23920 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23921 PyObject
*resultobj
;
23922 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23924 PyObject
* obj0
= 0 ;
23925 PyObject
* obj1
= 0 ;
23926 char *kwnames
[] = {
23927 (char *) "self",(char *) "count", NULL
23930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
23931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23933 arg2
= (long)SWIG_As_long(obj1
);
23934 if (PyErr_Occurred()) SWIG_fail
;
23936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23937 (arg1
)->SetItemCount(arg2
);
23939 wxPyEndAllowThreads(__tstate
);
23940 if (PyErr_Occurred()) SWIG_fail
;
23942 Py_INCREF(Py_None
); resultobj
= Py_None
;
23949 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23950 PyObject
*resultobj
;
23951 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23955 PyObject
* obj0
= 0 ;
23956 PyObject
* obj1
= 0 ;
23957 PyObject
* obj2
= 0 ;
23958 char *kwnames
[] = {
23959 (char *) "self",(char *) "dx",(char *) "dy", NULL
23962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23965 arg2
= (int)SWIG_As_int(obj1
);
23966 if (PyErr_Occurred()) SWIG_fail
;
23967 arg3
= (int)SWIG_As_int(obj2
);
23968 if (PyErr_Occurred()) SWIG_fail
;
23970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23971 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
23973 wxPyEndAllowThreads(__tstate
);
23974 if (PyErr_Occurred()) SWIG_fail
;
23977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23985 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23986 PyObject
*resultobj
;
23987 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23989 wxColour
*arg3
= 0 ;
23991 PyObject
* obj0
= 0 ;
23992 PyObject
* obj1
= 0 ;
23993 PyObject
* obj2
= 0 ;
23994 char *kwnames
[] = {
23995 (char *) "self",(char *) "item",(char *) "col", NULL
23998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
24000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24001 arg2
= (long)SWIG_As_long(obj1
);
24002 if (PyErr_Occurred()) SWIG_fail
;
24005 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24009 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
24011 wxPyEndAllowThreads(__tstate
);
24012 if (PyErr_Occurred()) SWIG_fail
;
24014 Py_INCREF(Py_None
); resultobj
= Py_None
;
24021 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24022 PyObject
*resultobj
;
24023 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24026 PyObject
* obj0
= 0 ;
24027 PyObject
* obj1
= 0 ;
24028 char *kwnames
[] = {
24029 (char *) "self",(char *) "item", NULL
24032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
24034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24035 arg2
= (long)SWIG_As_long(obj1
);
24036 if (PyErr_Occurred()) SWIG_fail
;
24038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24039 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
24041 wxPyEndAllowThreads(__tstate
);
24042 if (PyErr_Occurred()) SWIG_fail
;
24045 wxColour
* resultptr
;
24046 resultptr
= new wxColour((wxColour
&) result
);
24047 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24055 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24056 PyObject
*resultobj
;
24057 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24059 wxColour
*arg3
= 0 ;
24061 PyObject
* obj0
= 0 ;
24062 PyObject
* obj1
= 0 ;
24063 PyObject
* obj2
= 0 ;
24064 char *kwnames
[] = {
24065 (char *) "self",(char *) "item",(char *) "col", NULL
24068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
24070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24071 arg2
= (long)SWIG_As_long(obj1
);
24072 if (PyErr_Occurred()) SWIG_fail
;
24075 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
24078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24079 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
24081 wxPyEndAllowThreads(__tstate
);
24082 if (PyErr_Occurred()) SWIG_fail
;
24084 Py_INCREF(Py_None
); resultobj
= Py_None
;
24091 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24092 PyObject
*resultobj
;
24093 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24096 PyObject
* obj0
= 0 ;
24097 PyObject
* obj1
= 0 ;
24098 char *kwnames
[] = {
24099 (char *) "self",(char *) "item", NULL
24102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
24104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24105 arg2
= (long)SWIG_As_long(obj1
);
24106 if (PyErr_Occurred()) SWIG_fail
;
24108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24109 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
24111 wxPyEndAllowThreads(__tstate
);
24112 if (PyErr_Occurred()) SWIG_fail
;
24115 wxColour
* resultptr
;
24116 resultptr
= new wxColour((wxColour
&) result
);
24117 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24125 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24126 PyObject
*resultobj
;
24127 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24128 PyObject
*arg2
= (PyObject
*) 0 ;
24130 PyObject
* obj0
= 0 ;
24131 PyObject
* obj1
= 0 ;
24132 char *kwnames
[] = {
24133 (char *) "self",(char *) "func", NULL
24136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
24137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
24138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24142 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
24144 wxPyEndAllowThreads(__tstate
);
24145 if (PyErr_Occurred()) SWIG_fail
;
24148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24156 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24157 PyObject
*resultobj
;
24158 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
24160 PyObject
* obj0
= 0 ;
24161 char *kwnames
[] = {
24162 (char *) "self", NULL
24165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
24166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
24167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24170 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
24172 wxPyEndAllowThreads(__tstate
);
24173 if (PyErr_Occurred()) SWIG_fail
;
24176 resultobj
= wxPyMake_wxObject(result
, 0);
24184 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24185 PyObject
*resultobj
;
24186 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
24187 wxVisualAttributes result
;
24188 PyObject
* obj0
= 0 ;
24189 char *kwnames
[] = {
24190 (char *) "variant", NULL
24193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
24195 arg1
= (int)SWIG_As_int(obj0
);
24196 if (PyErr_Occurred()) SWIG_fail
;
24199 if (!wxPyCheckForApp()) SWIG_fail
;
24200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24201 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
24203 wxPyEndAllowThreads(__tstate
);
24204 if (PyErr_Occurred()) SWIG_fail
;
24207 wxVisualAttributes
* resultptr
;
24208 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
24209 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
24217 static PyObject
* ListCtrl_swigregister(PyObject
*, PyObject
*args
) {
24219 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24220 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
24222 return Py_BuildValue((char *)"");
24224 static PyObject
*_wrap_new_ListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24225 PyObject
*resultobj
;
24226 wxWindow
*arg1
= (wxWindow
*) 0 ;
24227 int arg2
= (int) -1 ;
24228 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
24229 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
24230 wxSize
const &arg4_defvalue
= wxDefaultSize
;
24231 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
24232 long arg5
= (long) wxLC_REPORT
;
24233 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
24234 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
24235 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
24236 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
24237 wxListView
*result
;
24240 bool temp7
= false ;
24241 PyObject
* obj0
= 0 ;
24242 PyObject
* obj1
= 0 ;
24243 PyObject
* obj2
= 0 ;
24244 PyObject
* obj3
= 0 ;
24245 PyObject
* obj4
= 0 ;
24246 PyObject
* obj5
= 0 ;
24247 PyObject
* obj6
= 0 ;
24248 char *kwnames
[] = {
24249 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
24253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24256 arg2
= (int)SWIG_As_int(obj1
);
24257 if (PyErr_Occurred()) SWIG_fail
;
24262 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
24268 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
24272 arg5
= (long)SWIG_As_long(obj4
);
24273 if (PyErr_Occurred()) SWIG_fail
;
24276 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
24277 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24279 if (arg6
== NULL
) {
24280 PyErr_SetString(PyExc_TypeError
,"null reference");
24286 arg7
= wxString_in_helper(obj6
);
24287 if (arg7
== NULL
) SWIG_fail
;
24292 if (!wxPyCheckForApp()) SWIG_fail
;
24293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24294 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
24296 wxPyEndAllowThreads(__tstate
);
24297 if (PyErr_Occurred()) SWIG_fail
;
24299 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
24314 static PyObject
*_wrap_new_PreListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24315 PyObject
*resultobj
;
24316 wxListView
*result
;
24317 char *kwnames
[] = {
24321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
24323 if (!wxPyCheckForApp()) SWIG_fail
;
24324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24325 result
= (wxListView
*)new wxListView();
24327 wxPyEndAllowThreads(__tstate
);
24328 if (PyErr_Occurred()) SWIG_fail
;
24330 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
24337 static PyObject
*_wrap_ListView_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24338 PyObject
*resultobj
;
24339 wxListView
*arg1
= (wxListView
*) 0 ;
24340 wxWindow
*arg2
= (wxWindow
*) 0 ;
24341 int arg3
= (int) -1 ;
24342 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24343 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24344 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24345 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24346 long arg6
= (long) wxLC_REPORT
;
24347 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
24348 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
24349 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
24350 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
24354 bool temp8
= false ;
24355 PyObject
* obj0
= 0 ;
24356 PyObject
* obj1
= 0 ;
24357 PyObject
* obj2
= 0 ;
24358 PyObject
* obj3
= 0 ;
24359 PyObject
* obj4
= 0 ;
24360 PyObject
* obj5
= 0 ;
24361 PyObject
* obj6
= 0 ;
24362 PyObject
* obj7
= 0 ;
24363 char *kwnames
[] = {
24364 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
24368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24370 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24373 arg3
= (int)SWIG_As_int(obj2
);
24374 if (PyErr_Occurred()) SWIG_fail
;
24379 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24385 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24389 arg6
= (long)SWIG_As_long(obj5
);
24390 if (PyErr_Occurred()) SWIG_fail
;
24393 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
24394 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24396 if (arg7
== NULL
) {
24397 PyErr_SetString(PyExc_TypeError
,"null reference");
24403 arg8
= wxString_in_helper(obj7
);
24404 if (arg8
== NULL
) SWIG_fail
;
24409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24410 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
24412 wxPyEndAllowThreads(__tstate
);
24413 if (PyErr_Occurred()) SWIG_fail
;
24416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24432 static PyObject
*_wrap_ListView_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24433 PyObject
*resultobj
;
24434 wxListView
*arg1
= (wxListView
*) 0 ;
24436 bool arg3
= (bool) true ;
24437 PyObject
* obj0
= 0 ;
24438 PyObject
* obj1
= 0 ;
24439 PyObject
* obj2
= 0 ;
24440 char *kwnames
[] = {
24441 (char *) "self",(char *) "n",(char *) "on", NULL
24444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24447 arg2
= (long)SWIG_As_long(obj1
);
24448 if (PyErr_Occurred()) SWIG_fail
;
24450 arg3
= (bool)SWIG_As_bool(obj2
);
24451 if (PyErr_Occurred()) SWIG_fail
;
24454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24455 (arg1
)->Select(arg2
,arg3
);
24457 wxPyEndAllowThreads(__tstate
);
24458 if (PyErr_Occurred()) SWIG_fail
;
24460 Py_INCREF(Py_None
); resultobj
= Py_None
;
24467 static PyObject
*_wrap_ListView_Focus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24468 PyObject
*resultobj
;
24469 wxListView
*arg1
= (wxListView
*) 0 ;
24471 PyObject
* obj0
= 0 ;
24472 PyObject
* obj1
= 0 ;
24473 char *kwnames
[] = {
24474 (char *) "self",(char *) "index", NULL
24477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
24478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24480 arg2
= (long)SWIG_As_long(obj1
);
24481 if (PyErr_Occurred()) SWIG_fail
;
24483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24484 (arg1
)->Focus(arg2
);
24486 wxPyEndAllowThreads(__tstate
);
24487 if (PyErr_Occurred()) SWIG_fail
;
24489 Py_INCREF(Py_None
); resultobj
= Py_None
;
24496 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24497 PyObject
*resultobj
;
24498 wxListView
*arg1
= (wxListView
*) 0 ;
24500 PyObject
* obj0
= 0 ;
24501 char *kwnames
[] = {
24502 (char *) "self", NULL
24505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
24506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24510 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
24512 wxPyEndAllowThreads(__tstate
);
24513 if (PyErr_Occurred()) SWIG_fail
;
24515 resultobj
= SWIG_From_long((long)result
);
24522 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24523 PyObject
*resultobj
;
24524 wxListView
*arg1
= (wxListView
*) 0 ;
24527 PyObject
* obj0
= 0 ;
24528 PyObject
* obj1
= 0 ;
24529 char *kwnames
[] = {
24530 (char *) "self",(char *) "item", NULL
24533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
24534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24536 arg2
= (long)SWIG_As_long(obj1
);
24537 if (PyErr_Occurred()) SWIG_fail
;
24539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24540 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
24542 wxPyEndAllowThreads(__tstate
);
24543 if (PyErr_Occurred()) SWIG_fail
;
24545 resultobj
= SWIG_From_long((long)result
);
24552 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24553 PyObject
*resultobj
;
24554 wxListView
*arg1
= (wxListView
*) 0 ;
24556 PyObject
* obj0
= 0 ;
24557 char *kwnames
[] = {
24558 (char *) "self", NULL
24561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
24562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24566 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
24568 wxPyEndAllowThreads(__tstate
);
24569 if (PyErr_Occurred()) SWIG_fail
;
24571 resultobj
= SWIG_From_long((long)result
);
24578 static PyObject
*_wrap_ListView_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24579 PyObject
*resultobj
;
24580 wxListView
*arg1
= (wxListView
*) 0 ;
24583 PyObject
* obj0
= 0 ;
24584 PyObject
* obj1
= 0 ;
24585 char *kwnames
[] = {
24586 (char *) "self",(char *) "index", NULL
24589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
24590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24592 arg2
= (long)SWIG_As_long(obj1
);
24593 if (PyErr_Occurred()) SWIG_fail
;
24595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24596 result
= (bool)(arg1
)->IsSelected(arg2
);
24598 wxPyEndAllowThreads(__tstate
);
24599 if (PyErr_Occurred()) SWIG_fail
;
24602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24610 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24611 PyObject
*resultobj
;
24612 wxListView
*arg1
= (wxListView
*) 0 ;
24615 PyObject
* obj0
= 0 ;
24616 PyObject
* obj1
= 0 ;
24617 PyObject
* obj2
= 0 ;
24618 char *kwnames
[] = {
24619 (char *) "self",(char *) "col",(char *) "image", NULL
24622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24625 arg2
= (int)SWIG_As_int(obj1
);
24626 if (PyErr_Occurred()) SWIG_fail
;
24627 arg3
= (int)SWIG_As_int(obj2
);
24628 if (PyErr_Occurred()) SWIG_fail
;
24630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24631 (arg1
)->SetColumnImage(arg2
,arg3
);
24633 wxPyEndAllowThreads(__tstate
);
24634 if (PyErr_Occurred()) SWIG_fail
;
24636 Py_INCREF(Py_None
); resultobj
= Py_None
;
24643 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24644 PyObject
*resultobj
;
24645 wxListView
*arg1
= (wxListView
*) 0 ;
24647 PyObject
* obj0
= 0 ;
24648 PyObject
* obj1
= 0 ;
24649 char *kwnames
[] = {
24650 (char *) "self",(char *) "col", NULL
24653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
24654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24656 arg2
= (int)SWIG_As_int(obj1
);
24657 if (PyErr_Occurred()) SWIG_fail
;
24659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24660 (arg1
)->ClearColumnImage(arg2
);
24662 wxPyEndAllowThreads(__tstate
);
24663 if (PyErr_Occurred()) SWIG_fail
;
24665 Py_INCREF(Py_None
); resultobj
= Py_None
;
24672 static PyObject
* ListView_swigregister(PyObject
*, PyObject
*args
) {
24674 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24675 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
24677 return Py_BuildValue((char *)"");
24679 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
24680 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
24685 static PyObject
*_wrap_TreeCtrlNameStr_get() {
24690 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
24692 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
24699 static PyObject
*_wrap_new_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24700 PyObject
*resultobj
;
24701 wxTreeItemId
*result
;
24702 char *kwnames
[] = {
24706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
24708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24709 result
= (wxTreeItemId
*)new wxTreeItemId();
24711 wxPyEndAllowThreads(__tstate
);
24712 if (PyErr_Occurred()) SWIG_fail
;
24714 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
24721 static PyObject
*_wrap_delete_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24722 PyObject
*resultobj
;
24723 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24724 PyObject
* obj0
= 0 ;
24725 char *kwnames
[] = {
24726 (char *) "self", NULL
24729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
24730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24736 wxPyEndAllowThreads(__tstate
);
24737 if (PyErr_Occurred()) SWIG_fail
;
24739 Py_INCREF(Py_None
); resultobj
= Py_None
;
24746 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24747 PyObject
*resultobj
;
24748 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24750 PyObject
* obj0
= 0 ;
24751 char *kwnames
[] = {
24752 (char *) "self", NULL
24755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
24756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24760 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
24762 wxPyEndAllowThreads(__tstate
);
24763 if (PyErr_Occurred()) SWIG_fail
;
24766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24774 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24775 PyObject
*resultobj
;
24776 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24777 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24779 PyObject
* obj0
= 0 ;
24780 PyObject
* obj1
= 0 ;
24781 char *kwnames
[] = {
24782 (char *) "self",(char *) "other", NULL
24785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24788 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24792 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
24794 wxPyEndAllowThreads(__tstate
);
24795 if (PyErr_Occurred()) SWIG_fail
;
24798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24806 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24807 PyObject
*resultobj
;
24808 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24809 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24811 PyObject
* obj0
= 0 ;
24812 PyObject
* obj1
= 0 ;
24813 char *kwnames
[] = {
24814 (char *) "self",(char *) "other", NULL
24817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24820 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24824 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
24826 wxPyEndAllowThreads(__tstate
);
24827 if (PyErr_Occurred()) SWIG_fail
;
24830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24838 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24839 PyObject
*resultobj
;
24840 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24841 void *arg2
= (void *) 0 ;
24842 PyObject
* obj0
= 0 ;
24843 PyObject
* obj1
= 0 ;
24844 char *kwnames
[] = {
24845 (char *) "self",(char *) "m_pItem", NULL
24848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24851 if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24852 if (arg1
) (arg1
)->m_pItem
= arg2
;
24854 Py_INCREF(Py_None
); resultobj
= Py_None
;
24861 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24862 PyObject
*resultobj
;
24863 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24865 PyObject
* obj0
= 0 ;
24866 char *kwnames
[] = {
24867 (char *) "self", NULL
24870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
24871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24873 result
= (void *) ((arg1
)->m_pItem
);
24875 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
24882 static PyObject
* TreeItemId_swigregister(PyObject
*, PyObject
*args
) {
24884 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24885 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
24887 return Py_BuildValue((char *)"");
24889 static PyObject
*_wrap_new_TreeItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24890 PyObject
*resultobj
;
24891 PyObject
*arg1
= (PyObject
*) NULL
;
24892 wxPyTreeItemData
*result
;
24893 PyObject
* obj0
= 0 ;
24894 char *kwnames
[] = {
24895 (char *) "obj", NULL
24898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
24903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24904 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
24906 wxPyEndAllowThreads(__tstate
);
24907 if (PyErr_Occurred()) SWIG_fail
;
24909 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
24916 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24917 PyObject
*resultobj
;
24918 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24920 PyObject
* obj0
= 0 ;
24921 char *kwnames
[] = {
24922 (char *) "self", NULL
24925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
24926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24930 result
= (PyObject
*)(arg1
)->GetData();
24932 wxPyEndAllowThreads(__tstate
);
24933 if (PyErr_Occurred()) SWIG_fail
;
24935 resultobj
= result
;
24942 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24943 PyObject
*resultobj
;
24944 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24945 PyObject
*arg2
= (PyObject
*) 0 ;
24946 PyObject
* obj0
= 0 ;
24947 PyObject
* obj1
= 0 ;
24948 char *kwnames
[] = {
24949 (char *) "self",(char *) "obj", NULL
24952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24958 (arg1
)->SetData(arg2
);
24960 wxPyEndAllowThreads(__tstate
);
24961 if (PyErr_Occurred()) SWIG_fail
;
24963 Py_INCREF(Py_None
); resultobj
= Py_None
;
24970 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24971 PyObject
*resultobj
;
24972 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24973 wxTreeItemId
*result
;
24974 PyObject
* obj0
= 0 ;
24975 char *kwnames
[] = {
24976 (char *) "self", NULL
24979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
24980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24985 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
24986 result
= (wxTreeItemId
*) &_result_ref
;
24989 wxPyEndAllowThreads(__tstate
);
24990 if (PyErr_Occurred()) SWIG_fail
;
24992 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
24999 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25000 PyObject
*resultobj
;
25001 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
25002 wxTreeItemId
*arg2
= 0 ;
25003 PyObject
* obj0
= 0 ;
25004 PyObject
* obj1
= 0 ;
25005 char *kwnames
[] = {
25006 (char *) "self",(char *) "id", NULL
25009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
25010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
25011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25012 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25013 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25015 if (arg2
== NULL
) {
25016 PyErr_SetString(PyExc_TypeError
,"null reference");
25020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25021 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
25023 wxPyEndAllowThreads(__tstate
);
25024 if (PyErr_Occurred()) SWIG_fail
;
25026 Py_INCREF(Py_None
); resultobj
= Py_None
;
25033 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25034 PyObject
*resultobj
;
25035 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
25036 PyObject
* obj0
= 0 ;
25037 char *kwnames
[] = {
25038 (char *) "self", NULL
25041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
25042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
25043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25046 wxPyTreeItemData_Destroy(arg1
);
25048 wxPyEndAllowThreads(__tstate
);
25049 if (PyErr_Occurred()) SWIG_fail
;
25051 Py_INCREF(Py_None
); resultobj
= Py_None
;
25058 static PyObject
* TreeItemData_swigregister(PyObject
*, PyObject
*args
) {
25060 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25061 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
25063 return Py_BuildValue((char *)"");
25065 static PyObject
*_wrap_new_TreeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25066 PyObject
*resultobj
;
25067 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
25068 int arg2
= (int) 0 ;
25069 wxTreeEvent
*result
;
25070 PyObject
* obj0
= 0 ;
25071 PyObject
* obj1
= 0 ;
25072 char *kwnames
[] = {
25073 (char *) "commandType",(char *) "id", NULL
25076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
25078 arg1
= (wxEventType
)SWIG_As_int(obj0
);
25079 if (PyErr_Occurred()) SWIG_fail
;
25082 arg2
= (int)SWIG_As_int(obj1
);
25083 if (PyErr_Occurred()) SWIG_fail
;
25086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25087 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
25089 wxPyEndAllowThreads(__tstate
);
25090 if (PyErr_Occurred()) SWIG_fail
;
25092 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
25099 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25100 PyObject
*resultobj
;
25101 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25102 wxTreeItemId result
;
25103 PyObject
* obj0
= 0 ;
25104 char *kwnames
[] = {
25105 (char *) "self", NULL
25108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
25109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25113 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
25115 wxPyEndAllowThreads(__tstate
);
25116 if (PyErr_Occurred()) SWIG_fail
;
25119 wxTreeItemId
* resultptr
;
25120 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25121 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25129 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25130 PyObject
*resultobj
;
25131 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25132 wxTreeItemId
*arg2
= 0 ;
25133 PyObject
* obj0
= 0 ;
25134 PyObject
* obj1
= 0 ;
25135 char *kwnames
[] = {
25136 (char *) "self",(char *) "item", NULL
25139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25142 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25143 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25145 if (arg2
== NULL
) {
25146 PyErr_SetString(PyExc_TypeError
,"null reference");
25150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25151 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
25153 wxPyEndAllowThreads(__tstate
);
25154 if (PyErr_Occurred()) SWIG_fail
;
25156 Py_INCREF(Py_None
); resultobj
= Py_None
;
25163 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25164 PyObject
*resultobj
;
25165 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25166 wxTreeItemId result
;
25167 PyObject
* obj0
= 0 ;
25168 char *kwnames
[] = {
25169 (char *) "self", NULL
25172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
25173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25177 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
25179 wxPyEndAllowThreads(__tstate
);
25180 if (PyErr_Occurred()) SWIG_fail
;
25183 wxTreeItemId
* resultptr
;
25184 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
25185 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
25193 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25194 PyObject
*resultobj
;
25195 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25196 wxTreeItemId
*arg2
= 0 ;
25197 PyObject
* obj0
= 0 ;
25198 PyObject
* obj1
= 0 ;
25199 char *kwnames
[] = {
25200 (char *) "self",(char *) "item", NULL
25203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25206 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25207 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25209 if (arg2
== NULL
) {
25210 PyErr_SetString(PyExc_TypeError
,"null reference");
25214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25215 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
25217 wxPyEndAllowThreads(__tstate
);
25218 if (PyErr_Occurred()) SWIG_fail
;
25220 Py_INCREF(Py_None
); resultobj
= Py_None
;
25227 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25228 PyObject
*resultobj
;
25229 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25231 PyObject
* obj0
= 0 ;
25232 char *kwnames
[] = {
25233 (char *) "self", NULL
25236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
25237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25241 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
25243 wxPyEndAllowThreads(__tstate
);
25244 if (PyErr_Occurred()) SWIG_fail
;
25247 wxPoint
* resultptr
;
25248 resultptr
= new wxPoint((wxPoint
&) result
);
25249 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25257 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25258 PyObject
*resultobj
;
25259 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25260 wxPoint
*arg2
= 0 ;
25262 PyObject
* obj0
= 0 ;
25263 PyObject
* obj1
= 0 ;
25264 char *kwnames
[] = {
25265 (char *) "self",(char *) "pt", NULL
25268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
25269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25273 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25277 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
25279 wxPyEndAllowThreads(__tstate
);
25280 if (PyErr_Occurred()) SWIG_fail
;
25282 Py_INCREF(Py_None
); resultobj
= Py_None
;
25289 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25290 PyObject
*resultobj
;
25291 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25292 wxKeyEvent
*result
;
25293 PyObject
* obj0
= 0 ;
25294 char *kwnames
[] = {
25295 (char *) "self", NULL
25298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
25299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25304 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
25305 result
= (wxKeyEvent
*) &_result_ref
;
25308 wxPyEndAllowThreads(__tstate
);
25309 if (PyErr_Occurred()) SWIG_fail
;
25311 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
25318 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25319 PyObject
*resultobj
;
25320 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25322 PyObject
* obj0
= 0 ;
25323 char *kwnames
[] = {
25324 (char *) "self", NULL
25327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
25328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25332 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
25334 wxPyEndAllowThreads(__tstate
);
25335 if (PyErr_Occurred()) SWIG_fail
;
25337 resultobj
= SWIG_From_int((int)result
);
25344 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25345 PyObject
*resultobj
;
25346 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25347 wxKeyEvent
*arg2
= 0 ;
25348 PyObject
* obj0
= 0 ;
25349 PyObject
* obj1
= 0 ;
25350 char *kwnames
[] = {
25351 (char *) "self",(char *) "evt", NULL
25354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
25355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25357 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
25358 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25360 if (arg2
== NULL
) {
25361 PyErr_SetString(PyExc_TypeError
,"null reference");
25365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25366 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
25368 wxPyEndAllowThreads(__tstate
);
25369 if (PyErr_Occurred()) SWIG_fail
;
25371 Py_INCREF(Py_None
); resultobj
= Py_None
;
25378 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25379 PyObject
*resultobj
;
25380 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25382 PyObject
* obj0
= 0 ;
25383 char *kwnames
[] = {
25384 (char *) "self", NULL
25387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
25388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25393 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
25394 result
= (wxString
*) &_result_ref
;
25397 wxPyEndAllowThreads(__tstate
);
25398 if (PyErr_Occurred()) SWIG_fail
;
25402 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
25404 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
25413 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25414 PyObject
*resultobj
;
25415 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25416 wxString
*arg2
= 0 ;
25417 bool temp2
= false ;
25418 PyObject
* obj0
= 0 ;
25419 PyObject
* obj1
= 0 ;
25420 char *kwnames
[] = {
25421 (char *) "self",(char *) "label", NULL
25424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25428 arg2
= wxString_in_helper(obj1
);
25429 if (arg2
== NULL
) SWIG_fail
;
25433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25434 (arg1
)->SetLabel((wxString
const &)*arg2
);
25436 wxPyEndAllowThreads(__tstate
);
25437 if (PyErr_Occurred()) SWIG_fail
;
25439 Py_INCREF(Py_None
); resultobj
= Py_None
;
25454 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25455 PyObject
*resultobj
;
25456 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25458 PyObject
* obj0
= 0 ;
25459 char *kwnames
[] = {
25460 (char *) "self", NULL
25463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
25464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25468 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
25470 wxPyEndAllowThreads(__tstate
);
25471 if (PyErr_Occurred()) SWIG_fail
;
25474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25482 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25483 PyObject
*resultobj
;
25484 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25486 PyObject
* obj0
= 0 ;
25487 PyObject
* obj1
= 0 ;
25488 char *kwnames
[] = {
25489 (char *) "self",(char *) "editCancelled", NULL
25492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
25493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25495 arg2
= (bool)SWIG_As_bool(obj1
);
25496 if (PyErr_Occurred()) SWIG_fail
;
25498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25499 (arg1
)->SetEditCanceled(arg2
);
25501 wxPyEndAllowThreads(__tstate
);
25502 if (PyErr_Occurred()) SWIG_fail
;
25504 Py_INCREF(Py_None
); resultobj
= Py_None
;
25511 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25512 PyObject
*resultobj
;
25513 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25514 wxString
*arg2
= 0 ;
25515 bool temp2
= false ;
25516 PyObject
* obj0
= 0 ;
25517 PyObject
* obj1
= 0 ;
25518 char *kwnames
[] = {
25519 (char *) "self",(char *) "toolTip", NULL
25522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
25523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25526 arg2
= wxString_in_helper(obj1
);
25527 if (arg2
== NULL
) SWIG_fail
;
25531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25532 (arg1
)->SetToolTip((wxString
const &)*arg2
);
25534 wxPyEndAllowThreads(__tstate
);
25535 if (PyErr_Occurred()) SWIG_fail
;
25537 Py_INCREF(Py_None
); resultobj
= Py_None
;
25552 static PyObject
* TreeEvent_swigregister(PyObject
*, PyObject
*args
) {
25554 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25555 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
25557 return Py_BuildValue((char *)"");
25559 static PyObject
*_wrap_new_TreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25560 PyObject
*resultobj
;
25561 wxWindow
*arg1
= (wxWindow
*) 0 ;
25562 int arg2
= (int) -1 ;
25563 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25564 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25565 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25566 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25567 long arg5
= (long) wxTR_DEFAULT_STYLE
;
25568 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
25569 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
25570 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
25571 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25572 wxPyTreeCtrl
*result
;
25575 bool temp7
= false ;
25576 PyObject
* obj0
= 0 ;
25577 PyObject
* obj1
= 0 ;
25578 PyObject
* obj2
= 0 ;
25579 PyObject
* obj3
= 0 ;
25580 PyObject
* obj4
= 0 ;
25581 PyObject
* obj5
= 0 ;
25582 PyObject
* obj6
= 0 ;
25583 char *kwnames
[] = {
25584 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25591 arg2
= (int)SWIG_As_int(obj1
);
25592 if (PyErr_Occurred()) SWIG_fail
;
25597 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25603 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25607 arg5
= (long)SWIG_As_long(obj4
);
25608 if (PyErr_Occurred()) SWIG_fail
;
25611 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
25612 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25614 if (arg6
== NULL
) {
25615 PyErr_SetString(PyExc_TypeError
,"null reference");
25621 arg7
= wxString_in_helper(obj6
);
25622 if (arg7
== NULL
) SWIG_fail
;
25627 if (!wxPyCheckForApp()) SWIG_fail
;
25628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25629 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
25631 wxPyEndAllowThreads(__tstate
);
25632 if (PyErr_Occurred()) SWIG_fail
;
25634 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
25649 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25650 PyObject
*resultobj
;
25651 wxPyTreeCtrl
*result
;
25652 char *kwnames
[] = {
25656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
25658 if (!wxPyCheckForApp()) SWIG_fail
;
25659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25660 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
25662 wxPyEndAllowThreads(__tstate
);
25663 if (PyErr_Occurred()) SWIG_fail
;
25665 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
25672 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25673 PyObject
*resultobj
;
25674 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25675 wxWindow
*arg2
= (wxWindow
*) 0 ;
25676 int arg3
= (int) -1 ;
25677 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25678 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25679 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25680 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25681 long arg6
= (long) wxTR_DEFAULT_STYLE
;
25682 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
25683 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
25684 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
25685 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
25689 bool temp8
= false ;
25690 PyObject
* obj0
= 0 ;
25691 PyObject
* obj1
= 0 ;
25692 PyObject
* obj2
= 0 ;
25693 PyObject
* obj3
= 0 ;
25694 PyObject
* obj4
= 0 ;
25695 PyObject
* obj5
= 0 ;
25696 PyObject
* obj6
= 0 ;
25697 PyObject
* obj7
= 0 ;
25698 char *kwnames
[] = {
25699 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
25703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25705 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25708 arg3
= (int)SWIG_As_int(obj2
);
25709 if (PyErr_Occurred()) SWIG_fail
;
25714 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25720 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25724 arg6
= (long)SWIG_As_long(obj5
);
25725 if (PyErr_Occurred()) SWIG_fail
;
25728 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
25729 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25731 if (arg7
== NULL
) {
25732 PyErr_SetString(PyExc_TypeError
,"null reference");
25738 arg8
= wxString_in_helper(obj7
);
25739 if (arg8
== NULL
) SWIG_fail
;
25744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25745 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
25747 wxPyEndAllowThreads(__tstate
);
25748 if (PyErr_Occurred()) SWIG_fail
;
25751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25767 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25768 PyObject
*resultobj
;
25769 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25770 PyObject
*arg2
= (PyObject
*) 0 ;
25771 PyObject
*arg3
= (PyObject
*) 0 ;
25772 PyObject
* obj0
= 0 ;
25773 PyObject
* obj1
= 0 ;
25774 PyObject
* obj2
= 0 ;
25775 char *kwnames
[] = {
25776 (char *) "self",(char *) "self",(char *) "_class", NULL
25779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25786 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25788 wxPyEndAllowThreads(__tstate
);
25789 if (PyErr_Occurred()) SWIG_fail
;
25791 Py_INCREF(Py_None
); resultobj
= Py_None
;
25798 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25799 PyObject
*resultobj
;
25800 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25802 PyObject
* obj0
= 0 ;
25803 char *kwnames
[] = {
25804 (char *) "self", NULL
25807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
25808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25812 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
25814 wxPyEndAllowThreads(__tstate
);
25815 if (PyErr_Occurred()) SWIG_fail
;
25817 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25824 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25825 PyObject
*resultobj
;
25826 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25827 unsigned int result
;
25828 PyObject
* obj0
= 0 ;
25829 char *kwnames
[] = {
25830 (char *) "self", NULL
25833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
25834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25838 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
25840 wxPyEndAllowThreads(__tstate
);
25841 if (PyErr_Occurred()) SWIG_fail
;
25843 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
25850 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25851 PyObject
*resultobj
;
25852 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25853 unsigned int arg2
;
25854 PyObject
* obj0
= 0 ;
25855 PyObject
* obj1
= 0 ;
25856 char *kwnames
[] = {
25857 (char *) "self",(char *) "indent", NULL
25860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
25861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25863 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
25864 if (PyErr_Occurred()) SWIG_fail
;
25866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25867 (arg1
)->SetIndent(arg2
);
25869 wxPyEndAllowThreads(__tstate
);
25870 if (PyErr_Occurred()) SWIG_fail
;
25872 Py_INCREF(Py_None
); resultobj
= Py_None
;
25879 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25880 PyObject
*resultobj
;
25881 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25882 unsigned int result
;
25883 PyObject
* obj0
= 0 ;
25884 char *kwnames
[] = {
25885 (char *) "self", NULL
25888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
25889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25893 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
25895 wxPyEndAllowThreads(__tstate
);
25896 if (PyErr_Occurred()) SWIG_fail
;
25898 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
25905 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25906 PyObject
*resultobj
;
25907 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25908 unsigned int arg2
;
25909 PyObject
* obj0
= 0 ;
25910 PyObject
* obj1
= 0 ;
25911 char *kwnames
[] = {
25912 (char *) "self",(char *) "spacing", NULL
25915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
25916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25918 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
25919 if (PyErr_Occurred()) SWIG_fail
;
25921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25922 (arg1
)->SetSpacing(arg2
);
25924 wxPyEndAllowThreads(__tstate
);
25925 if (PyErr_Occurred()) SWIG_fail
;
25927 Py_INCREF(Py_None
); resultobj
= Py_None
;
25934 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25935 PyObject
*resultobj
;
25936 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25937 wxImageList
*result
;
25938 PyObject
* obj0
= 0 ;
25939 char *kwnames
[] = {
25940 (char *) "self", NULL
25943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
25944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25948 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
25950 wxPyEndAllowThreads(__tstate
);
25951 if (PyErr_Occurred()) SWIG_fail
;
25954 resultobj
= wxPyMake_wxObject(result
, 0);
25962 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25963 PyObject
*resultobj
;
25964 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25965 wxImageList
*result
;
25966 PyObject
* obj0
= 0 ;
25967 char *kwnames
[] = {
25968 (char *) "self", NULL
25971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
25972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25976 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
25978 wxPyEndAllowThreads(__tstate
);
25979 if (PyErr_Occurred()) SWIG_fail
;
25982 resultobj
= wxPyMake_wxObject(result
, 0);
25990 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25991 PyObject
*resultobj
;
25992 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25993 wxImageList
*arg2
= (wxImageList
*) 0 ;
25994 PyObject
* obj0
= 0 ;
25995 PyObject
* obj1
= 0 ;
25996 char *kwnames
[] = {
25997 (char *) "self",(char *) "imageList", NULL
26000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
26001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26003 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
26004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26007 (arg1
)->SetImageList(arg2
);
26009 wxPyEndAllowThreads(__tstate
);
26010 if (PyErr_Occurred()) SWIG_fail
;
26012 Py_INCREF(Py_None
); resultobj
= Py_None
;
26019 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26020 PyObject
*resultobj
;
26021 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26022 wxImageList
*arg2
= (wxImageList
*) 0 ;
26023 PyObject
* obj0
= 0 ;
26024 PyObject
* obj1
= 0 ;
26025 char *kwnames
[] = {
26026 (char *) "self",(char *) "imageList", NULL
26029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
26030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26032 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
26033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26036 (arg1
)->SetStateImageList(arg2
);
26038 wxPyEndAllowThreads(__tstate
);
26039 if (PyErr_Occurred()) SWIG_fail
;
26041 Py_INCREF(Py_None
); resultobj
= Py_None
;
26048 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26049 PyObject
*resultobj
;
26050 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26051 wxImageList
*arg2
= (wxImageList
*) 0 ;
26052 PyObject
* obj0
= 0 ;
26053 PyObject
* obj1
= 0 ;
26054 char *kwnames
[] = {
26055 (char *) "self",(char *) "imageList", NULL
26058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
26059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26061 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
26062 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26065 (arg1
)->AssignImageList(arg2
);
26067 wxPyEndAllowThreads(__tstate
);
26068 if (PyErr_Occurred()) SWIG_fail
;
26070 Py_INCREF(Py_None
); resultobj
= Py_None
;
26077 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26078 PyObject
*resultobj
;
26079 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26080 wxImageList
*arg2
= (wxImageList
*) 0 ;
26081 PyObject
* obj0
= 0 ;
26082 PyObject
* obj1
= 0 ;
26083 char *kwnames
[] = {
26084 (char *) "self",(char *) "imageList", NULL
26087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
26088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26090 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
26091 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26094 (arg1
)->AssignStateImageList(arg2
);
26096 wxPyEndAllowThreads(__tstate
);
26097 if (PyErr_Occurred()) SWIG_fail
;
26099 Py_INCREF(Py_None
); resultobj
= Py_None
;
26106 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26107 PyObject
*resultobj
;
26108 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26109 wxTreeItemId
*arg2
= 0 ;
26111 PyObject
* obj0
= 0 ;
26112 PyObject
* obj1
= 0 ;
26113 char *kwnames
[] = {
26114 (char *) "self",(char *) "item", NULL
26117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
26118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26120 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26121 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26123 if (arg2
== NULL
) {
26124 PyErr_SetString(PyExc_TypeError
,"null reference");
26128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26129 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
26131 wxPyEndAllowThreads(__tstate
);
26132 if (PyErr_Occurred()) SWIG_fail
;
26136 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26138 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26147 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26148 PyObject
*resultobj
;
26149 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26150 wxTreeItemId
*arg2
= 0 ;
26151 int arg3
= (int) wxTreeItemIcon_Normal
;
26153 PyObject
* obj0
= 0 ;
26154 PyObject
* obj1
= 0 ;
26155 PyObject
* obj2
= 0 ;
26156 char *kwnames
[] = {
26157 (char *) "self",(char *) "item",(char *) "which", NULL
26160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26163 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26164 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26166 if (arg2
== NULL
) {
26167 PyErr_SetString(PyExc_TypeError
,"null reference");
26171 arg3
= (int)SWIG_As_int(obj2
);
26172 if (PyErr_Occurred()) SWIG_fail
;
26175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26176 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
26178 wxPyEndAllowThreads(__tstate
);
26179 if (PyErr_Occurred()) SWIG_fail
;
26181 resultobj
= SWIG_From_int((int)result
);
26188 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26189 PyObject
*resultobj
;
26190 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26191 wxTreeItemId
*arg2
= 0 ;
26192 wxPyTreeItemData
*result
;
26193 PyObject
* obj0
= 0 ;
26194 PyObject
* obj1
= 0 ;
26195 char *kwnames
[] = {
26196 (char *) "self",(char *) "item", NULL
26199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
26200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26202 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26203 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26205 if (arg2
== NULL
) {
26206 PyErr_SetString(PyExc_TypeError
,"null reference");
26210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26211 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
26213 wxPyEndAllowThreads(__tstate
);
26214 if (PyErr_Occurred()) SWIG_fail
;
26216 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
26223 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26224 PyObject
*resultobj
;
26225 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26226 wxTreeItemId
*arg2
= 0 ;
26228 PyObject
* obj0
= 0 ;
26229 PyObject
* obj1
= 0 ;
26230 char *kwnames
[] = {
26231 (char *) "self",(char *) "item", NULL
26234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
26235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26237 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26238 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26240 if (arg2
== NULL
) {
26241 PyErr_SetString(PyExc_TypeError
,"null reference");
26245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26246 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
26248 wxPyEndAllowThreads(__tstate
);
26249 if (PyErr_Occurred()) SWIG_fail
;
26251 resultobj
= result
;
26258 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26259 PyObject
*resultobj
;
26260 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26261 wxTreeItemId
*arg2
= 0 ;
26263 PyObject
* obj0
= 0 ;
26264 PyObject
* obj1
= 0 ;
26265 char *kwnames
[] = {
26266 (char *) "self",(char *) "item", NULL
26269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26272 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26273 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26275 if (arg2
== NULL
) {
26276 PyErr_SetString(PyExc_TypeError
,"null reference");
26280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26281 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
26283 wxPyEndAllowThreads(__tstate
);
26284 if (PyErr_Occurred()) SWIG_fail
;
26287 wxColour
* resultptr
;
26288 resultptr
= new wxColour((wxColour
&) result
);
26289 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26297 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26298 PyObject
*resultobj
;
26299 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26300 wxTreeItemId
*arg2
= 0 ;
26302 PyObject
* obj0
= 0 ;
26303 PyObject
* obj1
= 0 ;
26304 char *kwnames
[] = {
26305 (char *) "self",(char *) "item", NULL
26308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26311 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26312 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26314 if (arg2
== NULL
) {
26315 PyErr_SetString(PyExc_TypeError
,"null reference");
26319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26320 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
26322 wxPyEndAllowThreads(__tstate
);
26323 if (PyErr_Occurred()) SWIG_fail
;
26326 wxColour
* resultptr
;
26327 resultptr
= new wxColour((wxColour
&) result
);
26328 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26336 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26337 PyObject
*resultobj
;
26338 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26339 wxTreeItemId
*arg2
= 0 ;
26341 PyObject
* obj0
= 0 ;
26342 PyObject
* obj1
= 0 ;
26343 char *kwnames
[] = {
26344 (char *) "self",(char *) "item", NULL
26347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26350 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26351 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26353 if (arg2
== NULL
) {
26354 PyErr_SetString(PyExc_TypeError
,"null reference");
26358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26359 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
26361 wxPyEndAllowThreads(__tstate
);
26362 if (PyErr_Occurred()) SWIG_fail
;
26365 wxFont
* resultptr
;
26366 resultptr
= new wxFont((wxFont
&) result
);
26367 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
26375 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26376 PyObject
*resultobj
;
26377 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26378 wxTreeItemId
*arg2
= 0 ;
26379 wxString
*arg3
= 0 ;
26380 bool temp3
= false ;
26381 PyObject
* obj0
= 0 ;
26382 PyObject
* obj1
= 0 ;
26383 PyObject
* obj2
= 0 ;
26384 char *kwnames
[] = {
26385 (char *) "self",(char *) "item",(char *) "text", NULL
26388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26391 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26392 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26394 if (arg2
== NULL
) {
26395 PyErr_SetString(PyExc_TypeError
,"null reference");
26399 arg3
= wxString_in_helper(obj2
);
26400 if (arg3
== NULL
) SWIG_fail
;
26404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26405 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
26407 wxPyEndAllowThreads(__tstate
);
26408 if (PyErr_Occurred()) SWIG_fail
;
26410 Py_INCREF(Py_None
); resultobj
= Py_None
;
26425 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26426 PyObject
*resultobj
;
26427 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26428 wxTreeItemId
*arg2
= 0 ;
26430 int arg4
= (int) wxTreeItemIcon_Normal
;
26431 PyObject
* obj0
= 0 ;
26432 PyObject
* obj1
= 0 ;
26433 PyObject
* obj2
= 0 ;
26434 PyObject
* obj3
= 0 ;
26435 char *kwnames
[] = {
26436 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
26439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26442 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26443 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26445 if (arg2
== NULL
) {
26446 PyErr_SetString(PyExc_TypeError
,"null reference");
26449 arg3
= (int)SWIG_As_int(obj2
);
26450 if (PyErr_Occurred()) SWIG_fail
;
26452 arg4
= (int)SWIG_As_int(obj3
);
26453 if (PyErr_Occurred()) SWIG_fail
;
26456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26457 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
26459 wxPyEndAllowThreads(__tstate
);
26460 if (PyErr_Occurred()) SWIG_fail
;
26462 Py_INCREF(Py_None
); resultobj
= Py_None
;
26469 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26470 PyObject
*resultobj
;
26471 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26472 wxTreeItemId
*arg2
= 0 ;
26473 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
26474 PyObject
* obj0
= 0 ;
26475 PyObject
* obj1
= 0 ;
26476 PyObject
* obj2
= 0 ;
26477 char *kwnames
[] = {
26478 (char *) "self",(char *) "item",(char *) "data", NULL
26481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26484 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26485 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26487 if (arg2
== NULL
) {
26488 PyErr_SetString(PyExc_TypeError
,"null reference");
26491 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
,
26492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26495 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26497 wxPyEndAllowThreads(__tstate
);
26498 if (PyErr_Occurred()) SWIG_fail
;
26500 Py_INCREF(Py_None
); resultobj
= Py_None
;
26507 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26508 PyObject
*resultobj
;
26509 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26510 wxTreeItemId
*arg2
= 0 ;
26511 PyObject
*arg3
= (PyObject
*) 0 ;
26512 PyObject
* obj0
= 0 ;
26513 PyObject
* obj1
= 0 ;
26514 PyObject
* obj2
= 0 ;
26515 char *kwnames
[] = {
26516 (char *) "self",(char *) "item",(char *) "obj", NULL
26519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26522 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26523 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26525 if (arg2
== NULL
) {
26526 PyErr_SetString(PyExc_TypeError
,"null reference");
26531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26532 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26534 wxPyEndAllowThreads(__tstate
);
26535 if (PyErr_Occurred()) SWIG_fail
;
26537 Py_INCREF(Py_None
); resultobj
= Py_None
;
26544 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26545 PyObject
*resultobj
;
26546 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26547 wxTreeItemId
*arg2
= 0 ;
26548 bool arg3
= (bool) true ;
26549 PyObject
* obj0
= 0 ;
26550 PyObject
* obj1
= 0 ;
26551 PyObject
* obj2
= 0 ;
26552 char *kwnames
[] = {
26553 (char *) "self",(char *) "item",(char *) "has", NULL
26556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26559 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26560 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26562 if (arg2
== NULL
) {
26563 PyErr_SetString(PyExc_TypeError
,"null reference");
26567 arg3
= (bool)SWIG_As_bool(obj2
);
26568 if (PyErr_Occurred()) SWIG_fail
;
26571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26572 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
26574 wxPyEndAllowThreads(__tstate
);
26575 if (PyErr_Occurred()) SWIG_fail
;
26577 Py_INCREF(Py_None
); resultobj
= Py_None
;
26584 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26585 PyObject
*resultobj
;
26586 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26587 wxTreeItemId
*arg2
= 0 ;
26588 bool arg3
= (bool) true ;
26589 PyObject
* obj0
= 0 ;
26590 PyObject
* obj1
= 0 ;
26591 PyObject
* obj2
= 0 ;
26592 char *kwnames
[] = {
26593 (char *) "self",(char *) "item",(char *) "bold", NULL
26596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26599 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26600 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26602 if (arg2
== NULL
) {
26603 PyErr_SetString(PyExc_TypeError
,"null reference");
26607 arg3
= (bool)SWIG_As_bool(obj2
);
26608 if (PyErr_Occurred()) SWIG_fail
;
26611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26612 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
26614 wxPyEndAllowThreads(__tstate
);
26615 if (PyErr_Occurred()) SWIG_fail
;
26617 Py_INCREF(Py_None
); resultobj
= Py_None
;
26624 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26625 PyObject
*resultobj
;
26626 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26627 wxTreeItemId
*arg2
= 0 ;
26628 bool arg3
= (bool) true ;
26629 PyObject
* obj0
= 0 ;
26630 PyObject
* obj1
= 0 ;
26631 PyObject
* obj2
= 0 ;
26632 char *kwnames
[] = {
26633 (char *) "self",(char *) "item",(char *) "highlight", NULL
26636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26639 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26640 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26642 if (arg2
== NULL
) {
26643 PyErr_SetString(PyExc_TypeError
,"null reference");
26647 arg3
= (bool)SWIG_As_bool(obj2
);
26648 if (PyErr_Occurred()) SWIG_fail
;
26651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26652 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
26654 wxPyEndAllowThreads(__tstate
);
26655 if (PyErr_Occurred()) SWIG_fail
;
26657 Py_INCREF(Py_None
); resultobj
= Py_None
;
26664 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26665 PyObject
*resultobj
;
26666 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26667 wxTreeItemId
*arg2
= 0 ;
26668 wxColour
*arg3
= 0 ;
26670 PyObject
* obj0
= 0 ;
26671 PyObject
* obj1
= 0 ;
26672 PyObject
* obj2
= 0 ;
26673 char *kwnames
[] = {
26674 (char *) "self",(char *) "item",(char *) "col", NULL
26677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26680 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26681 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26683 if (arg2
== NULL
) {
26684 PyErr_SetString(PyExc_TypeError
,"null reference");
26689 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26693 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
26695 wxPyEndAllowThreads(__tstate
);
26696 if (PyErr_Occurred()) SWIG_fail
;
26698 Py_INCREF(Py_None
); resultobj
= Py_None
;
26705 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26706 PyObject
*resultobj
;
26707 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26708 wxTreeItemId
*arg2
= 0 ;
26709 wxColour
*arg3
= 0 ;
26711 PyObject
* obj0
= 0 ;
26712 PyObject
* obj1
= 0 ;
26713 PyObject
* obj2
= 0 ;
26714 char *kwnames
[] = {
26715 (char *) "self",(char *) "item",(char *) "col", NULL
26718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26721 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26722 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26724 if (arg2
== NULL
) {
26725 PyErr_SetString(PyExc_TypeError
,"null reference");
26730 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26734 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
26736 wxPyEndAllowThreads(__tstate
);
26737 if (PyErr_Occurred()) SWIG_fail
;
26739 Py_INCREF(Py_None
); resultobj
= Py_None
;
26746 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26747 PyObject
*resultobj
;
26748 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26749 wxTreeItemId
*arg2
= 0 ;
26751 PyObject
* obj0
= 0 ;
26752 PyObject
* obj1
= 0 ;
26753 PyObject
* obj2
= 0 ;
26754 char *kwnames
[] = {
26755 (char *) "self",(char *) "item",(char *) "font", NULL
26758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26761 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26762 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26764 if (arg2
== NULL
) {
26765 PyErr_SetString(PyExc_TypeError
,"null reference");
26768 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
26769 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26771 if (arg3
== NULL
) {
26772 PyErr_SetString(PyExc_TypeError
,"null reference");
26776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26777 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
26779 wxPyEndAllowThreads(__tstate
);
26780 if (PyErr_Occurred()) SWIG_fail
;
26782 Py_INCREF(Py_None
); resultobj
= Py_None
;
26789 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26790 PyObject
*resultobj
;
26791 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26792 wxTreeItemId
*arg2
= 0 ;
26794 PyObject
* obj0
= 0 ;
26795 PyObject
* obj1
= 0 ;
26796 char *kwnames
[] = {
26797 (char *) "self",(char *) "item", NULL
26800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26803 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26804 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26806 if (arg2
== NULL
) {
26807 PyErr_SetString(PyExc_TypeError
,"null reference");
26811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26812 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
26814 wxPyEndAllowThreads(__tstate
);
26815 if (PyErr_Occurred()) SWIG_fail
;
26818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26826 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26827 PyObject
*resultobj
;
26828 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26829 wxTreeItemId
*arg2
= 0 ;
26831 PyObject
* obj0
= 0 ;
26832 PyObject
* obj1
= 0 ;
26833 char *kwnames
[] = {
26834 (char *) "self",(char *) "item", NULL
26837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26840 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26841 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26843 if (arg2
== NULL
) {
26844 PyErr_SetString(PyExc_TypeError
,"null reference");
26848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26849 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
26851 wxPyEndAllowThreads(__tstate
);
26852 if (PyErr_Occurred()) SWIG_fail
;
26855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26863 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26864 PyObject
*resultobj
;
26865 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26866 wxTreeItemId
*arg2
= 0 ;
26868 PyObject
* obj0
= 0 ;
26869 PyObject
* obj1
= 0 ;
26870 char *kwnames
[] = {
26871 (char *) "self",(char *) "item", NULL
26874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
26875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26877 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26878 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26880 if (arg2
== NULL
) {
26881 PyErr_SetString(PyExc_TypeError
,"null reference");
26885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26886 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
26888 wxPyEndAllowThreads(__tstate
);
26889 if (PyErr_Occurred()) SWIG_fail
;
26892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26900 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26901 PyObject
*resultobj
;
26902 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26903 wxTreeItemId
*arg2
= 0 ;
26905 PyObject
* obj0
= 0 ;
26906 PyObject
* obj1
= 0 ;
26907 char *kwnames
[] = {
26908 (char *) "self",(char *) "item", NULL
26911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26914 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26915 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26917 if (arg2
== NULL
) {
26918 PyErr_SetString(PyExc_TypeError
,"null reference");
26922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26923 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
26925 wxPyEndAllowThreads(__tstate
);
26926 if (PyErr_Occurred()) SWIG_fail
;
26929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26937 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26938 PyObject
*resultobj
;
26939 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26940 wxTreeItemId
*arg2
= 0 ;
26942 PyObject
* obj0
= 0 ;
26943 PyObject
* obj1
= 0 ;
26944 char *kwnames
[] = {
26945 (char *) "self",(char *) "item", NULL
26948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
26949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26951 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26952 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26954 if (arg2
== NULL
) {
26955 PyErr_SetString(PyExc_TypeError
,"null reference");
26959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26960 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
26962 wxPyEndAllowThreads(__tstate
);
26963 if (PyErr_Occurred()) SWIG_fail
;
26966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26974 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26975 PyObject
*resultobj
;
26976 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26977 wxTreeItemId
*arg2
= 0 ;
26978 bool arg3
= (bool) true ;
26980 PyObject
* obj0
= 0 ;
26981 PyObject
* obj1
= 0 ;
26982 PyObject
* obj2
= 0 ;
26983 char *kwnames
[] = {
26984 (char *) "self",(char *) "item",(char *) "recursively", NULL
26987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26990 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26991 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26993 if (arg2
== NULL
) {
26994 PyErr_SetString(PyExc_TypeError
,"null reference");
26998 arg3
= (bool)SWIG_As_bool(obj2
);
26999 if (PyErr_Occurred()) SWIG_fail
;
27002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27003 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
27005 wxPyEndAllowThreads(__tstate
);
27006 if (PyErr_Occurred()) SWIG_fail
;
27008 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
27015 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27016 PyObject
*resultobj
;
27017 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27018 wxTreeItemId result
;
27019 PyObject
* obj0
= 0 ;
27020 char *kwnames
[] = {
27021 (char *) "self", NULL
27024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
27025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27029 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
27031 wxPyEndAllowThreads(__tstate
);
27032 if (PyErr_Occurred()) SWIG_fail
;
27035 wxTreeItemId
* resultptr
;
27036 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27037 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27045 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27046 PyObject
*resultobj
;
27047 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27048 wxTreeItemId result
;
27049 PyObject
* obj0
= 0 ;
27050 char *kwnames
[] = {
27051 (char *) "self", NULL
27054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
27055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27059 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
27061 wxPyEndAllowThreads(__tstate
);
27062 if (PyErr_Occurred()) SWIG_fail
;
27065 wxTreeItemId
* resultptr
;
27066 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27067 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27075 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27076 PyObject
*resultobj
;
27077 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27079 PyObject
* obj0
= 0 ;
27080 char *kwnames
[] = {
27081 (char *) "self", NULL
27084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
27085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27089 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
27091 wxPyEndAllowThreads(__tstate
);
27092 if (PyErr_Occurred()) SWIG_fail
;
27094 resultobj
= result
;
27101 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27102 PyObject
*resultobj
;
27103 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27104 wxTreeItemId
*arg2
= 0 ;
27105 wxTreeItemId result
;
27106 PyObject
* obj0
= 0 ;
27107 PyObject
* obj1
= 0 ;
27108 char *kwnames
[] = {
27109 (char *) "self",(char *) "item", NULL
27112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
27113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27115 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27116 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27118 if (arg2
== NULL
) {
27119 PyErr_SetString(PyExc_TypeError
,"null reference");
27123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27124 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
27126 wxPyEndAllowThreads(__tstate
);
27127 if (PyErr_Occurred()) SWIG_fail
;
27130 wxTreeItemId
* resultptr
;
27131 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27132 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27140 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27141 PyObject
*resultobj
;
27142 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27143 wxTreeItemId
*arg2
= 0 ;
27145 PyObject
* obj0
= 0 ;
27146 PyObject
* obj1
= 0 ;
27147 char *kwnames
[] = {
27148 (char *) "self",(char *) "item", NULL
27151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
27152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27154 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27155 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27157 if (arg2
== NULL
) {
27158 PyErr_SetString(PyExc_TypeError
,"null reference");
27162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27163 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
27165 wxPyEndAllowThreads(__tstate
);
27166 if (PyErr_Occurred()) SWIG_fail
;
27168 resultobj
= result
;
27175 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27176 PyObject
*resultobj
;
27177 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27178 wxTreeItemId
*arg2
= 0 ;
27179 void *arg3
= (void *) 0 ;
27181 PyObject
* obj0
= 0 ;
27182 PyObject
* obj1
= 0 ;
27183 PyObject
* obj2
= 0 ;
27184 char *kwnames
[] = {
27185 (char *) "self",(char *) "item",(char *) "cookie", NULL
27188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27191 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27192 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27194 if (arg2
== NULL
) {
27195 PyErr_SetString(PyExc_TypeError
,"null reference");
27198 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27201 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
27203 wxPyEndAllowThreads(__tstate
);
27204 if (PyErr_Occurred()) SWIG_fail
;
27206 resultobj
= result
;
27213 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27214 PyObject
*resultobj
;
27215 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27216 wxTreeItemId
*arg2
= 0 ;
27217 wxTreeItemId result
;
27218 PyObject
* obj0
= 0 ;
27219 PyObject
* obj1
= 0 ;
27220 char *kwnames
[] = {
27221 (char *) "self",(char *) "item", NULL
27224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
27225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27227 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27228 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27230 if (arg2
== NULL
) {
27231 PyErr_SetString(PyExc_TypeError
,"null reference");
27235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27236 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
27238 wxPyEndAllowThreads(__tstate
);
27239 if (PyErr_Occurred()) SWIG_fail
;
27242 wxTreeItemId
* resultptr
;
27243 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27244 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27252 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27253 PyObject
*resultobj
;
27254 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27255 wxTreeItemId
*arg2
= 0 ;
27256 wxTreeItemId result
;
27257 PyObject
* obj0
= 0 ;
27258 PyObject
* obj1
= 0 ;
27259 char *kwnames
[] = {
27260 (char *) "self",(char *) "item", NULL
27263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
27264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27266 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27267 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27269 if (arg2
== NULL
) {
27270 PyErr_SetString(PyExc_TypeError
,"null reference");
27274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27275 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
27277 wxPyEndAllowThreads(__tstate
);
27278 if (PyErr_Occurred()) SWIG_fail
;
27281 wxTreeItemId
* resultptr
;
27282 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27283 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27291 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27292 PyObject
*resultobj
;
27293 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27294 wxTreeItemId
*arg2
= 0 ;
27295 wxTreeItemId result
;
27296 PyObject
* obj0
= 0 ;
27297 PyObject
* obj1
= 0 ;
27298 char *kwnames
[] = {
27299 (char *) "self",(char *) "item", NULL
27302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
27303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27305 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27306 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27308 if (arg2
== NULL
) {
27309 PyErr_SetString(PyExc_TypeError
,"null reference");
27313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27314 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
27316 wxPyEndAllowThreads(__tstate
);
27317 if (PyErr_Occurred()) SWIG_fail
;
27320 wxTreeItemId
* resultptr
;
27321 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27322 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27330 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27331 PyObject
*resultobj
;
27332 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27333 wxTreeItemId result
;
27334 PyObject
* obj0
= 0 ;
27335 char *kwnames
[] = {
27336 (char *) "self", NULL
27339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
27340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27344 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
27346 wxPyEndAllowThreads(__tstate
);
27347 if (PyErr_Occurred()) SWIG_fail
;
27350 wxTreeItemId
* resultptr
;
27351 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27352 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27360 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27361 PyObject
*resultobj
;
27362 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27363 wxTreeItemId
*arg2
= 0 ;
27364 wxTreeItemId result
;
27365 PyObject
* obj0
= 0 ;
27366 PyObject
* obj1
= 0 ;
27367 char *kwnames
[] = {
27368 (char *) "self",(char *) "item", NULL
27371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
27372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27374 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27375 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27377 if (arg2
== NULL
) {
27378 PyErr_SetString(PyExc_TypeError
,"null reference");
27382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27383 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
27385 wxPyEndAllowThreads(__tstate
);
27386 if (PyErr_Occurred()) SWIG_fail
;
27389 wxTreeItemId
* resultptr
;
27390 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27391 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27399 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27400 PyObject
*resultobj
;
27401 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27402 wxTreeItemId
*arg2
= 0 ;
27403 wxTreeItemId result
;
27404 PyObject
* obj0
= 0 ;
27405 PyObject
* obj1
= 0 ;
27406 char *kwnames
[] = {
27407 (char *) "self",(char *) "item", NULL
27410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
27411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27413 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27414 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27416 if (arg2
== NULL
) {
27417 PyErr_SetString(PyExc_TypeError
,"null reference");
27421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27422 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
27424 wxPyEndAllowThreads(__tstate
);
27425 if (PyErr_Occurred()) SWIG_fail
;
27428 wxTreeItemId
* resultptr
;
27429 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27430 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27438 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27439 PyObject
*resultobj
;
27440 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27441 wxString
*arg2
= 0 ;
27442 int arg3
= (int) -1 ;
27443 int arg4
= (int) -1 ;
27444 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
27445 wxTreeItemId result
;
27446 bool temp2
= false ;
27447 PyObject
* obj0
= 0 ;
27448 PyObject
* obj1
= 0 ;
27449 PyObject
* obj2
= 0 ;
27450 PyObject
* obj3
= 0 ;
27451 PyObject
* obj4
= 0 ;
27452 char *kwnames
[] = {
27453 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27460 arg2
= wxString_in_helper(obj1
);
27461 if (arg2
== NULL
) SWIG_fail
;
27465 arg3
= (int)SWIG_As_int(obj2
);
27466 if (PyErr_Occurred()) SWIG_fail
;
27469 arg4
= (int)SWIG_As_int(obj3
);
27470 if (PyErr_Occurred()) SWIG_fail
;
27473 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
,
27474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27478 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
27480 wxPyEndAllowThreads(__tstate
);
27481 if (PyErr_Occurred()) SWIG_fail
;
27484 wxTreeItemId
* resultptr
;
27485 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27486 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27502 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27503 PyObject
*resultobj
;
27504 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27505 wxTreeItemId
*arg2
= 0 ;
27506 wxString
*arg3
= 0 ;
27507 int arg4
= (int) -1 ;
27508 int arg5
= (int) -1 ;
27509 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
27510 wxTreeItemId result
;
27511 bool temp3
= false ;
27512 PyObject
* obj0
= 0 ;
27513 PyObject
* obj1
= 0 ;
27514 PyObject
* obj2
= 0 ;
27515 PyObject
* obj3
= 0 ;
27516 PyObject
* obj4
= 0 ;
27517 PyObject
* obj5
= 0 ;
27518 char *kwnames
[] = {
27519 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27525 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27526 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27528 if (arg2
== NULL
) {
27529 PyErr_SetString(PyExc_TypeError
,"null reference");
27533 arg3
= wxString_in_helper(obj2
);
27534 if (arg3
== NULL
) SWIG_fail
;
27538 arg4
= (int)SWIG_As_int(obj3
);
27539 if (PyErr_Occurred()) SWIG_fail
;
27542 arg5
= (int)SWIG_As_int(obj4
);
27543 if (PyErr_Occurred()) SWIG_fail
;
27546 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
27547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27551 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
27553 wxPyEndAllowThreads(__tstate
);
27554 if (PyErr_Occurred()) SWIG_fail
;
27557 wxTreeItemId
* resultptr
;
27558 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27559 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27575 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27576 PyObject
*resultobj
;
27577 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27578 wxTreeItemId
*arg2
= 0 ;
27579 wxTreeItemId
*arg3
= 0 ;
27580 wxString
*arg4
= 0 ;
27581 int arg5
= (int) -1 ;
27582 int arg6
= (int) -1 ;
27583 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
27584 wxTreeItemId result
;
27585 bool temp4
= false ;
27586 PyObject
* obj0
= 0 ;
27587 PyObject
* obj1
= 0 ;
27588 PyObject
* obj2
= 0 ;
27589 PyObject
* obj3
= 0 ;
27590 PyObject
* obj4
= 0 ;
27591 PyObject
* obj5
= 0 ;
27592 PyObject
* obj6
= 0 ;
27593 char *kwnames
[] = {
27594 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27600 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27601 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27603 if (arg2
== NULL
) {
27604 PyErr_SetString(PyExc_TypeError
,"null reference");
27607 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
,
27608 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27610 if (arg3
== NULL
) {
27611 PyErr_SetString(PyExc_TypeError
,"null reference");
27615 arg4
= wxString_in_helper(obj3
);
27616 if (arg4
== NULL
) SWIG_fail
;
27620 arg5
= (int)SWIG_As_int(obj4
);
27621 if (PyErr_Occurred()) SWIG_fail
;
27624 arg6
= (int)SWIG_As_int(obj5
);
27625 if (PyErr_Occurred()) SWIG_fail
;
27628 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
27629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27633 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
27635 wxPyEndAllowThreads(__tstate
);
27636 if (PyErr_Occurred()) SWIG_fail
;
27639 wxTreeItemId
* resultptr
;
27640 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27641 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27657 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27658 PyObject
*resultobj
;
27659 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27660 wxTreeItemId
*arg2
= 0 ;
27662 wxString
*arg4
= 0 ;
27663 int arg5
= (int) -1 ;
27664 int arg6
= (int) -1 ;
27665 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
27666 wxTreeItemId result
;
27667 bool temp4
= false ;
27668 PyObject
* obj0
= 0 ;
27669 PyObject
* obj1
= 0 ;
27670 PyObject
* obj2
= 0 ;
27671 PyObject
* obj3
= 0 ;
27672 PyObject
* obj4
= 0 ;
27673 PyObject
* obj5
= 0 ;
27674 PyObject
* obj6
= 0 ;
27675 char *kwnames
[] = {
27676 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27682 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27683 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27685 if (arg2
== NULL
) {
27686 PyErr_SetString(PyExc_TypeError
,"null reference");
27689 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
27690 if (PyErr_Occurred()) SWIG_fail
;
27692 arg4
= wxString_in_helper(obj3
);
27693 if (arg4
== NULL
) SWIG_fail
;
27697 arg5
= (int)SWIG_As_int(obj4
);
27698 if (PyErr_Occurred()) SWIG_fail
;
27701 arg6
= (int)SWIG_As_int(obj5
);
27702 if (PyErr_Occurred()) SWIG_fail
;
27705 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
27706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27710 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
27712 wxPyEndAllowThreads(__tstate
);
27713 if (PyErr_Occurred()) SWIG_fail
;
27716 wxTreeItemId
* resultptr
;
27717 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27718 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27734 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27735 PyObject
*resultobj
;
27736 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27737 wxTreeItemId
*arg2
= 0 ;
27738 wxString
*arg3
= 0 ;
27739 int arg4
= (int) -1 ;
27740 int arg5
= (int) -1 ;
27741 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
27742 wxTreeItemId result
;
27743 bool temp3
= false ;
27744 PyObject
* obj0
= 0 ;
27745 PyObject
* obj1
= 0 ;
27746 PyObject
* obj2
= 0 ;
27747 PyObject
* obj3
= 0 ;
27748 PyObject
* obj4
= 0 ;
27749 PyObject
* obj5
= 0 ;
27750 char *kwnames
[] = {
27751 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27757 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27758 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27760 if (arg2
== NULL
) {
27761 PyErr_SetString(PyExc_TypeError
,"null reference");
27765 arg3
= wxString_in_helper(obj2
);
27766 if (arg3
== NULL
) SWIG_fail
;
27770 arg4
= (int)SWIG_As_int(obj3
);
27771 if (PyErr_Occurred()) SWIG_fail
;
27774 arg5
= (int)SWIG_As_int(obj4
);
27775 if (PyErr_Occurred()) SWIG_fail
;
27778 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
27779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27783 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
27785 wxPyEndAllowThreads(__tstate
);
27786 if (PyErr_Occurred()) SWIG_fail
;
27789 wxTreeItemId
* resultptr
;
27790 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27791 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27807 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27808 PyObject
*resultobj
;
27809 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27810 wxTreeItemId
*arg2
= 0 ;
27811 PyObject
* obj0
= 0 ;
27812 PyObject
* obj1
= 0 ;
27813 char *kwnames
[] = {
27814 (char *) "self",(char *) "item", NULL
27817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
27818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27820 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27821 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27823 if (arg2
== NULL
) {
27824 PyErr_SetString(PyExc_TypeError
,"null reference");
27828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27829 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
27831 wxPyEndAllowThreads(__tstate
);
27832 if (PyErr_Occurred()) SWIG_fail
;
27834 Py_INCREF(Py_None
); resultobj
= Py_None
;
27841 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27842 PyObject
*resultobj
;
27843 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27844 wxTreeItemId
*arg2
= 0 ;
27845 PyObject
* obj0
= 0 ;
27846 PyObject
* obj1
= 0 ;
27847 char *kwnames
[] = {
27848 (char *) "self",(char *) "item", NULL
27851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
27852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27854 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27855 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27857 if (arg2
== NULL
) {
27858 PyErr_SetString(PyExc_TypeError
,"null reference");
27862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27863 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
27865 wxPyEndAllowThreads(__tstate
);
27866 if (PyErr_Occurred()) SWIG_fail
;
27868 Py_INCREF(Py_None
); resultobj
= Py_None
;
27875 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27876 PyObject
*resultobj
;
27877 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27878 PyObject
* obj0
= 0 ;
27879 char *kwnames
[] = {
27880 (char *) "self", NULL
27883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
27884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27888 (arg1
)->DeleteAllItems();
27890 wxPyEndAllowThreads(__tstate
);
27891 if (PyErr_Occurred()) SWIG_fail
;
27893 Py_INCREF(Py_None
); resultobj
= Py_None
;
27900 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27901 PyObject
*resultobj
;
27902 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27903 wxTreeItemId
*arg2
= 0 ;
27904 PyObject
* obj0
= 0 ;
27905 PyObject
* obj1
= 0 ;
27906 char *kwnames
[] = {
27907 (char *) "self",(char *) "item", NULL
27910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
27911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27913 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27914 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27916 if (arg2
== NULL
) {
27917 PyErr_SetString(PyExc_TypeError
,"null reference");
27921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27922 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
27924 wxPyEndAllowThreads(__tstate
);
27925 if (PyErr_Occurred()) SWIG_fail
;
27927 Py_INCREF(Py_None
); resultobj
= Py_None
;
27934 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27935 PyObject
*resultobj
;
27936 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27937 wxTreeItemId
*arg2
= 0 ;
27938 PyObject
* obj0
= 0 ;
27939 PyObject
* obj1
= 0 ;
27940 char *kwnames
[] = {
27941 (char *) "self",(char *) "item", NULL
27944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
27945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27947 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27948 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27950 if (arg2
== NULL
) {
27951 PyErr_SetString(PyExc_TypeError
,"null reference");
27955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27956 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
27958 wxPyEndAllowThreads(__tstate
);
27959 if (PyErr_Occurred()) SWIG_fail
;
27961 Py_INCREF(Py_None
); resultobj
= Py_None
;
27968 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27969 PyObject
*resultobj
;
27970 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27971 wxTreeItemId
*arg2
= 0 ;
27972 PyObject
* obj0
= 0 ;
27973 PyObject
* obj1
= 0 ;
27974 char *kwnames
[] = {
27975 (char *) "self",(char *) "item", NULL
27978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
27979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27981 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27982 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27984 if (arg2
== NULL
) {
27985 PyErr_SetString(PyExc_TypeError
,"null reference");
27989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27990 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
27992 wxPyEndAllowThreads(__tstate
);
27993 if (PyErr_Occurred()) SWIG_fail
;
27995 Py_INCREF(Py_None
); resultobj
= Py_None
;
28002 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28003 PyObject
*resultobj
;
28004 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28005 wxTreeItemId
*arg2
= 0 ;
28006 PyObject
* obj0
= 0 ;
28007 PyObject
* obj1
= 0 ;
28008 char *kwnames
[] = {
28009 (char *) "self",(char *) "item", NULL
28012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
28013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28015 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28016 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28018 if (arg2
== NULL
) {
28019 PyErr_SetString(PyExc_TypeError
,"null reference");
28023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28024 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
28026 wxPyEndAllowThreads(__tstate
);
28027 if (PyErr_Occurred()) SWIG_fail
;
28029 Py_INCREF(Py_None
); resultobj
= Py_None
;
28036 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28037 PyObject
*resultobj
;
28038 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28039 PyObject
* obj0
= 0 ;
28040 char *kwnames
[] = {
28041 (char *) "self", NULL
28044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
28045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28049 (arg1
)->Unselect();
28051 wxPyEndAllowThreads(__tstate
);
28052 if (PyErr_Occurred()) SWIG_fail
;
28054 Py_INCREF(Py_None
); resultobj
= Py_None
;
28061 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28062 PyObject
*resultobj
;
28063 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28064 wxTreeItemId
*arg2
= 0 ;
28065 PyObject
* obj0
= 0 ;
28066 PyObject
* obj1
= 0 ;
28067 char *kwnames
[] = {
28068 (char *) "self",(char *) "item", NULL
28071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28074 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28075 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28077 if (arg2
== NULL
) {
28078 PyErr_SetString(PyExc_TypeError
,"null reference");
28082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28083 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
28085 wxPyEndAllowThreads(__tstate
);
28086 if (PyErr_Occurred()) SWIG_fail
;
28088 Py_INCREF(Py_None
); resultobj
= Py_None
;
28095 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28096 PyObject
*resultobj
;
28097 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28098 PyObject
* obj0
= 0 ;
28099 char *kwnames
[] = {
28100 (char *) "self", NULL
28103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
28104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28108 (arg1
)->UnselectAll();
28110 wxPyEndAllowThreads(__tstate
);
28111 if (PyErr_Occurred()) SWIG_fail
;
28113 Py_INCREF(Py_None
); resultobj
= Py_None
;
28120 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28121 PyObject
*resultobj
;
28122 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28123 wxTreeItemId
*arg2
= 0 ;
28124 bool arg3
= (bool) true ;
28125 PyObject
* obj0
= 0 ;
28126 PyObject
* obj1
= 0 ;
28127 PyObject
* obj2
= 0 ;
28128 char *kwnames
[] = {
28129 (char *) "self",(char *) "item",(char *) "select", NULL
28132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28135 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28136 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28138 if (arg2
== NULL
) {
28139 PyErr_SetString(PyExc_TypeError
,"null reference");
28143 arg3
= (bool)SWIG_As_bool(obj2
);
28144 if (PyErr_Occurred()) SWIG_fail
;
28147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28148 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
28150 wxPyEndAllowThreads(__tstate
);
28151 if (PyErr_Occurred()) SWIG_fail
;
28153 Py_INCREF(Py_None
); resultobj
= Py_None
;
28160 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28161 PyObject
*resultobj
;
28162 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28163 wxTreeItemId
*arg2
= 0 ;
28164 PyObject
* obj0
= 0 ;
28165 PyObject
* obj1
= 0 ;
28166 char *kwnames
[] = {
28167 (char *) "self",(char *) "item", NULL
28170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
28171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28173 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28174 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28176 if (arg2
== NULL
) {
28177 PyErr_SetString(PyExc_TypeError
,"null reference");
28181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28182 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
28184 wxPyEndAllowThreads(__tstate
);
28185 if (PyErr_Occurred()) SWIG_fail
;
28187 Py_INCREF(Py_None
); resultobj
= Py_None
;
28194 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28195 PyObject
*resultobj
;
28196 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28197 wxTreeItemId
*arg2
= 0 ;
28198 PyObject
* obj0
= 0 ;
28199 PyObject
* obj1
= 0 ;
28200 char *kwnames
[] = {
28201 (char *) "self",(char *) "item", NULL
28204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
28205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28207 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28208 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28210 if (arg2
== NULL
) {
28211 PyErr_SetString(PyExc_TypeError
,"null reference");
28215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28216 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
28218 wxPyEndAllowThreads(__tstate
);
28219 if (PyErr_Occurred()) SWIG_fail
;
28221 Py_INCREF(Py_None
); resultobj
= Py_None
;
28228 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28229 PyObject
*resultobj
;
28230 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28231 wxTreeItemId
*arg2
= 0 ;
28232 PyObject
* obj0
= 0 ;
28233 PyObject
* obj1
= 0 ;
28234 char *kwnames
[] = {
28235 (char *) "self",(char *) "item", NULL
28238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
28239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28241 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28242 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28244 if (arg2
== NULL
) {
28245 PyErr_SetString(PyExc_TypeError
,"null reference");
28249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28250 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
28252 wxPyEndAllowThreads(__tstate
);
28253 if (PyErr_Occurred()) SWIG_fail
;
28255 Py_INCREF(Py_None
); resultobj
= Py_None
;
28262 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28263 PyObject
*resultobj
;
28264 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28265 wxTreeItemId
*arg2
= 0 ;
28266 PyObject
* obj0
= 0 ;
28267 PyObject
* obj1
= 0 ;
28268 char *kwnames
[] = {
28269 (char *) "self",(char *) "item", NULL
28272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
28273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28275 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28276 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28278 if (arg2
== NULL
) {
28279 PyErr_SetString(PyExc_TypeError
,"null reference");
28283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28284 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
28286 wxPyEndAllowThreads(__tstate
);
28287 if (PyErr_Occurred()) SWIG_fail
;
28289 Py_INCREF(Py_None
); resultobj
= Py_None
;
28296 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28297 PyObject
*resultobj
;
28298 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28299 wxTextCtrl
*result
;
28300 PyObject
* obj0
= 0 ;
28301 char *kwnames
[] = {
28302 (char *) "self", NULL
28305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
28306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28310 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
28312 wxPyEndAllowThreads(__tstate
);
28313 if (PyErr_Occurred()) SWIG_fail
;
28316 resultobj
= wxPyMake_wxObject(result
, 0);
28324 static PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28325 PyObject
*resultobj
;
28326 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28327 wxTreeItemId
*arg2
= 0 ;
28328 bool arg3
= (bool) false ;
28329 PyObject
* obj0
= 0 ;
28330 PyObject
* obj1
= 0 ;
28331 PyObject
* obj2
= 0 ;
28332 char *kwnames
[] = {
28333 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
28336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28339 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28340 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28342 if (arg2
== NULL
) {
28343 PyErr_SetString(PyExc_TypeError
,"null reference");
28347 arg3
= (bool)SWIG_As_bool(obj2
);
28348 if (PyErr_Occurred()) SWIG_fail
;
28351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28352 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
28354 wxPyEndAllowThreads(__tstate
);
28355 if (PyErr_Occurred()) SWIG_fail
;
28357 Py_INCREF(Py_None
); resultobj
= Py_None
;
28364 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28365 PyObject
*resultobj
;
28366 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28367 wxTreeItemId
*arg2
= 0 ;
28368 PyObject
* obj0
= 0 ;
28369 PyObject
* obj1
= 0 ;
28370 char *kwnames
[] = {
28371 (char *) "self",(char *) "item", NULL
28374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
28375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28377 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28378 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28380 if (arg2
== NULL
) {
28381 PyErr_SetString(PyExc_TypeError
,"null reference");
28385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28386 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
28388 wxPyEndAllowThreads(__tstate
);
28389 if (PyErr_Occurred()) SWIG_fail
;
28391 Py_INCREF(Py_None
); resultobj
= Py_None
;
28398 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28399 PyObject
*resultobj
;
28400 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28401 wxPoint
*arg2
= 0 ;
28403 wxTreeItemId result
;
28407 PyObject
* obj0
= 0 ;
28408 PyObject
* obj1
= 0 ;
28409 char *kwnames
[] = {
28410 (char *) "self",(char *) "point", NULL
28413 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
28414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
28415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28419 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28423 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
28425 wxPyEndAllowThreads(__tstate
);
28426 if (PyErr_Occurred()) SWIG_fail
;
28429 wxTreeItemId
* resultptr
;
28430 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28431 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28433 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
28434 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
28441 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28442 PyObject
*resultobj
;
28443 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28444 wxTreeItemId
*arg2
= 0 ;
28445 bool arg3
= (bool) false ;
28447 PyObject
* obj0
= 0 ;
28448 PyObject
* obj1
= 0 ;
28449 PyObject
* obj2
= 0 ;
28450 char *kwnames
[] = {
28451 (char *) "self",(char *) "item",(char *) "textOnly", NULL
28454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28457 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28458 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28460 if (arg2
== NULL
) {
28461 PyErr_SetString(PyExc_TypeError
,"null reference");
28465 arg3
= (bool)SWIG_As_bool(obj2
);
28466 if (PyErr_Occurred()) SWIG_fail
;
28469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28470 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
28472 wxPyEndAllowThreads(__tstate
);
28473 if (PyErr_Occurred()) SWIG_fail
;
28475 resultobj
= result
;
28482 static PyObject
*_wrap_TreeCtrl_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28483 PyObject
*resultobj
;
28484 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28485 wxTreeItemId
*arg2
= 0 ;
28487 PyObject
* obj0
= 0 ;
28488 PyObject
* obj1
= 0 ;
28489 PyObject
* obj2
= 0 ;
28490 char *kwnames
[] = {
28491 (char *) "self",(char *) "node",(char *) "state", NULL
28494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28497 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28498 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28500 if (arg2
== NULL
) {
28501 PyErr_SetString(PyExc_TypeError
,"null reference");
28504 arg3
= (int)SWIG_As_int(obj2
);
28505 if (PyErr_Occurred()) SWIG_fail
;
28507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28508 (arg1
)->SetState((wxTreeItemId
const &)*arg2
,arg3
);
28510 wxPyEndAllowThreads(__tstate
);
28511 if (PyErr_Occurred()) SWIG_fail
;
28513 Py_INCREF(Py_None
); resultobj
= Py_None
;
28520 static PyObject
*_wrap_TreeCtrl_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28521 PyObject
*resultobj
;
28522 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28523 wxTreeItemId
*arg2
= 0 ;
28525 PyObject
* obj0
= 0 ;
28526 PyObject
* obj1
= 0 ;
28527 char *kwnames
[] = {
28528 (char *) "self",(char *) "node", NULL
28531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetState",kwnames
,&obj0
,&obj1
)) goto fail
;
28532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28534 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28535 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28537 if (arg2
== NULL
) {
28538 PyErr_SetString(PyExc_TypeError
,"null reference");
28542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28543 result
= (int)(arg1
)->GetState((wxTreeItemId
const &)*arg2
);
28545 wxPyEndAllowThreads(__tstate
);
28546 if (PyErr_Occurred()) SWIG_fail
;
28548 resultobj
= SWIG_From_int((int)result
);
28555 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28556 PyObject
*resultobj
;
28557 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
28558 wxVisualAttributes result
;
28559 PyObject
* obj0
= 0 ;
28560 char *kwnames
[] = {
28561 (char *) "variant", NULL
28564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
28566 arg1
= (int)SWIG_As_int(obj0
);
28567 if (PyErr_Occurred()) SWIG_fail
;
28570 if (!wxPyCheckForApp()) SWIG_fail
;
28571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28572 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
28574 wxPyEndAllowThreads(__tstate
);
28575 if (PyErr_Occurred()) SWIG_fail
;
28578 wxVisualAttributes
* resultptr
;
28579 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
28580 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
28588 static PyObject
* TreeCtrl_swigregister(PyObject
*, PyObject
*args
) {
28590 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28591 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
28593 return Py_BuildValue((char *)"");
28595 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
28596 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
28601 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
28606 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
28608 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
28615 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28616 PyObject
*resultobj
;
28617 wxWindow
*arg1
= (wxWindow
*) 0 ;
28618 int arg2
= (int) (int)-1 ;
28619 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
28620 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
28621 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28622 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28623 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28624 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28625 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
28626 wxString
const &arg7_defvalue
= wxPyEmptyString
;
28627 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28628 int arg8
= (int) 0 ;
28629 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
28630 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
28631 wxGenericDirCtrl
*result
;
28632 bool temp3
= false ;
28635 bool temp7
= false ;
28636 bool temp9
= false ;
28637 PyObject
* obj0
= 0 ;
28638 PyObject
* obj1
= 0 ;
28639 PyObject
* obj2
= 0 ;
28640 PyObject
* obj3
= 0 ;
28641 PyObject
* obj4
= 0 ;
28642 PyObject
* obj5
= 0 ;
28643 PyObject
* obj6
= 0 ;
28644 PyObject
* obj7
= 0 ;
28645 PyObject
* obj8
= 0 ;
28646 char *kwnames
[] = {
28647 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
28651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28654 arg2
= (int)SWIG_As_int(obj1
);
28655 if (PyErr_Occurred()) SWIG_fail
;
28659 arg3
= wxString_in_helper(obj2
);
28660 if (arg3
== NULL
) SWIG_fail
;
28667 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28673 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28677 arg6
= (long)SWIG_As_long(obj5
);
28678 if (PyErr_Occurred()) SWIG_fail
;
28682 arg7
= wxString_in_helper(obj6
);
28683 if (arg7
== NULL
) SWIG_fail
;
28688 arg8
= (int)SWIG_As_int(obj7
);
28689 if (PyErr_Occurred()) SWIG_fail
;
28693 arg9
= wxString_in_helper(obj8
);
28694 if (arg9
== NULL
) SWIG_fail
;
28699 if (!wxPyCheckForApp()) SWIG_fail
;
28700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28701 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
28703 wxPyEndAllowThreads(__tstate
);
28704 if (PyErr_Occurred()) SWIG_fail
;
28706 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
28737 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28738 PyObject
*resultobj
;
28739 wxGenericDirCtrl
*result
;
28740 char *kwnames
[] = {
28744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
28746 if (!wxPyCheckForApp()) SWIG_fail
;
28747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28748 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
28750 wxPyEndAllowThreads(__tstate
);
28751 if (PyErr_Occurred()) SWIG_fail
;
28753 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
28760 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28761 PyObject
*resultobj
;
28762 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28763 wxWindow
*arg2
= (wxWindow
*) 0 ;
28764 int arg3
= (int) (int)-1 ;
28765 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
28766 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28767 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
28768 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
28769 wxSize
const &arg6_defvalue
= wxDefaultSize
;
28770 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
28771 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
28772 wxString
const &arg8_defvalue
= wxPyEmptyString
;
28773 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28774 int arg9
= (int) 0 ;
28775 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
28776 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
28778 bool temp4
= false ;
28781 bool temp8
= false ;
28782 bool temp10
= false ;
28783 PyObject
* obj0
= 0 ;
28784 PyObject
* obj1
= 0 ;
28785 PyObject
* obj2
= 0 ;
28786 PyObject
* obj3
= 0 ;
28787 PyObject
* obj4
= 0 ;
28788 PyObject
* obj5
= 0 ;
28789 PyObject
* obj6
= 0 ;
28790 PyObject
* obj7
= 0 ;
28791 PyObject
* obj8
= 0 ;
28792 PyObject
* obj9
= 0 ;
28793 char *kwnames
[] = {
28794 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
28798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28800 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28803 arg3
= (int)SWIG_As_int(obj2
);
28804 if (PyErr_Occurred()) SWIG_fail
;
28808 arg4
= wxString_in_helper(obj3
);
28809 if (arg4
== NULL
) SWIG_fail
;
28816 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
28822 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
28826 arg7
= (long)SWIG_As_long(obj6
);
28827 if (PyErr_Occurred()) SWIG_fail
;
28831 arg8
= wxString_in_helper(obj7
);
28832 if (arg8
== NULL
) SWIG_fail
;
28837 arg9
= (int)SWIG_As_int(obj8
);
28838 if (PyErr_Occurred()) SWIG_fail
;
28842 arg10
= wxString_in_helper(obj9
);
28843 if (arg10
== NULL
) SWIG_fail
;
28848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28849 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
28851 wxPyEndAllowThreads(__tstate
);
28852 if (PyErr_Occurred()) SWIG_fail
;
28855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28887 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28888 PyObject
*resultobj
;
28889 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28890 wxString
*arg2
= 0 ;
28892 bool temp2
= false ;
28893 PyObject
* obj0
= 0 ;
28894 PyObject
* obj1
= 0 ;
28895 char *kwnames
[] = {
28896 (char *) "self",(char *) "path", NULL
28899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28903 arg2
= wxString_in_helper(obj1
);
28904 if (arg2
== NULL
) SWIG_fail
;
28908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28909 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
28911 wxPyEndAllowThreads(__tstate
);
28912 if (PyErr_Occurred()) SWIG_fail
;
28915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28931 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28932 PyObject
*resultobj
;
28933 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28935 PyObject
* obj0
= 0 ;
28936 char *kwnames
[] = {
28937 (char *) "self", NULL
28940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
28941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28945 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
28947 wxPyEndAllowThreads(__tstate
);
28948 if (PyErr_Occurred()) SWIG_fail
;
28952 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28954 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28963 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28964 PyObject
*resultobj
;
28965 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28966 wxString
*arg2
= 0 ;
28967 bool temp2
= false ;
28968 PyObject
* obj0
= 0 ;
28969 PyObject
* obj1
= 0 ;
28970 char *kwnames
[] = {
28971 (char *) "self",(char *) "path", NULL
28974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28978 arg2
= wxString_in_helper(obj1
);
28979 if (arg2
== NULL
) SWIG_fail
;
28983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28984 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
28986 wxPyEndAllowThreads(__tstate
);
28987 if (PyErr_Occurred()) SWIG_fail
;
28989 Py_INCREF(Py_None
); resultobj
= Py_None
;
29004 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29005 PyObject
*resultobj
;
29006 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29008 PyObject
* obj0
= 0 ;
29009 char *kwnames
[] = {
29010 (char *) "self", NULL
29013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
29014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29018 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
29020 wxPyEndAllowThreads(__tstate
);
29021 if (PyErr_Occurred()) SWIG_fail
;
29025 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29027 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29036 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29037 PyObject
*resultobj
;
29038 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29040 PyObject
* obj0
= 0 ;
29041 char *kwnames
[] = {
29042 (char *) "self", NULL
29045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
29046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29050 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
29052 wxPyEndAllowThreads(__tstate
);
29053 if (PyErr_Occurred()) SWIG_fail
;
29057 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29059 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29068 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29069 PyObject
*resultobj
;
29070 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29071 wxString
*arg2
= 0 ;
29072 bool temp2
= false ;
29073 PyObject
* obj0
= 0 ;
29074 PyObject
* obj1
= 0 ;
29075 char *kwnames
[] = {
29076 (char *) "self",(char *) "path", NULL
29079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
29080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29083 arg2
= wxString_in_helper(obj1
);
29084 if (arg2
== NULL
) SWIG_fail
;
29088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29089 (arg1
)->SetPath((wxString
const &)*arg2
);
29091 wxPyEndAllowThreads(__tstate
);
29092 if (PyErr_Occurred()) SWIG_fail
;
29094 Py_INCREF(Py_None
); resultobj
= Py_None
;
29109 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29110 PyObject
*resultobj
;
29111 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29113 PyObject
* obj0
= 0 ;
29114 PyObject
* obj1
= 0 ;
29115 char *kwnames
[] = {
29116 (char *) "self",(char *) "show", NULL
29119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
29120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29122 arg2
= (bool)SWIG_As_bool(obj1
);
29123 if (PyErr_Occurred()) SWIG_fail
;
29125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29126 (arg1
)->ShowHidden(arg2
);
29128 wxPyEndAllowThreads(__tstate
);
29129 if (PyErr_Occurred()) SWIG_fail
;
29131 Py_INCREF(Py_None
); resultobj
= Py_None
;
29138 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29139 PyObject
*resultobj
;
29140 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29142 PyObject
* obj0
= 0 ;
29143 char *kwnames
[] = {
29144 (char *) "self", NULL
29147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
29148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29152 result
= (bool)(arg1
)->GetShowHidden();
29154 wxPyEndAllowThreads(__tstate
);
29155 if (PyErr_Occurred()) SWIG_fail
;
29158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29166 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29167 PyObject
*resultobj
;
29168 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29170 PyObject
* obj0
= 0 ;
29171 char *kwnames
[] = {
29172 (char *) "self", NULL
29175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
29176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29180 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
29182 wxPyEndAllowThreads(__tstate
);
29183 if (PyErr_Occurred()) SWIG_fail
;
29187 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29189 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29198 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29199 PyObject
*resultobj
;
29200 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29201 wxString
*arg2
= 0 ;
29202 bool temp2
= false ;
29203 PyObject
* obj0
= 0 ;
29204 PyObject
* obj1
= 0 ;
29205 char *kwnames
[] = {
29206 (char *) "self",(char *) "filter", NULL
29209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
29210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29213 arg2
= wxString_in_helper(obj1
);
29214 if (arg2
== NULL
) SWIG_fail
;
29218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29219 (arg1
)->SetFilter((wxString
const &)*arg2
);
29221 wxPyEndAllowThreads(__tstate
);
29222 if (PyErr_Occurred()) SWIG_fail
;
29224 Py_INCREF(Py_None
); resultobj
= Py_None
;
29239 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29240 PyObject
*resultobj
;
29241 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29243 PyObject
* obj0
= 0 ;
29244 char *kwnames
[] = {
29245 (char *) "self", NULL
29248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
29249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29253 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
29255 wxPyEndAllowThreads(__tstate
);
29256 if (PyErr_Occurred()) SWIG_fail
;
29258 resultobj
= SWIG_From_int((int)result
);
29265 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29266 PyObject
*resultobj
;
29267 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29269 PyObject
* obj0
= 0 ;
29270 PyObject
* obj1
= 0 ;
29271 char *kwnames
[] = {
29272 (char *) "self",(char *) "n", NULL
29275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
29276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29278 arg2
= (int)SWIG_As_int(obj1
);
29279 if (PyErr_Occurred()) SWIG_fail
;
29281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29282 (arg1
)->SetFilterIndex(arg2
);
29284 wxPyEndAllowThreads(__tstate
);
29285 if (PyErr_Occurred()) SWIG_fail
;
29287 Py_INCREF(Py_None
); resultobj
= Py_None
;
29294 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29295 PyObject
*resultobj
;
29296 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29297 wxTreeItemId result
;
29298 PyObject
* obj0
= 0 ;
29299 char *kwnames
[] = {
29300 (char *) "self", NULL
29303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
29304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29308 result
= (arg1
)->GetRootId();
29310 wxPyEndAllowThreads(__tstate
);
29311 if (PyErr_Occurred()) SWIG_fail
;
29314 wxTreeItemId
* resultptr
;
29315 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
29316 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29324 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29325 PyObject
*resultobj
;
29326 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29327 wxPyTreeCtrl
*result
;
29328 PyObject
* obj0
= 0 ;
29329 char *kwnames
[] = {
29330 (char *) "self", NULL
29333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
29334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29338 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
29340 wxPyEndAllowThreads(__tstate
);
29341 if (PyErr_Occurred()) SWIG_fail
;
29344 resultobj
= wxPyMake_wxObject(result
, 0);
29352 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29353 PyObject
*resultobj
;
29354 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29355 wxDirFilterListCtrl
*result
;
29356 PyObject
* obj0
= 0 ;
29357 char *kwnames
[] = {
29358 (char *) "self", NULL
29361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
29362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29366 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
29368 wxPyEndAllowThreads(__tstate
);
29369 if (PyErr_Occurred()) SWIG_fail
;
29371 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
29378 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29379 PyObject
*resultobj
;
29380 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29381 wxTreeItemId arg2
;
29382 wxString
*arg3
= 0 ;
29384 wxTreeItemId result
;
29385 wxTreeItemId
*argp2
;
29386 bool temp3
= false ;
29389 PyObject
* obj0
= 0 ;
29390 PyObject
* obj1
= 0 ;
29391 PyObject
* obj2
= 0 ;
29392 char *kwnames
[] = {
29393 (char *) "self",(char *) "parentId",(char *) "path", NULL
29396 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
29397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29400 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
,
29401 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
29404 arg3
= wxString_in_helper(obj2
);
29405 if (arg3
== NULL
) SWIG_fail
;
29409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29410 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
29412 wxPyEndAllowThreads(__tstate
);
29413 if (PyErr_Occurred()) SWIG_fail
;
29416 wxTreeItemId
* resultptr
;
29417 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
29418 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29420 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
29421 SWIG_From_bool((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, 0)));
29436 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29437 PyObject
*resultobj
;
29438 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29439 PyObject
* obj0
= 0 ;
29440 char *kwnames
[] = {
29441 (char *) "self", NULL
29444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
29445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29449 (arg1
)->DoResize();
29451 wxPyEndAllowThreads(__tstate
);
29452 if (PyErr_Occurred()) SWIG_fail
;
29454 Py_INCREF(Py_None
); resultobj
= Py_None
;
29461 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29462 PyObject
*resultobj
;
29463 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29464 PyObject
* obj0
= 0 ;
29465 char *kwnames
[] = {
29466 (char *) "self", NULL
29469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
29470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29474 (arg1
)->ReCreateTree();
29476 wxPyEndAllowThreads(__tstate
);
29477 if (PyErr_Occurred()) SWIG_fail
;
29479 Py_INCREF(Py_None
); resultobj
= Py_None
;
29486 static PyObject
* GenericDirCtrl_swigregister(PyObject
*, PyObject
*args
) {
29488 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29489 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
29491 return Py_BuildValue((char *)"");
29493 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29494 PyObject
*resultobj
;
29495 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29496 int arg2
= (int) (int)-1 ;
29497 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29498 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29499 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29500 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29501 long arg5
= (long) 0 ;
29502 wxDirFilterListCtrl
*result
;
29505 PyObject
* obj0
= 0 ;
29506 PyObject
* obj1
= 0 ;
29507 PyObject
* obj2
= 0 ;
29508 PyObject
* obj3
= 0 ;
29509 PyObject
* obj4
= 0 ;
29510 char *kwnames
[] = {
29511 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29518 arg2
= (int)SWIG_As_int(obj1
);
29519 if (PyErr_Occurred()) SWIG_fail
;
29524 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29530 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29534 arg5
= (long)SWIG_As_long(obj4
);
29535 if (PyErr_Occurred()) SWIG_fail
;
29538 if (!wxPyCheckForApp()) SWIG_fail
;
29539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29540 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
29542 wxPyEndAllowThreads(__tstate
);
29543 if (PyErr_Occurred()) SWIG_fail
;
29545 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
29552 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29553 PyObject
*resultobj
;
29554 wxDirFilterListCtrl
*result
;
29555 char *kwnames
[] = {
29559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
29561 if (!wxPyCheckForApp()) SWIG_fail
;
29562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29563 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
29565 wxPyEndAllowThreads(__tstate
);
29566 if (PyErr_Occurred()) SWIG_fail
;
29568 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
29575 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29576 PyObject
*resultobj
;
29577 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
29578 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
29579 int arg3
= (int) (int)-1 ;
29580 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29581 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29582 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29583 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29584 long arg6
= (long) 0 ;
29588 PyObject
* obj0
= 0 ;
29589 PyObject
* obj1
= 0 ;
29590 PyObject
* obj2
= 0 ;
29591 PyObject
* obj3
= 0 ;
29592 PyObject
* obj4
= 0 ;
29593 PyObject
* obj5
= 0 ;
29594 char *kwnames
[] = {
29595 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
29600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29601 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
,
29602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29604 arg3
= (int)SWIG_As_int(obj2
);
29605 if (PyErr_Occurred()) SWIG_fail
;
29610 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29616 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29620 arg6
= (long)SWIG_As_long(obj5
);
29621 if (PyErr_Occurred()) SWIG_fail
;
29624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29625 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
29627 wxPyEndAllowThreads(__tstate
);
29628 if (PyErr_Occurred()) SWIG_fail
;
29631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29639 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29640 PyObject
*resultobj
;
29641 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
29642 wxString
*arg2
= 0 ;
29644 bool temp2
= false ;
29645 PyObject
* obj0
= 0 ;
29646 PyObject
* obj1
= 0 ;
29647 PyObject
* obj2
= 0 ;
29648 char *kwnames
[] = {
29649 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
29652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
29654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29656 arg2
= wxString_in_helper(obj1
);
29657 if (arg2
== NULL
) SWIG_fail
;
29660 arg3
= (int)SWIG_As_int(obj2
);
29661 if (PyErr_Occurred()) SWIG_fail
;
29663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29664 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
29666 wxPyEndAllowThreads(__tstate
);
29667 if (PyErr_Occurred()) SWIG_fail
;
29669 Py_INCREF(Py_None
); resultobj
= Py_None
;
29684 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*, PyObject
*args
) {
29686 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29687 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
29689 return Py_BuildValue((char *)"");
29691 static PyObject
*_wrap_new_PyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29692 PyObject
*resultobj
;
29693 wxWindow
*arg1
= (wxWindow
*) 0 ;
29694 int arg2
= (int) (int)-1 ;
29695 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29696 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29697 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29698 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29699 long arg5
= (long) 0 ;
29700 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
29701 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
29702 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
29703 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29704 wxPyControl
*result
;
29707 bool temp7
= false ;
29708 PyObject
* obj0
= 0 ;
29709 PyObject
* obj1
= 0 ;
29710 PyObject
* obj2
= 0 ;
29711 PyObject
* obj3
= 0 ;
29712 PyObject
* obj4
= 0 ;
29713 PyObject
* obj5
= 0 ;
29714 PyObject
* obj6
= 0 ;
29715 char *kwnames
[] = {
29716 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
29720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29723 arg2
= (int)SWIG_As_int(obj1
);
29724 if (PyErr_Occurred()) SWIG_fail
;
29729 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29735 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29739 arg5
= (long)SWIG_As_long(obj4
);
29740 if (PyErr_Occurred()) SWIG_fail
;
29743 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
29744 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29746 if (arg6
== NULL
) {
29747 PyErr_SetString(PyExc_TypeError
,"null reference");
29753 arg7
= wxString_in_helper(obj6
);
29754 if (arg7
== NULL
) SWIG_fail
;
29759 if (!wxPyCheckForApp()) SWIG_fail
;
29760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29761 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
29763 wxPyEndAllowThreads(__tstate
);
29764 if (PyErr_Occurred()) SWIG_fail
;
29766 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
29781 static PyObject
*_wrap_new_PrePyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29782 PyObject
*resultobj
;
29783 wxPyControl
*result
;
29784 char *kwnames
[] = {
29788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
29790 if (!wxPyCheckForApp()) SWIG_fail
;
29791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29792 result
= (wxPyControl
*)new wxPyControl();
29794 wxPyEndAllowThreads(__tstate
);
29795 if (PyErr_Occurred()) SWIG_fail
;
29797 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
29804 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29805 PyObject
*resultobj
;
29806 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29807 PyObject
*arg2
= (PyObject
*) 0 ;
29808 PyObject
*arg3
= (PyObject
*) 0 ;
29809 PyObject
* obj0
= 0 ;
29810 PyObject
* obj1
= 0 ;
29811 PyObject
* obj2
= 0 ;
29812 char *kwnames
[] = {
29813 (char *) "self",(char *) "self",(char *) "_class", NULL
29816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29823 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29825 wxPyEndAllowThreads(__tstate
);
29826 if (PyErr_Occurred()) SWIG_fail
;
29828 Py_INCREF(Py_None
); resultobj
= Py_None
;
29835 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29836 PyObject
*resultobj
;
29837 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29840 PyObject
* obj0
= 0 ;
29841 PyObject
* obj1
= 0 ;
29842 char *kwnames
[] = {
29843 (char *) "self",(char *) "size", NULL
29846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
29847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29851 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29855 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
29857 wxPyEndAllowThreads(__tstate
);
29858 if (PyErr_Occurred()) SWIG_fail
;
29860 Py_INCREF(Py_None
); resultobj
= Py_None
;
29867 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29868 PyObject
*resultobj
;
29869 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29874 PyObject
* obj0
= 0 ;
29875 PyObject
* obj1
= 0 ;
29876 PyObject
* obj2
= 0 ;
29877 PyObject
* obj3
= 0 ;
29878 PyObject
* obj4
= 0 ;
29879 char *kwnames
[] = {
29880 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29886 arg2
= (int)SWIG_As_int(obj1
);
29887 if (PyErr_Occurred()) SWIG_fail
;
29888 arg3
= (int)SWIG_As_int(obj2
);
29889 if (PyErr_Occurred()) SWIG_fail
;
29890 arg4
= (int)SWIG_As_int(obj3
);
29891 if (PyErr_Occurred()) SWIG_fail
;
29892 arg5
= (int)SWIG_As_int(obj4
);
29893 if (PyErr_Occurred()) SWIG_fail
;
29895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29896 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
29898 wxPyEndAllowThreads(__tstate
);
29899 if (PyErr_Occurred()) SWIG_fail
;
29901 Py_INCREF(Py_None
); resultobj
= Py_None
;
29908 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29909 PyObject
*resultobj
;
29910 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29915 int arg6
= (int) wxSIZE_AUTO
;
29916 PyObject
* obj0
= 0 ;
29917 PyObject
* obj1
= 0 ;
29918 PyObject
* obj2
= 0 ;
29919 PyObject
* obj3
= 0 ;
29920 PyObject
* obj4
= 0 ;
29921 PyObject
* obj5
= 0 ;
29922 char *kwnames
[] = {
29923 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
29926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29929 arg2
= (int)SWIG_As_int(obj1
);
29930 if (PyErr_Occurred()) SWIG_fail
;
29931 arg3
= (int)SWIG_As_int(obj2
);
29932 if (PyErr_Occurred()) SWIG_fail
;
29933 arg4
= (int)SWIG_As_int(obj3
);
29934 if (PyErr_Occurred()) SWIG_fail
;
29935 arg5
= (int)SWIG_As_int(obj4
);
29936 if (PyErr_Occurred()) SWIG_fail
;
29938 arg6
= (int)SWIG_As_int(obj5
);
29939 if (PyErr_Occurred()) SWIG_fail
;
29942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29943 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
29945 wxPyEndAllowThreads(__tstate
);
29946 if (PyErr_Occurred()) SWIG_fail
;
29948 Py_INCREF(Py_None
); resultobj
= Py_None
;
29955 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29956 PyObject
*resultobj
;
29957 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29960 PyObject
* obj0
= 0 ;
29961 PyObject
* obj1
= 0 ;
29962 PyObject
* obj2
= 0 ;
29963 char *kwnames
[] = {
29964 (char *) "self",(char *) "width",(char *) "height", NULL
29967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29970 arg2
= (int)SWIG_As_int(obj1
);
29971 if (PyErr_Occurred()) SWIG_fail
;
29972 arg3
= (int)SWIG_As_int(obj2
);
29973 if (PyErr_Occurred()) SWIG_fail
;
29975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29976 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
29978 wxPyEndAllowThreads(__tstate
);
29979 if (PyErr_Occurred()) SWIG_fail
;
29981 Py_INCREF(Py_None
); resultobj
= Py_None
;
29988 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29989 PyObject
*resultobj
;
29990 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29993 PyObject
* obj0
= 0 ;
29994 PyObject
* obj1
= 0 ;
29995 PyObject
* obj2
= 0 ;
29996 char *kwnames
[] = {
29997 (char *) "self",(char *) "x",(char *) "y", NULL
30000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30003 arg2
= (int)SWIG_As_int(obj1
);
30004 if (PyErr_Occurred()) SWIG_fail
;
30005 arg3
= (int)SWIG_As_int(obj2
);
30006 if (PyErr_Occurred()) SWIG_fail
;
30008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30009 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
30011 wxPyEndAllowThreads(__tstate
);
30012 if (PyErr_Occurred()) SWIG_fail
;
30014 Py_INCREF(Py_None
); resultobj
= Py_None
;
30021 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30022 PyObject
*resultobj
;
30023 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30024 int *arg2
= (int *) 0 ;
30025 int *arg3
= (int *) 0 ;
30030 PyObject
* obj0
= 0 ;
30031 char *kwnames
[] = {
30032 (char *) "self", NULL
30035 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
30036 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
30038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30042 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
30044 wxPyEndAllowThreads(__tstate
);
30045 if (PyErr_Occurred()) SWIG_fail
;
30047 Py_INCREF(Py_None
); resultobj
= Py_None
;
30048 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30049 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30050 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30051 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30058 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30059 PyObject
*resultobj
;
30060 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30061 int *arg2
= (int *) 0 ;
30062 int *arg3
= (int *) 0 ;
30067 PyObject
* obj0
= 0 ;
30068 char *kwnames
[] = {
30069 (char *) "self", NULL
30072 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
30073 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
30075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30079 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
30081 wxPyEndAllowThreads(__tstate
);
30082 if (PyErr_Occurred()) SWIG_fail
;
30084 Py_INCREF(Py_None
); resultobj
= Py_None
;
30085 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30086 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30087 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30088 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30095 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30096 PyObject
*resultobj
;
30097 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30098 int *arg2
= (int *) 0 ;
30099 int *arg3
= (int *) 0 ;
30104 PyObject
* obj0
= 0 ;
30105 char *kwnames
[] = {
30106 (char *) "self", NULL
30109 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
30110 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
30111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
30112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30116 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
30118 wxPyEndAllowThreads(__tstate
);
30119 if (PyErr_Occurred()) SWIG_fail
;
30121 Py_INCREF(Py_None
); resultobj
= Py_None
;
30122 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
30123 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
30124 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
30125 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
30132 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30133 PyObject
*resultobj
;
30134 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30136 PyObject
* obj0
= 0 ;
30137 char *kwnames
[] = {
30138 (char *) "self", NULL
30141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
30142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30146 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
30148 wxPyEndAllowThreads(__tstate
);
30149 if (PyErr_Occurred()) SWIG_fail
;
30152 wxSize
* resultptr
;
30153 resultptr
= new wxSize((wxSize
&) result
);
30154 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
30162 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30163 PyObject
*resultobj
;
30164 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30166 PyObject
* obj0
= 0 ;
30167 char *kwnames
[] = {
30168 (char *) "self", NULL
30171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
30172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30176 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
30178 wxPyEndAllowThreads(__tstate
);
30179 if (PyErr_Occurred()) SWIG_fail
;
30182 wxSize
* resultptr
;
30183 resultptr
= new wxSize((wxSize
&) result
);
30184 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
30192 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30193 PyObject
*resultobj
;
30194 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30195 PyObject
* obj0
= 0 ;
30196 char *kwnames
[] = {
30197 (char *) "self", NULL
30200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
30201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30205 (arg1
)->base_InitDialog();
30207 wxPyEndAllowThreads(__tstate
);
30208 if (PyErr_Occurred()) SWIG_fail
;
30210 Py_INCREF(Py_None
); resultobj
= Py_None
;
30217 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30218 PyObject
*resultobj
;
30219 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30221 PyObject
* obj0
= 0 ;
30222 char *kwnames
[] = {
30223 (char *) "self", NULL
30226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
30227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30231 result
= (bool)(arg1
)->base_TransferDataToWindow();
30233 wxPyEndAllowThreads(__tstate
);
30234 if (PyErr_Occurred()) SWIG_fail
;
30237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30245 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30246 PyObject
*resultobj
;
30247 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30249 PyObject
* obj0
= 0 ;
30250 char *kwnames
[] = {
30251 (char *) "self", NULL
30254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
30255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30259 result
= (bool)(arg1
)->base_TransferDataFromWindow();
30261 wxPyEndAllowThreads(__tstate
);
30262 if (PyErr_Occurred()) SWIG_fail
;
30265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30273 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30274 PyObject
*resultobj
;
30275 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30277 PyObject
* obj0
= 0 ;
30278 char *kwnames
[] = {
30279 (char *) "self", NULL
30282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
30283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30287 result
= (bool)(arg1
)->base_Validate();
30289 wxPyEndAllowThreads(__tstate
);
30290 if (PyErr_Occurred()) SWIG_fail
;
30293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30301 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30302 PyObject
*resultobj
;
30303 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30305 PyObject
* obj0
= 0 ;
30306 char *kwnames
[] = {
30307 (char *) "self", NULL
30310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
30311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30315 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
30317 wxPyEndAllowThreads(__tstate
);
30318 if (PyErr_Occurred()) SWIG_fail
;
30321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30329 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30330 PyObject
*resultobj
;
30331 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30333 PyObject
* obj0
= 0 ;
30334 char *kwnames
[] = {
30335 (char *) "self", NULL
30338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
30339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30343 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
30345 wxPyEndAllowThreads(__tstate
);
30346 if (PyErr_Occurred()) SWIG_fail
;
30349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30357 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30358 PyObject
*resultobj
;
30359 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30361 PyObject
* obj0
= 0 ;
30362 char *kwnames
[] = {
30363 (char *) "self", NULL
30366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
30367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30371 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
30373 wxPyEndAllowThreads(__tstate
);
30374 if (PyErr_Occurred()) SWIG_fail
;
30377 wxSize
* resultptr
;
30378 resultptr
= new wxSize((wxSize
&) result
);
30379 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
30387 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30388 PyObject
*resultobj
;
30389 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30390 wxWindow
*arg2
= (wxWindow
*) 0 ;
30391 PyObject
* obj0
= 0 ;
30392 PyObject
* obj1
= 0 ;
30393 char *kwnames
[] = {
30394 (char *) "self",(char *) "child", NULL
30397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
30398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30400 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30404 (arg1
)->base_AddChild(arg2
);
30406 wxPyEndAllowThreads(__tstate
);
30407 if (PyErr_Occurred()) SWIG_fail
;
30409 Py_INCREF(Py_None
); resultobj
= Py_None
;
30416 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30417 PyObject
*resultobj
;
30418 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30419 wxWindow
*arg2
= (wxWindow
*) 0 ;
30420 PyObject
* obj0
= 0 ;
30421 PyObject
* obj1
= 0 ;
30422 char *kwnames
[] = {
30423 (char *) "self",(char *) "child", NULL
30426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
30427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30429 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30433 (arg1
)->base_RemoveChild(arg2
);
30435 wxPyEndAllowThreads(__tstate
);
30436 if (PyErr_Occurred()) SWIG_fail
;
30438 Py_INCREF(Py_None
); resultobj
= Py_None
;
30445 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30446 PyObject
*resultobj
;
30447 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30449 PyObject
* obj0
= 0 ;
30450 char *kwnames
[] = {
30451 (char *) "self", NULL
30454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
30455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30459 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
30461 wxPyEndAllowThreads(__tstate
);
30462 if (PyErr_Occurred()) SWIG_fail
;
30465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30473 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30474 PyObject
*resultobj
;
30475 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30476 wxColour
*arg2
= 0 ;
30478 PyObject
* obj0
= 0 ;
30479 PyObject
* obj1
= 0 ;
30480 char *kwnames
[] = {
30481 (char *) "self",(char *) "c", NULL
30484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
30485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30489 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30493 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
30495 wxPyEndAllowThreads(__tstate
);
30496 if (PyErr_Occurred()) SWIG_fail
;
30498 Py_INCREF(Py_None
); resultobj
= Py_None
;
30505 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30506 PyObject
*resultobj
;
30507 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30508 wxVisualAttributes result
;
30509 PyObject
* obj0
= 0 ;
30510 char *kwnames
[] = {
30511 (char *) "self", NULL
30514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
30515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30519 result
= (arg1
)->base_GetDefaultAttributes();
30521 wxPyEndAllowThreads(__tstate
);
30522 if (PyErr_Occurred()) SWIG_fail
;
30525 wxVisualAttributes
* resultptr
;
30526 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
30527 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
30535 static PyObject
* PyControl_swigregister(PyObject
*, PyObject
*args
) {
30537 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30538 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
30540 return Py_BuildValue((char *)"");
30542 static PyObject
*_wrap_new_HelpEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30543 PyObject
*resultobj
;
30544 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
30545 int arg2
= (int) 0 ;
30546 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30547 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30548 wxHelpEvent
*result
;
30550 PyObject
* obj0
= 0 ;
30551 PyObject
* obj1
= 0 ;
30552 PyObject
* obj2
= 0 ;
30553 char *kwnames
[] = {
30554 (char *) "type",(char *) "winid",(char *) "pt", NULL
30557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30559 arg1
= (wxEventType
)SWIG_As_int(obj0
);
30560 if (PyErr_Occurred()) SWIG_fail
;
30563 arg2
= (int)SWIG_As_int(obj1
);
30564 if (PyErr_Occurred()) SWIG_fail
;
30569 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30574 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
30576 wxPyEndAllowThreads(__tstate
);
30577 if (PyErr_Occurred()) SWIG_fail
;
30579 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
30586 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30587 PyObject
*resultobj
;
30588 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30590 PyObject
* obj0
= 0 ;
30591 char *kwnames
[] = {
30592 (char *) "self", NULL
30595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
30596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30600 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
30602 wxPyEndAllowThreads(__tstate
);
30603 if (PyErr_Occurred()) SWIG_fail
;
30606 wxPoint
* resultptr
;
30607 resultptr
= new wxPoint((wxPoint
&) result
);
30608 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30616 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30617 PyObject
*resultobj
;
30618 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30619 wxPoint
*arg2
= 0 ;
30621 PyObject
* obj0
= 0 ;
30622 PyObject
* obj1
= 0 ;
30623 char *kwnames
[] = {
30624 (char *) "self",(char *) "pos", NULL
30627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
30628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30632 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30636 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
30638 wxPyEndAllowThreads(__tstate
);
30639 if (PyErr_Occurred()) SWIG_fail
;
30641 Py_INCREF(Py_None
); resultobj
= Py_None
;
30648 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30649 PyObject
*resultobj
;
30650 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30652 PyObject
* obj0
= 0 ;
30653 char *kwnames
[] = {
30654 (char *) "self", NULL
30657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
30658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30663 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
30664 result
= (wxString
*) &_result_ref
;
30667 wxPyEndAllowThreads(__tstate
);
30668 if (PyErr_Occurred()) SWIG_fail
;
30672 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30674 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30683 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30684 PyObject
*resultobj
;
30685 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30686 wxString
*arg2
= 0 ;
30687 bool temp2
= false ;
30688 PyObject
* obj0
= 0 ;
30689 PyObject
* obj1
= 0 ;
30690 char *kwnames
[] = {
30691 (char *) "self",(char *) "link", NULL
30694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
30695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30698 arg2
= wxString_in_helper(obj1
);
30699 if (arg2
== NULL
) SWIG_fail
;
30703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30704 (arg1
)->SetLink((wxString
const &)*arg2
);
30706 wxPyEndAllowThreads(__tstate
);
30707 if (PyErr_Occurred()) SWIG_fail
;
30709 Py_INCREF(Py_None
); resultobj
= Py_None
;
30724 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30725 PyObject
*resultobj
;
30726 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30728 PyObject
* obj0
= 0 ;
30729 char *kwnames
[] = {
30730 (char *) "self", NULL
30733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
30734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30739 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
30740 result
= (wxString
*) &_result_ref
;
30743 wxPyEndAllowThreads(__tstate
);
30744 if (PyErr_Occurred()) SWIG_fail
;
30748 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30750 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30759 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30760 PyObject
*resultobj
;
30761 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30762 wxString
*arg2
= 0 ;
30763 bool temp2
= false ;
30764 PyObject
* obj0
= 0 ;
30765 PyObject
* obj1
= 0 ;
30766 char *kwnames
[] = {
30767 (char *) "self",(char *) "target", NULL
30770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
30771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30774 arg2
= wxString_in_helper(obj1
);
30775 if (arg2
== NULL
) SWIG_fail
;
30779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30780 (arg1
)->SetTarget((wxString
const &)*arg2
);
30782 wxPyEndAllowThreads(__tstate
);
30783 if (PyErr_Occurred()) SWIG_fail
;
30785 Py_INCREF(Py_None
); resultobj
= Py_None
;
30800 static PyObject
* HelpEvent_swigregister(PyObject
*, PyObject
*args
) {
30802 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30803 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
30805 return Py_BuildValue((char *)"");
30807 static PyObject
*_wrap_new_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30808 PyObject
*resultobj
;
30809 wxWindow
*arg1
= (wxWindow
*) NULL
;
30810 bool arg2
= (bool) true ;
30811 wxContextHelp
*result
;
30812 PyObject
* obj0
= 0 ;
30813 PyObject
* obj1
= 0 ;
30814 char *kwnames
[] = {
30815 (char *) "window",(char *) "doNow", NULL
30818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30824 arg2
= (bool)SWIG_As_bool(obj1
);
30825 if (PyErr_Occurred()) SWIG_fail
;
30828 if (!wxPyCheckForApp()) SWIG_fail
;
30829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30830 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
30832 wxPyEndAllowThreads(__tstate
);
30833 if (PyErr_Occurred()) SWIG_fail
;
30835 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
30842 static PyObject
*_wrap_delete_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30843 PyObject
*resultobj
;
30844 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30845 PyObject
* obj0
= 0 ;
30846 char *kwnames
[] = {
30847 (char *) "self", NULL
30850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
30851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30857 wxPyEndAllowThreads(__tstate
);
30858 if (PyErr_Occurred()) SWIG_fail
;
30860 Py_INCREF(Py_None
); resultobj
= Py_None
;
30867 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30868 PyObject
*resultobj
;
30869 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30870 wxWindow
*arg2
= (wxWindow
*) NULL
;
30872 PyObject
* obj0
= 0 ;
30873 PyObject
* obj1
= 0 ;
30874 char *kwnames
[] = {
30875 (char *) "self",(char *) "window", NULL
30878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30882 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30887 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
30889 wxPyEndAllowThreads(__tstate
);
30890 if (PyErr_Occurred()) SWIG_fail
;
30893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30901 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30902 PyObject
*resultobj
;
30903 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30905 PyObject
* obj0
= 0 ;
30906 char *kwnames
[] = {
30907 (char *) "self", NULL
30910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
30911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30915 result
= (bool)(arg1
)->EndContextHelp();
30917 wxPyEndAllowThreads(__tstate
);
30918 if (PyErr_Occurred()) SWIG_fail
;
30921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30929 static PyObject
* ContextHelp_swigregister(PyObject
*, PyObject
*args
) {
30931 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30932 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
30934 return Py_BuildValue((char *)"");
30936 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30937 PyObject
*resultobj
;
30938 wxWindow
*arg1
= (wxWindow
*) 0 ;
30939 int arg2
= (int) wxID_CONTEXT_HELP
;
30940 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30941 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30942 wxSize
const &arg4_defvalue
= wxDefaultSize
;
30943 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
30944 long arg5
= (long) wxBU_AUTODRAW
;
30945 wxContextHelpButton
*result
;
30948 PyObject
* obj0
= 0 ;
30949 PyObject
* obj1
= 0 ;
30950 PyObject
* obj2
= 0 ;
30951 PyObject
* obj3
= 0 ;
30952 PyObject
* obj4
= 0 ;
30953 char *kwnames
[] = {
30954 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
30957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30961 arg2
= (int)SWIG_As_int(obj1
);
30962 if (PyErr_Occurred()) SWIG_fail
;
30967 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30973 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
30977 arg5
= (long)SWIG_As_long(obj4
);
30978 if (PyErr_Occurred()) SWIG_fail
;
30981 if (!wxPyCheckForApp()) SWIG_fail
;
30982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30983 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
30985 wxPyEndAllowThreads(__tstate
);
30986 if (PyErr_Occurred()) SWIG_fail
;
30988 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
30995 static PyObject
* ContextHelpButton_swigregister(PyObject
*, PyObject
*args
) {
30997 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30998 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
31000 return Py_BuildValue((char *)"");
31002 static PyObject
*_wrap_HelpProvider_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31003 PyObject
*resultobj
;
31004 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
31005 wxHelpProvider
*result
;
31006 PyObject
* obj0
= 0 ;
31007 char *kwnames
[] = {
31008 (char *) "helpProvider", NULL
31011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
31012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
31013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31016 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
31018 wxPyEndAllowThreads(__tstate
);
31019 if (PyErr_Occurred()) SWIG_fail
;
31021 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
31028 static PyObject
*_wrap_HelpProvider_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31029 PyObject
*resultobj
;
31030 wxHelpProvider
*result
;
31031 char *kwnames
[] = {
31035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
31037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31038 result
= (wxHelpProvider
*)wxHelpProvider::Get();
31040 wxPyEndAllowThreads(__tstate
);
31041 if (PyErr_Occurred()) SWIG_fail
;
31043 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
31050 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31051 PyObject
*resultobj
;
31052 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
31053 wxWindow
*arg2
= (wxWindow
*) 0 ;
31055 PyObject
* obj0
= 0 ;
31056 PyObject
* obj1
= 0 ;
31057 char *kwnames
[] = {
31058 (char *) "self",(char *) "window", NULL
31061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
31062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
31063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31064 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
31065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31068 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
31070 wxPyEndAllowThreads(__tstate
);
31071 if (PyErr_Occurred()) SWIG_fail
;
31075 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31077 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31086 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31087 PyObject
*resultobj
;
31088 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
31089 wxWindow
*arg2
= (wxWindow
*) 0 ;
31091 PyObject
* obj0
= 0 ;
31092 PyObject
* obj1
= 0 ;
31093 char *kwnames
[] = {
31094 (char *) "self",(char *) "window", NULL
31097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
31098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
31099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31100 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
31101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31104 result
= (bool)(arg1
)->ShowHelp(arg2
);
31106 wxPyEndAllowThreads(__tstate
);
31107 if (PyErr_Occurred()) SWIG_fail
;
31110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31118 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31119 PyObject
*resultobj
;
31120 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
31121 wxWindow
*arg2
= (wxWindow
*) 0 ;
31122 wxString
*arg3
= 0 ;
31123 bool temp3
= false ;
31124 PyObject
* obj0
= 0 ;
31125 PyObject
* obj1
= 0 ;
31126 PyObject
* obj2
= 0 ;
31127 char *kwnames
[] = {
31128 (char *) "self",(char *) "window",(char *) "text", NULL
31131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
31133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31134 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
31135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31137 arg3
= wxString_in_helper(obj2
);
31138 if (arg3
== NULL
) SWIG_fail
;
31142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31143 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
31145 wxPyEndAllowThreads(__tstate
);
31146 if (PyErr_Occurred()) SWIG_fail
;
31148 Py_INCREF(Py_None
); resultobj
= Py_None
;
31163 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31164 PyObject
*resultobj
;
31165 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
31167 wxString
*arg3
= 0 ;
31168 bool temp3
= false ;
31169 PyObject
* obj0
= 0 ;
31170 PyObject
* obj1
= 0 ;
31171 PyObject
* obj2
= 0 ;
31172 char *kwnames
[] = {
31173 (char *) "self",(char *) "id",(char *) "text", NULL
31176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
31178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31179 arg2
= (int)SWIG_As_int(obj1
);
31180 if (PyErr_Occurred()) SWIG_fail
;
31182 arg3
= wxString_in_helper(obj2
);
31183 if (arg3
== NULL
) SWIG_fail
;
31187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31188 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
31190 wxPyEndAllowThreads(__tstate
);
31191 if (PyErr_Occurred()) SWIG_fail
;
31193 Py_INCREF(Py_None
); resultobj
= Py_None
;
31208 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31209 PyObject
*resultobj
;
31210 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
31211 wxWindow
*arg2
= (wxWindow
*) 0 ;
31212 PyObject
* obj0
= 0 ;
31213 PyObject
* obj1
= 0 ;
31214 char *kwnames
[] = {
31215 (char *) "self",(char *) "window", NULL
31218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
31219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
31220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31221 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
31222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31225 (arg1
)->RemoveHelp(arg2
);
31227 wxPyEndAllowThreads(__tstate
);
31228 if (PyErr_Occurred()) SWIG_fail
;
31230 Py_INCREF(Py_None
); resultobj
= Py_None
;
31237 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31238 PyObject
*resultobj
;
31239 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
31240 PyObject
* obj0
= 0 ;
31241 char *kwnames
[] = {
31242 (char *) "self", NULL
31245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
31246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
31247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31250 wxHelpProvider_Destroy(arg1
);
31252 wxPyEndAllowThreads(__tstate
);
31253 if (PyErr_Occurred()) SWIG_fail
;
31255 Py_INCREF(Py_None
); resultobj
= Py_None
;
31262 static PyObject
* HelpProvider_swigregister(PyObject
*, PyObject
*args
) {
31264 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31265 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
31267 return Py_BuildValue((char *)"");
31269 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31270 PyObject
*resultobj
;
31271 wxSimpleHelpProvider
*result
;
31272 char *kwnames
[] = {
31276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
31278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31279 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
31281 wxPyEndAllowThreads(__tstate
);
31282 if (PyErr_Occurred()) SWIG_fail
;
31284 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
31291 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*, PyObject
*args
) {
31293 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31294 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
31296 return Py_BuildValue((char *)"");
31298 static PyObject
*_wrap_new_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31299 PyObject
*resultobj
;
31300 wxBitmap
*arg1
= 0 ;
31301 wxCursor
const &arg2_defvalue
= wxNullCursor
;
31302 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
31303 wxGenericDragImage
*result
;
31304 PyObject
* obj0
= 0 ;
31305 PyObject
* obj1
= 0 ;
31306 char *kwnames
[] = {
31307 (char *) "image",(char *) "cursor", NULL
31310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
31311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
31312 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31314 if (arg1
== NULL
) {
31315 PyErr_SetString(PyExc_TypeError
,"null reference");
31319 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
31320 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31322 if (arg2
== NULL
) {
31323 PyErr_SetString(PyExc_TypeError
,"null reference");
31328 if (!wxPyCheckForApp()) SWIG_fail
;
31329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31330 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
31332 wxPyEndAllowThreads(__tstate
);
31333 if (PyErr_Occurred()) SWIG_fail
;
31335 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
31342 static PyObject
*_wrap_new_DragIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31343 PyObject
*resultobj
;
31345 wxCursor
const &arg2_defvalue
= wxNullCursor
;
31346 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
31347 wxGenericDragImage
*result
;
31348 PyObject
* obj0
= 0 ;
31349 PyObject
* obj1
= 0 ;
31350 char *kwnames
[] = {
31351 (char *) "image",(char *) "cursor", NULL
31354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
31355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
31356 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31358 if (arg1
== NULL
) {
31359 PyErr_SetString(PyExc_TypeError
,"null reference");
31363 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
31364 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31366 if (arg2
== NULL
) {
31367 PyErr_SetString(PyExc_TypeError
,"null reference");
31372 if (!wxPyCheckForApp()) SWIG_fail
;
31373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31374 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
31376 wxPyEndAllowThreads(__tstate
);
31377 if (PyErr_Occurred()) SWIG_fail
;
31379 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
31386 static PyObject
*_wrap_new_DragString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31387 PyObject
*resultobj
;
31388 wxString
*arg1
= 0 ;
31389 wxCursor
const &arg2_defvalue
= wxNullCursor
;
31390 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
31391 wxGenericDragImage
*result
;
31392 bool temp1
= false ;
31393 PyObject
* obj0
= 0 ;
31394 PyObject
* obj1
= 0 ;
31395 char *kwnames
[] = {
31396 (char *) "str",(char *) "cursor", NULL
31399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
31401 arg1
= wxString_in_helper(obj0
);
31402 if (arg1
== NULL
) SWIG_fail
;
31406 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
31407 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31409 if (arg2
== NULL
) {
31410 PyErr_SetString(PyExc_TypeError
,"null reference");
31415 if (!wxPyCheckForApp()) SWIG_fail
;
31416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31417 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
31419 wxPyEndAllowThreads(__tstate
);
31420 if (PyErr_Occurred()) SWIG_fail
;
31422 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
31437 static PyObject
*_wrap_new_DragTreeItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31438 PyObject
*resultobj
;
31439 wxPyTreeCtrl
*arg1
= 0 ;
31440 wxTreeItemId
*arg2
= 0 ;
31441 wxGenericDragImage
*result
;
31442 PyObject
* obj0
= 0 ;
31443 PyObject
* obj1
= 0 ;
31444 char *kwnames
[] = {
31445 (char *) "treeCtrl",(char *) "id", NULL
31448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
31449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
31450 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31452 if (arg1
== NULL
) {
31453 PyErr_SetString(PyExc_TypeError
,"null reference");
31456 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
31457 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31459 if (arg2
== NULL
) {
31460 PyErr_SetString(PyExc_TypeError
,"null reference");
31464 if (!wxPyCheckForApp()) SWIG_fail
;
31465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31466 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
31468 wxPyEndAllowThreads(__tstate
);
31469 if (PyErr_Occurred()) SWIG_fail
;
31471 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
31478 static PyObject
*_wrap_new_DragListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31479 PyObject
*resultobj
;
31480 wxPyListCtrl
*arg1
= 0 ;
31482 wxGenericDragImage
*result
;
31483 PyObject
* obj0
= 0 ;
31484 PyObject
* obj1
= 0 ;
31485 char *kwnames
[] = {
31486 (char *) "listCtrl",(char *) "id", NULL
31489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
31490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
31491 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31493 if (arg1
== NULL
) {
31494 PyErr_SetString(PyExc_TypeError
,"null reference");
31497 arg2
= (long)SWIG_As_long(obj1
);
31498 if (PyErr_Occurred()) SWIG_fail
;
31500 if (!wxPyCheckForApp()) SWIG_fail
;
31501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31502 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
31504 wxPyEndAllowThreads(__tstate
);
31505 if (PyErr_Occurred()) SWIG_fail
;
31507 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
31514 static PyObject
*_wrap_delete_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31515 PyObject
*resultobj
;
31516 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31517 PyObject
* obj0
= 0 ;
31518 char *kwnames
[] = {
31519 (char *) "self", NULL
31522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
31523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31529 wxPyEndAllowThreads(__tstate
);
31530 if (PyErr_Occurred()) SWIG_fail
;
31532 Py_INCREF(Py_None
); resultobj
= Py_None
;
31539 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31540 PyObject
*resultobj
;
31541 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31542 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
31543 PyObject
* obj0
= 0 ;
31544 PyObject
* obj1
= 0 ;
31545 char *kwnames
[] = {
31546 (char *) "self",(char *) "bitmap", NULL
31549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
31550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31552 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
31553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31556 (arg1
)->SetBackingBitmap(arg2
);
31558 wxPyEndAllowThreads(__tstate
);
31559 if (PyErr_Occurred()) SWIG_fail
;
31561 Py_INCREF(Py_None
); resultobj
= Py_None
;
31568 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31569 PyObject
*resultobj
;
31570 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31571 wxPoint
*arg2
= 0 ;
31572 wxWindow
*arg3
= (wxWindow
*) 0 ;
31573 bool arg4
= (bool) false ;
31574 wxRect
*arg5
= (wxRect
*) NULL
;
31577 PyObject
* obj0
= 0 ;
31578 PyObject
* obj1
= 0 ;
31579 PyObject
* obj2
= 0 ;
31580 PyObject
* obj3
= 0 ;
31581 PyObject
* obj4
= 0 ;
31582 char *kwnames
[] = {
31583 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
31586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31591 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31593 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
31594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31596 arg4
= (bool)SWIG_As_bool(obj3
);
31597 if (PyErr_Occurred()) SWIG_fail
;
31600 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
,
31601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31605 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
31607 wxPyEndAllowThreads(__tstate
);
31608 if (PyErr_Occurred()) SWIG_fail
;
31611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31619 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31620 PyObject
*resultobj
;
31621 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31622 wxPoint
*arg2
= 0 ;
31623 wxWindow
*arg3
= (wxWindow
*) 0 ;
31624 wxWindow
*arg4
= (wxWindow
*) 0 ;
31627 PyObject
* obj0
= 0 ;
31628 PyObject
* obj1
= 0 ;
31629 PyObject
* obj2
= 0 ;
31630 PyObject
* obj3
= 0 ;
31631 char *kwnames
[] = {
31632 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
31635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31640 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31642 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
31643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31644 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
31645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31648 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
31650 wxPyEndAllowThreads(__tstate
);
31651 if (PyErr_Occurred()) SWIG_fail
;
31654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31662 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31663 PyObject
*resultobj
;
31664 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31666 PyObject
* obj0
= 0 ;
31667 char *kwnames
[] = {
31668 (char *) "self", NULL
31671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
31672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31676 result
= (bool)(arg1
)->EndDrag();
31678 wxPyEndAllowThreads(__tstate
);
31679 if (PyErr_Occurred()) SWIG_fail
;
31682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31690 static PyObject
*_wrap_DragImage_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31691 PyObject
*resultobj
;
31692 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31693 wxPoint
*arg2
= 0 ;
31696 PyObject
* obj0
= 0 ;
31697 PyObject
* obj1
= 0 ;
31698 char *kwnames
[] = {
31699 (char *) "self",(char *) "pt", NULL
31702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
31703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31707 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31711 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
31713 wxPyEndAllowThreads(__tstate
);
31714 if (PyErr_Occurred()) SWIG_fail
;
31717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31725 static PyObject
*_wrap_DragImage_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31726 PyObject
*resultobj
;
31727 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31729 PyObject
* obj0
= 0 ;
31730 char *kwnames
[] = {
31731 (char *) "self", NULL
31734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
31735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31739 result
= (bool)(arg1
)->Show();
31741 wxPyEndAllowThreads(__tstate
);
31742 if (PyErr_Occurred()) SWIG_fail
;
31745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31753 static PyObject
*_wrap_DragImage_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31754 PyObject
*resultobj
;
31755 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31757 PyObject
* obj0
= 0 ;
31758 char *kwnames
[] = {
31759 (char *) "self", NULL
31762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
31763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31767 result
= (bool)(arg1
)->Hide();
31769 wxPyEndAllowThreads(__tstate
);
31770 if (PyErr_Occurred()) SWIG_fail
;
31773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31781 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31782 PyObject
*resultobj
;
31783 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31784 wxPoint
*arg2
= 0 ;
31787 PyObject
* obj0
= 0 ;
31788 PyObject
* obj1
= 0 ;
31789 char *kwnames
[] = {
31790 (char *) "self",(char *) "pos", NULL
31793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
31794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31798 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31802 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
31804 wxPyEndAllowThreads(__tstate
);
31805 if (PyErr_Occurred()) SWIG_fail
;
31808 wxRect
* resultptr
;
31809 resultptr
= new wxRect((wxRect
&) result
);
31810 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
31818 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31819 PyObject
*resultobj
;
31820 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31822 wxPoint
*arg3
= 0 ;
31825 PyObject
* obj0
= 0 ;
31826 PyObject
* obj1
= 0 ;
31827 PyObject
* obj2
= 0 ;
31828 char *kwnames
[] = {
31829 (char *) "self",(char *) "dc",(char *) "pos", NULL
31832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31835 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31836 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31838 if (arg2
== NULL
) {
31839 PyErr_SetString(PyExc_TypeError
,"null reference");
31844 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31848 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
31850 wxPyEndAllowThreads(__tstate
);
31851 if (PyErr_Occurred()) SWIG_fail
;
31854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31862 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31863 PyObject
*resultobj
;
31864 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31866 wxMemoryDC
*arg3
= 0 ;
31872 PyObject
* obj0
= 0 ;
31873 PyObject
* obj1
= 0 ;
31874 PyObject
* obj2
= 0 ;
31875 PyObject
* obj3
= 0 ;
31876 PyObject
* obj4
= 0 ;
31877 char *kwnames
[] = {
31878 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
31881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31884 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31885 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31887 if (arg2
== NULL
) {
31888 PyErr_SetString(PyExc_TypeError
,"null reference");
31891 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
,
31892 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31894 if (arg3
== NULL
) {
31895 PyErr_SetString(PyExc_TypeError
,"null reference");
31900 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31904 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
31907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31908 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
31910 wxPyEndAllowThreads(__tstate
);
31911 if (PyErr_Occurred()) SWIG_fail
;
31914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31922 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31923 PyObject
*resultobj
;
31924 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31925 wxPoint
*arg2
= 0 ;
31926 wxPoint
*arg3
= 0 ;
31932 PyObject
* obj0
= 0 ;
31933 PyObject
* obj1
= 0 ;
31934 PyObject
* obj2
= 0 ;
31935 PyObject
* obj3
= 0 ;
31936 PyObject
* obj4
= 0 ;
31937 char *kwnames
[] = {
31938 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
31941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31946 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31950 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31952 arg4
= (bool)SWIG_As_bool(obj3
);
31953 if (PyErr_Occurred()) SWIG_fail
;
31954 arg5
= (bool)SWIG_As_bool(obj4
);
31955 if (PyErr_Occurred()) SWIG_fail
;
31957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31958 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
31960 wxPyEndAllowThreads(__tstate
);
31961 if (PyErr_Occurred()) SWIG_fail
;
31964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31972 static PyObject
* DragImage_swigregister(PyObject
*, PyObject
*args
) {
31974 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31975 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
31977 return Py_BuildValue((char *)"");
31979 static PyMethodDef SwigMethods
[] = {
31980 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31981 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31982 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31983 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31984 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31985 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31986 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
31987 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31988 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31989 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31990 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31991 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31992 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31993 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31994 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31995 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31996 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31997 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31998 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31999 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32000 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32001 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
32002 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32003 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32004 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32005 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32006 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32007 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32008 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32009 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32010 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32011 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32012 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32013 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
32014 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32015 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32016 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32017 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32018 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32019 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32020 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32021 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
32022 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32023 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32024 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32025 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32026 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32027 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32028 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32029 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32030 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32031 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32032 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32033 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32034 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32035 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32036 { (char *)"ComboBox_GetMark", (PyCFunction
) _wrap_ComboBox_GetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32037 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32038 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32039 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32040 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32041 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32042 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32043 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
32044 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32045 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32046 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32047 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32048 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32049 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32050 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32051 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32052 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32053 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32054 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32055 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32056 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32057 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
32058 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32059 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32060 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32061 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32062 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
32063 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32064 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32065 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32066 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32067 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32068 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32069 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
32070 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32071 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32072 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32073 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32074 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
32075 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32076 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32077 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32078 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32079 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32080 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32081 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32082 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
32083 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32084 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32085 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32086 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32087 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32088 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32089 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32090 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32091 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32092 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32093 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32094 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32095 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32096 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32097 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32098 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32099 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32100 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32101 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32102 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32103 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32104 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32105 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
32106 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32107 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32108 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32109 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32110 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32111 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32112 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32113 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32114 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
32115 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32116 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32117 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32118 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32119 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32120 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32121 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32122 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32123 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32124 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32125 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32126 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32127 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32128 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32129 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32130 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32131 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32132 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32133 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32134 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32135 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32136 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32137 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32138 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32139 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32140 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32141 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32142 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32143 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32144 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32145 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
32146 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32147 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32148 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32149 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32150 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32151 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32152 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32153 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32154 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32155 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32156 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32157 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32158 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32159 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32160 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32161 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32162 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32163 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32164 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32165 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32166 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32167 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32168 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32169 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32170 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32171 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32172 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32173 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32174 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32175 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32176 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32177 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32178 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32179 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32180 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32181 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32182 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32183 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32184 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32185 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32186 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32187 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32188 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32189 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32190 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32191 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32192 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32193 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32194 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32195 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32196 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32197 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32198 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32199 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
) _wrap_TextCtrl_HideNativeCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32200 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32201 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32202 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32203 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
32204 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32205 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32206 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32207 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32208 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
32209 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32210 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32211 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32212 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32213 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32214 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32215 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32216 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32217 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32218 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32219 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32220 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
32221 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32222 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32223 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32224 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32225 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32226 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32227 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32228 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32229 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32230 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32231 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32232 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32233 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
32234 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32235 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32236 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32237 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32238 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32239 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32240 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32241 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32242 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32243 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32244 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32245 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
32246 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32247 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32248 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32249 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
32250 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32251 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32252 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32253 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32254 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32255 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32256 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32257 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32258 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32259 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32260 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32261 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32262 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32263 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32264 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32265 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32266 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32267 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
32268 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32269 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32270 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32271 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32272 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32273 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32274 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
32275 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32276 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32277 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32278 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32279 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32280 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32281 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32282 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32283 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32284 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32285 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32286 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32287 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32288 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32289 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32290 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32291 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32292 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32293 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32294 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32295 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32296 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32297 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32298 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32299 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32300 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
32301 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32302 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32303 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32304 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32305 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32306 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32307 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32308 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
32309 { (char *)"BookCtrlBase_GetPageCount", (PyCFunction
) _wrap_BookCtrlBase_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32310 { (char *)"BookCtrlBase_GetPage", (PyCFunction
) _wrap_BookCtrlBase_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32311 { (char *)"BookCtrlBase_GetCurrentPage", (PyCFunction
) _wrap_BookCtrlBase_GetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32312 { (char *)"BookCtrlBase_GetSelection", (PyCFunction
) _wrap_BookCtrlBase_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32313 { (char *)"BookCtrlBase_SetPageText", (PyCFunction
) _wrap_BookCtrlBase_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32314 { (char *)"BookCtrlBase_GetPageText", (PyCFunction
) _wrap_BookCtrlBase_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32315 { (char *)"BookCtrlBase_SetImageList", (PyCFunction
) _wrap_BookCtrlBase_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32316 { (char *)"BookCtrlBase_AssignImageList", (PyCFunction
) _wrap_BookCtrlBase_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32317 { (char *)"BookCtrlBase_GetImageList", (PyCFunction
) _wrap_BookCtrlBase_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32318 { (char *)"BookCtrlBase_GetPageImage", (PyCFunction
) _wrap_BookCtrlBase_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32319 { (char *)"BookCtrlBase_SetPageImage", (PyCFunction
) _wrap_BookCtrlBase_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32320 { (char *)"BookCtrlBase_SetPageSize", (PyCFunction
) _wrap_BookCtrlBase_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32321 { (char *)"BookCtrlBase_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrlBase_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32322 { (char *)"BookCtrlBase_DeletePage", (PyCFunction
) _wrap_BookCtrlBase_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32323 { (char *)"BookCtrlBase_RemovePage", (PyCFunction
) _wrap_BookCtrlBase_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32324 { (char *)"BookCtrlBase_DeleteAllPages", (PyCFunction
) _wrap_BookCtrlBase_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32325 { (char *)"BookCtrlBase_AddPage", (PyCFunction
) _wrap_BookCtrlBase_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32326 { (char *)"BookCtrlBase_InsertPage", (PyCFunction
) _wrap_BookCtrlBase_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32327 { (char *)"BookCtrlBase_SetSelection", (PyCFunction
) _wrap_BookCtrlBase_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32328 { (char *)"BookCtrlBase_AdvanceSelection", (PyCFunction
) _wrap_BookCtrlBase_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32329 { (char *)"BookCtrlBase_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrlBase_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32330 { (char *)"BookCtrlBase_swigregister", BookCtrlBase_swigregister
, METH_VARARGS
, NULL
},
32331 { (char *)"new_BookCtrlBaseEvent", (PyCFunction
) _wrap_new_BookCtrlBaseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32332 { (char *)"BookCtrlBaseEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32333 { (char *)"BookCtrlBaseEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32334 { (char *)"BookCtrlBaseEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32335 { (char *)"BookCtrlBaseEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlBaseEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32336 { (char *)"BookCtrlBaseEvent_swigregister", BookCtrlBaseEvent_swigregister
, METH_VARARGS
, NULL
},
32337 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32338 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32339 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32340 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32341 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32342 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32343 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32344 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32345 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32346 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
32347 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32348 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
32349 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32350 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32351 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32352 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32353 { (char *)"Listbook_GetListView", (PyCFunction
) _wrap_Listbook_GetListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32354 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
32355 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32356 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
32357 { (char *)"new_Choicebook", (PyCFunction
) _wrap_new_Choicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32358 { (char *)"new_PreChoicebook", (PyCFunction
) _wrap_new_PreChoicebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32359 { (char *)"Choicebook_Create", (PyCFunction
) _wrap_Choicebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32360 { (char *)"Choicebook_IsVertical", (PyCFunction
) _wrap_Choicebook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32361 { (char *)"Choicebook_DeleteAllPages", (PyCFunction
) _wrap_Choicebook_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32362 { (char *)"Choicebook_swigregister", Choicebook_swigregister
, METH_VARARGS
, NULL
},
32363 { (char *)"new_ChoicebookEvent", (PyCFunction
) _wrap_new_ChoicebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32364 { (char *)"ChoicebookEvent_swigregister", ChoicebookEvent_swigregister
, METH_VARARGS
, NULL
},
32365 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32366 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32367 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32368 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32369 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
, NULL
},
32370 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32371 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32372 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32373 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32374 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
, NULL
},
32375 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32376 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32377 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32378 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32379 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32380 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32381 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32382 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32383 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32384 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32385 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32386 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32387 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32388 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32389 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32390 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32391 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32392 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32393 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32394 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32395 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32396 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32397 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32398 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32399 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32400 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32401 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32402 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32403 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32404 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
32405 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32406 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32407 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32408 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32409 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32410 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32411 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32412 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32413 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32414 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32415 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32416 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32417 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32418 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32419 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32420 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32421 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32422 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32423 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32424 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32425 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32426 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32427 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32428 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32429 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32430 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32431 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32432 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32433 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32434 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32435 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32436 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32437 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32438 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32439 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32440 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32441 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32442 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32443 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32444 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32445 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32446 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32447 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32448 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32449 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
32450 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32451 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32452 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32453 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32454 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32455 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
32456 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32457 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32458 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32459 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32460 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32461 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32462 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32463 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32464 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32465 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32466 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32467 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
32468 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32469 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32470 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32471 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32472 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32473 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32474 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32475 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32476 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32477 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32478 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32479 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32480 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32481 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32482 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32483 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32484 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32485 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32486 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32487 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32488 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32489 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32490 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32491 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32492 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32493 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32494 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32495 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32496 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32497 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32498 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32499 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32500 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32501 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32502 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32503 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32504 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32505 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32506 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32507 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32508 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32509 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32510 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32511 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32512 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32513 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32514 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32515 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32516 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32517 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32518 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32519 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
32520 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32521 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32522 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32523 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32524 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32525 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32526 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32527 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32528 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32529 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32530 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32531 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32532 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32533 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32534 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32535 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32536 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32537 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32538 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32539 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32540 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32541 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32542 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32543 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32544 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32545 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32546 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
32547 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32548 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32549 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32550 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32551 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32552 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32553 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32554 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32555 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32556 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32557 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32558 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32559 { (char *)"ListCtrl_GetEditControl", (PyCFunction
) _wrap_ListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32560 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32561 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32562 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32563 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32564 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32565 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32566 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32567 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32568 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32569 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32570 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32571 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32572 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32573 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32574 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32575 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32576 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32577 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32578 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32579 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32580 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32581 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32582 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32583 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32584 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32585 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32586 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32587 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32588 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32589 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32590 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32591 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32592 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32593 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32594 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32595 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32596 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32597 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32598 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32599 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32600 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32601 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32602 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32603 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32604 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32605 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32606 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32607 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32608 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32609 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32610 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32611 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32612 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32613 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32614 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32615 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32616 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32617 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32618 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
32619 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32620 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32621 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32622 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32623 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32624 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32625 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32626 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32627 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32628 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32629 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32630 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
32631 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32632 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32633 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32634 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32635 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32636 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32637 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32638 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
32639 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32640 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32641 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32642 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32643 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32644 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32645 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
32646 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32647 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32648 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32649 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32650 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32651 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32652 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32653 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32654 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32655 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32656 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32657 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32658 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32659 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32660 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32661 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
32662 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32663 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32664 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32665 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32666 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32667 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32668 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32669 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32670 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32671 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32672 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32673 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32674 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32675 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32676 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32677 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32678 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32679 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32680 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32681 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32682 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32683 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32684 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32685 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32686 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32687 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32688 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32689 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32690 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32691 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32692 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32693 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32694 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32695 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32696 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32697 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32698 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32699 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32700 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32701 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32702 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32703 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32704 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32705 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32706 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32707 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32708 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32709 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32710 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32711 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32712 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32713 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32714 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32715 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32716 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32717 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32718 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32719 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32720 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32721 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32722 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32723 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32724 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32725 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32726 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32727 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32728 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32729 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32730 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32731 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32732 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32733 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32734 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32735 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32736 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32737 { (char *)"TreeCtrl_SetState", (PyCFunction
) _wrap_TreeCtrl_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32738 { (char *)"TreeCtrl_GetState", (PyCFunction
) _wrap_TreeCtrl_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32739 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32740 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
32741 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32742 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32743 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32744 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32745 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32746 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32747 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32748 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32749 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32750 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32751 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32752 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32753 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32754 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32755 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32756 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32757 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32758 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32759 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32760 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32761 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32762 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
32763 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32764 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32765 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32766 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32767 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
32768 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32769 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32770 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32771 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32772 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32773 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32774 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32775 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32776 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32777 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32778 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32779 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32780 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32781 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32782 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32783 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32784 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32785 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32786 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32787 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32788 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32789 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32790 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32791 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32792 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32793 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
32794 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32795 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32796 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32797 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32798 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32799 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32800 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32801 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
32802 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32803 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32804 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32805 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32806 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
32807 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32808 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
32809 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32810 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32811 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32812 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32813 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32814 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32815 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32816 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32817 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
32818 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32819 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
32820 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32821 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32822 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32823 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32824 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32825 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32826 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32827 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32828 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32829 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32830 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32831 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32832 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32833 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32834 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32835 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32836 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32837 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
32838 { NULL
, NULL
, 0, NULL
}
32842 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32844 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
32845 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
32847 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
32848 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32850 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
32851 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32853 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
32854 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
32856 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
32857 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32859 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
32860 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
32862 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
32863 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
32865 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
32866 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
32868 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32869 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32871 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32872 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32874 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32875 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32877 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32878 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32880 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32881 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32883 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x
) {
32884 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
32886 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
32887 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32889 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32890 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32892 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32893 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32895 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32896 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32898 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
32899 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32901 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32902 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32904 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32905 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32907 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
32908 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
32910 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
32911 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
32913 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
32914 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
32916 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x
) {
32917 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
32919 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
32920 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
32922 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32923 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32925 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32926 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32928 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32929 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32931 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32932 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32934 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32935 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32937 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32938 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32940 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32941 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32943 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32944 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32946 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32947 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32949 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32950 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32952 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32953 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32955 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32956 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32958 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32959 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32961 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32962 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32964 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32965 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32967 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32968 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32970 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32971 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32973 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32974 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32976 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32977 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32979 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32980 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32982 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32983 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32985 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32986 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32988 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32989 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32991 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32992 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32994 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32995 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32997 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
32998 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
33000 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
33001 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
33003 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
33004 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33006 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
33007 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
33009 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
33010 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
33012 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
33013 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
33015 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
33016 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
33018 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
33019 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
33021 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x
) {
33022 return (void *)((wxControl
*) ((wxBookCtrlBase
*) x
));
33024 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
33025 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
33027 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
33028 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
33030 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
33031 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
33033 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
33034 return (void *)((wxControl
*) ((wxPyControl
*) x
));
33036 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
33037 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
33039 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
33040 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33042 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
33043 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
33045 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
33046 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
33048 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
33049 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
33051 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
33052 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
33054 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
33055 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
33057 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
33058 return (void *)((wxControl
*) ((wxGauge
*) x
));
33060 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
33061 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
33063 static void *_p_wxChoicebookTo_p_wxControl(void *x
) {
33064 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxChoicebook
*) x
));
33066 static void *_p_wxListbookTo_p_wxControl(void *x
) {
33067 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxListbook
*) x
));
33069 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
33070 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
33072 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
33073 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
33075 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
33076 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
33078 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
33079 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
33081 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
33082 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
33084 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
33085 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
33087 static void *_p_wxListViewTo_p_wxControl(void *x
) {
33088 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
33090 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
33091 return (void *)((wxControl
*) (wxBookCtrlBase
*) ((wxNotebook
*) x
));
33093 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
33094 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
33096 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
33097 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
33099 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
33100 return (void *)((wxControl
*) ((wxStaticText
*) x
));
33102 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
33103 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
33105 static void *_p_wxSliderTo_p_wxControl(void *x
) {
33106 return (void *)((wxControl
*) ((wxSlider
*) x
));
33108 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
33109 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
33111 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
33112 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
33114 static void *_p_wxButtonTo_p_wxControl(void *x
) {
33115 return (void *)((wxControl
*) ((wxButton
*) x
));
33117 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
33118 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
33120 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
33121 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
33123 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
33124 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
33126 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
33127 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
33129 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
33130 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33132 static void *_p_wxBookCtrlBaseEventTo_p_wxNotifyEvent(void *x
) {
33133 return (void *)((wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
33135 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
33136 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
33138 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
33139 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
33141 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
33142 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
33144 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
33145 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
33147 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
33148 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
33150 static void *_p_wxChoicebookEventTo_p_wxNotifyEvent(void *x
) {
33151 return (void *)((wxNotifyEvent
*) (wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
33153 static void *_p_wxChoicebookTo_p_wxBookCtrlBase(void *x
) {
33154 return (void *)((wxBookCtrlBase
*) ((wxChoicebook
*) x
));
33156 static void *_p_wxListbookTo_p_wxBookCtrlBase(void *x
) {
33157 return (void *)((wxBookCtrlBase
*) ((wxListbook
*) x
));
33159 static void *_p_wxNotebookTo_p_wxBookCtrlBase(void *x
) {
33160 return (void *)((wxBookCtrlBase
*) ((wxNotebook
*) x
));
33162 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
33163 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
33165 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x
) {
33166 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
33168 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
33169 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
33171 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
33172 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
33174 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
33175 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
33177 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
33178 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
33180 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
33181 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
33183 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
33184 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
33186 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
33187 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
33189 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
33190 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
33192 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
33193 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
33195 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
33196 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
33198 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
33199 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
33201 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
33202 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33204 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
33205 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
33207 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
33208 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
33210 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
33211 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
33213 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
33214 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
33216 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
33217 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
33219 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
33220 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
33222 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
33223 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
33225 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x
) {
33226 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
33228 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
33229 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
33231 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
33232 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
33234 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
33235 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
33237 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
33238 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
33240 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
33241 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
33243 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
33244 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
33246 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
33247 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
33249 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
33250 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
33252 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
33253 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
33255 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
33256 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
33258 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
33259 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
33261 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
33262 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
33264 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
33265 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
33267 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
33268 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
33270 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
33271 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
33273 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
33274 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
33276 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
33277 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
33279 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
33280 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
33282 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
33283 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
33285 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
33286 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
33288 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
33289 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
33291 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
33292 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
33294 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
33295 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
33297 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
33298 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
33300 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
33301 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
33303 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
33304 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
33306 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
33307 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
33309 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
33310 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
33312 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
33313 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
33315 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
33316 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
33318 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
33319 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
33321 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
33322 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
33324 static void *_p_wxSizerTo_p_wxObject(void *x
) {
33325 return (void *)((wxObject
*) ((wxSizer
*) x
));
33327 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
33328 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
33330 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
33331 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
33333 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
33334 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
33336 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
33337 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33339 static void *_p_wxEventTo_p_wxObject(void *x
) {
33340 return (void *)((wxObject
*) ((wxEvent
*) x
));
33342 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
33343 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
33345 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
33346 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
33348 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
33349 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
33351 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
33352 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
33354 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
33355 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
33357 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
33358 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33360 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
33361 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
33363 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
33364 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
33366 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
33367 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
33369 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
33370 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
33372 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
33373 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
33375 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
33376 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
33378 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
33379 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
33381 static void *_p_wxControlTo_p_wxObject(void *x
) {
33382 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
33384 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
33385 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
33387 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
33388 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
33390 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
33391 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
33393 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
33394 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
33396 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
33397 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
33399 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
33400 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
33402 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
33403 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
33405 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
33406 return (void *)((wxObject
*) ((wxFSFile
*) x
));
33408 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
33409 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
33411 static void *_p_wxListViewTo_p_wxObject(void *x
) {
33412 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
33414 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
33415 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
33417 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
33418 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
33420 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
33421 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
33423 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
33424 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33426 static void *_p_wxChoicebookTo_p_wxObject(void *x
) {
33427 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
33429 static void *_p_wxListbookTo_p_wxObject(void *x
) {
33430 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
33432 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
33433 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
33435 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
33436 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
33438 static void *_p_wxSliderTo_p_wxObject(void *x
) {
33439 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
33441 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
33442 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
33444 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
33445 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
33447 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
33448 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33450 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
33451 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
33453 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
33454 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
33456 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
33457 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
33459 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
33460 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
33462 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
33463 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
33465 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
33466 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
33468 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
33469 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
33471 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
33472 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
33474 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x
) {
33475 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrlBase
*) x
));
33477 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
33478 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
33480 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
33481 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
33483 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
33484 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
33486 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
33487 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
33489 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
33490 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
33492 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
33493 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
33495 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
33496 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
33498 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
33499 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
33501 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
33502 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
33504 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
33505 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
33507 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
33508 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
33510 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
33511 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
33513 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
33514 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
33516 static void *_p_wxListEventTo_p_wxObject(void *x
) {
33517 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
33519 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
33520 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
33522 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
33523 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
33525 static void *_p_wxButtonTo_p_wxObject(void *x
) {
33526 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
33528 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
33529 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
33531 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
33532 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
33534 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
33535 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
33537 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
33538 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
33540 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
33541 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
33543 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
33544 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
33546 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
33547 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
33549 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
33550 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
33552 static void *_p_wxListItemTo_p_wxObject(void *x
) {
33553 return (void *)((wxObject
*) ((wxListItem
*) x
));
33555 static void *_p_wxImageTo_p_wxObject(void *x
) {
33556 return (void *)((wxObject
*) ((wxImage
*) x
));
33558 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
33559 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
33561 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
33562 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
33564 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
33565 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
33567 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
33568 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
33570 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
33571 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
33573 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
33574 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
33576 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
33577 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
33579 static void *_p_wxChoicebookEventTo_p_wxObject(void *x
) {
33580 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
33582 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
33583 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33585 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
33586 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
33588 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
33589 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
33591 static void *_p_wxWindowTo_p_wxObject(void *x
) {
33592 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
33594 static void *_p_wxMenuTo_p_wxObject(void *x
) {
33595 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
33597 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
33598 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
33600 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
33601 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
33603 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
33604 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33606 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
33607 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
33609 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
33610 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
33612 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
33613 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
33615 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
33616 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
33618 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
33619 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
33621 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x
) {
33622 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
33624 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
33625 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
33627 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
33628 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33630 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
33631 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
33633 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
33634 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
33636 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
33637 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
33639 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
33640 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
33642 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
33643 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33645 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
33646 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
33648 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
33649 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
33651 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
33652 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
33654 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
33655 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
33657 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
33658 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
33660 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
33661 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
33663 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
33664 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
33666 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x
) {
33667 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrlBase
*) x
));
33669 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
33670 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
33672 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
33673 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
33675 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
33676 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
33678 static void *_p_wxControlTo_p_wxWindow(void *x
) {
33679 return (void *)((wxWindow
*) ((wxControl
*) x
));
33681 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
33682 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
33684 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
33685 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33687 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
33688 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
33690 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
33691 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
33693 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
33694 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
33696 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
33697 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
33699 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
33700 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
33702 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
33703 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
33705 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
33706 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
33708 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
33709 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
33711 static void *_p_wxChoicebookTo_p_wxWindow(void *x
) {
33712 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxChoicebook
*) x
));
33714 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
33715 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxListbook
*) x
));
33717 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
33718 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
33720 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
33721 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
33723 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
33724 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
33726 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
33727 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
33729 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
33730 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
33732 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
33733 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
33735 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
33736 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
33738 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
33739 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrlBase
*) ((wxNotebook
*) x
));
33741 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
33742 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
33744 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
33745 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
33747 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
33748 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
33750 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
33751 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
33753 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
33754 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
33756 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
33757 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
33759 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
33760 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
33762 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
33763 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
33765 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
33766 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
33768 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
33769 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
33771 static void *_p_wxNotebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
33772 return (void *)((wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
33774 static void *_p_wxListbookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
33775 return (void *)((wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
33777 static void *_p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent(void *x
) {
33778 return (void *)((wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
33780 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
33781 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33783 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
33784 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
33786 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
33787 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
33789 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
33790 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33792 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
33793 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33795 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
33796 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33798 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x
) {
33799 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxChoicebookEvent
*) x
));
33801 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
33802 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxListbookEvent
*) x
));
33804 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
33805 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlBaseEvent
*) ((wxNotebookEvent
*) x
));
33807 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
33808 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33810 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
33811 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
33813 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x
) {
33814 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlBaseEvent
*) x
));
33816 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
33817 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
33819 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
33820 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
33822 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
33823 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
33825 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
33826 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33828 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
33829 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33831 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
33832 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
33834 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
33835 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33837 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
33838 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
33840 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
33841 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
33843 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
33844 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
33846 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
33847 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
33849 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}};
33850 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}};
33851 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}};
33852 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}};
33853 static swig_type_info _swigt__p_wxEvent
[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33854 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}};
33855 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}};
33856 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}};
33857 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}};
33858 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}};
33859 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}};
33860 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}};
33861 static swig_type_info _swigt__p_wxControl
[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33862 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}};
33863 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}};
33864 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}};
33865 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}};
33866 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}};
33867 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}};
33868 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxChoice
, 0, 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}};
33869 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}};
33870 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}};
33871 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}};
33872 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}};
33873 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}};
33874 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}};
33875 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}};
33876 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}};
33877 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}};
33878 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}};
33879 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}};
33880 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}};
33881 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33882 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}};
33883 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}};
33884 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}};
33885 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}};
33886 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}};
33887 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}};
33888 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}};
33889 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}};
33890 static swig_type_info _swigt__p_wxBookCtrlBase
[] = {{"_p_wxBookCtrlBase", 0, "wxBookCtrlBase *", 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxBookCtrlBase
, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxBookCtrlBase
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", 0, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxBookCtrlBase
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33891 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33892 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}};
33893 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}};
33894 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}};
33895 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}};
33896 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}};
33897 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}};
33898 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}};
33899 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}};
33900 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}};
33901 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}};
33902 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}};
33903 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}};
33904 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}};
33905 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}};
33906 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}};
33907 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}};
33908 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}};
33909 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}};
33910 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}};
33911 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}};
33912 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}};
33913 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}};
33914 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}};
33915 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}};
33916 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}};
33917 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}};
33918 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}};
33919 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListItem", _p_wxListItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33920 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}};
33921 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}};
33922 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33923 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}};
33924 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}};
33925 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}};
33926 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}};
33927 static swig_type_info _swigt__p_wxBookCtrlBaseEvent
[] = {{"_p_wxBookCtrlBaseEvent", 0, "wxBookCtrlBaseEvent *", 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxBookCtrlBaseEvent
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxBookCtrlBaseEvent
, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxBookCtrlBaseEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33928 static swig_type_info _swigt__p_wxCommandEvent
[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33929 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}};
33930 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControlWithItems
, 0, 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}};
33931 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}};
33932 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}};
33933 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}};
33934 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}};
33935 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}};
33937 static swig_type_info
*swig_types_initial
[] = {
33938 _swigt__p_wxTextUrlEvent
,
33940 _swigt__p_wxCheckBox
,
33941 _swigt__p_wxPyTreeCtrl
,
33943 _swigt__p_wxGenericDirCtrl
,
33945 _swigt__p_wxPyTreeItemData
,
33946 _swigt__p_wxItemContainer
,
33947 _swigt__p_wxPyListCtrl
,
33948 _swigt__p_wxDirFilterListCtrl
,
33949 _swigt__p_wxStaticLine
,
33950 _swigt__p_wxControl
,
33951 _swigt__p_wxPyControl
,
33953 _swigt__p_wxToolBarBase
,
33955 _swigt__p_wxToggleButton
,
33956 _swigt__p_wxRadioButton
,
33957 _swigt__p_wxChoice
,
33958 _swigt__p_wxMemoryDC
,
33959 _swigt__p_wxListItemAttr
,
33964 _swigt__p_wxListView
,
33966 _swigt__p_wxVisualAttributes
,
33967 _swigt__p_wxTextCtrl
,
33968 _swigt__p_wxNotebook
,
33969 _swigt__p_wxChoicebook
,
33970 _swigt__p_wxNotifyEvent
,
33971 _swigt__p_wxArrayString
,
33972 _swigt__p_wxListbook
,
33973 _swigt__p_wxStaticBitmap
,
33974 _swigt__p_wxSlider
,
33975 _swigt__p_wxStaticBox
,
33976 _swigt__p_wxArrayInt
,
33977 _swigt__p_wxContextHelp
,
33979 _swigt__p_wxBookCtrlBase
,
33980 _swigt__p_wxEvtHandler
,
33981 _swigt__p_wxListEvent
,
33982 _swigt__p_wxCheckListBox
,
33983 _swigt__p_wxListBox
,
33984 _swigt__p_wxSpinButton
,
33985 _swigt__p_wxButton
,
33986 _swigt__p_wxBitmapButton
,
33988 _swigt__p_wxContextHelpButton
,
33989 _swigt__p_wxRadioBox
,
33990 _swigt__p_wxScrollBar
,
33992 _swigt__p_wxTreeItemId
,
33993 _swigt__p_wxComboBox
,
33994 _swigt__p_wxHelpEvent
,
33995 _swigt__p_wxListItem
,
33996 _swigt__p_wxNotebookSizer
,
33997 _swigt__p_wxSpinEvent
,
33998 _swigt__p_wxGenericDragImage
,
33999 _swigt__p_wxSpinCtrl
,
34000 _swigt__p_wxImageList
,
34001 _swigt__p_wxHelpProvider
,
34002 _swigt__p_wxTextAttr
,
34003 _swigt__p_wxSimpleHelpProvider
,
34005 _swigt__p_wxChoicebookEvent
,
34006 _swigt__p_wxListbookEvent
,
34007 _swigt__p_wxNotebookEvent
,
34008 _swigt__p_wxObject
,
34009 _swigt__p_wxCursor
,
34010 _swigt__p_wxKeyEvent
,
34011 _swigt__p_wxWindow
,
34012 _swigt__p_wxString
,
34013 _swigt__p_wxBitmap
,
34014 _swigt__p_wxTreeEvent
,
34015 _swigt__p_wxMouseEvent
,
34016 _swigt__p_wxBookCtrlBaseEvent
,
34017 _swigt__p_wxCommandEvent
,
34018 _swigt__p_wxStaticText
,
34019 _swigt__p_wxControlWithItems
,
34020 _swigt__p_wxToolBarToolBase
,
34021 _swigt__p_wxColour
,
34022 _swigt__p_wxToolBar
,
34023 _swigt__p_wxBookCtrlSizer
,
34024 _swigt__p_wxValidator
,
34029 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
34031 static swig_const_info swig_const_table
[] = {
34032 {0, 0, 0, 0.0, 0, 0}};
34041 SWIGEXPORT(void) SWIG_init(void) {
34042 static PyObject
*SWIG_globals
= 0;
34043 static int typeinit
= 0;
34046 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
34047 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
34048 d
= PyModule_GetDict(m
);
34051 for (i
= 0; swig_types_initial
[i
]; i
++) {
34052 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
34056 SWIG_InstallConstants(d
,swig_const_table
);
34058 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
34059 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
34060 PyDict_SetItemString(d
,"BU_LEFT", SWIG_From_int((int)wxBU_LEFT
));
34061 PyDict_SetItemString(d
,"BU_TOP", SWIG_From_int((int)wxBU_TOP
));
34062 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_From_int((int)wxBU_RIGHT
));
34063 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_From_int((int)wxBU_BOTTOM
));
34064 PyDict_SetItemString(d
,"BU_ALIGN_MASK", SWIG_From_int((int)wxBU_ALIGN_MASK
));
34065 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_From_int((int)wxBU_EXACTFIT
));
34066 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_From_int((int)wxBU_AUTODRAW
));
34067 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
34068 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_From_int((int)wxCHK_2STATE
));
34069 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_From_int((int)wxCHK_3STATE
));
34070 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
34071 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_From_int((int)wxCHK_UNCHECKED
));
34072 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_From_int((int)wxCHK_CHECKED
));
34073 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_From_int((int)wxCHK_UNDETERMINED
));
34074 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
34075 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
34076 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
34077 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_From_int((int)wxGA_HORIZONTAL
));
34078 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_From_int((int)wxGA_VERTICAL
));
34079 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_From_int((int)wxGA_SMOOTH
));
34080 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_From_int((int)wxGA_PROGRESSBAR
));
34081 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
34082 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
34083 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
34084 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
34085 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
34086 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_From_int((int)wxTE_NO_VSCROLL
));
34087 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_From_int((int)wxTE_AUTO_SCROLL
));
34088 PyDict_SetItemString(d
,"TE_READONLY", SWIG_From_int((int)wxTE_READONLY
));
34089 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_From_int((int)wxTE_MULTILINE
));
34090 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_From_int((int)wxTE_PROCESS_TAB
));
34091 PyDict_SetItemString(d
,"TE_LEFT", SWIG_From_int((int)wxTE_LEFT
));
34092 PyDict_SetItemString(d
,"TE_CENTER", SWIG_From_int((int)wxTE_CENTER
));
34093 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_From_int((int)wxTE_RIGHT
));
34094 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_From_int((int)wxTE_CENTRE
));
34095 PyDict_SetItemString(d
,"TE_RICH", SWIG_From_int((int)wxTE_RICH
));
34096 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_From_int((int)wxTE_PROCESS_ENTER
));
34097 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_From_int((int)wxTE_PASSWORD
));
34098 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_From_int((int)wxTE_AUTO_URL
));
34099 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_From_int((int)wxTE_NOHIDESEL
));
34100 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_From_int((int)wxTE_DONTWRAP
));
34101 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_From_int((int)wxTE_LINEWRAP
));
34102 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_From_int((int)wxTE_WORDWRAP
));
34103 PyDict_SetItemString(d
,"TE_RICH2", SWIG_From_int((int)wxTE_RICH2
));
34104 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)wxTEXT_ALIGNMENT_DEFAULT
));
34105 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)wxTEXT_ALIGNMENT_LEFT
));
34106 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)wxTEXT_ALIGNMENT_CENTRE
));
34107 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)wxTEXT_ALIGNMENT_CENTER
));
34108 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)wxTEXT_ALIGNMENT_RIGHT
));
34109 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
34110 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)wxTEXT_ATTR_TEXT_COLOUR
));
34111 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
34112 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)wxTEXT_ATTR_FONT_FACE
));
34113 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)wxTEXT_ATTR_FONT_SIZE
));
34114 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)wxTEXT_ATTR_FONT_WEIGHT
));
34115 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)wxTEXT_ATTR_FONT_ITALIC
));
34116 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)wxTEXT_ATTR_FONT_UNDERLINE
));
34117 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_From_int((int)wxTEXT_ATTR_FONT
));
34118 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)wxTEXT_ATTR_ALIGNMENT
));
34119 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)wxTEXT_ATTR_LEFT_INDENT
));
34120 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)wxTEXT_ATTR_RIGHT_INDENT
));
34121 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_From_int((int)wxTEXT_ATTR_TABS
));
34122 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_From_int((int)wxTE_HT_UNKNOWN
));
34123 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_From_int((int)wxTE_HT_BEFORE
));
34124 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_From_int((int)wxTE_HT_ON_TEXT
));
34125 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_From_int((int)wxTE_HT_BELOW
));
34126 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_From_int((int)wxTE_HT_BEYOND
));
34127 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
34128 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
34129 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
34130 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
34131 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
34132 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
34133 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
34134 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_From_int((int)wxSP_HORIZONTAL
));
34135 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_From_int((int)wxSP_VERTICAL
));
34136 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_From_int((int)wxSP_ARROW_KEYS
));
34137 PyDict_SetItemString(d
,"SP_WRAP", SWIG_From_int((int)wxSP_WRAP
));
34138 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
34139 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
34140 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
34141 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
34142 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
34143 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
34144 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
34145 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_From_int((int)wxNB_FIXEDWIDTH
));
34146 PyDict_SetItemString(d
,"NB_TOP", SWIG_From_int((int)wxNB_TOP
));
34147 PyDict_SetItemString(d
,"NB_LEFT", SWIG_From_int((int)wxNB_LEFT
));
34148 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_From_int((int)wxNB_RIGHT
));
34149 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_From_int((int)wxNB_BOTTOM
));
34150 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_From_int((int)wxNB_MULTILINE
));
34151 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_From_int((int)wxNB_HITTEST_NOWHERE
));
34152 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_From_int((int)wxNB_HITTEST_ONICON
));
34153 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_From_int((int)wxNB_HITTEST_ONLABEL
));
34154 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_From_int((int)wxNB_HITTEST_ONITEM
));
34155 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
34156 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
34157 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_From_int((int)wxLB_DEFAULT
));
34158 PyDict_SetItemString(d
,"LB_TOP", SWIG_From_int((int)wxLB_TOP
));
34159 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_From_int((int)wxLB_BOTTOM
));
34160 PyDict_SetItemString(d
,"LB_LEFT", SWIG_From_int((int)wxLB_LEFT
));
34161 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_From_int((int)wxLB_RIGHT
));
34162 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_From_int((int)wxLB_ALIGN_MASK
));
34163 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
34164 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
34165 PyDict_SetItemString(d
,"CHB_DEFAULT", SWIG_From_int((int)wxCHB_DEFAULT
));
34166 PyDict_SetItemString(d
,"CHB_TOP", SWIG_From_int((int)wxCHB_TOP
));
34167 PyDict_SetItemString(d
,"CHB_BOTTOM", SWIG_From_int((int)wxCHB_BOTTOM
));
34168 PyDict_SetItemString(d
,"CHB_LEFT", SWIG_From_int((int)wxCHB_LEFT
));
34169 PyDict_SetItemString(d
,"CHB_RIGHT", SWIG_From_int((int)wxCHB_RIGHT
));
34170 PyDict_SetItemString(d
,"CHB_ALIGN_MASK", SWIG_From_int((int)wxCHB_ALIGN_MASK
));
34171 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGED
));
34172 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
));
34173 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_From_int((int)wxTOOL_STYLE_BUTTON
));
34174 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)wxTOOL_STYLE_SEPARATOR
));
34175 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_From_int((int)wxTOOL_STYLE_CONTROL
));
34176 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_From_int((int)wxTB_HORIZONTAL
));
34177 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_From_int((int)wxTB_VERTICAL
));
34178 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_From_int((int)wxTB_3DBUTTONS
));
34179 PyDict_SetItemString(d
,"TB_FLAT", SWIG_From_int((int)wxTB_FLAT
));
34180 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_From_int((int)wxTB_DOCKABLE
));
34181 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_From_int((int)wxTB_NOICONS
));
34182 PyDict_SetItemString(d
,"TB_TEXT", SWIG_From_int((int)wxTB_TEXT
));
34183 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_From_int((int)wxTB_NODIVIDER
));
34184 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_From_int((int)wxTB_NOALIGN
));
34185 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_From_int((int)wxTB_HORZ_LAYOUT
));
34186 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_From_int((int)wxTB_HORZ_TEXT
));
34187 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
34188 PyDict_SetItemString(d
,"LC_VRULES", SWIG_From_int((int)wxLC_VRULES
));
34189 PyDict_SetItemString(d
,"LC_HRULES", SWIG_From_int((int)wxLC_HRULES
));
34190 PyDict_SetItemString(d
,"LC_ICON", SWIG_From_int((int)wxLC_ICON
));
34191 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_From_int((int)wxLC_SMALL_ICON
));
34192 PyDict_SetItemString(d
,"LC_LIST", SWIG_From_int((int)wxLC_LIST
));
34193 PyDict_SetItemString(d
,"LC_REPORT", SWIG_From_int((int)wxLC_REPORT
));
34194 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_From_int((int)wxLC_ALIGN_TOP
));
34195 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_From_int((int)wxLC_ALIGN_LEFT
));
34196 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_From_int((int)wxLC_AUTOARRANGE
));
34197 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_From_int((int)wxLC_VIRTUAL
));
34198 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_From_int((int)wxLC_EDIT_LABELS
));
34199 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_From_int((int)wxLC_NO_HEADER
));
34200 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_From_int((int)wxLC_NO_SORT_HEADER
));
34201 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_From_int((int)wxLC_SINGLE_SEL
));
34202 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_From_int((int)wxLC_SORT_ASCENDING
));
34203 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_From_int((int)wxLC_SORT_DESCENDING
));
34204 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_From_int((int)wxLC_MASK_TYPE
));
34205 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_From_int((int)wxLC_MASK_ALIGN
));
34206 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_From_int((int)wxLC_MASK_SORT
));
34207 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_From_int((int)wxLIST_MASK_STATE
));
34208 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_From_int((int)wxLIST_MASK_TEXT
));
34209 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_From_int((int)wxLIST_MASK_IMAGE
));
34210 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_From_int((int)wxLIST_MASK_DATA
));
34211 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_From_int((int)wxLIST_SET_ITEM
));
34212 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_From_int((int)wxLIST_MASK_WIDTH
));
34213 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_From_int((int)wxLIST_MASK_FORMAT
));
34214 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_From_int((int)wxLIST_STATE_DONTCARE
));
34215 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_From_int((int)wxLIST_STATE_DROPHILITED
));
34216 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_From_int((int)wxLIST_STATE_FOCUSED
));
34217 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_From_int((int)wxLIST_STATE_SELECTED
));
34218 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_From_int((int)wxLIST_STATE_CUT
));
34219 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_From_int((int)wxLIST_STATE_DISABLED
));
34220 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_From_int((int)wxLIST_STATE_FILTERED
));
34221 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_From_int((int)wxLIST_STATE_INUSE
));
34222 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_From_int((int)wxLIST_STATE_PICKED
));
34223 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_From_int((int)wxLIST_STATE_SOURCE
));
34224 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_From_int((int)wxLIST_HITTEST_ABOVE
));
34225 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_From_int((int)wxLIST_HITTEST_BELOW
));
34226 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)wxLIST_HITTEST_NOWHERE
));
34227 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)wxLIST_HITTEST_ONITEMICON
));
34228 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)wxLIST_HITTEST_ONITEMLABEL
));
34229 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)wxLIST_HITTEST_ONITEMRIGHT
));
34230 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)wxLIST_HITTEST_ONITEMSTATEICON
));
34231 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)wxLIST_HITTEST_TOLEFT
));
34232 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)wxLIST_HITTEST_TORIGHT
));
34233 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_From_int((int)wxLIST_HITTEST_ONITEM
));
34234 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_From_int((int)wxLIST_NEXT_ABOVE
));
34235 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_From_int((int)wxLIST_NEXT_ALL
));
34236 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_From_int((int)wxLIST_NEXT_BELOW
));
34237 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_From_int((int)wxLIST_NEXT_LEFT
));
34238 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_From_int((int)wxLIST_NEXT_RIGHT
));
34239 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)wxLIST_ALIGN_DEFAULT
));
34240 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_From_int((int)wxLIST_ALIGN_LEFT
));
34241 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_From_int((int)wxLIST_ALIGN_TOP
));
34242 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)wxLIST_ALIGN_SNAP_TO_GRID
));
34243 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_From_int((int)wxLIST_FORMAT_LEFT
));
34244 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_From_int((int)wxLIST_FORMAT_RIGHT
));
34245 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_From_int((int)wxLIST_FORMAT_CENTRE
));
34246 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_From_int((int)wxLIST_FORMAT_CENTER
));
34247 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_From_int((int)wxLIST_AUTOSIZE
));
34248 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)wxLIST_AUTOSIZE_USEHEADER
));
34249 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_From_int((int)wxLIST_RECT_BOUNDS
));
34250 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_From_int((int)wxLIST_RECT_ICON
));
34251 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_From_int((int)wxLIST_RECT_LABEL
));
34252 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_From_int((int)wxLIST_FIND_UP
));
34253 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_From_int((int)wxLIST_FIND_DOWN
));
34254 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_From_int((int)wxLIST_FIND_LEFT
));
34255 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_From_int((int)wxLIST_FIND_RIGHT
));
34256 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
34257 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
34258 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
34259 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
34260 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
34261 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
34262 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
34263 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
34264 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
34265 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
34266 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
34267 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
34268 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
34269 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
34270 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
34271 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
34272 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
34273 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
34274 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
34275 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
34276 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
34277 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
34279 // Map renamed classes back to their common name for OOR
34280 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
34282 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
34283 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_From_int((int)wxTR_NO_BUTTONS
));
34284 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_From_int((int)wxTR_HAS_BUTTONS
));
34285 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_From_int((int)wxTR_NO_LINES
));
34286 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_From_int((int)wxTR_LINES_AT_ROOT
));
34287 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_From_int((int)wxTR_SINGLE
));
34288 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_From_int((int)wxTR_MULTIPLE
));
34289 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_From_int((int)wxTR_EXTENDED
));
34290 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
34291 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_From_int((int)wxTR_EDIT_LABELS
));
34292 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_From_int((int)wxTR_HIDE_ROOT
));
34293 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_From_int((int)wxTR_ROW_LINES
));
34294 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)wxTR_FULL_ROW_HIGHLIGHT
));
34295 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_From_int((int)wxTR_DEFAULT_STYLE
));
34296 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_From_int((int)wxTR_TWIST_BUTTONS
));
34297 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_From_int((int)wxTR_MAC_BUTTONS
));
34298 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_From_int((int)wxTR_AQUA_BUTTONS
));
34299 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_From_int((int)wxTreeItemIcon_Normal
));
34300 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_From_int((int)wxTreeItemIcon_Selected
));
34301 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_From_int((int)wxTreeItemIcon_Expanded
));
34302 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)wxTreeItemIcon_SelectedExpanded
));
34303 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_From_int((int)wxTreeItemIcon_Max
));
34304 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_From_int((int)wxTREE_HITTEST_ABOVE
));
34305 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_From_int((int)wxTREE_HITTEST_BELOW
));
34306 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)wxTREE_HITTEST_NOWHERE
));
34307 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)wxTREE_HITTEST_ONITEMBUTTON
));
34308 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)wxTREE_HITTEST_ONITEMICON
));
34309 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)wxTREE_HITTEST_ONITEMINDENT
));
34310 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)wxTREE_HITTEST_ONITEMLABEL
));
34311 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)wxTREE_HITTEST_ONITEMRIGHT
));
34312 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)wxTREE_HITTEST_ONITEMSTATEICON
));
34313 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)wxTREE_HITTEST_TOLEFT
));
34314 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)wxTREE_HITTEST_TORIGHT
));
34315 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)wxTREE_HITTEST_ONITEMUPPERPART
));
34316 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)wxTREE_HITTEST_ONITEMLOWERPART
));
34317 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_From_int((int)wxTREE_HITTEST_ONITEM
));
34318 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
34319 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
34320 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
34321 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
34322 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
34323 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
34324 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
34325 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
34326 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
34327 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
34328 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
34329 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
34330 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
34331 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
34332 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
34333 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
34334 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
34335 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
34336 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
34337 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
34339 // Map renamed classes back to their common name for OOR
34340 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
34341 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
34343 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
34344 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)wxDIRCTRL_DIR_ONLY
));
34345 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)wxDIRCTRL_SELECT_FIRST
));
34346 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)wxDIRCTRL_SHOW_FILTERS
));
34347 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)wxDIRCTRL_3D_INTERNAL
));
34348 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)wxDIRCTRL_EDIT_LABELS
));
34349 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)wxFRAME_EX_CONTEXTHELP
));
34350 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)wxDIALOG_EX_CONTEXTHELP
));
34351 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
34352 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
34354 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");