1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypePrettyName SWIG_Python_TypePrettyName
47 #define SWIG_TypeQuery SWIG_Python_TypeQuery
48 #define SWIG_TypeClientData SWIG_Python_TypeClientData
49 #define SWIG_PackData SWIG_Python_PackData
50 #define SWIG_UnpackData SWIG_Python_UnpackData
53 /***********************************************************************
54 * common.swg for wxPython
56 * Include only the function prototypes and such from SWIG's common.swg,
57 * but not the runtime functions themselves. This helps keep the
58 * wrapper files clean of unnecessary stuff that is in the libpy.c file
61 ************************************************************************/
65 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
66 # if defined(_MSC_VER) || defined(__GNUC__)
67 # if defined(STATIC_LINKED)
68 # define SWIGEXPORT(a) a
69 # define SWIGIMPORT(a) extern a
71 # define SWIGEXPORT(a) __declspec(dllexport) a
72 # define SWIGIMPORT(a) extern a
75 # if defined(__BORLANDC__)
76 # define SWIGEXPORT(a) a _export
77 # define SWIGIMPORT(a) a _export
79 # define SWIGEXPORT(a) a
80 # define SWIGIMPORT(a) a
84 # define SWIGEXPORT(a) a
85 # define SWIGIMPORT(a) a
89 # define SWIGRUNTIME(a) SWIGEXPORT(a)
91 # define SWIGRUNTIME(a) static a
98 typedef void *(*swig_converter_func
)(void *);
99 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
101 typedef struct swig_type_info
{
103 swig_converter_func converter
;
106 swig_dycast_func dcast
;
107 struct swig_type_info
*next
;
108 struct swig_type_info
*prev
;
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
113 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
114 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
115 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
116 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
117 SWIGIMPORT(const char *) SWIG_TypePrettyName(const swig_type_info
*);
118 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
119 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
120 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
121 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
129 /***********************************************************************
130 * pyrun.swg for wxPython
132 * Include only the function prototypes and such from SWIG's pyrun.swg,
133 * but not the runtime functions themselves. This helps keep the
134 * wrapper files clean of unnecessary stuff that is in the libpy.c file
137 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
187 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
199 /* Contract support */
201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
209 /* -------- TYPES TABLE (BEGIN) -------- */
211 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
212 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
213 #define SWIGTYPE_p_wxSizer swig_types[2]
214 #define SWIGTYPE_p_wxCheckBox swig_types[3]
215 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[4]
216 #define SWIGTYPE_p_wxEvent swig_types[5]
217 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[6]
218 #define SWIGTYPE_p_bool swig_types[7]
219 #define SWIGTYPE_p_wxPyTreeItemData swig_types[8]
220 #define SWIGTYPE_p_wxItemContainer swig_types[9]
221 #define SWIGTYPE_p_wxPyListCtrl swig_types[10]
222 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[11]
223 #define SWIGTYPE_p_wxStaticLine swig_types[12]
224 #define SWIGTYPE_p_wxControl swig_types[13]
225 #define SWIGTYPE_p_wxPyControl swig_types[14]
226 #define SWIGTYPE_p_wxGauge swig_types[15]
227 #define SWIGTYPE_p_wxToolBarBase swig_types[16]
228 #define SWIGTYPE_p_wxFont swig_types[17]
229 #define SWIGTYPE_p_wxToggleButton swig_types[18]
230 #define SWIGTYPE_p_wxRadioButton swig_types[19]
231 #define SWIGTYPE_p_wxChoice swig_types[20]
232 #define SWIGTYPE_p_wxMemoryDC swig_types[21]
233 #define SWIGTYPE_p_wxListItemAttr swig_types[22]
234 #define SWIGTYPE_p_void swig_types[23]
235 #define SWIGTYPE_p_int swig_types[24]
236 #define SWIGTYPE_p_wxSize swig_types[25]
237 #define SWIGTYPE_p_wxDC swig_types[26]
238 #define SWIGTYPE_p_wxListView swig_types[27]
239 #define SWIGTYPE_p_wxIcon swig_types[28]
240 #define SWIGTYPE_p_wxVisualAttributes swig_types[29]
241 #define SWIGTYPE_p_wxTextCtrl swig_types[30]
242 #define SWIGTYPE_p_wxNotebook swig_types[31]
243 #define SWIGTYPE_p_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_wxEvtHandler swig_types[41]
253 #define SWIGTYPE_p_wxListEvent swig_types[42]
254 #define SWIGTYPE_p_wxCheckListBox swig_types[43]
255 #define SWIGTYPE_p_wxListBox swig_types[44]
256 #define SWIGTYPE_p_wxBookCtrl 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_wxListbookEvent swig_types[67]
279 #define SWIGTYPE_p_wxNotebookEvent swig_types[68]
280 #define SWIGTYPE_p_wxObject swig_types[69]
281 #define SWIGTYPE_p_wxCursor swig_types[70]
282 #define SWIGTYPE_p_wxKeyEvent swig_types[71]
283 #define SWIGTYPE_p_wxWindow swig_types[72]
284 #define SWIGTYPE_p_wxString swig_types[73]
285 #define SWIGTYPE_p_wxBitmap swig_types[74]
286 #define SWIGTYPE_p_wxTreeEvent swig_types[75]
287 #define SWIGTYPE_p_wxMouseEvent swig_types[76]
288 #define SWIGTYPE_p_wxCommandEvent swig_types[77]
289 #define SWIGTYPE_p_wxStaticText swig_types[78]
290 #define SWIGTYPE_p_wxControlWithItems swig_types[79]
291 #define SWIGTYPE_p_wxToolBarToolBase swig_types[80]
292 #define SWIGTYPE_p_wxColour swig_types[81]
293 #define SWIGTYPE_p_wxToolBar swig_types[82]
294 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[83]
295 #define SWIGTYPE_p_wxValidator swig_types[84]
296 static swig_type_info
*swig_types
[86];
298 /* -------- TYPES TABLE (END) -------- */
301 /*-----------------------------------------------
302 @(target):= _controls_.so
303 ------------------------------------------------*/
304 #define SWIG_init init_controls_
306 #define SWIG_name "_controls_"
308 /* Auxiliar swig macros that appear in the header */
310 #define SWIG_OLDOBJ 1
311 #define SWIG_NEWOBJ SWIG_OLDOBJ + 1
312 #define SWIG_PYSTR SWIG_NEWOBJ + 1
315 #define SWIGSTATICINLINE(a) static inline a
316 #define SWIGSTATIC(a) static a
317 #define swig_new_array(size,Type) (new Type[(size)])
318 #define swig_delete(cptr) delete cptr
319 #define swig_delete_array(cptr) delete[] cptr
320 #define swig_const_cast(a,Type) const_cast<Type >(a)
321 #define swig_static_cast(a,Type) static_cast<Type >(a)
322 #define swig_reinterpret_cast(a,Type) reinterpret_cast<Type >(a)
323 #define swig_new_copy(ptr,Type) (new Type(*ptr))
324 #define swig_numeric_cast(a,Type) static_cast<Type >(a)
328 #define SWIGSTATICINLINE(a) static a
329 #define SWIGSTATIC(a) static a
330 #define swig_new_array(size,Type) ((Type*) malloc((size)*sizeof(Type)))
331 #define swig_delete(cptr) free((char*)cptr)
332 #define swig_delete_array(cptr) free((char*)cptr)
333 #define swig_const_cast(a,Type) (Type)(a)
334 #define swig_static_cast(a,Type) (Type)(a)
335 #define swig_reinterpret_cast(a,Type) (Type)(a)
336 #define swig_numeric_cast(a,Type) (Type)(a)
337 #define swig_new_copy(ptr,Type) ((Type*)memcpy(malloc(sizeof(Type)),ptr,sizeof(Type)))
339 #endif /* __cplusplus */
342 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
343 #define SWIG_From_signed_SS_char PyInt_FromLong
345 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
346 #define SWIG_From_unsigned_SS_char PyInt_FromLong
348 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
349 #define SWIG_From_short PyInt_FromLong
351 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
352 #define SWIG_From_unsigned_SS_short PyInt_FromLong
354 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
355 #define SWIG_From_int PyInt_FromLong
357 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
358 #define SWIG_From_long PyInt_FromLong
360 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
361 #define SWIG_From_float PyFloat_FromDouble
363 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
364 #define SWIG_From_double PyFloat_FromDouble
368 #include "wx/wxPython/wxPython.h"
369 #include "wx/wxPython/pyclasses.h"
371 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
372 static const wxString
wxPyEmptyString(wxEmptyString
);
373 static const wxString
wxPyControlNameStr(wxControlNameStr
);
375 const wxArrayString wxPyEmptyStringArray
;
377 static const wxString
wxPyButtonNameStr(wxButtonNameStr
);
382 SWIGSTATICINLINE(int)
383 SWIG_CheckLongInRange(long value
, long min_value
, long max_value
,
386 if (value
< min_value
) {
388 PyErr_Format(PyExc_OverflowError
,
389 "value %ld is less than '%s' minimum %ld",
390 value
, errmsg
, min_value
);
393 } else if (value
> max_value
) {
395 PyErr_Format(PyExc_OverflowError
,
396 "value %ld is greater than '%s' maximum %ld",
397 value
, errmsg
, max_value
);
405 // See my_fragments.i
406 SWIGSTATICINLINE(int)
407 SWIG_AsVal_long(PyObject
* obj
, long* val
)
409 if (PyNumber_Check(obj
)) {
410 if (val
) *val
= PyInt_AsLong(obj
);
414 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
415 obj
->ob_type
->tp_name
);
416 PyErr_SetObject(PyExc_TypeError
, errmsg
);
423 #if INT_MAX != LONG_MAX
424 SWIGSTATICINLINE(int)
425 SWIG_AsVal_int(PyObject
*obj
, int *val
)
427 const char* errmsg
= val
? "int" : 0;
429 if (SWIG_AsVal_long(obj
, &v
)) {
430 if (SWIG_CheckLongInRange(v
, INT_MIN
,INT_MAX
, errmsg
)) {
431 if (val
) *val
= swig_numeric_cast(v
, int);
440 PyErr_SetString(PyExc_TypeError
, "an int is expected");
445 SWIGSTATICINLINE(int)
446 SWIG_AsVal_int(PyObject
*obj
, int *val
)
448 return SWIG_AsVal_long(obj
,(long*)val
);
453 SWIGSTATICINLINE(int)
454 SWIG_As_int(PyObject
* obj
)
457 if (!SWIG_AsVal_int(obj
, &v
)) {
459 this is needed to make valgrind/purify happier. the other
460 solution is throw an exception, but since this code should work
463 memset((void*)&v
, 0, sizeof(int));
469 SWIGSTATICINLINE(long)
470 SWIG_As_long(PyObject
* obj
)
473 if (!SWIG_AsVal_long(obj
, &v
)) {
475 this is needed to make valgrind/purify happier. the other
476 solution is throw an exception, but since this code should work
479 memset((void*)&v
, 0, sizeof(long));
485 SWIGSTATICINLINE(int)
486 SWIG_Check_int(PyObject
* obj
)
488 return SWIG_AsVal_int(obj
, (int*)0);
492 SWIGSTATICINLINE(int)
493 SWIG_Check_long(PyObject
* obj
)
495 return SWIG_AsVal_long(obj
, (long*)0);
498 static const wxString
wxPyCheckBoxNameStr(wxCheckBoxNameStr
);
500 SWIGSTATICINLINE(int)
501 SWIG_AsVal_bool(PyObject
*obj
, bool *val
)
503 /* if (val) *val = PyObject_IsTrue(obj); return 1; */
504 if (obj
== Py_True
) {
505 if (val
) *val
= true;
508 if (obj
== Py_False
) {
509 if (val
) *val
= false;
513 if (SWIG_AsVal_int(obj
, &res
)) {
514 if (val
) *val
= (bool)res
;
518 PyErr_SetString(PyExc_TypeError
, "a bool is expected");
524 SWIGSTATICINLINE(bool)
525 SWIG_As_bool(PyObject
* obj
)
528 if (!SWIG_AsVal_bool(obj
, &v
)) {
530 this is needed to make valgrind/purify happier. the other
531 solution is throw an exception, but since this code should work
534 memset((void*)&v
, 0, sizeof(bool));
540 SWIGSTATICINLINE(int)
541 SWIG_Check_bool(PyObject
* obj
)
543 return SWIG_AsVal_bool(obj
, (bool*)0);
546 static const wxString
wxPyChoiceNameStr(wxChoiceNameStr
);
547 static const wxString
wxPyComboBoxNameStr(wxComboBoxNameStr
);
548 static const wxString
wxPyGaugeNameStr(wxGaugeNameStr
);
549 static const wxString
wxPyStaticBitmapNameStr(wxStaticBitmapNameStr
);
550 static const wxString
wxPyStaticBoxNameStr(wxStaticBoxNameStr
);
551 static const wxString
wxPyStaticTextNameStr(wxStaticTextNameStr
);
553 #include <wx/checklst.h>
556 static const wxString
wxPyListBoxNameStr(wxListBoxNameStr
);
557 void wxListBox_Insert(wxListBox
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
559 wxPyClientData
* data
= new wxPyClientData(clientData
);
560 self
->Insert(item
, pos
, data
);
562 self
->Insert(item
, pos
);
564 PyObject
*wxListBox_GetSelections(wxListBox
*self
){
566 self
->GetSelections(lst
);
567 PyObject
*tup
= PyTuple_New(lst
.GetCount());
568 for(size_t i
=0; i
<lst
.GetCount(); i
++) {
569 PyTuple_SetItem(tup
, i
, PyInt_FromLong(lst
[i
]));
573 void wxListBox_SetItemForegroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
575 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
576 self
->GetItem(item
)->SetTextColour(c
);
579 void wxListBox_SetItemBackgroundColour(wxListBox
*self
,int item
,wxColour
const &c
){
581 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
582 self
->GetItem(item
)->SetBackgroundColour(c
);
585 void wxListBox_SetItemFont(wxListBox
*self
,int item
,wxFont
const &f
){
587 if (self
->GetWindowStyle() & wxLB_OWNERDRAW
)
588 self
->GetItem(item
)->SetFont(f
);
591 static const wxString
wxPyTextCtrlNameStr(wxTextCtrlNameStr
);
593 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
599 } else if (target
== Py_None
) {
604 target
= PyTuple_New(1);
605 PyTuple_SetItem(target
, 0, o2
);
608 PyTuple_SetItem(o3
, 0, o
);
611 target
= PySequence_Concat(o2
, o3
);
620 // See my_fragments.i
621 SWIGSTATICINLINE(int)
622 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
625 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
626 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
630 *val
= (unsigned long)v
;
635 SWIGSTATICINLINE(unsigned long)
636 SWIG_As_unsigned_SS_long(PyObject
* obj
)
639 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
641 this is needed to make valgrind/purify happier. the other
642 solution is throw an exception, but since this code should work
645 memset((void*)&v
, 0, sizeof(unsigned long));
651 SWIGSTATICINLINE(int)
652 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
654 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
657 void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
658 self
->AppendText(text
);
660 wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
661 return self
->GetValue().Mid(from
, to
- from
);
663 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
664 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
665 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
666 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
667 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
668 int wxRadioBox_GetColumnCount(wxRadioBox
const *self
){ return -1; }
669 int wxRadioBox_GetRowCount(wxRadioBox
const *self
){ return -1; }
670 int wxRadioBox_GetNextItem(wxRadioBox
const *self
,int item
,wxDirection dir
,long style
){ return -1; }
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_INT_LONG(OnGetItemImage
);
794 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
799 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
801 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
802 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
803 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
805 wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
807 item
.SetMask( wxLIST_MASK_STATE
|
815 if (self
->GetColumn(col
, item
))
816 return new wxListItem(item
);
820 wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
){
821 wxListItem
* info
= new wxListItem
;
822 info
->m_itemId
= itemId
;
824 info
->m_mask
= 0xFFFF;
825 self
->GetItem(*info
);
828 wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
830 self
->GetItemPosition(item
, pos
);
833 wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
){
835 self
->GetItemRect(item
, rect
, code
);
839 bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
840 if (!PyCallable_Check(func
))
842 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
844 wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
848 return (wxWindow
*)self
->m_mainWin
;
852 #include <wx/treectrl.h>
853 #include "wx/wxPython/pytree.h"
855 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
856 bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : False
; }
857 bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : True
; }
858 void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
859 // C++ version of Python aware wxTreeCtrl
860 class wxPyTreeCtrl
: public wxTreeCtrl
{
861 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
863 wxPyTreeCtrl() : wxTreeCtrl() {}
864 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
868 const wxValidator
& validator
,
869 const wxString
& name
) :
870 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
872 bool Create(wxWindow
*parent
, wxWindowID id
,
876 const wxValidator
& validator
,
877 const wxString
& name
) {
878 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
882 int OnCompareItems(const wxTreeItemId
& item1
,
883 const wxTreeItemId
& item2
) {
886 bool blocked
= wxPyBeginBlockThreads();
887 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
888 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), False
);
889 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), False
);
890 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
894 wxPyEndBlockThreads(blocked
);
896 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
902 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
906 #if UINT_MAX < LONG_MAX
907 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
908 #define SWIG_From_unsigned_SS_int SWIG_From_long
911 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
912 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
917 SWIGSTATICINLINE(int)
918 SWIG_CheckUnsignedLongInRange(unsigned long value
,
919 unsigned long max_value
,
922 if (value
> max_value
) {
924 PyErr_Format(PyExc_OverflowError
,
925 "value %ld is greater than '%s' minimum %ld",
926 value
, errmsg
, max_value
);
934 #if UINT_MAX != ULONG_MAX
935 SWIGSTATICINLINE(int)
936 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
938 const char* errmsg
= val
? "unsigned int" : 0;
940 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
941 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
942 if (val
) *val
= swig_numeric_cast(v
, unsigned int);
949 PyErr_SetString(PyExc_TypeError
, "an unsigned int is expected");
954 SWIGSTATICINLINE(unsigned int)
955 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
957 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
962 SWIGSTATICINLINE(unsigned int)
963 SWIG_As_unsigned_SS_int(PyObject
* obj
)
966 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
968 this is needed to make valgrind/purify happier. the other
969 solution is throw an exception, but since this code should work
972 memset((void*)&v
, 0, sizeof(unsigned int));
978 SWIGSTATICINLINE(int)
979 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
981 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
984 wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
985 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
987 data
= new wxPyTreeItemData();
988 data
->SetId(item
); // set the id
989 self
->SetItemData(item
, data
);
993 PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
994 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
996 data
= new wxPyTreeItemData();
997 data
->SetId(item
); // set the id
998 self
->SetItemData(item
, data
);
1000 return data
->GetData();
1002 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
1003 data
->SetId(item
); // set the id
1004 self
->SetItemData(item
, data
);
1006 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
1007 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
1009 data
= new wxPyTreeItemData(obj
);
1010 data
->SetId(item
); // set the id
1011 self
->SetItemData(item
, data
);
1015 PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
1016 bool blocked
= wxPyBeginBlockThreads();
1017 PyObject
* rval
= PyList_New(0);
1018 wxArrayTreeItemIds array
;
1020 num
= self
->GetSelections(array
);
1021 for (x
=0; x
< num
; x
++) {
1022 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
1023 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), True
);
1024 PyList_Append(rval
, item
);
1027 wxPyEndBlockThreads(blocked
);
1030 PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
1032 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
1033 bool blocked
= wxPyBeginBlockThreads();
1034 PyObject
* tup
= PyTuple_New(2);
1035 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
1036 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
1037 wxPyEndBlockThreads(blocked
);
1040 PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
1041 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
1042 bool blocked
= wxPyBeginBlockThreads();
1043 PyObject
* tup
= PyTuple_New(2);
1044 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
1045 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
1046 wxPyEndBlockThreads(blocked
);
1049 PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
){
1051 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
1052 bool blocked
= wxPyBeginBlockThreads();
1053 wxRect
* r
= new wxRect(rect
);
1054 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), True
);
1055 wxPyEndBlockThreads(blocked
);
1061 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
1063 SWIGSTATICINLINE(PyObject
*)
1064 SWIG_From_bool(bool value
)
1066 PyObject
*obj
= value
? Py_True
: Py_False
;
1072 // C++ version of Python aware wxControl
1073 class wxPyControl
: public wxControl
1075 DECLARE_DYNAMIC_CLASS(wxPyControl
)
1077 wxPyControl() : wxControl() {}
1078 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
1079 const wxPoint
& pos
= wxDefaultPosition
,
1080 const wxSize
& size
= wxDefaultSize
,
1082 const wxValidator
& validator
=wxDefaultValidator
,
1083 const wxString
& name
= wxPyControlNameStr
)
1084 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
1086 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
1088 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1089 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1090 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1091 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1093 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1094 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1095 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1097 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1098 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1100 DEC_PYCALLBACK__(InitDialog
);
1101 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1102 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1103 DEC_PYCALLBACK_BOOL_(Validate
);
1105 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1106 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1107 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1109 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1110 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1112 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1113 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1114 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1119 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
1121 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
1122 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
1123 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
1124 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
1126 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
1127 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
1128 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
1130 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
1131 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
1133 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
1134 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
1135 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
1136 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
1138 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
1139 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
1140 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
1142 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
1143 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
1145 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
1146 IMP_PYCALLBACK__COLOUR(wxPyControl
, wxControl
, ApplyParentThemeBackground
);
1147 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
1151 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
1153 #include <wx/generic/dragimgg.h>
1158 static int _wrap_ButtonNameStr_set(PyObject
*) {
1159 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
1164 static PyObject
*_wrap_ButtonNameStr_get() {
1169 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1171 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1178 static PyObject
*_wrap_new_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1179 PyObject
*resultobj
;
1180 wxWindow
*arg1
= (wxWindow
*) 0 ;
1181 int arg2
= (int) -1 ;
1182 wxString
const &arg3_defvalue
= wxPyEmptyString
;
1183 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
1184 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1185 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1186 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1187 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1188 long arg6
= (long) 0 ;
1189 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1190 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1191 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1192 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1194 bool temp3
= False
;
1197 bool temp8
= False
;
1198 PyObject
* obj0
= 0 ;
1199 PyObject
* obj1
= 0 ;
1200 PyObject
* obj2
= 0 ;
1201 PyObject
* obj3
= 0 ;
1202 PyObject
* obj4
= 0 ;
1203 PyObject
* obj5
= 0 ;
1204 PyObject
* obj6
= 0 ;
1205 PyObject
* obj7
= 0 ;
1207 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1214 arg2
= (int)SWIG_As_int(obj1
);
1215 if (PyErr_Occurred()) SWIG_fail
;
1219 arg3
= wxString_in_helper(obj2
);
1220 if (arg3
== NULL
) SWIG_fail
;
1227 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1233 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1237 arg6
= (long)SWIG_As_long(obj5
);
1238 if (PyErr_Occurred()) SWIG_fail
;
1241 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1242 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1245 PyErr_SetString(PyExc_TypeError
,"null reference");
1251 arg8
= wxString_in_helper(obj7
);
1252 if (arg8
== NULL
) SWIG_fail
;
1257 if (!wxPyCheckForApp()) SWIG_fail
;
1258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1259 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1261 wxPyEndAllowThreads(__tstate
);
1262 if (PyErr_Occurred()) SWIG_fail
;
1264 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
1287 static PyObject
*_wrap_new_PreButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1288 PyObject
*resultobj
;
1294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
1296 if (!wxPyCheckForApp()) SWIG_fail
;
1297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1298 result
= (wxButton
*)new wxButton();
1300 wxPyEndAllowThreads(__tstate
);
1301 if (PyErr_Occurred()) SWIG_fail
;
1303 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
1310 static PyObject
*_wrap_Button_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1311 PyObject
*resultobj
;
1312 wxButton
*arg1
= (wxButton
*) 0 ;
1313 wxWindow
*arg2
= (wxWindow
*) 0 ;
1314 int arg3
= (int) -1 ;
1315 wxString
const &arg4_defvalue
= wxPyEmptyString
;
1316 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
1317 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1318 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1319 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1320 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1321 long arg7
= (long) 0 ;
1322 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1323 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1324 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1325 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1327 bool temp4
= False
;
1330 bool temp9
= False
;
1331 PyObject
* obj0
= 0 ;
1332 PyObject
* obj1
= 0 ;
1333 PyObject
* obj2
= 0 ;
1334 PyObject
* obj3
= 0 ;
1335 PyObject
* obj4
= 0 ;
1336 PyObject
* obj5
= 0 ;
1337 PyObject
* obj6
= 0 ;
1338 PyObject
* obj7
= 0 ;
1339 PyObject
* obj8
= 0 ;
1341 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1347 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1350 arg3
= (int)SWIG_As_int(obj2
);
1351 if (PyErr_Occurred()) SWIG_fail
;
1355 arg4
= wxString_in_helper(obj3
);
1356 if (arg4
== NULL
) SWIG_fail
;
1363 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1369 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1373 arg7
= (long)SWIG_As_long(obj6
);
1374 if (PyErr_Occurred()) SWIG_fail
;
1377 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1378 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1381 PyErr_SetString(PyExc_TypeError
,"null reference");
1387 arg9
= wxString_in_helper(obj8
);
1388 if (arg9
== NULL
) SWIG_fail
;
1393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1394 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1396 wxPyEndAllowThreads(__tstate
);
1397 if (PyErr_Occurred()) SWIG_fail
;
1400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1424 static PyObject
*_wrap_Button_SetDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1425 PyObject
*resultobj
;
1426 wxButton
*arg1
= (wxButton
*) 0 ;
1427 PyObject
* obj0
= 0 ;
1429 (char *) "self", NULL
1432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1437 (arg1
)->SetDefault();
1439 wxPyEndAllowThreads(__tstate
);
1440 if (PyErr_Occurred()) SWIG_fail
;
1442 Py_INCREF(Py_None
); resultobj
= Py_None
;
1449 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1450 PyObject
*resultobj
;
1456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1459 result
= wxButton::GetDefaultSize();
1461 wxPyEndAllowThreads(__tstate
);
1462 if (PyErr_Occurred()) SWIG_fail
;
1466 resultptr
= new wxSize((wxSize
&) result
);
1467 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
1475 static PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1476 PyObject
*resultobj
;
1477 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
1478 wxVisualAttributes result
;
1479 PyObject
* obj0
= 0 ;
1481 (char *) "variant", NULL
1484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
1486 arg1
= (int)SWIG_As_int(obj0
);
1487 if (PyErr_Occurred()) SWIG_fail
;
1490 if (!wxPyCheckForApp()) SWIG_fail
;
1491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1492 result
= wxButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
1494 wxPyEndAllowThreads(__tstate
);
1495 if (PyErr_Occurred()) SWIG_fail
;
1498 wxVisualAttributes
* resultptr
;
1499 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
1500 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
1508 static PyObject
* Button_swigregister(PyObject
*, PyObject
*args
) {
1510 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1511 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1513 return Py_BuildValue((char *)"");
1515 static PyObject
*_wrap_new_BitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1516 PyObject
*resultobj
;
1517 wxWindow
*arg1
= (wxWindow
*) 0 ;
1518 int arg2
= (int) -1 ;
1519 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
1520 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
1521 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1522 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1523 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1524 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1525 long arg6
= (long) wxBU_AUTODRAW
;
1526 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1527 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1528 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1529 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1530 wxBitmapButton
*result
;
1533 bool temp8
= False
;
1534 PyObject
* obj0
= 0 ;
1535 PyObject
* obj1
= 0 ;
1536 PyObject
* obj2
= 0 ;
1537 PyObject
* obj3
= 0 ;
1538 PyObject
* obj4
= 0 ;
1539 PyObject
* obj5
= 0 ;
1540 PyObject
* obj6
= 0 ;
1541 PyObject
* obj7
= 0 ;
1543 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1550 arg2
= (int)SWIG_As_int(obj1
);
1551 if (PyErr_Occurred()) SWIG_fail
;
1554 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
1555 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1558 PyErr_SetString(PyExc_TypeError
,"null reference");
1565 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1571 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1575 arg6
= (long)SWIG_As_long(obj5
);
1576 if (PyErr_Occurred()) SWIG_fail
;
1579 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1580 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1583 PyErr_SetString(PyExc_TypeError
,"null reference");
1589 arg8
= wxString_in_helper(obj7
);
1590 if (arg8
== NULL
) SWIG_fail
;
1595 if (!wxPyCheckForApp()) SWIG_fail
;
1596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1597 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1599 wxPyEndAllowThreads(__tstate
);
1600 if (PyErr_Occurred()) SWIG_fail
;
1602 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
1617 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1618 PyObject
*resultobj
;
1619 wxBitmapButton
*result
;
1624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1626 if (!wxPyCheckForApp()) SWIG_fail
;
1627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1628 result
= (wxBitmapButton
*)new wxBitmapButton();
1630 wxPyEndAllowThreads(__tstate
);
1631 if (PyErr_Occurred()) SWIG_fail
;
1633 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
1640 static PyObject
*_wrap_BitmapButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1641 PyObject
*resultobj
;
1642 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1643 wxWindow
*arg2
= (wxWindow
*) 0 ;
1644 int arg3
= (int) -1 ;
1645 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
1646 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
1647 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1648 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1649 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1650 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1651 long arg7
= (long) wxBU_AUTODRAW
;
1652 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1653 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1654 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1655 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1659 bool temp9
= False
;
1660 PyObject
* obj0
= 0 ;
1661 PyObject
* obj1
= 0 ;
1662 PyObject
* obj2
= 0 ;
1663 PyObject
* obj3
= 0 ;
1664 PyObject
* obj4
= 0 ;
1665 PyObject
* obj5
= 0 ;
1666 PyObject
* obj6
= 0 ;
1667 PyObject
* obj7
= 0 ;
1668 PyObject
* obj8
= 0 ;
1670 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1676 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1679 arg3
= (int)SWIG_As_int(obj2
);
1680 if (PyErr_Occurred()) SWIG_fail
;
1683 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
1684 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1687 PyErr_SetString(PyExc_TypeError
,"null reference");
1694 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1700 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1704 arg7
= (long)SWIG_As_long(obj6
);
1705 if (PyErr_Occurred()) SWIG_fail
;
1708 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1709 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1712 PyErr_SetString(PyExc_TypeError
,"null reference");
1718 arg9
= wxString_in_helper(obj8
);
1719 if (arg9
== NULL
) SWIG_fail
;
1724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1725 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1727 wxPyEndAllowThreads(__tstate
);
1728 if (PyErr_Occurred()) SWIG_fail
;
1731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1747 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1748 PyObject
*resultobj
;
1749 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1751 PyObject
* obj0
= 0 ;
1753 (char *) "self", NULL
1756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1761 result
= (arg1
)->GetBitmapLabel();
1763 wxPyEndAllowThreads(__tstate
);
1764 if (PyErr_Occurred()) SWIG_fail
;
1767 wxBitmap
* resultptr
;
1768 resultptr
= new wxBitmap((wxBitmap
&) result
);
1769 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1777 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1778 PyObject
*resultobj
;
1779 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1781 PyObject
* obj0
= 0 ;
1783 (char *) "self", NULL
1786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1791 result
= (arg1
)->GetBitmapDisabled();
1793 wxPyEndAllowThreads(__tstate
);
1794 if (PyErr_Occurred()) SWIG_fail
;
1797 wxBitmap
* resultptr
;
1798 resultptr
= new wxBitmap((wxBitmap
&) result
);
1799 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1807 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1808 PyObject
*resultobj
;
1809 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1811 PyObject
* obj0
= 0 ;
1813 (char *) "self", NULL
1816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1821 result
= (arg1
)->GetBitmapFocus();
1823 wxPyEndAllowThreads(__tstate
);
1824 if (PyErr_Occurred()) SWIG_fail
;
1827 wxBitmap
* resultptr
;
1828 resultptr
= new wxBitmap((wxBitmap
&) result
);
1829 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1837 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1838 PyObject
*resultobj
;
1839 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1841 PyObject
* obj0
= 0 ;
1843 (char *) "self", NULL
1846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1851 result
= (arg1
)->GetBitmapSelected();
1853 wxPyEndAllowThreads(__tstate
);
1854 if (PyErr_Occurred()) SWIG_fail
;
1857 wxBitmap
* resultptr
;
1858 resultptr
= new wxBitmap((wxBitmap
&) result
);
1859 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1867 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1868 PyObject
*resultobj
;
1869 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1870 wxBitmap
*arg2
= 0 ;
1871 PyObject
* obj0
= 0 ;
1872 PyObject
* obj1
= 0 ;
1874 (char *) "self",(char *) "bitmap", NULL
1877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1880 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1881 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1884 PyErr_SetString(PyExc_TypeError
,"null reference");
1888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1889 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1891 wxPyEndAllowThreads(__tstate
);
1892 if (PyErr_Occurred()) SWIG_fail
;
1894 Py_INCREF(Py_None
); resultobj
= Py_None
;
1901 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1902 PyObject
*resultobj
;
1903 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1904 wxBitmap
*arg2
= 0 ;
1905 PyObject
* obj0
= 0 ;
1906 PyObject
* obj1
= 0 ;
1908 (char *) "self",(char *) "bitmap", NULL
1911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1914 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1915 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1918 PyErr_SetString(PyExc_TypeError
,"null reference");
1922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1923 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1925 wxPyEndAllowThreads(__tstate
);
1926 if (PyErr_Occurred()) SWIG_fail
;
1928 Py_INCREF(Py_None
); resultobj
= Py_None
;
1935 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1936 PyObject
*resultobj
;
1937 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1938 wxBitmap
*arg2
= 0 ;
1939 PyObject
* obj0
= 0 ;
1940 PyObject
* obj1
= 0 ;
1942 (char *) "self",(char *) "bitmap", NULL
1945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1948 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1949 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1952 PyErr_SetString(PyExc_TypeError
,"null reference");
1956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1957 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1959 wxPyEndAllowThreads(__tstate
);
1960 if (PyErr_Occurred()) SWIG_fail
;
1962 Py_INCREF(Py_None
); resultobj
= Py_None
;
1969 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1970 PyObject
*resultobj
;
1971 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1972 wxBitmap
*arg2
= 0 ;
1973 PyObject
* obj0
= 0 ;
1974 PyObject
* obj1
= 0 ;
1976 (char *) "self",(char *) "bitmap", NULL
1979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1982 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1983 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1986 PyErr_SetString(PyExc_TypeError
,"null reference");
1990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1991 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1993 wxPyEndAllowThreads(__tstate
);
1994 if (PyErr_Occurred()) SWIG_fail
;
1996 Py_INCREF(Py_None
); resultobj
= Py_None
;
2003 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2004 PyObject
*resultobj
;
2005 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2008 PyObject
* obj0
= 0 ;
2009 PyObject
* obj1
= 0 ;
2010 PyObject
* obj2
= 0 ;
2012 (char *) "self",(char *) "x",(char *) "y", NULL
2015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
2017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2018 arg2
= (int)SWIG_As_int(obj1
);
2019 if (PyErr_Occurred()) SWIG_fail
;
2020 arg3
= (int)SWIG_As_int(obj2
);
2021 if (PyErr_Occurred()) SWIG_fail
;
2023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2024 (arg1
)->SetMargins(arg2
,arg3
);
2026 wxPyEndAllowThreads(__tstate
);
2027 if (PyErr_Occurred()) SWIG_fail
;
2029 Py_INCREF(Py_None
); resultobj
= Py_None
;
2036 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2037 PyObject
*resultobj
;
2038 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2040 PyObject
* obj0
= 0 ;
2042 (char *) "self", NULL
2045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
2046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
2047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2050 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
2052 wxPyEndAllowThreads(__tstate
);
2053 if (PyErr_Occurred()) SWIG_fail
;
2055 resultobj
= SWIG_From_int((int)result
);
2062 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2063 PyObject
*resultobj
;
2064 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2066 PyObject
* obj0
= 0 ;
2068 (char *) "self", NULL
2071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
2072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
2073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2076 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
2078 wxPyEndAllowThreads(__tstate
);
2079 if (PyErr_Occurred()) SWIG_fail
;
2081 resultobj
= SWIG_From_int((int)result
);
2088 static PyObject
* BitmapButton_swigregister(PyObject
*, PyObject
*args
) {
2090 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2091 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
2093 return Py_BuildValue((char *)"");
2095 static int _wrap_CheckBoxNameStr_set(PyObject
*) {
2096 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
2101 static PyObject
*_wrap_CheckBoxNameStr_get() {
2106 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
2108 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
2115 static PyObject
*_wrap_new_CheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2116 PyObject
*resultobj
;
2117 wxWindow
*arg1
= (wxWindow
*) 0 ;
2118 int arg2
= (int) -1 ;
2119 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2120 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2121 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2122 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2123 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2124 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2125 long arg6
= (long) 0 ;
2126 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2127 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2128 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
2129 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2131 bool temp3
= False
;
2134 bool temp8
= False
;
2135 PyObject
* obj0
= 0 ;
2136 PyObject
* obj1
= 0 ;
2137 PyObject
* obj2
= 0 ;
2138 PyObject
* obj3
= 0 ;
2139 PyObject
* obj4
= 0 ;
2140 PyObject
* obj5
= 0 ;
2141 PyObject
* obj6
= 0 ;
2142 PyObject
* obj7
= 0 ;
2144 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2151 arg2
= (int)SWIG_As_int(obj1
);
2152 if (PyErr_Occurred()) SWIG_fail
;
2156 arg3
= wxString_in_helper(obj2
);
2157 if (arg3
== NULL
) SWIG_fail
;
2164 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2170 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2174 arg6
= (long)SWIG_As_long(obj5
);
2175 if (PyErr_Occurred()) SWIG_fail
;
2178 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2179 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2182 PyErr_SetString(PyExc_TypeError
,"null reference");
2188 arg8
= wxString_in_helper(obj7
);
2189 if (arg8
== NULL
) SWIG_fail
;
2194 if (!wxPyCheckForApp()) SWIG_fail
;
2195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2196 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2198 wxPyEndAllowThreads(__tstate
);
2199 if (PyErr_Occurred()) SWIG_fail
;
2201 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2224 static PyObject
*_wrap_new_PreCheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2225 PyObject
*resultobj
;
2231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
2233 if (!wxPyCheckForApp()) SWIG_fail
;
2234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2235 result
= (wxCheckBox
*)new wxCheckBox();
2237 wxPyEndAllowThreads(__tstate
);
2238 if (PyErr_Occurred()) SWIG_fail
;
2240 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2247 static PyObject
*_wrap_CheckBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2248 PyObject
*resultobj
;
2249 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2250 wxWindow
*arg2
= (wxWindow
*) 0 ;
2251 int arg3
= (int) -1 ;
2252 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2253 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2254 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2255 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2256 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2257 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2258 long arg7
= (long) 0 ;
2259 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2260 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2261 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
2262 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2264 bool temp4
= False
;
2267 bool temp9
= False
;
2268 PyObject
* obj0
= 0 ;
2269 PyObject
* obj1
= 0 ;
2270 PyObject
* obj2
= 0 ;
2271 PyObject
* obj3
= 0 ;
2272 PyObject
* obj4
= 0 ;
2273 PyObject
* obj5
= 0 ;
2274 PyObject
* obj6
= 0 ;
2275 PyObject
* obj7
= 0 ;
2276 PyObject
* obj8
= 0 ;
2278 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2284 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2287 arg3
= (int)SWIG_As_int(obj2
);
2288 if (PyErr_Occurred()) SWIG_fail
;
2292 arg4
= wxString_in_helper(obj3
);
2293 if (arg4
== NULL
) SWIG_fail
;
2300 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2306 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2310 arg7
= (long)SWIG_As_long(obj6
);
2311 if (PyErr_Occurred()) SWIG_fail
;
2314 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2315 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2318 PyErr_SetString(PyExc_TypeError
,"null reference");
2324 arg9
= wxString_in_helper(obj8
);
2325 if (arg9
== NULL
) SWIG_fail
;
2330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2331 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2333 wxPyEndAllowThreads(__tstate
);
2334 if (PyErr_Occurred()) SWIG_fail
;
2337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2361 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2362 PyObject
*resultobj
;
2363 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2365 PyObject
* obj0
= 0 ;
2367 (char *) "self", NULL
2370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
2371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2375 result
= (bool)(arg1
)->GetValue();
2377 wxPyEndAllowThreads(__tstate
);
2378 if (PyErr_Occurred()) SWIG_fail
;
2381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2389 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2390 PyObject
*resultobj
;
2391 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2393 PyObject
* obj0
= 0 ;
2395 (char *) "self", NULL
2398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
2399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2403 result
= (bool)(arg1
)->IsChecked();
2405 wxPyEndAllowThreads(__tstate
);
2406 if (PyErr_Occurred()) SWIG_fail
;
2409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2417 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2418 PyObject
*resultobj
;
2419 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2421 PyObject
* obj0
= 0 ;
2422 PyObject
* obj1
= 0 ;
2424 (char *) "self",(char *) "state", NULL
2427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2430 arg2
= (bool)SWIG_As_bool(obj1
);
2431 if (PyErr_Occurred()) SWIG_fail
;
2433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2434 (arg1
)->SetValue(arg2
);
2436 wxPyEndAllowThreads(__tstate
);
2437 if (PyErr_Occurred()) SWIG_fail
;
2439 Py_INCREF(Py_None
); resultobj
= Py_None
;
2446 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2447 PyObject
*resultobj
;
2448 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2450 PyObject
* obj0
= 0 ;
2452 (char *) "self", NULL
2455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2460 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2462 wxPyEndAllowThreads(__tstate
);
2463 if (PyErr_Occurred()) SWIG_fail
;
2465 resultobj
= SWIG_From_int((int)result
);
2472 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2473 PyObject
*resultobj
;
2474 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2476 PyObject
* obj0
= 0 ;
2477 PyObject
* obj1
= 0 ;
2479 (char *) "self",(char *) "state", NULL
2482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2485 arg2
= (int)SWIG_As_int(obj1
);
2486 if (PyErr_Occurred()) SWIG_fail
;
2488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2489 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2491 wxPyEndAllowThreads(__tstate
);
2492 if (PyErr_Occurred()) SWIG_fail
;
2494 Py_INCREF(Py_None
); resultobj
= Py_None
;
2501 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2502 PyObject
*resultobj
;
2503 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2505 PyObject
* obj0
= 0 ;
2507 (char *) "self", NULL
2510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2515 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2517 wxPyEndAllowThreads(__tstate
);
2518 if (PyErr_Occurred()) SWIG_fail
;
2521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2529 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2530 PyObject
*resultobj
;
2531 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2533 PyObject
* obj0
= 0 ;
2535 (char *) "self", NULL
2538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2543 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2545 wxPyEndAllowThreads(__tstate
);
2546 if (PyErr_Occurred()) SWIG_fail
;
2549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2557 static PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2558 PyObject
*resultobj
;
2559 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2560 wxVisualAttributes result
;
2561 PyObject
* obj0
= 0 ;
2563 (char *) "variant", NULL
2566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2568 arg1
= (int)SWIG_As_int(obj0
);
2569 if (PyErr_Occurred()) SWIG_fail
;
2572 if (!wxPyCheckForApp()) SWIG_fail
;
2573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2574 result
= wxCheckBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2576 wxPyEndAllowThreads(__tstate
);
2577 if (PyErr_Occurred()) SWIG_fail
;
2580 wxVisualAttributes
* resultptr
;
2581 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2582 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2590 static PyObject
* CheckBox_swigregister(PyObject
*, PyObject
*args
) {
2592 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2593 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2595 return Py_BuildValue((char *)"");
2597 static int _wrap_ChoiceNameStr_set(PyObject
*) {
2598 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2603 static PyObject
*_wrap_ChoiceNameStr_get() {
2608 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2610 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2617 static PyObject
*_wrap_new_Choice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2618 PyObject
*resultobj
;
2619 wxWindow
*arg1
= (wxWindow
*) 0 ;
2620 int arg2
= (int) -1 ;
2621 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2622 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2623 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2624 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2625 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
2626 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
2627 long arg6
= (long) 0 ;
2628 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2629 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2630 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
2631 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2635 bool temp5
= False
;
2636 bool temp8
= False
;
2637 PyObject
* obj0
= 0 ;
2638 PyObject
* obj1
= 0 ;
2639 PyObject
* obj2
= 0 ;
2640 PyObject
* obj3
= 0 ;
2641 PyObject
* obj4
= 0 ;
2642 PyObject
* obj5
= 0 ;
2643 PyObject
* obj6
= 0 ;
2644 PyObject
* obj7
= 0 ;
2646 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2653 arg2
= (int)SWIG_As_int(obj1
);
2654 if (PyErr_Occurred()) SWIG_fail
;
2659 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2665 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2670 if (! PySequence_Check(obj4
)) {
2671 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2674 arg5
= new wxArrayString
;
2676 int i
, len
=PySequence_Length(obj4
);
2677 for (i
=0; i
<len
; i
++) {
2678 PyObject
* item
= PySequence_GetItem(obj4
, i
);
2680 PyObject
* str
= PyObject_Unicode(item
);
2682 PyObject
* str
= PyObject_Str(item
);
2684 if (PyErr_Occurred()) SWIG_fail
;
2685 arg5
->Add(Py2wxString(str
));
2692 arg6
= (long)SWIG_As_long(obj5
);
2693 if (PyErr_Occurred()) SWIG_fail
;
2696 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2697 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2700 PyErr_SetString(PyExc_TypeError
,"null reference");
2706 arg8
= wxString_in_helper(obj7
);
2707 if (arg8
== NULL
) SWIG_fail
;
2712 if (!wxPyCheckForApp()) SWIG_fail
;
2713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2714 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2716 wxPyEndAllowThreads(__tstate
);
2717 if (PyErr_Occurred()) SWIG_fail
;
2719 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2721 if (temp5
) delete arg5
;
2730 if (temp5
) delete arg5
;
2740 static PyObject
*_wrap_new_PreChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2741 PyObject
*resultobj
;
2747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2749 if (!wxPyCheckForApp()) SWIG_fail
;
2750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2751 result
= (wxChoice
*)new wxChoice();
2753 wxPyEndAllowThreads(__tstate
);
2754 if (PyErr_Occurred()) SWIG_fail
;
2756 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2763 static PyObject
*_wrap_Choice_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2764 PyObject
*resultobj
;
2765 wxChoice
*arg1
= (wxChoice
*) 0 ;
2766 wxWindow
*arg2
= (wxWindow
*) 0 ;
2767 int arg3
= (int) -1 ;
2768 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2769 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2770 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2771 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2772 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2773 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2774 long arg7
= (long) 0 ;
2775 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2776 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2777 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2778 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2782 bool temp6
= False
;
2783 bool temp9
= False
;
2784 PyObject
* obj0
= 0 ;
2785 PyObject
* obj1
= 0 ;
2786 PyObject
* obj2
= 0 ;
2787 PyObject
* obj3
= 0 ;
2788 PyObject
* obj4
= 0 ;
2789 PyObject
* obj5
= 0 ;
2790 PyObject
* obj6
= 0 ;
2791 PyObject
* obj7
= 0 ;
2792 PyObject
* obj8
= 0 ;
2794 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2800 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2803 arg3
= (int)SWIG_As_int(obj2
);
2804 if (PyErr_Occurred()) SWIG_fail
;
2809 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2815 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2820 if (! PySequence_Check(obj5
)) {
2821 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2824 arg6
= new wxArrayString
;
2826 int i
, len
=PySequence_Length(obj5
);
2827 for (i
=0; i
<len
; i
++) {
2828 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2830 PyObject
* str
= PyObject_Unicode(item
);
2832 PyObject
* str
= PyObject_Str(item
);
2834 if (PyErr_Occurred()) SWIG_fail
;
2835 arg6
->Add(Py2wxString(str
));
2842 arg7
= (long)SWIG_As_long(obj6
);
2843 if (PyErr_Occurred()) SWIG_fail
;
2846 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2847 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2850 PyErr_SetString(PyExc_TypeError
,"null reference");
2856 arg9
= wxString_in_helper(obj8
);
2857 if (arg9
== NULL
) SWIG_fail
;
2862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2863 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2865 wxPyEndAllowThreads(__tstate
);
2866 if (PyErr_Occurred()) SWIG_fail
;
2869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2872 if (temp6
) delete arg6
;
2881 if (temp6
) delete arg6
;
2891 static PyObject
*_wrap_Choice_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2892 PyObject
*resultobj
;
2893 wxChoice
*arg1
= (wxChoice
*) 0 ;
2895 PyObject
* obj0
= 0 ;
2896 PyObject
* obj1
= 0 ;
2898 (char *) "self",(char *) "n", NULL
2901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2904 arg2
= (int)SWIG_As_int(obj1
);
2905 if (PyErr_Occurred()) SWIG_fail
;
2907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2908 (arg1
)->SetSelection(arg2
);
2910 wxPyEndAllowThreads(__tstate
);
2911 if (PyErr_Occurred()) SWIG_fail
;
2913 Py_INCREF(Py_None
); resultobj
= Py_None
;
2920 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2921 PyObject
*resultobj
;
2922 wxChoice
*arg1
= (wxChoice
*) 0 ;
2923 wxString
*arg2
= 0 ;
2925 bool temp2
= False
;
2926 PyObject
* obj0
= 0 ;
2927 PyObject
* obj1
= 0 ;
2929 (char *) "self",(char *) "string", NULL
2932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2936 arg2
= wxString_in_helper(obj1
);
2937 if (arg2
== NULL
) SWIG_fail
;
2941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2942 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
2944 wxPyEndAllowThreads(__tstate
);
2945 if (PyErr_Occurred()) SWIG_fail
;
2948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2964 static PyObject
*_wrap_Choice_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2965 PyObject
*resultobj
;
2966 wxChoice
*arg1
= (wxChoice
*) 0 ;
2968 wxString
*arg3
= 0 ;
2969 bool temp3
= False
;
2970 PyObject
* obj0
= 0 ;
2971 PyObject
* obj1
= 0 ;
2972 PyObject
* obj2
= 0 ;
2974 (char *) "self",(char *) "n",(char *) "string", NULL
2977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2980 arg2
= (int)SWIG_As_int(obj1
);
2981 if (PyErr_Occurred()) SWIG_fail
;
2983 arg3
= wxString_in_helper(obj2
);
2984 if (arg3
== NULL
) SWIG_fail
;
2988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2989 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2991 wxPyEndAllowThreads(__tstate
);
2992 if (PyErr_Occurred()) SWIG_fail
;
2994 Py_INCREF(Py_None
); resultobj
= Py_None
;
3009 static PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3010 PyObject
*resultobj
;
3011 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
3012 wxVisualAttributes result
;
3013 PyObject
* obj0
= 0 ;
3015 (char *) "variant", NULL
3018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3020 arg1
= (int)SWIG_As_int(obj0
);
3021 if (PyErr_Occurred()) SWIG_fail
;
3024 if (!wxPyCheckForApp()) SWIG_fail
;
3025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3026 result
= wxChoice::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3028 wxPyEndAllowThreads(__tstate
);
3029 if (PyErr_Occurred()) SWIG_fail
;
3032 wxVisualAttributes
* resultptr
;
3033 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
3034 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3042 static PyObject
* Choice_swigregister(PyObject
*, PyObject
*args
) {
3044 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3045 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
3047 return Py_BuildValue((char *)"");
3049 static int _wrap_ComboBoxNameStr_set(PyObject
*) {
3050 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
3055 static PyObject
*_wrap_ComboBoxNameStr_get() {
3060 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
3062 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
3069 static PyObject
*_wrap_new_ComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3070 PyObject
*resultobj
;
3071 wxWindow
*arg1
= (wxWindow
*) 0 ;
3072 int arg2
= (int) -1 ;
3073 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3074 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3075 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3076 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3077 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3078 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3079 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
3080 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
3081 long arg7
= (long) 0 ;
3082 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3083 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3084 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
3085 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3087 bool temp3
= False
;
3090 bool temp6
= False
;
3091 bool temp9
= False
;
3092 PyObject
* obj0
= 0 ;
3093 PyObject
* obj1
= 0 ;
3094 PyObject
* obj2
= 0 ;
3095 PyObject
* obj3
= 0 ;
3096 PyObject
* obj4
= 0 ;
3097 PyObject
* obj5
= 0 ;
3098 PyObject
* obj6
= 0 ;
3099 PyObject
* obj7
= 0 ;
3100 PyObject
* obj8
= 0 ;
3102 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3109 arg2
= (int)SWIG_As_int(obj1
);
3110 if (PyErr_Occurred()) SWIG_fail
;
3114 arg3
= wxString_in_helper(obj2
);
3115 if (arg3
== NULL
) SWIG_fail
;
3122 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3128 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3133 if (! PySequence_Check(obj5
)) {
3134 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3137 arg6
= new wxArrayString
;
3139 int i
, len
=PySequence_Length(obj5
);
3140 for (i
=0; i
<len
; i
++) {
3141 PyObject
* item
= PySequence_GetItem(obj5
, i
);
3143 PyObject
* str
= PyObject_Unicode(item
);
3145 PyObject
* str
= PyObject_Str(item
);
3147 if (PyErr_Occurred()) SWIG_fail
;
3148 arg6
->Add(Py2wxString(str
));
3155 arg7
= (long)SWIG_As_long(obj6
);
3156 if (PyErr_Occurred()) SWIG_fail
;
3159 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
3160 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3163 PyErr_SetString(PyExc_TypeError
,"null reference");
3169 arg9
= wxString_in_helper(obj8
);
3170 if (arg9
== NULL
) SWIG_fail
;
3175 if (!wxPyCheckForApp()) SWIG_fail
;
3176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3177 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
);
3179 wxPyEndAllowThreads(__tstate
);
3180 if (PyErr_Occurred()) SWIG_fail
;
3182 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
3188 if (temp6
) delete arg6
;
3201 if (temp6
) delete arg6
;
3211 static PyObject
*_wrap_new_PreComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3212 PyObject
*resultobj
;
3218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
3220 if (!wxPyCheckForApp()) SWIG_fail
;
3221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3222 result
= (wxComboBox
*)new wxComboBox();
3224 wxPyEndAllowThreads(__tstate
);
3225 if (PyErr_Occurred()) SWIG_fail
;
3227 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
3234 static PyObject
*_wrap_ComboBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3235 PyObject
*resultobj
;
3236 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3237 wxWindow
*arg2
= (wxWindow
*) 0 ;
3238 int arg3
= (int) -1 ;
3239 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3240 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3241 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3242 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3243 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3244 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3245 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
3246 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
3247 long arg8
= (long) 0 ;
3248 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
3249 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
3250 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
3251 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
3253 bool temp4
= False
;
3256 bool temp7
= False
;
3257 bool temp10
= False
;
3258 PyObject
* obj0
= 0 ;
3259 PyObject
* obj1
= 0 ;
3260 PyObject
* obj2
= 0 ;
3261 PyObject
* obj3
= 0 ;
3262 PyObject
* obj4
= 0 ;
3263 PyObject
* obj5
= 0 ;
3264 PyObject
* obj6
= 0 ;
3265 PyObject
* obj7
= 0 ;
3266 PyObject
* obj8
= 0 ;
3267 PyObject
* obj9
= 0 ;
3269 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
3273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3275 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3278 arg3
= (int)SWIG_As_int(obj2
);
3279 if (PyErr_Occurred()) SWIG_fail
;
3283 arg4
= wxString_in_helper(obj3
);
3284 if (arg4
== NULL
) SWIG_fail
;
3291 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3297 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3302 if (! PySequence_Check(obj6
)) {
3303 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3306 arg7
= new wxArrayString
;
3308 int i
, len
=PySequence_Length(obj6
);
3309 for (i
=0; i
<len
; i
++) {
3310 PyObject
* item
= PySequence_GetItem(obj6
, i
);
3312 PyObject
* str
= PyObject_Unicode(item
);
3314 PyObject
* str
= PyObject_Str(item
);
3316 if (PyErr_Occurred()) SWIG_fail
;
3317 arg7
->Add(Py2wxString(str
));
3324 arg8
= (long)SWIG_As_long(obj7
);
3325 if (PyErr_Occurred()) SWIG_fail
;
3328 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
3329 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3332 PyErr_SetString(PyExc_TypeError
,"null reference");
3338 arg10
= wxString_in_helper(obj9
);
3339 if (arg10
== NULL
) SWIG_fail
;
3344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3345 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
);
3347 wxPyEndAllowThreads(__tstate
);
3348 if (PyErr_Occurred()) SWIG_fail
;
3351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3358 if (temp7
) delete arg7
;
3371 if (temp7
) delete arg7
;
3381 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3382 PyObject
*resultobj
;
3383 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3385 PyObject
* obj0
= 0 ;
3387 (char *) "self", NULL
3390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
3391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3395 result
= ((wxComboBox
const *)arg1
)->GetValue();
3397 wxPyEndAllowThreads(__tstate
);
3398 if (PyErr_Occurred()) SWIG_fail
;
3402 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3404 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3413 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3414 PyObject
*resultobj
;
3415 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3416 wxString
*arg2
= 0 ;
3417 bool temp2
= False
;
3418 PyObject
* obj0
= 0 ;
3419 PyObject
* obj1
= 0 ;
3421 (char *) "self",(char *) "value", NULL
3424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3428 arg2
= wxString_in_helper(obj1
);
3429 if (arg2
== NULL
) SWIG_fail
;
3433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3434 (arg1
)->SetValue((wxString
const &)*arg2
);
3436 wxPyEndAllowThreads(__tstate
);
3437 if (PyErr_Occurred()) SWIG_fail
;
3439 Py_INCREF(Py_None
); resultobj
= Py_None
;
3454 static PyObject
*_wrap_ComboBox_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3455 PyObject
*resultobj
;
3456 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3457 PyObject
* obj0
= 0 ;
3459 (char *) "self", NULL
3462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
3463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3469 wxPyEndAllowThreads(__tstate
);
3470 if (PyErr_Occurred()) SWIG_fail
;
3472 Py_INCREF(Py_None
); resultobj
= Py_None
;
3479 static PyObject
*_wrap_ComboBox_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3480 PyObject
*resultobj
;
3481 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3482 PyObject
* obj0
= 0 ;
3484 (char *) "self", NULL
3487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3494 wxPyEndAllowThreads(__tstate
);
3495 if (PyErr_Occurred()) SWIG_fail
;
3497 Py_INCREF(Py_None
); resultobj
= Py_None
;
3504 static PyObject
*_wrap_ComboBox_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3505 PyObject
*resultobj
;
3506 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3507 PyObject
* obj0
= 0 ;
3509 (char *) "self", NULL
3512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3519 wxPyEndAllowThreads(__tstate
);
3520 if (PyErr_Occurred()) SWIG_fail
;
3522 Py_INCREF(Py_None
); resultobj
= Py_None
;
3529 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3530 PyObject
*resultobj
;
3531 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3533 PyObject
* obj0
= 0 ;
3534 PyObject
* obj1
= 0 ;
3536 (char *) "self",(char *) "pos", NULL
3539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3542 arg2
= (long)SWIG_As_long(obj1
);
3543 if (PyErr_Occurred()) SWIG_fail
;
3545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3546 (arg1
)->SetInsertionPoint(arg2
);
3548 wxPyEndAllowThreads(__tstate
);
3549 if (PyErr_Occurred()) SWIG_fail
;
3551 Py_INCREF(Py_None
); resultobj
= Py_None
;
3558 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3559 PyObject
*resultobj
;
3560 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3562 PyObject
* obj0
= 0 ;
3564 (char *) "self", NULL
3567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3572 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3574 wxPyEndAllowThreads(__tstate
);
3575 if (PyErr_Occurred()) SWIG_fail
;
3577 resultobj
= SWIG_From_long((long)result
);
3584 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3585 PyObject
*resultobj
;
3586 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3588 PyObject
* obj0
= 0 ;
3590 (char *) "self", NULL
3593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3598 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3600 wxPyEndAllowThreads(__tstate
);
3601 if (PyErr_Occurred()) SWIG_fail
;
3603 resultobj
= SWIG_From_long((long)result
);
3610 static PyObject
*_wrap_ComboBox_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3611 PyObject
*resultobj
;
3612 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3615 wxString
*arg4
= 0 ;
3616 bool temp4
= False
;
3617 PyObject
* obj0
= 0 ;
3618 PyObject
* obj1
= 0 ;
3619 PyObject
* obj2
= 0 ;
3620 PyObject
* obj3
= 0 ;
3622 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3628 arg2
= (long)SWIG_As_long(obj1
);
3629 if (PyErr_Occurred()) SWIG_fail
;
3630 arg3
= (long)SWIG_As_long(obj2
);
3631 if (PyErr_Occurred()) SWIG_fail
;
3633 arg4
= wxString_in_helper(obj3
);
3634 if (arg4
== NULL
) SWIG_fail
;
3638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3639 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3641 wxPyEndAllowThreads(__tstate
);
3642 if (PyErr_Occurred()) SWIG_fail
;
3644 Py_INCREF(Py_None
); resultobj
= Py_None
;
3659 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3660 PyObject
*resultobj
;
3661 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3663 PyObject
* obj0
= 0 ;
3664 PyObject
* obj1
= 0 ;
3666 (char *) "self",(char *) "n", NULL
3669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3672 arg2
= (int)SWIG_As_int(obj1
);
3673 if (PyErr_Occurred()) SWIG_fail
;
3675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3676 (arg1
)->SetSelection(arg2
);
3678 wxPyEndAllowThreads(__tstate
);
3679 if (PyErr_Occurred()) SWIG_fail
;
3681 Py_INCREF(Py_None
); resultobj
= Py_None
;
3688 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3689 PyObject
*resultobj
;
3690 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3693 PyObject
* obj0
= 0 ;
3694 PyObject
* obj1
= 0 ;
3695 PyObject
* obj2
= 0 ;
3697 (char *) "self",(char *) "from",(char *) "to", NULL
3700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3703 arg2
= (long)SWIG_As_long(obj1
);
3704 if (PyErr_Occurred()) SWIG_fail
;
3705 arg3
= (long)SWIG_As_long(obj2
);
3706 if (PyErr_Occurred()) SWIG_fail
;
3708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3709 (arg1
)->SetSelection(arg2
,arg3
);
3711 wxPyEndAllowThreads(__tstate
);
3712 if (PyErr_Occurred()) SWIG_fail
;
3714 Py_INCREF(Py_None
); resultobj
= Py_None
;
3721 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3722 PyObject
*resultobj
;
3723 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3724 wxString
*arg2
= 0 ;
3726 bool temp2
= False
;
3727 PyObject
* obj0
= 0 ;
3728 PyObject
* obj1
= 0 ;
3730 (char *) "self",(char *) "string", NULL
3733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3737 arg2
= wxString_in_helper(obj1
);
3738 if (arg2
== NULL
) SWIG_fail
;
3742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3743 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
3745 wxPyEndAllowThreads(__tstate
);
3746 if (PyErr_Occurred()) SWIG_fail
;
3749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3765 static PyObject
*_wrap_ComboBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3766 PyObject
*resultobj
;
3767 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3769 wxString
*arg3
= 0 ;
3770 bool temp3
= False
;
3771 PyObject
* obj0
= 0 ;
3772 PyObject
* obj1
= 0 ;
3773 PyObject
* obj2
= 0 ;
3775 (char *) "self",(char *) "n",(char *) "string", NULL
3778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3781 arg2
= (int)SWIG_As_int(obj1
);
3782 if (PyErr_Occurred()) SWIG_fail
;
3784 arg3
= wxString_in_helper(obj2
);
3785 if (arg3
== NULL
) SWIG_fail
;
3789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3790 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
3792 wxPyEndAllowThreads(__tstate
);
3793 if (PyErr_Occurred()) SWIG_fail
;
3795 Py_INCREF(Py_None
); resultobj
= Py_None
;
3810 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3811 PyObject
*resultobj
;
3812 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3814 PyObject
* obj0
= 0 ;
3815 PyObject
* obj1
= 0 ;
3817 (char *) "self",(char *) "editable", NULL
3820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3823 arg2
= (bool)SWIG_As_bool(obj1
);
3824 if (PyErr_Occurred()) SWIG_fail
;
3826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3827 (arg1
)->SetEditable(arg2
);
3829 wxPyEndAllowThreads(__tstate
);
3830 if (PyErr_Occurred()) SWIG_fail
;
3832 Py_INCREF(Py_None
); resultobj
= Py_None
;
3839 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3840 PyObject
*resultobj
;
3841 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3842 PyObject
* obj0
= 0 ;
3844 (char *) "self", NULL
3847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3852 (arg1
)->SetInsertionPointEnd();
3854 wxPyEndAllowThreads(__tstate
);
3855 if (PyErr_Occurred()) SWIG_fail
;
3857 Py_INCREF(Py_None
); resultobj
= Py_None
;
3864 static PyObject
*_wrap_ComboBox_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3865 PyObject
*resultobj
;
3866 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3869 PyObject
* obj0
= 0 ;
3870 PyObject
* obj1
= 0 ;
3871 PyObject
* obj2
= 0 ;
3873 (char *) "self",(char *) "from",(char *) "to", NULL
3876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3879 arg2
= (long)SWIG_As_long(obj1
);
3880 if (PyErr_Occurred()) SWIG_fail
;
3881 arg3
= (long)SWIG_As_long(obj2
);
3882 if (PyErr_Occurred()) SWIG_fail
;
3884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3885 (arg1
)->Remove(arg2
,arg3
);
3887 wxPyEndAllowThreads(__tstate
);
3888 if (PyErr_Occurred()) SWIG_fail
;
3890 Py_INCREF(Py_None
); resultobj
= Py_None
;
3897 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3898 PyObject
*resultobj
;
3899 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
3900 wxVisualAttributes result
;
3901 PyObject
* obj0
= 0 ;
3903 (char *) "variant", NULL
3906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3908 arg1
= (int)SWIG_As_int(obj0
);
3909 if (PyErr_Occurred()) SWIG_fail
;
3912 if (!wxPyCheckForApp()) SWIG_fail
;
3913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3914 result
= wxComboBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3916 wxPyEndAllowThreads(__tstate
);
3917 if (PyErr_Occurred()) SWIG_fail
;
3920 wxVisualAttributes
* resultptr
;
3921 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
3922 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3930 static PyObject
* ComboBox_swigregister(PyObject
*, PyObject
*args
) {
3932 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3933 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3935 return Py_BuildValue((char *)"");
3937 static int _wrap_GaugeNameStr_set(PyObject
*) {
3938 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3943 static PyObject
*_wrap_GaugeNameStr_get() {
3948 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3950 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3957 static PyObject
*_wrap_new_Gauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3958 PyObject
*resultobj
;
3959 wxWindow
*arg1
= (wxWindow
*) 0 ;
3960 int arg2
= (int) -1 ;
3961 int arg3
= (int) 100 ;
3962 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3963 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3964 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3965 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3966 long arg6
= (long) wxGA_HORIZONTAL
;
3967 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3968 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3969 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3970 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3974 bool temp8
= False
;
3975 PyObject
* obj0
= 0 ;
3976 PyObject
* obj1
= 0 ;
3977 PyObject
* obj2
= 0 ;
3978 PyObject
* obj3
= 0 ;
3979 PyObject
* obj4
= 0 ;
3980 PyObject
* obj5
= 0 ;
3981 PyObject
* obj6
= 0 ;
3982 PyObject
* obj7
= 0 ;
3984 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3991 arg2
= (int)SWIG_As_int(obj1
);
3992 if (PyErr_Occurred()) SWIG_fail
;
3995 arg3
= (int)SWIG_As_int(obj2
);
3996 if (PyErr_Occurred()) SWIG_fail
;
4001 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4007 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4011 arg6
= (long)SWIG_As_long(obj5
);
4012 if (PyErr_Occurred()) SWIG_fail
;
4015 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
4016 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4019 PyErr_SetString(PyExc_TypeError
,"null reference");
4025 arg8
= wxString_in_helper(obj7
);
4026 if (arg8
== NULL
) SWIG_fail
;
4031 if (!wxPyCheckForApp()) SWIG_fail
;
4032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4033 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4035 wxPyEndAllowThreads(__tstate
);
4036 if (PyErr_Occurred()) SWIG_fail
;
4038 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
4053 static PyObject
*_wrap_new_PreGauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4054 PyObject
*resultobj
;
4060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
4062 if (!wxPyCheckForApp()) SWIG_fail
;
4063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4064 result
= (wxGauge
*)new wxGauge();
4066 wxPyEndAllowThreads(__tstate
);
4067 if (PyErr_Occurred()) SWIG_fail
;
4069 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
4076 static PyObject
*_wrap_Gauge_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4077 PyObject
*resultobj
;
4078 wxGauge
*arg1
= (wxGauge
*) 0 ;
4079 wxWindow
*arg2
= (wxWindow
*) 0 ;
4080 int arg3
= (int) -1 ;
4081 int arg4
= (int) 100 ;
4082 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4083 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4084 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4085 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4086 long arg7
= (long) wxGA_HORIZONTAL
;
4087 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4088 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4089 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
4090 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4094 bool temp9
= False
;
4095 PyObject
* obj0
= 0 ;
4096 PyObject
* obj1
= 0 ;
4097 PyObject
* obj2
= 0 ;
4098 PyObject
* obj3
= 0 ;
4099 PyObject
* obj4
= 0 ;
4100 PyObject
* obj5
= 0 ;
4101 PyObject
* obj6
= 0 ;
4102 PyObject
* obj7
= 0 ;
4103 PyObject
* obj8
= 0 ;
4105 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4111 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4114 arg3
= (int)SWIG_As_int(obj2
);
4115 if (PyErr_Occurred()) SWIG_fail
;
4118 arg4
= (int)SWIG_As_int(obj3
);
4119 if (PyErr_Occurred()) SWIG_fail
;
4124 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4130 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4134 arg7
= (long)SWIG_As_long(obj6
);
4135 if (PyErr_Occurred()) SWIG_fail
;
4138 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
4139 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4142 PyErr_SetString(PyExc_TypeError
,"null reference");
4148 arg9
= wxString_in_helper(obj8
);
4149 if (arg9
== NULL
) SWIG_fail
;
4154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4155 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4157 wxPyEndAllowThreads(__tstate
);
4158 if (PyErr_Occurred()) SWIG_fail
;
4161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4177 static PyObject
*_wrap_Gauge_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4178 PyObject
*resultobj
;
4179 wxGauge
*arg1
= (wxGauge
*) 0 ;
4181 PyObject
* obj0
= 0 ;
4182 PyObject
* obj1
= 0 ;
4184 (char *) "self",(char *) "range", NULL
4187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
4188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4190 arg2
= (int)SWIG_As_int(obj1
);
4191 if (PyErr_Occurred()) SWIG_fail
;
4193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4194 (arg1
)->SetRange(arg2
);
4196 wxPyEndAllowThreads(__tstate
);
4197 if (PyErr_Occurred()) SWIG_fail
;
4199 Py_INCREF(Py_None
); resultobj
= Py_None
;
4206 static PyObject
*_wrap_Gauge_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4207 PyObject
*resultobj
;
4208 wxGauge
*arg1
= (wxGauge
*) 0 ;
4210 PyObject
* obj0
= 0 ;
4212 (char *) "self", NULL
4215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
4216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4220 result
= (int)((wxGauge
const *)arg1
)->GetRange();
4222 wxPyEndAllowThreads(__tstate
);
4223 if (PyErr_Occurred()) SWIG_fail
;
4225 resultobj
= SWIG_From_int((int)result
);
4232 static PyObject
*_wrap_Gauge_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4233 PyObject
*resultobj
;
4234 wxGauge
*arg1
= (wxGauge
*) 0 ;
4236 PyObject
* obj0
= 0 ;
4237 PyObject
* obj1
= 0 ;
4239 (char *) "self",(char *) "pos", NULL
4242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
4243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4245 arg2
= (int)SWIG_As_int(obj1
);
4246 if (PyErr_Occurred()) SWIG_fail
;
4248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4249 (arg1
)->SetValue(arg2
);
4251 wxPyEndAllowThreads(__tstate
);
4252 if (PyErr_Occurred()) SWIG_fail
;
4254 Py_INCREF(Py_None
); resultobj
= Py_None
;
4261 static PyObject
*_wrap_Gauge_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4262 PyObject
*resultobj
;
4263 wxGauge
*arg1
= (wxGauge
*) 0 ;
4265 PyObject
* obj0
= 0 ;
4267 (char *) "self", NULL
4270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
4271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4275 result
= (int)((wxGauge
const *)arg1
)->GetValue();
4277 wxPyEndAllowThreads(__tstate
);
4278 if (PyErr_Occurred()) SWIG_fail
;
4280 resultobj
= SWIG_From_int((int)result
);
4287 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4288 PyObject
*resultobj
;
4289 wxGauge
*arg1
= (wxGauge
*) 0 ;
4291 PyObject
* obj0
= 0 ;
4293 (char *) "self", NULL
4296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
4297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4301 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
4303 wxPyEndAllowThreads(__tstate
);
4304 if (PyErr_Occurred()) SWIG_fail
;
4307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4315 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4316 PyObject
*resultobj
;
4317 wxGauge
*arg1
= (wxGauge
*) 0 ;
4319 PyObject
* obj0
= 0 ;
4320 PyObject
* obj1
= 0 ;
4322 (char *) "self",(char *) "w", NULL
4325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4328 arg2
= (int)SWIG_As_int(obj1
);
4329 if (PyErr_Occurred()) SWIG_fail
;
4331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4332 (arg1
)->SetShadowWidth(arg2
);
4334 wxPyEndAllowThreads(__tstate
);
4335 if (PyErr_Occurred()) SWIG_fail
;
4337 Py_INCREF(Py_None
); resultobj
= Py_None
;
4344 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4345 PyObject
*resultobj
;
4346 wxGauge
*arg1
= (wxGauge
*) 0 ;
4348 PyObject
* obj0
= 0 ;
4350 (char *) "self", NULL
4353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
4354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4358 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
4360 wxPyEndAllowThreads(__tstate
);
4361 if (PyErr_Occurred()) SWIG_fail
;
4363 resultobj
= SWIG_From_int((int)result
);
4370 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4371 PyObject
*resultobj
;
4372 wxGauge
*arg1
= (wxGauge
*) 0 ;
4374 PyObject
* obj0
= 0 ;
4375 PyObject
* obj1
= 0 ;
4377 (char *) "self",(char *) "w", NULL
4380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
4381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4383 arg2
= (int)SWIG_As_int(obj1
);
4384 if (PyErr_Occurred()) SWIG_fail
;
4386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4387 (arg1
)->SetBezelFace(arg2
);
4389 wxPyEndAllowThreads(__tstate
);
4390 if (PyErr_Occurred()) SWIG_fail
;
4392 Py_INCREF(Py_None
); resultobj
= Py_None
;
4399 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4400 PyObject
*resultobj
;
4401 wxGauge
*arg1
= (wxGauge
*) 0 ;
4403 PyObject
* obj0
= 0 ;
4405 (char *) "self", NULL
4408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
4409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4413 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
4415 wxPyEndAllowThreads(__tstate
);
4416 if (PyErr_Occurred()) SWIG_fail
;
4418 resultobj
= SWIG_From_int((int)result
);
4425 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4426 PyObject
*resultobj
;
4427 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4428 wxVisualAttributes result
;
4429 PyObject
* obj0
= 0 ;
4431 (char *) "variant", NULL
4434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4436 arg1
= (int)SWIG_As_int(obj0
);
4437 if (PyErr_Occurred()) SWIG_fail
;
4440 if (!wxPyCheckForApp()) SWIG_fail
;
4441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4442 result
= wxGauge::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4444 wxPyEndAllowThreads(__tstate
);
4445 if (PyErr_Occurred()) SWIG_fail
;
4448 wxVisualAttributes
* resultptr
;
4449 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4450 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4458 static PyObject
* Gauge_swigregister(PyObject
*, PyObject
*args
) {
4460 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4461 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
4463 return Py_BuildValue((char *)"");
4465 static int _wrap_StaticBitmapNameStr_set(PyObject
*) {
4466 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
4471 static PyObject
*_wrap_StaticBitmapNameStr_get() {
4476 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4478 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4485 static int _wrap_StaticBoxNameStr_set(PyObject
*) {
4486 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
4491 static PyObject
*_wrap_StaticBoxNameStr_get() {
4496 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4498 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4505 static int _wrap_StaticTextNameStr_set(PyObject
*) {
4506 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
4511 static PyObject
*_wrap_StaticTextNameStr_get() {
4516 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4518 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4525 static PyObject
*_wrap_new_StaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4526 PyObject
*resultobj
;
4527 wxWindow
*arg1
= (wxWindow
*) 0 ;
4528 int arg2
= (int) -1 ;
4529 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4530 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4531 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4532 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4533 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4534 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4535 long arg6
= (long) 0 ;
4536 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
4537 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4538 wxStaticBox
*result
;
4539 bool temp3
= False
;
4542 bool temp7
= False
;
4543 PyObject
* obj0
= 0 ;
4544 PyObject
* obj1
= 0 ;
4545 PyObject
* obj2
= 0 ;
4546 PyObject
* obj3
= 0 ;
4547 PyObject
* obj4
= 0 ;
4548 PyObject
* obj5
= 0 ;
4549 PyObject
* obj6
= 0 ;
4551 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4558 arg2
= (int)SWIG_As_int(obj1
);
4559 if (PyErr_Occurred()) SWIG_fail
;
4563 arg3
= wxString_in_helper(obj2
);
4564 if (arg3
== NULL
) SWIG_fail
;
4571 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4577 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4581 arg6
= (long)SWIG_As_long(obj5
);
4582 if (PyErr_Occurred()) SWIG_fail
;
4586 arg7
= wxString_in_helper(obj6
);
4587 if (arg7
== NULL
) SWIG_fail
;
4592 if (!wxPyCheckForApp()) SWIG_fail
;
4593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4594 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4596 wxPyEndAllowThreads(__tstate
);
4597 if (PyErr_Occurred()) SWIG_fail
;
4599 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
4622 static PyObject
*_wrap_new_PreStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4623 PyObject
*resultobj
;
4624 wxStaticBox
*result
;
4629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4631 if (!wxPyCheckForApp()) SWIG_fail
;
4632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4633 result
= (wxStaticBox
*)new wxStaticBox();
4635 wxPyEndAllowThreads(__tstate
);
4636 if (PyErr_Occurred()) SWIG_fail
;
4638 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
4645 static PyObject
*_wrap_StaticBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4646 PyObject
*resultobj
;
4647 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4648 wxWindow
*arg2
= (wxWindow
*) 0 ;
4649 int arg3
= (int) -1 ;
4650 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4651 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4652 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4653 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4654 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4655 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4656 long arg7
= (long) 0 ;
4657 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4658 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4660 bool temp4
= False
;
4663 bool temp8
= False
;
4664 PyObject
* obj0
= 0 ;
4665 PyObject
* obj1
= 0 ;
4666 PyObject
* obj2
= 0 ;
4667 PyObject
* obj3
= 0 ;
4668 PyObject
* obj4
= 0 ;
4669 PyObject
* obj5
= 0 ;
4670 PyObject
* obj6
= 0 ;
4671 PyObject
* obj7
= 0 ;
4673 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
4678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4679 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4682 arg3
= (int)SWIG_As_int(obj2
);
4683 if (PyErr_Occurred()) SWIG_fail
;
4687 arg4
= wxString_in_helper(obj3
);
4688 if (arg4
== NULL
) SWIG_fail
;
4695 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4701 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4705 arg7
= (long)SWIG_As_long(obj6
);
4706 if (PyErr_Occurred()) SWIG_fail
;
4710 arg8
= wxString_in_helper(obj7
);
4711 if (arg8
== NULL
) SWIG_fail
;
4716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4717 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4719 wxPyEndAllowThreads(__tstate
);
4720 if (PyErr_Occurred()) SWIG_fail
;
4723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4747 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4748 PyObject
*resultobj
;
4749 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4750 wxVisualAttributes result
;
4751 PyObject
* obj0
= 0 ;
4753 (char *) "variant", NULL
4756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4758 arg1
= (int)SWIG_As_int(obj0
);
4759 if (PyErr_Occurred()) SWIG_fail
;
4762 if (!wxPyCheckForApp()) SWIG_fail
;
4763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4764 result
= wxStaticBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4766 wxPyEndAllowThreads(__tstate
);
4767 if (PyErr_Occurred()) SWIG_fail
;
4770 wxVisualAttributes
* resultptr
;
4771 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4772 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4780 static PyObject
* StaticBox_swigregister(PyObject
*, PyObject
*args
) {
4782 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4783 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4785 return Py_BuildValue((char *)"");
4787 static PyObject
*_wrap_new_StaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4788 PyObject
*resultobj
;
4789 wxWindow
*arg1
= (wxWindow
*) 0 ;
4790 int arg2
= (int) -1 ;
4791 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4792 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4793 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4794 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4795 long arg5
= (long) wxLI_HORIZONTAL
;
4796 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4797 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4798 wxStaticLine
*result
;
4801 bool temp6
= False
;
4802 PyObject
* obj0
= 0 ;
4803 PyObject
* obj1
= 0 ;
4804 PyObject
* obj2
= 0 ;
4805 PyObject
* obj3
= 0 ;
4806 PyObject
* obj4
= 0 ;
4807 PyObject
* obj5
= 0 ;
4809 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4816 arg2
= (int)SWIG_As_int(obj1
);
4817 if (PyErr_Occurred()) SWIG_fail
;
4822 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4828 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4832 arg5
= (long)SWIG_As_long(obj4
);
4833 if (PyErr_Occurred()) SWIG_fail
;
4837 arg6
= wxString_in_helper(obj5
);
4838 if (arg6
== NULL
) SWIG_fail
;
4843 if (!wxPyCheckForApp()) SWIG_fail
;
4844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4845 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4847 wxPyEndAllowThreads(__tstate
);
4848 if (PyErr_Occurred()) SWIG_fail
;
4850 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4865 static PyObject
*_wrap_new_PreStaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4866 PyObject
*resultobj
;
4867 wxStaticLine
*result
;
4872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4874 if (!wxPyCheckForApp()) SWIG_fail
;
4875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4876 result
= (wxStaticLine
*)new wxStaticLine();
4878 wxPyEndAllowThreads(__tstate
);
4879 if (PyErr_Occurred()) SWIG_fail
;
4881 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4888 static PyObject
*_wrap_StaticLine_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4889 PyObject
*resultobj
;
4890 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4891 wxWindow
*arg2
= (wxWindow
*) 0 ;
4892 int arg3
= (int) -1 ;
4893 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4894 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4895 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4896 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4897 long arg6
= (long) wxLI_HORIZONTAL
;
4898 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4899 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4903 bool temp7
= False
;
4904 PyObject
* obj0
= 0 ;
4905 PyObject
* obj1
= 0 ;
4906 PyObject
* obj2
= 0 ;
4907 PyObject
* obj3
= 0 ;
4908 PyObject
* obj4
= 0 ;
4909 PyObject
* obj5
= 0 ;
4910 PyObject
* obj6
= 0 ;
4912 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4918 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4921 arg3
= (int)SWIG_As_int(obj2
);
4922 if (PyErr_Occurred()) SWIG_fail
;
4927 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4933 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4937 arg6
= (long)SWIG_As_long(obj5
);
4938 if (PyErr_Occurred()) SWIG_fail
;
4942 arg7
= wxString_in_helper(obj6
);
4943 if (arg7
== NULL
) SWIG_fail
;
4948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4949 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4951 wxPyEndAllowThreads(__tstate
);
4952 if (PyErr_Occurred()) SWIG_fail
;
4955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4971 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4972 PyObject
*resultobj
;
4973 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4975 PyObject
* obj0
= 0 ;
4977 (char *) "self", NULL
4980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4985 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4987 wxPyEndAllowThreads(__tstate
);
4988 if (PyErr_Occurred()) SWIG_fail
;
4991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4999 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5000 PyObject
*resultobj
;
5006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
5008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5009 result
= (int)wxStaticLine::GetDefaultSize();
5011 wxPyEndAllowThreads(__tstate
);
5012 if (PyErr_Occurred()) SWIG_fail
;
5014 resultobj
= SWIG_From_int((int)result
);
5021 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5022 PyObject
*resultobj
;
5023 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5024 wxVisualAttributes result
;
5025 PyObject
* obj0
= 0 ;
5027 (char *) "variant", NULL
5030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5032 arg1
= (int)SWIG_As_int(obj0
);
5033 if (PyErr_Occurred()) SWIG_fail
;
5036 if (!wxPyCheckForApp()) SWIG_fail
;
5037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5038 result
= wxStaticLine::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5040 wxPyEndAllowThreads(__tstate
);
5041 if (PyErr_Occurred()) SWIG_fail
;
5044 wxVisualAttributes
* resultptr
;
5045 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5046 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5054 static PyObject
* StaticLine_swigregister(PyObject
*, PyObject
*args
) {
5056 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5057 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
5059 return Py_BuildValue((char *)"");
5061 static PyObject
*_wrap_new_StaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5062 PyObject
*resultobj
;
5063 wxWindow
*arg1
= (wxWindow
*) 0 ;
5064 int arg2
= (int) -1 ;
5065 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5066 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5067 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5068 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5069 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5070 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5071 long arg6
= (long) 0 ;
5072 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
5073 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5074 wxStaticText
*result
;
5075 bool temp3
= False
;
5078 bool temp7
= False
;
5079 PyObject
* obj0
= 0 ;
5080 PyObject
* obj1
= 0 ;
5081 PyObject
* obj2
= 0 ;
5082 PyObject
* obj3
= 0 ;
5083 PyObject
* obj4
= 0 ;
5084 PyObject
* obj5
= 0 ;
5085 PyObject
* obj6
= 0 ;
5087 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5094 arg2
= (int)SWIG_As_int(obj1
);
5095 if (PyErr_Occurred()) SWIG_fail
;
5099 arg3
= wxString_in_helper(obj2
);
5100 if (arg3
== NULL
) SWIG_fail
;
5107 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5113 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5117 arg6
= (long)SWIG_As_long(obj5
);
5118 if (PyErr_Occurred()) SWIG_fail
;
5122 arg7
= wxString_in_helper(obj6
);
5123 if (arg7
== NULL
) SWIG_fail
;
5128 if (!wxPyCheckForApp()) SWIG_fail
;
5129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5130 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5132 wxPyEndAllowThreads(__tstate
);
5133 if (PyErr_Occurred()) SWIG_fail
;
5135 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
5158 static PyObject
*_wrap_new_PreStaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5159 PyObject
*resultobj
;
5160 wxStaticText
*result
;
5165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
5167 if (!wxPyCheckForApp()) SWIG_fail
;
5168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5169 result
= (wxStaticText
*)new wxStaticText();
5171 wxPyEndAllowThreads(__tstate
);
5172 if (PyErr_Occurred()) SWIG_fail
;
5174 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
5181 static PyObject
*_wrap_StaticText_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5182 PyObject
*resultobj
;
5183 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
5184 wxWindow
*arg2
= (wxWindow
*) 0 ;
5185 int arg3
= (int) -1 ;
5186 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5187 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5188 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5189 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5190 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5191 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5192 long arg7
= (long) 0 ;
5193 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
5194 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5196 bool temp4
= False
;
5199 bool temp8
= False
;
5200 PyObject
* obj0
= 0 ;
5201 PyObject
* obj1
= 0 ;
5202 PyObject
* obj2
= 0 ;
5203 PyObject
* obj3
= 0 ;
5204 PyObject
* obj4
= 0 ;
5205 PyObject
* obj5
= 0 ;
5206 PyObject
* obj6
= 0 ;
5207 PyObject
* obj7
= 0 ;
5209 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticText
,
5214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5215 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5218 arg3
= (int)SWIG_As_int(obj2
);
5219 if (PyErr_Occurred()) SWIG_fail
;
5223 arg4
= wxString_in_helper(obj3
);
5224 if (arg4
== NULL
) SWIG_fail
;
5231 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5237 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5241 arg7
= (long)SWIG_As_long(obj6
);
5242 if (PyErr_Occurred()) SWIG_fail
;
5246 arg8
= wxString_in_helper(obj7
);
5247 if (arg8
== NULL
) SWIG_fail
;
5252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5253 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5255 wxPyEndAllowThreads(__tstate
);
5256 if (PyErr_Occurred()) SWIG_fail
;
5259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5283 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5284 PyObject
*resultobj
;
5285 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5286 wxVisualAttributes result
;
5287 PyObject
* obj0
= 0 ;
5289 (char *) "variant", NULL
5292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5294 arg1
= (int)SWIG_As_int(obj0
);
5295 if (PyErr_Occurred()) SWIG_fail
;
5298 if (!wxPyCheckForApp()) SWIG_fail
;
5299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5300 result
= wxStaticText::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5302 wxPyEndAllowThreads(__tstate
);
5303 if (PyErr_Occurred()) SWIG_fail
;
5306 wxVisualAttributes
* resultptr
;
5307 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5308 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5316 static PyObject
* StaticText_swigregister(PyObject
*, PyObject
*args
) {
5318 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5319 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
5321 return Py_BuildValue((char *)"");
5323 static PyObject
*_wrap_new_StaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5324 PyObject
*resultobj
;
5325 wxWindow
*arg1
= (wxWindow
*) 0 ;
5326 int arg2
= (int) -1 ;
5327 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
5328 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
5329 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5330 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5331 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5332 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5333 long arg6
= (long) 0 ;
5334 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
5335 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5336 wxStaticBitmap
*result
;
5339 bool temp7
= False
;
5340 PyObject
* obj0
= 0 ;
5341 PyObject
* obj1
= 0 ;
5342 PyObject
* obj2
= 0 ;
5343 PyObject
* obj3
= 0 ;
5344 PyObject
* obj4
= 0 ;
5345 PyObject
* obj5
= 0 ;
5346 PyObject
* obj6
= 0 ;
5348 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5355 arg2
= (int)SWIG_As_int(obj1
);
5356 if (PyErr_Occurred()) SWIG_fail
;
5359 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
5360 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5363 PyErr_SetString(PyExc_TypeError
,"null reference");
5370 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5376 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5380 arg6
= (long)SWIG_As_long(obj5
);
5381 if (PyErr_Occurred()) SWIG_fail
;
5385 arg7
= wxString_in_helper(obj6
);
5386 if (arg7
== NULL
) SWIG_fail
;
5391 if (!wxPyCheckForApp()) SWIG_fail
;
5392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5393 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5395 wxPyEndAllowThreads(__tstate
);
5396 if (PyErr_Occurred()) SWIG_fail
;
5398 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5413 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5414 PyObject
*resultobj
;
5415 wxStaticBitmap
*result
;
5420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
5422 if (!wxPyCheckForApp()) SWIG_fail
;
5423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5424 result
= (wxStaticBitmap
*)new wxStaticBitmap();
5426 wxPyEndAllowThreads(__tstate
);
5427 if (PyErr_Occurred()) SWIG_fail
;
5429 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5436 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5437 PyObject
*resultobj
;
5438 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5439 wxWindow
*arg2
= (wxWindow
*) 0 ;
5440 int arg3
= (int) -1 ;
5441 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
5442 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
5443 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5444 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5445 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5446 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5447 long arg7
= (long) 0 ;
5448 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
5449 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5453 bool temp8
= False
;
5454 PyObject
* obj0
= 0 ;
5455 PyObject
* obj1
= 0 ;
5456 PyObject
* obj2
= 0 ;
5457 PyObject
* obj3
= 0 ;
5458 PyObject
* obj4
= 0 ;
5459 PyObject
* obj5
= 0 ;
5460 PyObject
* obj6
= 0 ;
5461 PyObject
* obj7
= 0 ;
5463 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5469 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5472 arg3
= (int)SWIG_As_int(obj2
);
5473 if (PyErr_Occurred()) SWIG_fail
;
5476 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
5477 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5480 PyErr_SetString(PyExc_TypeError
,"null reference");
5487 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5493 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5497 arg7
= (long)SWIG_As_long(obj6
);
5498 if (PyErr_Occurred()) SWIG_fail
;
5502 arg8
= wxString_in_helper(obj7
);
5503 if (arg8
== NULL
) SWIG_fail
;
5508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5509 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5511 wxPyEndAllowThreads(__tstate
);
5512 if (PyErr_Occurred()) SWIG_fail
;
5515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5531 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5532 PyObject
*resultobj
;
5533 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5535 PyObject
* obj0
= 0 ;
5537 (char *) "self", NULL
5540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
5541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5545 result
= (arg1
)->GetBitmap();
5547 wxPyEndAllowThreads(__tstate
);
5548 if (PyErr_Occurred()) SWIG_fail
;
5551 wxBitmap
* resultptr
;
5552 resultptr
= new wxBitmap((wxBitmap
&) result
);
5553 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5561 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5562 PyObject
*resultobj
;
5563 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5564 wxBitmap
*arg2
= 0 ;
5565 PyObject
* obj0
= 0 ;
5566 PyObject
* obj1
= 0 ;
5568 (char *) "self",(char *) "bitmap", NULL
5571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5574 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5575 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5578 PyErr_SetString(PyExc_TypeError
,"null reference");
5582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5583 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
5585 wxPyEndAllowThreads(__tstate
);
5586 if (PyErr_Occurred()) SWIG_fail
;
5588 Py_INCREF(Py_None
); resultobj
= Py_None
;
5595 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5596 PyObject
*resultobj
;
5597 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5599 PyObject
* obj0
= 0 ;
5600 PyObject
* obj1
= 0 ;
5602 (char *) "self",(char *) "icon", NULL
5605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
5606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5608 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
5609 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5612 PyErr_SetString(PyExc_TypeError
,"null reference");
5616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5617 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5619 wxPyEndAllowThreads(__tstate
);
5620 if (PyErr_Occurred()) SWIG_fail
;
5622 Py_INCREF(Py_None
); resultobj
= Py_None
;
5629 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5630 PyObject
*resultobj
;
5631 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5632 wxVisualAttributes result
;
5633 PyObject
* obj0
= 0 ;
5635 (char *) "variant", NULL
5638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5640 arg1
= (int)SWIG_As_int(obj0
);
5641 if (PyErr_Occurred()) SWIG_fail
;
5644 if (!wxPyCheckForApp()) SWIG_fail
;
5645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5646 result
= wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5648 wxPyEndAllowThreads(__tstate
);
5649 if (PyErr_Occurred()) SWIG_fail
;
5652 wxVisualAttributes
* resultptr
;
5653 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5654 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5662 static PyObject
* StaticBitmap_swigregister(PyObject
*, PyObject
*args
) {
5664 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5665 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
5667 return Py_BuildValue((char *)"");
5669 static int _wrap_ListBoxNameStr_set(PyObject
*) {
5670 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
5675 static PyObject
*_wrap_ListBoxNameStr_get() {
5680 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5682 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5689 static PyObject
*_wrap_new_ListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5690 PyObject
*resultobj
;
5691 wxWindow
*arg1
= (wxWindow
*) 0 ;
5692 int arg2
= (int) -1 ;
5693 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5694 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5695 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5696 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5697 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5698 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5699 long arg6
= (long) 0 ;
5700 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5701 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5702 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5703 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5707 bool temp5
= False
;
5708 bool temp8
= False
;
5709 PyObject
* obj0
= 0 ;
5710 PyObject
* obj1
= 0 ;
5711 PyObject
* obj2
= 0 ;
5712 PyObject
* obj3
= 0 ;
5713 PyObject
* obj4
= 0 ;
5714 PyObject
* obj5
= 0 ;
5715 PyObject
* obj6
= 0 ;
5716 PyObject
* obj7
= 0 ;
5718 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5725 arg2
= (int)SWIG_As_int(obj1
);
5726 if (PyErr_Occurred()) SWIG_fail
;
5731 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5737 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5742 if (! PySequence_Check(obj4
)) {
5743 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5746 arg5
= new wxArrayString
;
5748 int i
, len
=PySequence_Length(obj4
);
5749 for (i
=0; i
<len
; i
++) {
5750 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5752 PyObject
* str
= PyObject_Unicode(item
);
5754 PyObject
* str
= PyObject_Str(item
);
5756 if (PyErr_Occurred()) SWIG_fail
;
5757 arg5
->Add(Py2wxString(str
));
5764 arg6
= (long)SWIG_As_long(obj5
);
5765 if (PyErr_Occurred()) SWIG_fail
;
5768 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
5769 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5772 PyErr_SetString(PyExc_TypeError
,"null reference");
5778 arg8
= wxString_in_helper(obj7
);
5779 if (arg8
== NULL
) SWIG_fail
;
5784 if (!wxPyCheckForApp()) SWIG_fail
;
5785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5786 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5788 wxPyEndAllowThreads(__tstate
);
5789 if (PyErr_Occurred()) SWIG_fail
;
5791 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5793 if (temp5
) delete arg5
;
5802 if (temp5
) delete arg5
;
5812 static PyObject
*_wrap_new_PreListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5813 PyObject
*resultobj
;
5819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5821 if (!wxPyCheckForApp()) SWIG_fail
;
5822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5823 result
= (wxListBox
*)new wxListBox();
5825 wxPyEndAllowThreads(__tstate
);
5826 if (PyErr_Occurred()) SWIG_fail
;
5828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5835 static PyObject
*_wrap_ListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5836 PyObject
*resultobj
;
5837 wxListBox
*arg1
= (wxListBox
*) 0 ;
5838 wxWindow
*arg2
= (wxWindow
*) 0 ;
5839 int arg3
= (int) -1 ;
5840 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5841 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5842 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5843 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5844 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5845 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5846 long arg7
= (long) 0 ;
5847 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5848 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5849 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5850 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5854 bool temp6
= False
;
5855 bool temp9
= False
;
5856 PyObject
* obj0
= 0 ;
5857 PyObject
* obj1
= 0 ;
5858 PyObject
* obj2
= 0 ;
5859 PyObject
* obj3
= 0 ;
5860 PyObject
* obj4
= 0 ;
5861 PyObject
* obj5
= 0 ;
5862 PyObject
* obj6
= 0 ;
5863 PyObject
* obj7
= 0 ;
5864 PyObject
* obj8
= 0 ;
5866 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5872 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5875 arg3
= (int)SWIG_As_int(obj2
);
5876 if (PyErr_Occurred()) SWIG_fail
;
5881 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5887 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5892 if (! PySequence_Check(obj5
)) {
5893 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5896 arg6
= new wxArrayString
;
5898 int i
, len
=PySequence_Length(obj5
);
5899 for (i
=0; i
<len
; i
++) {
5900 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5902 PyObject
* str
= PyObject_Unicode(item
);
5904 PyObject
* str
= PyObject_Str(item
);
5906 if (PyErr_Occurred()) SWIG_fail
;
5907 arg6
->Add(Py2wxString(str
));
5914 arg7
= (long)SWIG_As_long(obj6
);
5915 if (PyErr_Occurred()) SWIG_fail
;
5918 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
5919 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5922 PyErr_SetString(PyExc_TypeError
,"null reference");
5928 arg9
= wxString_in_helper(obj8
);
5929 if (arg9
== NULL
) SWIG_fail
;
5934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5935 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5937 wxPyEndAllowThreads(__tstate
);
5938 if (PyErr_Occurred()) SWIG_fail
;
5941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5944 if (temp6
) delete arg6
;
5953 if (temp6
) delete arg6
;
5963 static PyObject
*_wrap_ListBox_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5964 PyObject
*resultobj
;
5965 wxListBox
*arg1
= (wxListBox
*) 0 ;
5966 wxString
*arg2
= 0 ;
5968 PyObject
*arg4
= (PyObject
*) NULL
;
5969 bool temp2
= False
;
5970 PyObject
* obj0
= 0 ;
5971 PyObject
* obj1
= 0 ;
5972 PyObject
* obj2
= 0 ;
5973 PyObject
* obj3
= 0 ;
5975 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5982 arg2
= wxString_in_helper(obj1
);
5983 if (arg2
== NULL
) SWIG_fail
;
5986 arg3
= (int)SWIG_As_int(obj2
);
5987 if (PyErr_Occurred()) SWIG_fail
;
5992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5993 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5995 wxPyEndAllowThreads(__tstate
);
5996 if (PyErr_Occurred()) SWIG_fail
;
5998 Py_INCREF(Py_None
); resultobj
= Py_None
;
6013 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6014 PyObject
*resultobj
;
6015 wxListBox
*arg1
= (wxListBox
*) 0 ;
6016 wxArrayString
*arg2
= 0 ;
6018 bool temp2
= False
;
6019 PyObject
* obj0
= 0 ;
6020 PyObject
* obj1
= 0 ;
6021 PyObject
* obj2
= 0 ;
6023 (char *) "self",(char *) "items",(char *) "pos", NULL
6026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6030 if (! PySequence_Check(obj1
)) {
6031 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6034 arg2
= new wxArrayString
;
6036 int i
, len
=PySequence_Length(obj1
);
6037 for (i
=0; i
<len
; i
++) {
6038 PyObject
* item
= PySequence_GetItem(obj1
, i
);
6040 PyObject
* str
= PyObject_Unicode(item
);
6042 PyObject
* str
= PyObject_Str(item
);
6044 if (PyErr_Occurred()) SWIG_fail
;
6045 arg2
->Add(Py2wxString(str
));
6050 arg3
= (int)SWIG_As_int(obj2
);
6051 if (PyErr_Occurred()) SWIG_fail
;
6053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6054 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
6056 wxPyEndAllowThreads(__tstate
);
6057 if (PyErr_Occurred()) SWIG_fail
;
6059 Py_INCREF(Py_None
); resultobj
= Py_None
;
6061 if (temp2
) delete arg2
;
6066 if (temp2
) delete arg2
;
6072 static PyObject
*_wrap_ListBox_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6073 PyObject
*resultobj
;
6074 wxListBox
*arg1
= (wxListBox
*) 0 ;
6075 wxArrayString
*arg2
= 0 ;
6076 bool temp2
= False
;
6077 PyObject
* obj0
= 0 ;
6078 PyObject
* obj1
= 0 ;
6080 (char *) "self",(char *) "items", NULL
6083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
6084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6087 if (! PySequence_Check(obj1
)) {
6088 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6091 arg2
= new wxArrayString
;
6093 int i
, len
=PySequence_Length(obj1
);
6094 for (i
=0; i
<len
; i
++) {
6095 PyObject
* item
= PySequence_GetItem(obj1
, i
);
6097 PyObject
* str
= PyObject_Unicode(item
);
6099 PyObject
* str
= PyObject_Str(item
);
6101 if (PyErr_Occurred()) SWIG_fail
;
6102 arg2
->Add(Py2wxString(str
));
6108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6109 (arg1
)->Set((wxArrayString
const &)*arg2
);
6111 wxPyEndAllowThreads(__tstate
);
6112 if (PyErr_Occurred()) SWIG_fail
;
6114 Py_INCREF(Py_None
); resultobj
= Py_None
;
6116 if (temp2
) delete arg2
;
6121 if (temp2
) delete arg2
;
6127 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6128 PyObject
*resultobj
;
6129 wxListBox
*arg1
= (wxListBox
*) 0 ;
6132 PyObject
* obj0
= 0 ;
6133 PyObject
* obj1
= 0 ;
6135 (char *) "self",(char *) "n", NULL
6138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
6139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6141 arg2
= (int)SWIG_As_int(obj1
);
6142 if (PyErr_Occurred()) SWIG_fail
;
6144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6145 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
6147 wxPyEndAllowThreads(__tstate
);
6148 if (PyErr_Occurred()) SWIG_fail
;
6151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6159 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6160 PyObject
*resultobj
;
6161 wxListBox
*arg1
= (wxListBox
*) 0 ;
6163 bool arg3
= (bool) True
;
6164 PyObject
* obj0
= 0 ;
6165 PyObject
* obj1
= 0 ;
6166 PyObject
* obj2
= 0 ;
6168 (char *) "self",(char *) "n",(char *) "select", NULL
6171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6174 arg2
= (int)SWIG_As_int(obj1
);
6175 if (PyErr_Occurred()) SWIG_fail
;
6177 arg3
= (bool)SWIG_As_bool(obj2
);
6178 if (PyErr_Occurred()) SWIG_fail
;
6181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6182 (arg1
)->SetSelection(arg2
,arg3
);
6184 wxPyEndAllowThreads(__tstate
);
6185 if (PyErr_Occurred()) SWIG_fail
;
6187 Py_INCREF(Py_None
); resultobj
= Py_None
;
6194 static PyObject
*_wrap_ListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6195 PyObject
*resultobj
;
6196 wxListBox
*arg1
= (wxListBox
*) 0 ;
6198 PyObject
* obj0
= 0 ;
6199 PyObject
* obj1
= 0 ;
6201 (char *) "self",(char *) "n", NULL
6204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
6205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6207 arg2
= (int)SWIG_As_int(obj1
);
6208 if (PyErr_Occurred()) SWIG_fail
;
6210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6211 (arg1
)->Select(arg2
);
6213 wxPyEndAllowThreads(__tstate
);
6214 if (PyErr_Occurred()) SWIG_fail
;
6216 Py_INCREF(Py_None
); resultobj
= Py_None
;
6223 static PyObject
*_wrap_ListBox_Deselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6224 PyObject
*resultobj
;
6225 wxListBox
*arg1
= (wxListBox
*) 0 ;
6227 PyObject
* obj0
= 0 ;
6228 PyObject
* obj1
= 0 ;
6230 (char *) "self",(char *) "n", NULL
6233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
6234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6236 arg2
= (int)SWIG_As_int(obj1
);
6237 if (PyErr_Occurred()) SWIG_fail
;
6239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6240 (arg1
)->Deselect(arg2
);
6242 wxPyEndAllowThreads(__tstate
);
6243 if (PyErr_Occurred()) SWIG_fail
;
6245 Py_INCREF(Py_None
); resultobj
= Py_None
;
6252 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6253 PyObject
*resultobj
;
6254 wxListBox
*arg1
= (wxListBox
*) 0 ;
6255 int arg2
= (int) -1 ;
6256 PyObject
* obj0
= 0 ;
6257 PyObject
* obj1
= 0 ;
6259 (char *) "self",(char *) "itemToLeaveSelected", NULL
6262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
6263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6266 arg2
= (int)SWIG_As_int(obj1
);
6267 if (PyErr_Occurred()) SWIG_fail
;
6270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6271 (arg1
)->DeselectAll(arg2
);
6273 wxPyEndAllowThreads(__tstate
);
6274 if (PyErr_Occurred()) SWIG_fail
;
6276 Py_INCREF(Py_None
); resultobj
= Py_None
;
6283 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6284 PyObject
*resultobj
;
6285 wxListBox
*arg1
= (wxListBox
*) 0 ;
6286 wxString
*arg2
= 0 ;
6287 bool arg3
= (bool) True
;
6289 bool temp2
= False
;
6290 PyObject
* obj0
= 0 ;
6291 PyObject
* obj1
= 0 ;
6292 PyObject
* obj2
= 0 ;
6294 (char *) "self",(char *) "s",(char *) "select", NULL
6297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6301 arg2
= wxString_in_helper(obj1
);
6302 if (arg2
== NULL
) SWIG_fail
;
6306 arg3
= (bool)SWIG_As_bool(obj2
);
6307 if (PyErr_Occurred()) SWIG_fail
;
6310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6311 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
6313 wxPyEndAllowThreads(__tstate
);
6314 if (PyErr_Occurred()) SWIG_fail
;
6317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6333 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6334 PyObject
*resultobj
;
6335 wxListBox
*arg1
= (wxListBox
*) 0 ;
6337 PyObject
* obj0
= 0 ;
6339 (char *) "self", NULL
6342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
6343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6347 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
6349 wxPyEndAllowThreads(__tstate
);
6350 if (PyErr_Occurred()) SWIG_fail
;
6359 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6360 PyObject
*resultobj
;
6361 wxListBox
*arg1
= (wxListBox
*) 0 ;
6363 PyObject
* obj0
= 0 ;
6364 PyObject
* obj1
= 0 ;
6366 (char *) "self",(char *) "n", NULL
6369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
6370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6372 arg2
= (int)SWIG_As_int(obj1
);
6373 if (PyErr_Occurred()) SWIG_fail
;
6375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6376 (arg1
)->SetFirstItem(arg2
);
6378 wxPyEndAllowThreads(__tstate
);
6379 if (PyErr_Occurred()) SWIG_fail
;
6381 Py_INCREF(Py_None
); resultobj
= Py_None
;
6388 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6389 PyObject
*resultobj
;
6390 wxListBox
*arg1
= (wxListBox
*) 0 ;
6391 wxString
*arg2
= 0 ;
6392 bool temp2
= False
;
6393 PyObject
* obj0
= 0 ;
6394 PyObject
* obj1
= 0 ;
6396 (char *) "self",(char *) "s", NULL
6399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
6400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6403 arg2
= wxString_in_helper(obj1
);
6404 if (arg2
== NULL
) SWIG_fail
;
6408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6409 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
6411 wxPyEndAllowThreads(__tstate
);
6412 if (PyErr_Occurred()) SWIG_fail
;
6414 Py_INCREF(Py_None
); resultobj
= Py_None
;
6429 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6430 PyObject
*resultobj
;
6431 wxListBox
*arg1
= (wxListBox
*) 0 ;
6433 PyObject
* obj0
= 0 ;
6434 PyObject
* obj1
= 0 ;
6436 (char *) "self",(char *) "n", NULL
6439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6442 arg2
= (int)SWIG_As_int(obj1
);
6443 if (PyErr_Occurred()) SWIG_fail
;
6445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6446 (arg1
)->EnsureVisible(arg2
);
6448 wxPyEndAllowThreads(__tstate
);
6449 if (PyErr_Occurred()) SWIG_fail
;
6451 Py_INCREF(Py_None
); resultobj
= Py_None
;
6458 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6459 PyObject
*resultobj
;
6460 wxListBox
*arg1
= (wxListBox
*) 0 ;
6461 wxString
*arg2
= 0 ;
6462 bool temp2
= False
;
6463 PyObject
* obj0
= 0 ;
6464 PyObject
* obj1
= 0 ;
6466 (char *) "self",(char *) "s", NULL
6469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6473 arg2
= wxString_in_helper(obj1
);
6474 if (arg2
== NULL
) SWIG_fail
;
6478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6479 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
6481 wxPyEndAllowThreads(__tstate
);
6482 if (PyErr_Occurred()) SWIG_fail
;
6484 Py_INCREF(Py_None
); resultobj
= Py_None
;
6499 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6500 PyObject
*resultobj
;
6501 wxListBox
*arg1
= (wxListBox
*) 0 ;
6503 PyObject
* obj0
= 0 ;
6505 (char *) "self", NULL
6508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
6509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6513 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
6515 wxPyEndAllowThreads(__tstate
);
6516 if (PyErr_Occurred()) SWIG_fail
;
6519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6527 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6528 PyObject
*resultobj
;
6529 wxListBox
*arg1
= (wxListBox
*) 0 ;
6531 wxColour
*arg3
= 0 ;
6533 PyObject
* obj0
= 0 ;
6534 PyObject
* obj1
= 0 ;
6535 PyObject
* obj2
= 0 ;
6537 (char *) "self",(char *) "item",(char *) "c", NULL
6540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6543 arg2
= (int)SWIG_As_int(obj1
);
6544 if (PyErr_Occurred()) SWIG_fail
;
6547 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6551 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6553 wxPyEndAllowThreads(__tstate
);
6554 if (PyErr_Occurred()) SWIG_fail
;
6556 Py_INCREF(Py_None
); resultobj
= Py_None
;
6563 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6564 PyObject
*resultobj
;
6565 wxListBox
*arg1
= (wxListBox
*) 0 ;
6567 wxColour
*arg3
= 0 ;
6569 PyObject
* obj0
= 0 ;
6570 PyObject
* obj1
= 0 ;
6571 PyObject
* obj2
= 0 ;
6573 (char *) "self",(char *) "item",(char *) "c", NULL
6576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6579 arg2
= (int)SWIG_As_int(obj1
);
6580 if (PyErr_Occurred()) SWIG_fail
;
6583 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6587 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6589 wxPyEndAllowThreads(__tstate
);
6590 if (PyErr_Occurred()) SWIG_fail
;
6592 Py_INCREF(Py_None
); resultobj
= Py_None
;
6599 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6600 PyObject
*resultobj
;
6601 wxListBox
*arg1
= (wxListBox
*) 0 ;
6604 PyObject
* obj0
= 0 ;
6605 PyObject
* obj1
= 0 ;
6606 PyObject
* obj2
= 0 ;
6608 (char *) "self",(char *) "item",(char *) "f", NULL
6611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6614 arg2
= (int)SWIG_As_int(obj1
);
6615 if (PyErr_Occurred()) SWIG_fail
;
6616 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6617 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6620 PyErr_SetString(PyExc_TypeError
,"null reference");
6624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6625 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
6627 wxPyEndAllowThreads(__tstate
);
6628 if (PyErr_Occurred()) SWIG_fail
;
6630 Py_INCREF(Py_None
); resultobj
= Py_None
;
6637 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6638 PyObject
*resultobj
;
6639 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6640 wxVisualAttributes result
;
6641 PyObject
* obj0
= 0 ;
6643 (char *) "variant", NULL
6646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6648 arg1
= (int)SWIG_As_int(obj0
);
6649 if (PyErr_Occurred()) SWIG_fail
;
6652 if (!wxPyCheckForApp()) SWIG_fail
;
6653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6654 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6656 wxPyEndAllowThreads(__tstate
);
6657 if (PyErr_Occurred()) SWIG_fail
;
6660 wxVisualAttributes
* resultptr
;
6661 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6662 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6670 static PyObject
* ListBox_swigregister(PyObject
*, PyObject
*args
) {
6672 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6673 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
6675 return Py_BuildValue((char *)"");
6677 static PyObject
*_wrap_new_CheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6678 PyObject
*resultobj
;
6679 wxWindow
*arg1
= (wxWindow
*) 0 ;
6680 int arg2
= (int) -1 ;
6681 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6682 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6683 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6684 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6685 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
6686 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
6687 long arg6
= (long) 0 ;
6688 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6689 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6690 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
6691 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6692 wxCheckListBox
*result
;
6695 bool temp5
= False
;
6696 bool temp8
= False
;
6697 PyObject
* obj0
= 0 ;
6698 PyObject
* obj1
= 0 ;
6699 PyObject
* obj2
= 0 ;
6700 PyObject
* obj3
= 0 ;
6701 PyObject
* obj4
= 0 ;
6702 PyObject
* obj5
= 0 ;
6703 PyObject
* obj6
= 0 ;
6704 PyObject
* obj7
= 0 ;
6706 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6713 arg2
= (int)SWIG_As_int(obj1
);
6714 if (PyErr_Occurred()) SWIG_fail
;
6719 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6725 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6730 if (! PySequence_Check(obj4
)) {
6731 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6734 arg5
= new wxArrayString
;
6736 int i
, len
=PySequence_Length(obj4
);
6737 for (i
=0; i
<len
; i
++) {
6738 PyObject
* item
= PySequence_GetItem(obj4
, i
);
6740 PyObject
* str
= PyObject_Unicode(item
);
6742 PyObject
* str
= PyObject_Str(item
);
6744 if (PyErr_Occurred()) SWIG_fail
;
6745 arg5
->Add(Py2wxString(str
));
6752 arg6
= (long)SWIG_As_long(obj5
);
6753 if (PyErr_Occurred()) SWIG_fail
;
6756 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
6757 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6760 PyErr_SetString(PyExc_TypeError
,"null reference");
6766 arg8
= wxString_in_helper(obj7
);
6767 if (arg8
== NULL
) SWIG_fail
;
6772 if (!wxPyCheckForApp()) SWIG_fail
;
6773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6774 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6776 wxPyEndAllowThreads(__tstate
);
6777 if (PyErr_Occurred()) SWIG_fail
;
6779 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6781 if (temp5
) delete arg5
;
6790 if (temp5
) delete arg5
;
6800 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6801 PyObject
*resultobj
;
6802 wxCheckListBox
*result
;
6807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
6809 if (!wxPyCheckForApp()) SWIG_fail
;
6810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6811 result
= (wxCheckListBox
*)new wxCheckListBox();
6813 wxPyEndAllowThreads(__tstate
);
6814 if (PyErr_Occurred()) SWIG_fail
;
6816 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6823 static PyObject
*_wrap_CheckListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6824 PyObject
*resultobj
;
6825 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6826 wxWindow
*arg2
= (wxWindow
*) 0 ;
6827 int arg3
= (int) -1 ;
6828 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6829 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6830 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6831 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6832 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
6833 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
6834 long arg7
= (long) 0 ;
6835 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6836 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6837 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
6838 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6842 bool temp6
= False
;
6843 bool temp9
= False
;
6844 PyObject
* obj0
= 0 ;
6845 PyObject
* obj1
= 0 ;
6846 PyObject
* obj2
= 0 ;
6847 PyObject
* obj3
= 0 ;
6848 PyObject
* obj4
= 0 ;
6849 PyObject
* obj5
= 0 ;
6850 PyObject
* obj6
= 0 ;
6851 PyObject
* obj7
= 0 ;
6852 PyObject
* obj8
= 0 ;
6854 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
6858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6860 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6863 arg3
= (int)SWIG_As_int(obj2
);
6864 if (PyErr_Occurred()) SWIG_fail
;
6869 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6875 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6880 if (! PySequence_Check(obj5
)) {
6881 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6884 arg6
= new wxArrayString
;
6886 int i
, len
=PySequence_Length(obj5
);
6887 for (i
=0; i
<len
; i
++) {
6888 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6890 PyObject
* str
= PyObject_Unicode(item
);
6892 PyObject
* str
= PyObject_Str(item
);
6894 if (PyErr_Occurred()) SWIG_fail
;
6895 arg6
->Add(Py2wxString(str
));
6902 arg7
= (long)SWIG_As_long(obj6
);
6903 if (PyErr_Occurred()) SWIG_fail
;
6906 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
6907 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6910 PyErr_SetString(PyExc_TypeError
,"null reference");
6916 arg9
= wxString_in_helper(obj8
);
6917 if (arg9
== NULL
) SWIG_fail
;
6922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6923 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6925 wxPyEndAllowThreads(__tstate
);
6926 if (PyErr_Occurred()) SWIG_fail
;
6929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6932 if (temp6
) delete arg6
;
6941 if (temp6
) delete arg6
;
6951 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6952 PyObject
*resultobj
;
6953 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6956 PyObject
* obj0
= 0 ;
6957 PyObject
* obj1
= 0 ;
6959 (char *) "self",(char *) "index", NULL
6962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
6963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6965 arg2
= (int)SWIG_As_int(obj1
);
6966 if (PyErr_Occurred()) SWIG_fail
;
6968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6969 result
= (bool)(arg1
)->IsChecked(arg2
);
6971 wxPyEndAllowThreads(__tstate
);
6972 if (PyErr_Occurred()) SWIG_fail
;
6975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6983 static PyObject
*_wrap_CheckListBox_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6984 PyObject
*resultobj
;
6985 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6987 int arg3
= (int) True
;
6988 PyObject
* obj0
= 0 ;
6989 PyObject
* obj1
= 0 ;
6990 PyObject
* obj2
= 0 ;
6992 (char *) "self",(char *) "index",(char *) "check", NULL
6995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6998 arg2
= (int)SWIG_As_int(obj1
);
6999 if (PyErr_Occurred()) SWIG_fail
;
7001 arg3
= (int)SWIG_As_int(obj2
);
7002 if (PyErr_Occurred()) SWIG_fail
;
7005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7006 (arg1
)->Check(arg2
,arg3
);
7008 wxPyEndAllowThreads(__tstate
);
7009 if (PyErr_Occurred()) SWIG_fail
;
7011 Py_INCREF(Py_None
); resultobj
= Py_None
;
7018 static PyObject
*_wrap_CheckListBox_GetItemHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7019 PyObject
*resultobj
;
7020 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
7022 PyObject
* obj0
= 0 ;
7024 (char *) "self", NULL
7027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
7028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
7029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7032 result
= (int)(arg1
)->GetItemHeight();
7034 wxPyEndAllowThreads(__tstate
);
7035 if (PyErr_Occurred()) SWIG_fail
;
7037 resultobj
= SWIG_From_int((int)result
);
7044 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7045 PyObject
*resultobj
;
7046 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
7050 PyObject
* obj0
= 0 ;
7051 PyObject
* obj1
= 0 ;
7053 (char *) "self",(char *) "pt", NULL
7056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
7057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
7058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7061 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7065 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
7067 wxPyEndAllowThreads(__tstate
);
7068 if (PyErr_Occurred()) SWIG_fail
;
7070 resultobj
= SWIG_From_int((int)result
);
7077 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7078 PyObject
*resultobj
;
7079 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
7083 PyObject
* obj0
= 0 ;
7084 PyObject
* obj1
= 0 ;
7085 PyObject
* obj2
= 0 ;
7087 (char *) "self",(char *) "x",(char *) "y", NULL
7090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
7092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7093 arg2
= (int)SWIG_As_int(obj1
);
7094 if (PyErr_Occurred()) SWIG_fail
;
7095 arg3
= (int)SWIG_As_int(obj2
);
7096 if (PyErr_Occurred()) SWIG_fail
;
7098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7099 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
7101 wxPyEndAllowThreads(__tstate
);
7102 if (PyErr_Occurred()) SWIG_fail
;
7104 resultobj
= SWIG_From_int((int)result
);
7111 static PyObject
* CheckListBox_swigregister(PyObject
*, PyObject
*args
) {
7113 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7114 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
7116 return Py_BuildValue((char *)"");
7118 static int _wrap_TextCtrlNameStr_set(PyObject
*) {
7119 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
7124 static PyObject
*_wrap_TextCtrlNameStr_get() {
7129 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
7131 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
7138 static PyObject
*_wrap_new_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7139 PyObject
*resultobj
;
7140 wxColour
const &arg1_defvalue
= wxNullColour
;
7141 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
7142 wxColour
const &arg2_defvalue
= wxNullColour
;
7143 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
7144 wxFont
const &arg3_defvalue
= wxNullFont
;
7145 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
7146 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
7150 PyObject
* obj0
= 0 ;
7151 PyObject
* obj1
= 0 ;
7152 PyObject
* obj2
= 0 ;
7153 PyObject
* obj3
= 0 ;
7155 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
7158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7162 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
7168 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7172 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
7173 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7176 PyErr_SetString(PyExc_TypeError
,"null reference");
7181 arg4
= (int)SWIG_As_int(obj3
);
7182 if (PyErr_Occurred()) SWIG_fail
;
7185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7186 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
7188 wxPyEndAllowThreads(__tstate
);
7189 if (PyErr_Occurred()) SWIG_fail
;
7191 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
7198 static PyObject
*_wrap_delete_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7199 PyObject
*resultobj
;
7200 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7201 PyObject
* obj0
= 0 ;
7203 (char *) "self", NULL
7206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
7207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7213 wxPyEndAllowThreads(__tstate
);
7214 if (PyErr_Occurred()) SWIG_fail
;
7216 Py_INCREF(Py_None
); resultobj
= Py_None
;
7223 static PyObject
*_wrap_TextAttr_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7224 PyObject
*resultobj
;
7225 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7226 PyObject
* obj0
= 0 ;
7228 (char *) "self", NULL
7231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
7232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7238 wxPyEndAllowThreads(__tstate
);
7239 if (PyErr_Occurred()) SWIG_fail
;
7241 Py_INCREF(Py_None
); resultobj
= Py_None
;
7248 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7249 PyObject
*resultobj
;
7250 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7251 wxColour
*arg2
= 0 ;
7253 PyObject
* obj0
= 0 ;
7254 PyObject
* obj1
= 0 ;
7256 (char *) "self",(char *) "colText", NULL
7259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7264 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7268 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
7270 wxPyEndAllowThreads(__tstate
);
7271 if (PyErr_Occurred()) SWIG_fail
;
7273 Py_INCREF(Py_None
); resultobj
= Py_None
;
7280 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7281 PyObject
*resultobj
;
7282 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7283 wxColour
*arg2
= 0 ;
7285 PyObject
* obj0
= 0 ;
7286 PyObject
* obj1
= 0 ;
7288 (char *) "self",(char *) "colBack", NULL
7291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7296 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7300 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
7302 wxPyEndAllowThreads(__tstate
);
7303 if (PyErr_Occurred()) SWIG_fail
;
7305 Py_INCREF(Py_None
); resultobj
= Py_None
;
7312 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7313 PyObject
*resultobj
;
7314 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7316 long arg3
= (long) wxTEXT_ATTR_FONT
;
7317 PyObject
* obj0
= 0 ;
7318 PyObject
* obj1
= 0 ;
7319 PyObject
* obj2
= 0 ;
7321 (char *) "self",(char *) "font",(char *) "flags", NULL
7324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7327 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7328 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7331 PyErr_SetString(PyExc_TypeError
,"null reference");
7335 arg3
= (long)SWIG_As_long(obj2
);
7336 if (PyErr_Occurred()) SWIG_fail
;
7339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7340 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
7342 wxPyEndAllowThreads(__tstate
);
7343 if (PyErr_Occurred()) SWIG_fail
;
7345 Py_INCREF(Py_None
); resultobj
= Py_None
;
7352 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7353 PyObject
*resultobj
;
7354 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7356 PyObject
* obj0
= 0 ;
7357 PyObject
* obj1
= 0 ;
7359 (char *) "self",(char *) "alignment", NULL
7362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7365 arg2
= (int)SWIG_As_int(obj1
);
7366 if (PyErr_Occurred()) SWIG_fail
;
7368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7369 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
7371 wxPyEndAllowThreads(__tstate
);
7372 if (PyErr_Occurred()) SWIG_fail
;
7374 Py_INCREF(Py_None
); resultobj
= Py_None
;
7381 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7382 PyObject
*resultobj
;
7383 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7384 wxArrayInt
*arg2
= 0 ;
7385 bool temp2
= False
;
7386 PyObject
* obj0
= 0 ;
7387 PyObject
* obj1
= 0 ;
7389 (char *) "self",(char *) "tabs", NULL
7392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
7393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7396 if (! PySequence_Check(obj1
)) {
7397 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
7400 arg2
= new wxArrayInt
;
7402 int i
, len
=PySequence_Length(obj1
);
7403 for (i
=0; i
<len
; i
++) {
7404 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7405 PyObject
* number
= PyNumber_Int(item
);
7406 arg2
->Add(PyInt_AS_LONG(number
));
7412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7413 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
7415 wxPyEndAllowThreads(__tstate
);
7416 if (PyErr_Occurred()) SWIG_fail
;
7418 Py_INCREF(Py_None
); resultobj
= Py_None
;
7420 if (temp2
) delete arg2
;
7425 if (temp2
) delete arg2
;
7431 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7432 PyObject
*resultobj
;
7433 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7435 int arg3
= (int) 0 ;
7436 PyObject
* obj0
= 0 ;
7437 PyObject
* obj1
= 0 ;
7438 PyObject
* obj2
= 0 ;
7440 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
7443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7446 arg2
= (int)SWIG_As_int(obj1
);
7447 if (PyErr_Occurred()) SWIG_fail
;
7449 arg3
= (int)SWIG_As_int(obj2
);
7450 if (PyErr_Occurred()) SWIG_fail
;
7453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7454 (arg1
)->SetLeftIndent(arg2
,arg3
);
7456 wxPyEndAllowThreads(__tstate
);
7457 if (PyErr_Occurred()) SWIG_fail
;
7459 Py_INCREF(Py_None
); resultobj
= Py_None
;
7466 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7467 PyObject
*resultobj
;
7468 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7470 PyObject
* obj0
= 0 ;
7471 PyObject
* obj1
= 0 ;
7473 (char *) "self",(char *) "indent", NULL
7476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
7477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7479 arg2
= (int)SWIG_As_int(obj1
);
7480 if (PyErr_Occurred()) SWIG_fail
;
7482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7483 (arg1
)->SetRightIndent(arg2
);
7485 wxPyEndAllowThreads(__tstate
);
7486 if (PyErr_Occurred()) SWIG_fail
;
7488 Py_INCREF(Py_None
); resultobj
= Py_None
;
7495 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7496 PyObject
*resultobj
;
7497 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7499 PyObject
* obj0
= 0 ;
7500 PyObject
* obj1
= 0 ;
7502 (char *) "self",(char *) "flags", NULL
7505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7508 arg2
= (long)SWIG_As_long(obj1
);
7509 if (PyErr_Occurred()) SWIG_fail
;
7511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7512 (arg1
)->SetFlags(arg2
);
7514 wxPyEndAllowThreads(__tstate
);
7515 if (PyErr_Occurred()) SWIG_fail
;
7517 Py_INCREF(Py_None
); resultobj
= Py_None
;
7524 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7525 PyObject
*resultobj
;
7526 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7528 PyObject
* obj0
= 0 ;
7530 (char *) "self", NULL
7533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
7534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7538 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
7540 wxPyEndAllowThreads(__tstate
);
7541 if (PyErr_Occurred()) SWIG_fail
;
7544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7552 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7553 PyObject
*resultobj
;
7554 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7556 PyObject
* obj0
= 0 ;
7558 (char *) "self", NULL
7561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
7562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7566 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
7568 wxPyEndAllowThreads(__tstate
);
7569 if (PyErr_Occurred()) SWIG_fail
;
7572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7580 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7581 PyObject
*resultobj
;
7582 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7584 PyObject
* obj0
= 0 ;
7586 (char *) "self", NULL
7589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
7590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7594 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
7596 wxPyEndAllowThreads(__tstate
);
7597 if (PyErr_Occurred()) SWIG_fail
;
7600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7608 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7609 PyObject
*resultobj
;
7610 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7612 PyObject
* obj0
= 0 ;
7614 (char *) "self", NULL
7617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
7618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7622 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
7624 wxPyEndAllowThreads(__tstate
);
7625 if (PyErr_Occurred()) SWIG_fail
;
7628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7636 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7637 PyObject
*resultobj
;
7638 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7640 PyObject
* obj0
= 0 ;
7642 (char *) "self", NULL
7645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
7646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7650 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
7652 wxPyEndAllowThreads(__tstate
);
7653 if (PyErr_Occurred()) SWIG_fail
;
7656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7664 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7665 PyObject
*resultobj
;
7666 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7668 PyObject
* obj0
= 0 ;
7670 (char *) "self", NULL
7673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
7674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7678 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
7680 wxPyEndAllowThreads(__tstate
);
7681 if (PyErr_Occurred()) SWIG_fail
;
7684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7692 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7693 PyObject
*resultobj
;
7694 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7696 PyObject
* obj0
= 0 ;
7698 (char *) "self", NULL
7701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
7702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7706 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
7708 wxPyEndAllowThreads(__tstate
);
7709 if (PyErr_Occurred()) SWIG_fail
;
7712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7720 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7721 PyObject
*resultobj
;
7722 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7725 PyObject
* obj0
= 0 ;
7726 PyObject
* obj1
= 0 ;
7728 (char *) "self",(char *) "flag", NULL
7731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
7732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7734 arg2
= (long)SWIG_As_long(obj1
);
7735 if (PyErr_Occurred()) SWIG_fail
;
7737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7738 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
7740 wxPyEndAllowThreads(__tstate
);
7741 if (PyErr_Occurred()) SWIG_fail
;
7744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7752 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7753 PyObject
*resultobj
;
7754 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7756 PyObject
* obj0
= 0 ;
7758 (char *) "self", NULL
7761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
7762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7767 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
7768 result
= (wxColour
*) &_result_ref
;
7771 wxPyEndAllowThreads(__tstate
);
7772 if (PyErr_Occurred()) SWIG_fail
;
7774 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7781 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7782 PyObject
*resultobj
;
7783 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7785 PyObject
* obj0
= 0 ;
7787 (char *) "self", NULL
7790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
7791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7796 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
7797 result
= (wxColour
*) &_result_ref
;
7800 wxPyEndAllowThreads(__tstate
);
7801 if (PyErr_Occurred()) SWIG_fail
;
7803 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7810 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7811 PyObject
*resultobj
;
7812 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7814 PyObject
* obj0
= 0 ;
7816 (char *) "self", NULL
7819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
7820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7825 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7826 result
= (wxFont
*) &_result_ref
;
7829 wxPyEndAllowThreads(__tstate
);
7830 if (PyErr_Occurred()) SWIG_fail
;
7833 wxFont
* resultptr
= new wxFont(*result
);
7834 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
7842 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7843 PyObject
*resultobj
;
7844 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7846 PyObject
* obj0
= 0 ;
7848 (char *) "self", NULL
7851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
7852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7856 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7858 wxPyEndAllowThreads(__tstate
);
7859 if (PyErr_Occurred()) SWIG_fail
;
7861 resultobj
= SWIG_From_int((int)result
);
7868 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7869 PyObject
*resultobj
;
7870 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7872 PyObject
* obj0
= 0 ;
7874 (char *) "self", NULL
7877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
7878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7883 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7884 result
= (wxArrayInt
*) &_result_ref
;
7887 wxPyEndAllowThreads(__tstate
);
7888 if (PyErr_Occurred()) SWIG_fail
;
7891 resultobj
= PyList_New(0);
7893 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7894 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7895 PyList_Append(resultobj
, val
);
7905 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7906 PyObject
*resultobj
;
7907 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7909 PyObject
* obj0
= 0 ;
7911 (char *) "self", NULL
7914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7919 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7921 wxPyEndAllowThreads(__tstate
);
7922 if (PyErr_Occurred()) SWIG_fail
;
7924 resultobj
= SWIG_From_long((long)result
);
7931 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7932 PyObject
*resultobj
;
7933 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7935 PyObject
* obj0
= 0 ;
7937 (char *) "self", NULL
7940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftSubIndent",kwnames
,&obj0
)) goto fail
;
7941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7945 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
7947 wxPyEndAllowThreads(__tstate
);
7948 if (PyErr_Occurred()) SWIG_fail
;
7950 resultobj
= SWIG_From_long((long)result
);
7957 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7958 PyObject
*resultobj
;
7959 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7961 PyObject
* obj0
= 0 ;
7963 (char *) "self", NULL
7966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
7967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7971 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
7973 wxPyEndAllowThreads(__tstate
);
7974 if (PyErr_Occurred()) SWIG_fail
;
7976 resultobj
= SWIG_From_long((long)result
);
7983 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7984 PyObject
*resultobj
;
7985 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7987 PyObject
* obj0
= 0 ;
7989 (char *) "self", NULL
7992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
7993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7997 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
7999 wxPyEndAllowThreads(__tstate
);
8000 if (PyErr_Occurred()) SWIG_fail
;
8002 resultobj
= SWIG_From_long((long)result
);
8009 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8010 PyObject
*resultobj
;
8011 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8013 PyObject
* obj0
= 0 ;
8015 (char *) "self", NULL
8018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
8019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
8020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8023 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
8025 wxPyEndAllowThreads(__tstate
);
8026 if (PyErr_Occurred()) SWIG_fail
;
8029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8037 static PyObject
*_wrap_TextAttr_Combine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8038 PyObject
*resultobj
;
8039 wxTextAttr
*arg1
= 0 ;
8040 wxTextAttr
*arg2
= 0 ;
8041 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
8043 PyObject
* obj0
= 0 ;
8044 PyObject
* obj1
= 0 ;
8045 PyObject
* obj2
= 0 ;
8047 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
8050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
8052 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8055 PyErr_SetString(PyExc_TypeError
,"null reference");
8058 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
8059 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8062 PyErr_SetString(PyExc_TypeError
,"null reference");
8065 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextCtrl
,
8066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8069 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
8071 wxPyEndAllowThreads(__tstate
);
8072 if (PyErr_Occurred()) SWIG_fail
;
8075 wxTextAttr
* resultptr
;
8076 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
8077 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
8085 static PyObject
* TextAttr_swigregister(PyObject
*, PyObject
*args
) {
8087 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8088 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
8090 return Py_BuildValue((char *)"");
8092 static PyObject
*_wrap_new_TextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8093 PyObject
*resultobj
;
8094 wxWindow
*arg1
= (wxWindow
*) 0 ;
8095 int arg2
= (int) -1 ;
8096 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8097 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8098 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8099 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8100 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8101 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8102 long arg6
= (long) 0 ;
8103 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8104 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8105 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
8106 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8108 bool temp3
= False
;
8111 bool temp8
= False
;
8112 PyObject
* obj0
= 0 ;
8113 PyObject
* obj1
= 0 ;
8114 PyObject
* obj2
= 0 ;
8115 PyObject
* obj3
= 0 ;
8116 PyObject
* obj4
= 0 ;
8117 PyObject
* obj5
= 0 ;
8118 PyObject
* obj6
= 0 ;
8119 PyObject
* obj7
= 0 ;
8121 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
8125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8128 arg2
= (int)SWIG_As_int(obj1
);
8129 if (PyErr_Occurred()) SWIG_fail
;
8133 arg3
= wxString_in_helper(obj2
);
8134 if (arg3
== NULL
) SWIG_fail
;
8141 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8147 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8151 arg6
= (long)SWIG_As_long(obj5
);
8152 if (PyErr_Occurred()) SWIG_fail
;
8155 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
8156 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8159 PyErr_SetString(PyExc_TypeError
,"null reference");
8165 arg8
= wxString_in_helper(obj7
);
8166 if (arg8
== NULL
) SWIG_fail
;
8171 if (!wxPyCheckForApp()) SWIG_fail
;
8172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8173 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8175 wxPyEndAllowThreads(__tstate
);
8176 if (PyErr_Occurred()) SWIG_fail
;
8178 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
8201 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8202 PyObject
*resultobj
;
8208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
8210 if (!wxPyCheckForApp()) SWIG_fail
;
8211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8212 result
= (wxTextCtrl
*)new wxTextCtrl();
8214 wxPyEndAllowThreads(__tstate
);
8215 if (PyErr_Occurred()) SWIG_fail
;
8217 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
8224 static PyObject
*_wrap_TextCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8225 PyObject
*resultobj
;
8226 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8227 wxWindow
*arg2
= (wxWindow
*) 0 ;
8228 int arg3
= (int) -1 ;
8229 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8230 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8231 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8232 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8233 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8234 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8235 long arg7
= (long) 0 ;
8236 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8237 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8238 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
8239 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8241 bool temp4
= False
;
8244 bool temp9
= False
;
8245 PyObject
* obj0
= 0 ;
8246 PyObject
* obj1
= 0 ;
8247 PyObject
* obj2
= 0 ;
8248 PyObject
* obj3
= 0 ;
8249 PyObject
* obj4
= 0 ;
8250 PyObject
* obj5
= 0 ;
8251 PyObject
* obj6
= 0 ;
8252 PyObject
* obj7
= 0 ;
8253 PyObject
* obj8
= 0 ;
8255 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8261 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8264 arg3
= (int)SWIG_As_int(obj2
);
8265 if (PyErr_Occurred()) SWIG_fail
;
8269 arg4
= wxString_in_helper(obj3
);
8270 if (arg4
== NULL
) SWIG_fail
;
8277 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8283 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8287 arg7
= (long)SWIG_As_long(obj6
);
8288 if (PyErr_Occurred()) SWIG_fail
;
8291 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
8292 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8295 PyErr_SetString(PyExc_TypeError
,"null reference");
8301 arg9
= wxString_in_helper(obj8
);
8302 if (arg9
== NULL
) SWIG_fail
;
8307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8308 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8310 wxPyEndAllowThreads(__tstate
);
8311 if (PyErr_Occurred()) SWIG_fail
;
8314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8338 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8339 PyObject
*resultobj
;
8340 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8342 PyObject
* obj0
= 0 ;
8344 (char *) "self", NULL
8347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
8348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8352 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
8354 wxPyEndAllowThreads(__tstate
);
8355 if (PyErr_Occurred()) SWIG_fail
;
8359 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8361 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8370 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8371 PyObject
*resultobj
;
8372 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8373 wxString
*arg2
= 0 ;
8374 bool temp2
= False
;
8375 PyObject
* obj0
= 0 ;
8376 PyObject
* obj1
= 0 ;
8378 (char *) "self",(char *) "value", NULL
8381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
8382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8385 arg2
= wxString_in_helper(obj1
);
8386 if (arg2
== NULL
) SWIG_fail
;
8390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8391 (arg1
)->SetValue((wxString
const &)*arg2
);
8393 wxPyEndAllowThreads(__tstate
);
8394 if (PyErr_Occurred()) SWIG_fail
;
8396 Py_INCREF(Py_None
); resultobj
= Py_None
;
8411 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8412 PyObject
*resultobj
;
8413 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8417 PyObject
* obj0
= 0 ;
8418 PyObject
* obj1
= 0 ;
8419 PyObject
* obj2
= 0 ;
8421 (char *) "self",(char *) "from",(char *) "to", NULL
8424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8427 arg2
= (long)SWIG_As_long(obj1
);
8428 if (PyErr_Occurred()) SWIG_fail
;
8429 arg3
= (long)SWIG_As_long(obj2
);
8430 if (PyErr_Occurred()) SWIG_fail
;
8432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8433 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
8435 wxPyEndAllowThreads(__tstate
);
8436 if (PyErr_Occurred()) SWIG_fail
;
8440 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8442 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8451 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8452 PyObject
*resultobj
;
8453 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8456 PyObject
* obj0
= 0 ;
8457 PyObject
* obj1
= 0 ;
8459 (char *) "self",(char *) "lineNo", NULL
8462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8465 arg2
= (long)SWIG_As_long(obj1
);
8466 if (PyErr_Occurred()) SWIG_fail
;
8468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8469 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
8471 wxPyEndAllowThreads(__tstate
);
8472 if (PyErr_Occurred()) SWIG_fail
;
8474 resultobj
= SWIG_From_int((int)result
);
8481 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8482 PyObject
*resultobj
;
8483 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8486 PyObject
* obj0
= 0 ;
8487 PyObject
* obj1
= 0 ;
8489 (char *) "self",(char *) "lineNo", NULL
8492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
8493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8495 arg2
= (long)SWIG_As_long(obj1
);
8496 if (PyErr_Occurred()) SWIG_fail
;
8498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8499 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
8501 wxPyEndAllowThreads(__tstate
);
8502 if (PyErr_Occurred()) SWIG_fail
;
8506 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8508 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8517 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8518 PyObject
*resultobj
;
8519 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8521 PyObject
* obj0
= 0 ;
8523 (char *) "self", NULL
8526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
8527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8531 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
8533 wxPyEndAllowThreads(__tstate
);
8534 if (PyErr_Occurred()) SWIG_fail
;
8536 resultobj
= SWIG_From_int((int)result
);
8543 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8544 PyObject
*resultobj
;
8545 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8547 PyObject
* obj0
= 0 ;
8549 (char *) "self", NULL
8552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
8553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8557 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
8559 wxPyEndAllowThreads(__tstate
);
8560 if (PyErr_Occurred()) SWIG_fail
;
8563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8571 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8572 PyObject
*resultobj
;
8573 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8575 PyObject
* obj0
= 0 ;
8577 (char *) "self", NULL
8580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
8581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8585 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
8587 wxPyEndAllowThreads(__tstate
);
8588 if (PyErr_Occurred()) SWIG_fail
;
8591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8599 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8600 PyObject
*resultobj
;
8601 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8603 PyObject
* obj0
= 0 ;
8605 (char *) "self", NULL
8608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
8609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8613 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
8615 wxPyEndAllowThreads(__tstate
);
8616 if (PyErr_Occurred()) SWIG_fail
;
8619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8627 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8628 PyObject
*resultobj
;
8629 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8631 PyObject
* obj0
= 0 ;
8633 (char *) "self", NULL
8636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
8637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8641 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
8643 wxPyEndAllowThreads(__tstate
);
8644 if (PyErr_Occurred()) SWIG_fail
;
8647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8655 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8656 PyObject
*resultobj
;
8657 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8658 long *arg2
= (long *) 0 ;
8659 long *arg3
= (long *) 0 ;
8664 PyObject
* obj0
= 0 ;
8666 (char *) "self", NULL
8669 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
8670 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
8671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
8672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8676 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
8678 wxPyEndAllowThreads(__tstate
);
8679 if (PyErr_Occurred()) SWIG_fail
;
8681 Py_INCREF(Py_None
); resultobj
= Py_None
;
8682 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
8683 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
8684 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
8685 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
8692 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8693 PyObject
*resultobj
;
8694 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8696 PyObject
* obj0
= 0 ;
8698 (char *) "self", NULL
8701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
8702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8706 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
8708 wxPyEndAllowThreads(__tstate
);
8709 if (PyErr_Occurred()) SWIG_fail
;
8713 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8715 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8724 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8725 PyObject
*resultobj
;
8726 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8727 PyObject
* obj0
= 0 ;
8729 (char *) "self", NULL
8732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
8733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8739 wxPyEndAllowThreads(__tstate
);
8740 if (PyErr_Occurred()) SWIG_fail
;
8742 Py_INCREF(Py_None
); resultobj
= Py_None
;
8749 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8750 PyObject
*resultobj
;
8751 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8754 wxString
*arg4
= 0 ;
8755 bool temp4
= False
;
8756 PyObject
* obj0
= 0 ;
8757 PyObject
* obj1
= 0 ;
8758 PyObject
* obj2
= 0 ;
8759 PyObject
* obj3
= 0 ;
8761 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8767 arg2
= (long)SWIG_As_long(obj1
);
8768 if (PyErr_Occurred()) SWIG_fail
;
8769 arg3
= (long)SWIG_As_long(obj2
);
8770 if (PyErr_Occurred()) SWIG_fail
;
8772 arg4
= wxString_in_helper(obj3
);
8773 if (arg4
== NULL
) SWIG_fail
;
8777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8778 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
8780 wxPyEndAllowThreads(__tstate
);
8781 if (PyErr_Occurred()) SWIG_fail
;
8783 Py_INCREF(Py_None
); resultobj
= Py_None
;
8798 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8799 PyObject
*resultobj
;
8800 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8803 PyObject
* obj0
= 0 ;
8804 PyObject
* obj1
= 0 ;
8805 PyObject
* obj2
= 0 ;
8807 (char *) "self",(char *) "from",(char *) "to", NULL
8810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8813 arg2
= (long)SWIG_As_long(obj1
);
8814 if (PyErr_Occurred()) SWIG_fail
;
8815 arg3
= (long)SWIG_As_long(obj2
);
8816 if (PyErr_Occurred()) SWIG_fail
;
8818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8819 (arg1
)->Remove(arg2
,arg3
);
8821 wxPyEndAllowThreads(__tstate
);
8822 if (PyErr_Occurred()) SWIG_fail
;
8824 Py_INCREF(Py_None
); resultobj
= Py_None
;
8831 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8832 PyObject
*resultobj
;
8833 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8834 wxString
*arg2
= 0 ;
8836 bool temp2
= False
;
8837 PyObject
* obj0
= 0 ;
8838 PyObject
* obj1
= 0 ;
8840 (char *) "self",(char *) "file", NULL
8843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8847 arg2
= wxString_in_helper(obj1
);
8848 if (arg2
== NULL
) SWIG_fail
;
8852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8853 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
8855 wxPyEndAllowThreads(__tstate
);
8856 if (PyErr_Occurred()) SWIG_fail
;
8859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8875 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8876 PyObject
*resultobj
;
8877 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8878 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8879 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8881 bool temp2
= False
;
8882 PyObject
* obj0
= 0 ;
8883 PyObject
* obj1
= 0 ;
8885 (char *) "self",(char *) "file", NULL
8888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8893 arg2
= wxString_in_helper(obj1
);
8894 if (arg2
== NULL
) SWIG_fail
;
8899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8900 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8902 wxPyEndAllowThreads(__tstate
);
8903 if (PyErr_Occurred()) SWIG_fail
;
8906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8922 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8923 PyObject
*resultobj
;
8924 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8925 PyObject
* obj0
= 0 ;
8927 (char *) "self", NULL
8930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8935 (arg1
)->MarkDirty();
8937 wxPyEndAllowThreads(__tstate
);
8938 if (PyErr_Occurred()) SWIG_fail
;
8940 Py_INCREF(Py_None
); resultobj
= Py_None
;
8947 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8948 PyObject
*resultobj
;
8949 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8950 PyObject
* obj0
= 0 ;
8952 (char *) "self", NULL
8955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8960 (arg1
)->DiscardEdits();
8962 wxPyEndAllowThreads(__tstate
);
8963 if (PyErr_Occurred()) SWIG_fail
;
8965 Py_INCREF(Py_None
); resultobj
= Py_None
;
8972 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8973 PyObject
*resultobj
;
8974 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8975 unsigned long arg2
;
8976 PyObject
* obj0
= 0 ;
8977 PyObject
* obj1
= 0 ;
8979 (char *) "self",(char *) "len", NULL
8982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8985 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
8986 if (PyErr_Occurred()) SWIG_fail
;
8988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8989 (arg1
)->SetMaxLength(arg2
);
8991 wxPyEndAllowThreads(__tstate
);
8992 if (PyErr_Occurred()) SWIG_fail
;
8994 Py_INCREF(Py_None
); resultobj
= Py_None
;
9001 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9002 PyObject
*resultobj
;
9003 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9004 wxString
*arg2
= 0 ;
9005 bool temp2
= False
;
9006 PyObject
* obj0
= 0 ;
9007 PyObject
* obj1
= 0 ;
9009 (char *) "self",(char *) "text", NULL
9012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
9013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9016 arg2
= wxString_in_helper(obj1
);
9017 if (arg2
== NULL
) SWIG_fail
;
9021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9022 (arg1
)->WriteText((wxString
const &)*arg2
);
9024 wxPyEndAllowThreads(__tstate
);
9025 if (PyErr_Occurred()) SWIG_fail
;
9027 Py_INCREF(Py_None
); resultobj
= Py_None
;
9042 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9043 PyObject
*resultobj
;
9044 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9045 wxString
*arg2
= 0 ;
9046 bool temp2
= False
;
9047 PyObject
* obj0
= 0 ;
9048 PyObject
* obj1
= 0 ;
9050 (char *) "self",(char *) "text", NULL
9053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
9054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9057 arg2
= wxString_in_helper(obj1
);
9058 if (arg2
== NULL
) SWIG_fail
;
9062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9063 (arg1
)->AppendText((wxString
const &)*arg2
);
9065 wxPyEndAllowThreads(__tstate
);
9066 if (PyErr_Occurred()) SWIG_fail
;
9068 Py_INCREF(Py_None
); resultobj
= Py_None
;
9083 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9084 PyObject
*resultobj
;
9085 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9086 wxKeyEvent
*arg2
= 0 ;
9088 PyObject
* obj0
= 0 ;
9089 PyObject
* obj1
= 0 ;
9091 (char *) "self",(char *) "event", NULL
9094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
9095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9097 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
9098 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9101 PyErr_SetString(PyExc_TypeError
,"null reference");
9105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9106 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
9108 wxPyEndAllowThreads(__tstate
);
9109 if (PyErr_Occurred()) SWIG_fail
;
9112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9120 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9121 PyObject
*resultobj
;
9122 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9125 wxTextAttr
*arg4
= 0 ;
9127 PyObject
* obj0
= 0 ;
9128 PyObject
* obj1
= 0 ;
9129 PyObject
* obj2
= 0 ;
9130 PyObject
* obj3
= 0 ;
9132 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
9135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9138 arg2
= (long)SWIG_As_long(obj1
);
9139 if (PyErr_Occurred()) SWIG_fail
;
9140 arg3
= (long)SWIG_As_long(obj2
);
9141 if (PyErr_Occurred()) SWIG_fail
;
9142 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxTextAttr
,
9143 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9146 PyErr_SetString(PyExc_TypeError
,"null reference");
9150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9151 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
9153 wxPyEndAllowThreads(__tstate
);
9154 if (PyErr_Occurred()) SWIG_fail
;
9157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9165 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9166 PyObject
*resultobj
;
9167 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9169 wxTextAttr
*arg3
= 0 ;
9171 PyObject
* obj0
= 0 ;
9172 PyObject
* obj1
= 0 ;
9173 PyObject
* obj2
= 0 ;
9175 (char *) "self",(char *) "position",(char *) "style", NULL
9178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9181 arg2
= (long)SWIG_As_long(obj1
);
9182 if (PyErr_Occurred()) SWIG_fail
;
9183 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextAttr
,
9184 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9187 PyErr_SetString(PyExc_TypeError
,"null reference");
9191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9192 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
9194 wxPyEndAllowThreads(__tstate
);
9195 if (PyErr_Occurred()) SWIG_fail
;
9198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9206 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9207 PyObject
*resultobj
;
9208 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9209 wxTextAttr
*arg2
= 0 ;
9211 PyObject
* obj0
= 0 ;
9212 PyObject
* obj1
= 0 ;
9214 (char *) "self",(char *) "style", NULL
9217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
9218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9220 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
9221 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9224 PyErr_SetString(PyExc_TypeError
,"null reference");
9228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9229 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
9231 wxPyEndAllowThreads(__tstate
);
9232 if (PyErr_Occurred()) SWIG_fail
;
9235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9243 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9244 PyObject
*resultobj
;
9245 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9247 PyObject
* obj0
= 0 ;
9249 (char *) "self", NULL
9252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
9253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9258 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
9259 result
= (wxTextAttr
*) &_result_ref
;
9262 wxPyEndAllowThreads(__tstate
);
9263 if (PyErr_Occurred()) SWIG_fail
;
9265 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
9272 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9273 PyObject
*resultobj
;
9274 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9278 PyObject
* obj0
= 0 ;
9279 PyObject
* obj1
= 0 ;
9280 PyObject
* obj2
= 0 ;
9282 (char *) "self",(char *) "x",(char *) "y", NULL
9285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9288 arg2
= (long)SWIG_As_long(obj1
);
9289 if (PyErr_Occurred()) SWIG_fail
;
9290 arg3
= (long)SWIG_As_long(obj2
);
9291 if (PyErr_Occurred()) SWIG_fail
;
9293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9294 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
9296 wxPyEndAllowThreads(__tstate
);
9297 if (PyErr_Occurred()) SWIG_fail
;
9299 resultobj
= SWIG_From_long((long)result
);
9306 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9307 PyObject
*resultobj
;
9308 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9310 long *arg3
= (long *) 0 ;
9311 long *arg4
= (long *) 0 ;
9316 PyObject
* obj0
= 0 ;
9317 PyObject
* obj1
= 0 ;
9319 (char *) "self",(char *) "pos", NULL
9322 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
9323 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
9324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
9325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9327 arg2
= (long)SWIG_As_long(obj1
);
9328 if (PyErr_Occurred()) SWIG_fail
;
9330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9331 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
9333 wxPyEndAllowThreads(__tstate
);
9334 if (PyErr_Occurred()) SWIG_fail
;
9336 Py_INCREF(Py_None
); resultobj
= Py_None
;
9337 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
9338 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
9339 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
9340 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
9347 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9348 PyObject
*resultobj
;
9349 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9351 PyObject
* obj0
= 0 ;
9352 PyObject
* obj1
= 0 ;
9354 (char *) "self",(char *) "pos", NULL
9357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9360 arg2
= (long)SWIG_As_long(obj1
);
9361 if (PyErr_Occurred()) SWIG_fail
;
9363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9364 (arg1
)->ShowPosition(arg2
);
9366 wxPyEndAllowThreads(__tstate
);
9367 if (PyErr_Occurred()) SWIG_fail
;
9369 Py_INCREF(Py_None
); resultobj
= Py_None
;
9376 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9377 PyObject
*resultobj
;
9378 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9380 long *arg3
= (long *) 0 ;
9381 long *arg4
= (long *) 0 ;
9388 PyObject
* obj0
= 0 ;
9389 PyObject
* obj1
= 0 ;
9391 (char *) "self",(char *) "pt", NULL
9394 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
9395 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
9396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9401 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9405 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
9407 wxPyEndAllowThreads(__tstate
);
9408 if (PyErr_Occurred()) SWIG_fail
;
9410 resultobj
= SWIG_From_int((int)result
);
9411 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
9412 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
9413 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
9414 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
9421 static PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9422 PyObject
*resultobj
;
9423 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9425 long *arg3
= (long *) 0 ;
9430 PyObject
* obj0
= 0 ;
9431 PyObject
* obj1
= 0 ;
9433 (char *) "self",(char *) "pt", NULL
9436 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
9437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) goto fail
;
9438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9442 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9446 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
9448 wxPyEndAllowThreads(__tstate
);
9449 if (PyErr_Occurred()) SWIG_fail
;
9451 resultobj
= SWIG_From_int((int)result
);
9452 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
9453 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
9460 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9461 PyObject
*resultobj
;
9462 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9463 PyObject
* obj0
= 0 ;
9465 (char *) "self", NULL
9468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
9469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9475 wxPyEndAllowThreads(__tstate
);
9476 if (PyErr_Occurred()) SWIG_fail
;
9478 Py_INCREF(Py_None
); resultobj
= Py_None
;
9485 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9486 PyObject
*resultobj
;
9487 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9488 PyObject
* obj0
= 0 ;
9490 (char *) "self", NULL
9493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
9494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9500 wxPyEndAllowThreads(__tstate
);
9501 if (PyErr_Occurred()) SWIG_fail
;
9503 Py_INCREF(Py_None
); resultobj
= Py_None
;
9510 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9511 PyObject
*resultobj
;
9512 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9513 PyObject
* obj0
= 0 ;
9515 (char *) "self", NULL
9518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
9519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9525 wxPyEndAllowThreads(__tstate
);
9526 if (PyErr_Occurred()) SWIG_fail
;
9528 Py_INCREF(Py_None
); resultobj
= Py_None
;
9535 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9536 PyObject
*resultobj
;
9537 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9539 PyObject
* obj0
= 0 ;
9541 (char *) "self", NULL
9544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
9545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9549 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
9551 wxPyEndAllowThreads(__tstate
);
9552 if (PyErr_Occurred()) SWIG_fail
;
9555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9563 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9564 PyObject
*resultobj
;
9565 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9567 PyObject
* obj0
= 0 ;
9569 (char *) "self", NULL
9572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
9573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9577 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
9579 wxPyEndAllowThreads(__tstate
);
9580 if (PyErr_Occurred()) SWIG_fail
;
9583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9591 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9592 PyObject
*resultobj
;
9593 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9595 PyObject
* obj0
= 0 ;
9597 (char *) "self", NULL
9600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
9601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9605 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
9607 wxPyEndAllowThreads(__tstate
);
9608 if (PyErr_Occurred()) SWIG_fail
;
9611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9619 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9620 PyObject
*resultobj
;
9621 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9622 PyObject
* obj0
= 0 ;
9624 (char *) "self", NULL
9627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
9628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9634 wxPyEndAllowThreads(__tstate
);
9635 if (PyErr_Occurred()) SWIG_fail
;
9637 Py_INCREF(Py_None
); resultobj
= Py_None
;
9644 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9645 PyObject
*resultobj
;
9646 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9647 PyObject
* obj0
= 0 ;
9649 (char *) "self", NULL
9652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
9653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9659 wxPyEndAllowThreads(__tstate
);
9660 if (PyErr_Occurred()) SWIG_fail
;
9662 Py_INCREF(Py_None
); resultobj
= Py_None
;
9669 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9670 PyObject
*resultobj
;
9671 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9673 PyObject
* obj0
= 0 ;
9675 (char *) "self", NULL
9678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
9679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9683 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
9685 wxPyEndAllowThreads(__tstate
);
9686 if (PyErr_Occurred()) SWIG_fail
;
9689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9697 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9698 PyObject
*resultobj
;
9699 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9701 PyObject
* obj0
= 0 ;
9703 (char *) "self", NULL
9706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
9707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9711 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
9713 wxPyEndAllowThreads(__tstate
);
9714 if (PyErr_Occurred()) SWIG_fail
;
9717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9725 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9726 PyObject
*resultobj
;
9727 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9729 PyObject
* obj0
= 0 ;
9730 PyObject
* obj1
= 0 ;
9732 (char *) "self",(char *) "pos", NULL
9735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
9736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9738 arg2
= (long)SWIG_As_long(obj1
);
9739 if (PyErr_Occurred()) SWIG_fail
;
9741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9742 (arg1
)->SetInsertionPoint(arg2
);
9744 wxPyEndAllowThreads(__tstate
);
9745 if (PyErr_Occurred()) SWIG_fail
;
9747 Py_INCREF(Py_None
); resultobj
= Py_None
;
9754 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9755 PyObject
*resultobj
;
9756 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9757 PyObject
* obj0
= 0 ;
9759 (char *) "self", NULL
9762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
9763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9767 (arg1
)->SetInsertionPointEnd();
9769 wxPyEndAllowThreads(__tstate
);
9770 if (PyErr_Occurred()) SWIG_fail
;
9772 Py_INCREF(Py_None
); resultobj
= Py_None
;
9779 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9780 PyObject
*resultobj
;
9781 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9783 PyObject
* obj0
= 0 ;
9785 (char *) "self", NULL
9788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
9789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9793 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
9795 wxPyEndAllowThreads(__tstate
);
9796 if (PyErr_Occurred()) SWIG_fail
;
9798 resultobj
= SWIG_From_long((long)result
);
9805 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9806 PyObject
*resultobj
;
9807 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9809 PyObject
* obj0
= 0 ;
9811 (char *) "self", NULL
9814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
9815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9819 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
9821 wxPyEndAllowThreads(__tstate
);
9822 if (PyErr_Occurred()) SWIG_fail
;
9824 resultobj
= SWIG_From_long((long)result
);
9831 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9832 PyObject
*resultobj
;
9833 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9836 PyObject
* obj0
= 0 ;
9837 PyObject
* obj1
= 0 ;
9838 PyObject
* obj2
= 0 ;
9840 (char *) "self",(char *) "from",(char *) "to", NULL
9843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9846 arg2
= (long)SWIG_As_long(obj1
);
9847 if (PyErr_Occurred()) SWIG_fail
;
9848 arg3
= (long)SWIG_As_long(obj2
);
9849 if (PyErr_Occurred()) SWIG_fail
;
9851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9852 (arg1
)->SetSelection(arg2
,arg3
);
9854 wxPyEndAllowThreads(__tstate
);
9855 if (PyErr_Occurred()) SWIG_fail
;
9857 Py_INCREF(Py_None
); resultobj
= Py_None
;
9864 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9865 PyObject
*resultobj
;
9866 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9867 PyObject
* obj0
= 0 ;
9869 (char *) "self", NULL
9872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
9873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9877 (arg1
)->SelectAll();
9879 wxPyEndAllowThreads(__tstate
);
9880 if (PyErr_Occurred()) SWIG_fail
;
9882 Py_INCREF(Py_None
); resultobj
= Py_None
;
9889 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9890 PyObject
*resultobj
;
9891 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9893 PyObject
* obj0
= 0 ;
9894 PyObject
* obj1
= 0 ;
9896 (char *) "self",(char *) "editable", NULL
9899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
9900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9902 arg2
= (bool)SWIG_As_bool(obj1
);
9903 if (PyErr_Occurred()) SWIG_fail
;
9905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9906 (arg1
)->SetEditable(arg2
);
9908 wxPyEndAllowThreads(__tstate
);
9909 if (PyErr_Occurred()) SWIG_fail
;
9911 Py_INCREF(Py_None
); resultobj
= Py_None
;
9918 static PyObject
*_wrap_TextCtrl_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9919 PyObject
*resultobj
;
9920 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9921 wxString
*arg2
= 0 ;
9922 bool temp2
= False
;
9923 PyObject
* obj0
= 0 ;
9924 PyObject
* obj1
= 0 ;
9926 (char *) "self",(char *) "text", NULL
9929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9933 arg2
= wxString_in_helper(obj1
);
9934 if (arg2
== NULL
) SWIG_fail
;
9938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9939 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
9941 wxPyEndAllowThreads(__tstate
);
9942 if (PyErr_Occurred()) SWIG_fail
;
9944 Py_INCREF(Py_None
); resultobj
= Py_None
;
9959 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9960 PyObject
*resultobj
;
9961 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9965 PyObject
* obj0
= 0 ;
9966 PyObject
* obj1
= 0 ;
9967 PyObject
* obj2
= 0 ;
9969 (char *) "self",(char *) "from",(char *) "to", NULL
9972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9975 arg2
= (long)SWIG_As_long(obj1
);
9976 if (PyErr_Occurred()) SWIG_fail
;
9977 arg3
= (long)SWIG_As_long(obj2
);
9978 if (PyErr_Occurred()) SWIG_fail
;
9980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9981 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
9983 wxPyEndAllowThreads(__tstate
);
9984 if (PyErr_Occurred()) SWIG_fail
;
9988 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9990 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9999 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10000 PyObject
*resultobj
;
10001 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10002 wxVisualAttributes result
;
10003 PyObject
* obj0
= 0 ;
10004 char *kwnames
[] = {
10005 (char *) "variant", NULL
10008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10010 arg1
= (int)SWIG_As_int(obj0
);
10011 if (PyErr_Occurred()) SWIG_fail
;
10014 if (!wxPyCheckForApp()) SWIG_fail
;
10015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10016 result
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10018 wxPyEndAllowThreads(__tstate
);
10019 if (PyErr_Occurred()) SWIG_fail
;
10022 wxVisualAttributes
* resultptr
;
10023 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10024 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10032 static PyObject
* TextCtrl_swigregister(PyObject
*, PyObject
*args
) {
10034 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10035 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
10037 return Py_BuildValue((char *)"");
10039 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10040 PyObject
*resultobj
;
10042 wxMouseEvent
*arg2
= 0 ;
10045 wxTextUrlEvent
*result
;
10046 PyObject
* obj0
= 0 ;
10047 PyObject
* obj1
= 0 ;
10048 PyObject
* obj2
= 0 ;
10049 PyObject
* obj3
= 0 ;
10050 char *kwnames
[] = {
10051 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
10054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10055 arg1
= (int)SWIG_As_int(obj0
);
10056 if (PyErr_Occurred()) SWIG_fail
;
10057 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
,
10058 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10060 if (arg2
== NULL
) {
10061 PyErr_SetString(PyExc_TypeError
,"null reference");
10064 arg3
= (long)SWIG_As_long(obj2
);
10065 if (PyErr_Occurred()) SWIG_fail
;
10066 arg4
= (long)SWIG_As_long(obj3
);
10067 if (PyErr_Occurred()) SWIG_fail
;
10069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10070 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
10072 wxPyEndAllowThreads(__tstate
);
10073 if (PyErr_Occurred()) SWIG_fail
;
10075 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
10082 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10083 PyObject
*resultobj
;
10084 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
10085 wxMouseEvent
*result
;
10086 PyObject
* obj0
= 0 ;
10087 char *kwnames
[] = {
10088 (char *) "self", NULL
10091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
10092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
10093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10097 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
10098 result
= (wxMouseEvent
*) &_result_ref
;
10101 wxPyEndAllowThreads(__tstate
);
10102 if (PyErr_Occurred()) SWIG_fail
;
10104 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
10111 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10112 PyObject
*resultobj
;
10113 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
10115 PyObject
* obj0
= 0 ;
10116 char *kwnames
[] = {
10117 (char *) "self", NULL
10120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
10121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
10122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10125 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
10127 wxPyEndAllowThreads(__tstate
);
10128 if (PyErr_Occurred()) SWIG_fail
;
10130 resultobj
= SWIG_From_long((long)result
);
10137 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10138 PyObject
*resultobj
;
10139 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
10141 PyObject
* obj0
= 0 ;
10142 char *kwnames
[] = {
10143 (char *) "self", NULL
10146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
10147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
10148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10151 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
10153 wxPyEndAllowThreads(__tstate
);
10154 if (PyErr_Occurred()) SWIG_fail
;
10156 resultobj
= SWIG_From_long((long)result
);
10163 static PyObject
* TextUrlEvent_swigregister(PyObject
*, PyObject
*args
) {
10165 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10166 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
10168 return Py_BuildValue((char *)"");
10170 static int _wrap_ScrollBarNameStr_set(PyObject
*) {
10171 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
10176 static PyObject
*_wrap_ScrollBarNameStr_get() {
10181 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
10183 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
10190 static PyObject
*_wrap_new_ScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10191 PyObject
*resultobj
;
10192 wxWindow
*arg1
= (wxWindow
*) 0 ;
10193 int arg2
= (int) -1 ;
10194 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10195 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10196 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10197 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10198 long arg5
= (long) wxSB_HORIZONTAL
;
10199 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
10200 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
10201 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
10202 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10203 wxScrollBar
*result
;
10206 bool temp7
= False
;
10207 PyObject
* obj0
= 0 ;
10208 PyObject
* obj1
= 0 ;
10209 PyObject
* obj2
= 0 ;
10210 PyObject
* obj3
= 0 ;
10211 PyObject
* obj4
= 0 ;
10212 PyObject
* obj5
= 0 ;
10213 PyObject
* obj6
= 0 ;
10214 char *kwnames
[] = {
10215 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10222 arg2
= (int)SWIG_As_int(obj1
);
10223 if (PyErr_Occurred()) SWIG_fail
;
10228 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10234 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10238 arg5
= (long)SWIG_As_long(obj4
);
10239 if (PyErr_Occurred()) SWIG_fail
;
10242 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
10243 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10245 if (arg6
== NULL
) {
10246 PyErr_SetString(PyExc_TypeError
,"null reference");
10252 arg7
= wxString_in_helper(obj6
);
10253 if (arg7
== NULL
) SWIG_fail
;
10258 if (!wxPyCheckForApp()) SWIG_fail
;
10259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10260 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
10262 wxPyEndAllowThreads(__tstate
);
10263 if (PyErr_Occurred()) SWIG_fail
;
10265 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10280 static PyObject
*_wrap_new_PreScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10281 PyObject
*resultobj
;
10282 wxScrollBar
*result
;
10283 char *kwnames
[] = {
10287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
10289 if (!wxPyCheckForApp()) SWIG_fail
;
10290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10291 result
= (wxScrollBar
*)new wxScrollBar();
10293 wxPyEndAllowThreads(__tstate
);
10294 if (PyErr_Occurred()) SWIG_fail
;
10296 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10303 static PyObject
*_wrap_ScrollBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10304 PyObject
*resultobj
;
10305 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10306 wxWindow
*arg2
= (wxWindow
*) 0 ;
10307 int arg3
= (int) -1 ;
10308 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10309 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10310 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10311 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10312 long arg6
= (long) wxSB_HORIZONTAL
;
10313 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10314 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10315 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
10316 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10320 bool temp8
= False
;
10321 PyObject
* obj0
= 0 ;
10322 PyObject
* obj1
= 0 ;
10323 PyObject
* obj2
= 0 ;
10324 PyObject
* obj3
= 0 ;
10325 PyObject
* obj4
= 0 ;
10326 PyObject
* obj5
= 0 ;
10327 PyObject
* obj6
= 0 ;
10328 PyObject
* obj7
= 0 ;
10329 char *kwnames
[] = {
10330 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
10334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10336 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10339 arg3
= (int)SWIG_As_int(obj2
);
10340 if (PyErr_Occurred()) SWIG_fail
;
10345 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10351 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10355 arg6
= (long)SWIG_As_long(obj5
);
10356 if (PyErr_Occurred()) SWIG_fail
;
10359 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
10360 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10362 if (arg7
== NULL
) {
10363 PyErr_SetString(PyExc_TypeError
,"null reference");
10369 arg8
= wxString_in_helper(obj7
);
10370 if (arg8
== NULL
) SWIG_fail
;
10375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10376 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10378 wxPyEndAllowThreads(__tstate
);
10379 if (PyErr_Occurred()) SWIG_fail
;
10382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10398 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10399 PyObject
*resultobj
;
10400 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10402 PyObject
* obj0
= 0 ;
10403 char *kwnames
[] = {
10404 (char *) "self", NULL
10407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
10408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10412 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
10414 wxPyEndAllowThreads(__tstate
);
10415 if (PyErr_Occurred()) SWIG_fail
;
10417 resultobj
= SWIG_From_int((int)result
);
10424 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10425 PyObject
*resultobj
;
10426 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10428 PyObject
* obj0
= 0 ;
10429 char *kwnames
[] = {
10430 (char *) "self", NULL
10433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
10434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10438 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
10440 wxPyEndAllowThreads(__tstate
);
10441 if (PyErr_Occurred()) SWIG_fail
;
10443 resultobj
= SWIG_From_int((int)result
);
10450 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10451 PyObject
*resultobj
;
10452 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10454 PyObject
* obj0
= 0 ;
10455 char *kwnames
[] = {
10456 (char *) "self", NULL
10459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
10460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10464 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
10466 wxPyEndAllowThreads(__tstate
);
10467 if (PyErr_Occurred()) SWIG_fail
;
10469 resultobj
= SWIG_From_int((int)result
);
10476 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10477 PyObject
*resultobj
;
10478 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10480 PyObject
* obj0
= 0 ;
10481 char *kwnames
[] = {
10482 (char *) "self", NULL
10485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
10486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10490 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
10492 wxPyEndAllowThreads(__tstate
);
10493 if (PyErr_Occurred()) SWIG_fail
;
10495 resultobj
= SWIG_From_int((int)result
);
10502 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10503 PyObject
*resultobj
;
10504 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10506 PyObject
* obj0
= 0 ;
10507 char *kwnames
[] = {
10508 (char *) "self", NULL
10511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
10512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10516 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
10518 wxPyEndAllowThreads(__tstate
);
10519 if (PyErr_Occurred()) SWIG_fail
;
10522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10530 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10531 PyObject
*resultobj
;
10532 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10534 PyObject
* obj0
= 0 ;
10535 PyObject
* obj1
= 0 ;
10536 char *kwnames
[] = {
10537 (char *) "self",(char *) "viewStart", NULL
10540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10543 arg2
= (int)SWIG_As_int(obj1
);
10544 if (PyErr_Occurred()) SWIG_fail
;
10546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10547 (arg1
)->SetThumbPosition(arg2
);
10549 wxPyEndAllowThreads(__tstate
);
10550 if (PyErr_Occurred()) SWIG_fail
;
10552 Py_INCREF(Py_None
); resultobj
= Py_None
;
10559 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10560 PyObject
*resultobj
;
10561 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10566 bool arg6
= (bool) True
;
10567 PyObject
* obj0
= 0 ;
10568 PyObject
* obj1
= 0 ;
10569 PyObject
* obj2
= 0 ;
10570 PyObject
* obj3
= 0 ;
10571 PyObject
* obj4
= 0 ;
10572 PyObject
* obj5
= 0 ;
10573 char *kwnames
[] = {
10574 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
10577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10580 arg2
= (int)SWIG_As_int(obj1
);
10581 if (PyErr_Occurred()) SWIG_fail
;
10582 arg3
= (int)SWIG_As_int(obj2
);
10583 if (PyErr_Occurred()) SWIG_fail
;
10584 arg4
= (int)SWIG_As_int(obj3
);
10585 if (PyErr_Occurred()) SWIG_fail
;
10586 arg5
= (int)SWIG_As_int(obj4
);
10587 if (PyErr_Occurred()) SWIG_fail
;
10589 arg6
= (bool)SWIG_As_bool(obj5
);
10590 if (PyErr_Occurred()) SWIG_fail
;
10593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10594 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
10596 wxPyEndAllowThreads(__tstate
);
10597 if (PyErr_Occurred()) SWIG_fail
;
10599 Py_INCREF(Py_None
); resultobj
= Py_None
;
10606 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10607 PyObject
*resultobj
;
10608 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10609 wxVisualAttributes result
;
10610 PyObject
* obj0
= 0 ;
10611 char *kwnames
[] = {
10612 (char *) "variant", NULL
10615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10617 arg1
= (int)SWIG_As_int(obj0
);
10618 if (PyErr_Occurred()) SWIG_fail
;
10621 if (!wxPyCheckForApp()) SWIG_fail
;
10622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10623 result
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10625 wxPyEndAllowThreads(__tstate
);
10626 if (PyErr_Occurred()) SWIG_fail
;
10629 wxVisualAttributes
* resultptr
;
10630 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10631 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10639 static PyObject
* ScrollBar_swigregister(PyObject
*, PyObject
*args
) {
10641 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10642 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
10644 return Py_BuildValue((char *)"");
10646 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*) {
10647 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
10652 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
10657 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10659 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10666 static int _wrap_SpinCtrlNameStr_set(PyObject
*) {
10667 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
10672 static PyObject
*_wrap_SpinCtrlNameStr_get() {
10677 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10679 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10686 static PyObject
*_wrap_new_SpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10687 PyObject
*resultobj
;
10688 wxWindow
*arg1
= (wxWindow
*) 0 ;
10689 int arg2
= (int) -1 ;
10690 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10691 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10692 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10693 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10694 long arg5
= (long) wxSP_HORIZONTAL
;
10695 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
10696 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10697 wxSpinButton
*result
;
10700 bool temp6
= False
;
10701 PyObject
* obj0
= 0 ;
10702 PyObject
* obj1
= 0 ;
10703 PyObject
* obj2
= 0 ;
10704 PyObject
* obj3
= 0 ;
10705 PyObject
* obj4
= 0 ;
10706 PyObject
* obj5
= 0 ;
10707 char *kwnames
[] = {
10708 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10715 arg2
= (int)SWIG_As_int(obj1
);
10716 if (PyErr_Occurred()) SWIG_fail
;
10721 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10727 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10731 arg5
= (long)SWIG_As_long(obj4
);
10732 if (PyErr_Occurred()) SWIG_fail
;
10736 arg6
= wxString_in_helper(obj5
);
10737 if (arg6
== NULL
) SWIG_fail
;
10742 if (!wxPyCheckForApp()) SWIG_fail
;
10743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10744 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10746 wxPyEndAllowThreads(__tstate
);
10747 if (PyErr_Occurred()) SWIG_fail
;
10749 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10764 static PyObject
*_wrap_new_PreSpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10765 PyObject
*resultobj
;
10766 wxSpinButton
*result
;
10767 char *kwnames
[] = {
10771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
10773 if (!wxPyCheckForApp()) SWIG_fail
;
10774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10775 result
= (wxSpinButton
*)new wxSpinButton();
10777 wxPyEndAllowThreads(__tstate
);
10778 if (PyErr_Occurred()) SWIG_fail
;
10780 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10787 static PyObject
*_wrap_SpinButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10788 PyObject
*resultobj
;
10789 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10790 wxWindow
*arg2
= (wxWindow
*) 0 ;
10791 int arg3
= (int) -1 ;
10792 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10793 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10794 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10795 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10796 long arg6
= (long) wxSP_HORIZONTAL
;
10797 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
10798 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10802 bool temp7
= 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 PyObject
* obj6
= 0 ;
10810 char *kwnames
[] = {
10811 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10817 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10820 arg3
= (int)SWIG_As_int(obj2
);
10821 if (PyErr_Occurred()) SWIG_fail
;
10826 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10832 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10836 arg6
= (long)SWIG_As_long(obj5
);
10837 if (PyErr_Occurred()) SWIG_fail
;
10841 arg7
= wxString_in_helper(obj6
);
10842 if (arg7
== NULL
) SWIG_fail
;
10847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10848 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10850 wxPyEndAllowThreads(__tstate
);
10851 if (PyErr_Occurred()) SWIG_fail
;
10854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10870 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10871 PyObject
*resultobj
;
10872 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10874 PyObject
* obj0
= 0 ;
10875 char *kwnames
[] = {
10876 (char *) "self", NULL
10879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
10880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10884 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
10886 wxPyEndAllowThreads(__tstate
);
10887 if (PyErr_Occurred()) SWIG_fail
;
10889 resultobj
= SWIG_From_int((int)result
);
10896 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10897 PyObject
*resultobj
;
10898 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10900 PyObject
* obj0
= 0 ;
10901 char *kwnames
[] = {
10902 (char *) "self", NULL
10905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
10906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10910 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
10912 wxPyEndAllowThreads(__tstate
);
10913 if (PyErr_Occurred()) SWIG_fail
;
10915 resultobj
= SWIG_From_int((int)result
);
10922 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10923 PyObject
*resultobj
;
10924 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10926 PyObject
* obj0
= 0 ;
10927 char *kwnames
[] = {
10928 (char *) "self", NULL
10931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
10932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10936 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
10938 wxPyEndAllowThreads(__tstate
);
10939 if (PyErr_Occurred()) SWIG_fail
;
10941 resultobj
= SWIG_From_int((int)result
);
10948 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10949 PyObject
*resultobj
;
10950 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10952 PyObject
* obj0
= 0 ;
10953 PyObject
* obj1
= 0 ;
10954 char *kwnames
[] = {
10955 (char *) "self",(char *) "val", NULL
10958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10961 arg2
= (int)SWIG_As_int(obj1
);
10962 if (PyErr_Occurred()) SWIG_fail
;
10964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10965 (arg1
)->SetValue(arg2
);
10967 wxPyEndAllowThreads(__tstate
);
10968 if (PyErr_Occurred()) SWIG_fail
;
10970 Py_INCREF(Py_None
); resultobj
= Py_None
;
10977 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10978 PyObject
*resultobj
;
10979 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10981 PyObject
* obj0
= 0 ;
10982 PyObject
* obj1
= 0 ;
10983 char *kwnames
[] = {
10984 (char *) "self",(char *) "minVal", NULL
10987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
10988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10990 arg2
= (int)SWIG_As_int(obj1
);
10991 if (PyErr_Occurred()) SWIG_fail
;
10993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10994 (arg1
)->SetMin(arg2
);
10996 wxPyEndAllowThreads(__tstate
);
10997 if (PyErr_Occurred()) SWIG_fail
;
10999 Py_INCREF(Py_None
); resultobj
= Py_None
;
11006 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11007 PyObject
*resultobj
;
11008 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
11010 PyObject
* obj0
= 0 ;
11011 PyObject
* obj1
= 0 ;
11012 char *kwnames
[] = {
11013 (char *) "self",(char *) "maxVal", NULL
11016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
11017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
11018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11019 arg2
= (int)SWIG_As_int(obj1
);
11020 if (PyErr_Occurred()) SWIG_fail
;
11022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11023 (arg1
)->SetMax(arg2
);
11025 wxPyEndAllowThreads(__tstate
);
11026 if (PyErr_Occurred()) SWIG_fail
;
11028 Py_INCREF(Py_None
); resultobj
= Py_None
;
11035 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11036 PyObject
*resultobj
;
11037 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
11040 PyObject
* obj0
= 0 ;
11041 PyObject
* obj1
= 0 ;
11042 PyObject
* obj2
= 0 ;
11043 char *kwnames
[] = {
11044 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
11049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11050 arg2
= (int)SWIG_As_int(obj1
);
11051 if (PyErr_Occurred()) SWIG_fail
;
11052 arg3
= (int)SWIG_As_int(obj2
);
11053 if (PyErr_Occurred()) SWIG_fail
;
11055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11056 (arg1
)->SetRange(arg2
,arg3
);
11058 wxPyEndAllowThreads(__tstate
);
11059 if (PyErr_Occurred()) SWIG_fail
;
11061 Py_INCREF(Py_None
); resultobj
= Py_None
;
11068 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11069 PyObject
*resultobj
;
11070 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
11072 PyObject
* obj0
= 0 ;
11073 char *kwnames
[] = {
11074 (char *) "self", NULL
11077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
11078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
11079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11082 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
11084 wxPyEndAllowThreads(__tstate
);
11085 if (PyErr_Occurred()) SWIG_fail
;
11088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11096 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11097 PyObject
*resultobj
;
11098 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
11099 wxVisualAttributes result
;
11100 PyObject
* obj0
= 0 ;
11101 char *kwnames
[] = {
11102 (char *) "variant", NULL
11105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11107 arg1
= (int)SWIG_As_int(obj0
);
11108 if (PyErr_Occurred()) SWIG_fail
;
11111 if (!wxPyCheckForApp()) SWIG_fail
;
11112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11113 result
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11115 wxPyEndAllowThreads(__tstate
);
11116 if (PyErr_Occurred()) SWIG_fail
;
11119 wxVisualAttributes
* resultptr
;
11120 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
11121 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11129 static PyObject
* SpinButton_swigregister(PyObject
*, PyObject
*args
) {
11131 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11132 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
11134 return Py_BuildValue((char *)"");
11136 static PyObject
*_wrap_new_SpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11137 PyObject
*resultobj
;
11138 wxWindow
*arg1
= (wxWindow
*) 0 ;
11139 int arg2
= (int) -1 ;
11140 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11141 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11142 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11143 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11144 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11145 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11146 long arg6
= (long) wxSP_ARROW_KEYS
;
11147 int arg7
= (int) 0 ;
11148 int arg8
= (int) 100 ;
11149 int arg9
= (int) 0 ;
11150 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
11151 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11152 wxSpinCtrl
*result
;
11153 bool temp3
= False
;
11156 bool temp10
= False
;
11157 PyObject
* obj0
= 0 ;
11158 PyObject
* obj1
= 0 ;
11159 PyObject
* obj2
= 0 ;
11160 PyObject
* obj3
= 0 ;
11161 PyObject
* obj4
= 0 ;
11162 PyObject
* obj5
= 0 ;
11163 PyObject
* obj6
= 0 ;
11164 PyObject
* obj7
= 0 ;
11165 PyObject
* obj8
= 0 ;
11166 PyObject
* obj9
= 0 ;
11167 char *kwnames
[] = {
11168 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11175 arg2
= (int)SWIG_As_int(obj1
);
11176 if (PyErr_Occurred()) SWIG_fail
;
11180 arg3
= wxString_in_helper(obj2
);
11181 if (arg3
== NULL
) SWIG_fail
;
11188 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11194 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11198 arg6
= (long)SWIG_As_long(obj5
);
11199 if (PyErr_Occurred()) SWIG_fail
;
11202 arg7
= (int)SWIG_As_int(obj6
);
11203 if (PyErr_Occurred()) SWIG_fail
;
11206 arg8
= (int)SWIG_As_int(obj7
);
11207 if (PyErr_Occurred()) SWIG_fail
;
11210 arg9
= (int)SWIG_As_int(obj8
);
11211 if (PyErr_Occurred()) SWIG_fail
;
11215 arg10
= wxString_in_helper(obj9
);
11216 if (arg10
== NULL
) SWIG_fail
;
11221 if (!wxPyCheckForApp()) SWIG_fail
;
11222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11223 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
11225 wxPyEndAllowThreads(__tstate
);
11226 if (PyErr_Occurred()) SWIG_fail
;
11228 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11251 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11252 PyObject
*resultobj
;
11253 wxSpinCtrl
*result
;
11254 char *kwnames
[] = {
11258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
11260 if (!wxPyCheckForApp()) SWIG_fail
;
11261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11262 result
= (wxSpinCtrl
*)new wxSpinCtrl();
11264 wxPyEndAllowThreads(__tstate
);
11265 if (PyErr_Occurred()) SWIG_fail
;
11267 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11274 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11275 PyObject
*resultobj
;
11276 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11277 wxWindow
*arg2
= (wxWindow
*) 0 ;
11278 int arg3
= (int) -1 ;
11279 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11280 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11281 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11282 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11283 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11284 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11285 long arg7
= (long) wxSP_ARROW_KEYS
;
11286 int arg8
= (int) 0 ;
11287 int arg9
= (int) 100 ;
11288 int arg10
= (int) 0 ;
11289 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
11290 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11292 bool temp4
= False
;
11295 bool temp11
= False
;
11296 PyObject
* obj0
= 0 ;
11297 PyObject
* obj1
= 0 ;
11298 PyObject
* obj2
= 0 ;
11299 PyObject
* obj3
= 0 ;
11300 PyObject
* obj4
= 0 ;
11301 PyObject
* obj5
= 0 ;
11302 PyObject
* obj6
= 0 ;
11303 PyObject
* obj7
= 0 ;
11304 PyObject
* obj8
= 0 ;
11305 PyObject
* obj9
= 0 ;
11306 PyObject
* obj10
= 0 ;
11307 char *kwnames
[] = {
11308 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11314 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11317 arg3
= (int)SWIG_As_int(obj2
);
11318 if (PyErr_Occurred()) SWIG_fail
;
11322 arg4
= wxString_in_helper(obj3
);
11323 if (arg4
== NULL
) SWIG_fail
;
11330 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11336 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11340 arg7
= (long)SWIG_As_long(obj6
);
11341 if (PyErr_Occurred()) SWIG_fail
;
11344 arg8
= (int)SWIG_As_int(obj7
);
11345 if (PyErr_Occurred()) SWIG_fail
;
11348 arg9
= (int)SWIG_As_int(obj8
);
11349 if (PyErr_Occurred()) SWIG_fail
;
11352 arg10
= (int)SWIG_As_int(obj9
);
11353 if (PyErr_Occurred()) SWIG_fail
;
11357 arg11
= wxString_in_helper(obj10
);
11358 if (arg11
== NULL
) SWIG_fail
;
11363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11364 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
11366 wxPyEndAllowThreads(__tstate
);
11367 if (PyErr_Occurred()) SWIG_fail
;
11370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11394 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11395 PyObject
*resultobj
;
11396 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11398 PyObject
* obj0
= 0 ;
11399 char *kwnames
[] = {
11400 (char *) "self", NULL
11403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
11404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11408 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
11410 wxPyEndAllowThreads(__tstate
);
11411 if (PyErr_Occurred()) SWIG_fail
;
11413 resultobj
= SWIG_From_int((int)result
);
11420 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11421 PyObject
*resultobj
;
11422 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11424 PyObject
* obj0
= 0 ;
11425 PyObject
* obj1
= 0 ;
11426 char *kwnames
[] = {
11427 (char *) "self",(char *) "value", NULL
11430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11433 arg2
= (int)SWIG_As_int(obj1
);
11434 if (PyErr_Occurred()) SWIG_fail
;
11436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11437 (arg1
)->SetValue(arg2
);
11439 wxPyEndAllowThreads(__tstate
);
11440 if (PyErr_Occurred()) SWIG_fail
;
11442 Py_INCREF(Py_None
); resultobj
= Py_None
;
11449 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11450 PyObject
*resultobj
;
11451 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11452 wxString
*arg2
= 0 ;
11453 bool temp2
= False
;
11454 PyObject
* obj0
= 0 ;
11455 PyObject
* obj1
= 0 ;
11456 char *kwnames
[] = {
11457 (char *) "self",(char *) "text", NULL
11460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
11461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11464 arg2
= wxString_in_helper(obj1
);
11465 if (arg2
== NULL
) SWIG_fail
;
11469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11470 (arg1
)->SetValue((wxString
const &)*arg2
);
11472 wxPyEndAllowThreads(__tstate
);
11473 if (PyErr_Occurred()) SWIG_fail
;
11475 Py_INCREF(Py_None
); resultobj
= Py_None
;
11490 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11491 PyObject
*resultobj
;
11492 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11495 PyObject
* obj0
= 0 ;
11496 PyObject
* obj1
= 0 ;
11497 PyObject
* obj2
= 0 ;
11498 char *kwnames
[] = {
11499 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11505 arg2
= (int)SWIG_As_int(obj1
);
11506 if (PyErr_Occurred()) SWIG_fail
;
11507 arg3
= (int)SWIG_As_int(obj2
);
11508 if (PyErr_Occurred()) SWIG_fail
;
11510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11511 (arg1
)->SetRange(arg2
,arg3
);
11513 wxPyEndAllowThreads(__tstate
);
11514 if (PyErr_Occurred()) SWIG_fail
;
11516 Py_INCREF(Py_None
); resultobj
= Py_None
;
11523 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11524 PyObject
*resultobj
;
11525 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11527 PyObject
* obj0
= 0 ;
11528 char *kwnames
[] = {
11529 (char *) "self", NULL
11532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
11533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11537 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
11539 wxPyEndAllowThreads(__tstate
);
11540 if (PyErr_Occurred()) SWIG_fail
;
11542 resultobj
= SWIG_From_int((int)result
);
11549 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11550 PyObject
*resultobj
;
11551 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11553 PyObject
* obj0
= 0 ;
11554 char *kwnames
[] = {
11555 (char *) "self", NULL
11558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
11559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11563 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
11565 wxPyEndAllowThreads(__tstate
);
11566 if (PyErr_Occurred()) SWIG_fail
;
11568 resultobj
= SWIG_From_int((int)result
);
11575 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11576 PyObject
*resultobj
;
11577 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11580 PyObject
* obj0
= 0 ;
11581 PyObject
* obj1
= 0 ;
11582 PyObject
* obj2
= 0 ;
11583 char *kwnames
[] = {
11584 (char *) "self",(char *) "from",(char *) "to", NULL
11587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11590 arg2
= (long)SWIG_As_long(obj1
);
11591 if (PyErr_Occurred()) SWIG_fail
;
11592 arg3
= (long)SWIG_As_long(obj2
);
11593 if (PyErr_Occurred()) SWIG_fail
;
11595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11596 (arg1
)->SetSelection(arg2
,arg3
);
11598 wxPyEndAllowThreads(__tstate
);
11599 if (PyErr_Occurred()) SWIG_fail
;
11601 Py_INCREF(Py_None
); resultobj
= Py_None
;
11608 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11609 PyObject
*resultobj
;
11610 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
11611 wxVisualAttributes result
;
11612 PyObject
* obj0
= 0 ;
11613 char *kwnames
[] = {
11614 (char *) "variant", NULL
11617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11619 arg1
= (int)SWIG_As_int(obj0
);
11620 if (PyErr_Occurred()) SWIG_fail
;
11623 if (!wxPyCheckForApp()) SWIG_fail
;
11624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11625 result
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11627 wxPyEndAllowThreads(__tstate
);
11628 if (PyErr_Occurred()) SWIG_fail
;
11631 wxVisualAttributes
* resultptr
;
11632 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
11633 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11641 static PyObject
* SpinCtrl_swigregister(PyObject
*, PyObject
*args
) {
11643 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11644 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
11646 return Py_BuildValue((char *)"");
11648 static PyObject
*_wrap_new_SpinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11649 PyObject
*resultobj
;
11650 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11651 int arg2
= (int) 0 ;
11652 wxSpinEvent
*result
;
11653 PyObject
* obj0
= 0 ;
11654 PyObject
* obj1
= 0 ;
11655 char *kwnames
[] = {
11656 (char *) "commandType",(char *) "winid", NULL
11659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11661 arg1
= (wxEventType
)SWIG_As_int(obj0
);
11662 if (PyErr_Occurred()) SWIG_fail
;
11665 arg2
= (int)SWIG_As_int(obj1
);
11666 if (PyErr_Occurred()) SWIG_fail
;
11669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11670 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
11672 wxPyEndAllowThreads(__tstate
);
11673 if (PyErr_Occurred()) SWIG_fail
;
11675 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
11682 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11683 PyObject
*resultobj
;
11684 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11686 PyObject
* obj0
= 0 ;
11687 char *kwnames
[] = {
11688 (char *) "self", NULL
11691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11696 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
11698 wxPyEndAllowThreads(__tstate
);
11699 if (PyErr_Occurred()) SWIG_fail
;
11701 resultobj
= SWIG_From_int((int)result
);
11708 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11709 PyObject
*resultobj
;
11710 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11712 PyObject
* obj0
= 0 ;
11713 PyObject
* obj1
= 0 ;
11714 char *kwnames
[] = {
11715 (char *) "self",(char *) "pos", NULL
11718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11721 arg2
= (int)SWIG_As_int(obj1
);
11722 if (PyErr_Occurred()) SWIG_fail
;
11724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11725 (arg1
)->SetPosition(arg2
);
11727 wxPyEndAllowThreads(__tstate
);
11728 if (PyErr_Occurred()) SWIG_fail
;
11730 Py_INCREF(Py_None
); resultobj
= Py_None
;
11737 static PyObject
* SpinEvent_swigregister(PyObject
*, PyObject
*args
) {
11739 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11740 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
11742 return Py_BuildValue((char *)"");
11744 static int _wrap_RadioBoxNameStr_set(PyObject
*) {
11745 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
11750 static PyObject
*_wrap_RadioBoxNameStr_get() {
11755 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11757 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11764 static int _wrap_RadioButtonNameStr_set(PyObject
*) {
11765 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
11770 static PyObject
*_wrap_RadioButtonNameStr_get() {
11775 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11777 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11784 static PyObject
*_wrap_new_RadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11785 PyObject
*resultobj
;
11786 wxWindow
*arg1
= (wxWindow
*) 0 ;
11787 int arg2
= (int) -1 ;
11788 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11789 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11790 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11791 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11792 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11793 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11794 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
11795 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
11796 int arg7
= (int) 0 ;
11797 long arg8
= (long) wxRA_HORIZONTAL
;
11798 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11799 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11800 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
11801 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11802 wxRadioBox
*result
;
11803 bool temp3
= False
;
11806 bool temp6
= False
;
11807 bool temp10
= False
;
11808 PyObject
* obj0
= 0 ;
11809 PyObject
* obj1
= 0 ;
11810 PyObject
* obj2
= 0 ;
11811 PyObject
* obj3
= 0 ;
11812 PyObject
* obj4
= 0 ;
11813 PyObject
* obj5
= 0 ;
11814 PyObject
* obj6
= 0 ;
11815 PyObject
* obj7
= 0 ;
11816 PyObject
* obj8
= 0 ;
11817 PyObject
* obj9
= 0 ;
11818 char *kwnames
[] = {
11819 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11826 arg2
= (int)SWIG_As_int(obj1
);
11827 if (PyErr_Occurred()) SWIG_fail
;
11831 arg3
= wxString_in_helper(obj2
);
11832 if (arg3
== NULL
) SWIG_fail
;
11839 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11845 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11850 if (! PySequence_Check(obj5
)) {
11851 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11854 arg6
= new wxArrayString
;
11856 int i
, len
=PySequence_Length(obj5
);
11857 for (i
=0; i
<len
; i
++) {
11858 PyObject
* item
= PySequence_GetItem(obj5
, i
);
11860 PyObject
* str
= PyObject_Unicode(item
);
11862 PyObject
* str
= PyObject_Str(item
);
11864 if (PyErr_Occurred()) SWIG_fail
;
11865 arg6
->Add(Py2wxString(str
));
11872 arg7
= (int)SWIG_As_int(obj6
);
11873 if (PyErr_Occurred()) SWIG_fail
;
11876 arg8
= (long)SWIG_As_long(obj7
);
11877 if (PyErr_Occurred()) SWIG_fail
;
11880 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
11881 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11883 if (arg9
== NULL
) {
11884 PyErr_SetString(PyExc_TypeError
,"null reference");
11890 arg10
= wxString_in_helper(obj9
);
11891 if (arg10
== NULL
) SWIG_fail
;
11896 if (!wxPyCheckForApp()) SWIG_fail
;
11897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11898 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
);
11900 wxPyEndAllowThreads(__tstate
);
11901 if (PyErr_Occurred()) SWIG_fail
;
11903 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11909 if (temp6
) delete arg6
;
11922 if (temp6
) delete arg6
;
11932 static PyObject
*_wrap_new_PreRadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11933 PyObject
*resultobj
;
11934 wxRadioBox
*result
;
11935 char *kwnames
[] = {
11939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
11941 if (!wxPyCheckForApp()) SWIG_fail
;
11942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11943 result
= (wxRadioBox
*)new wxRadioBox();
11945 wxPyEndAllowThreads(__tstate
);
11946 if (PyErr_Occurred()) SWIG_fail
;
11948 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11955 static PyObject
*_wrap_RadioBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11956 PyObject
*resultobj
;
11957 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11958 wxWindow
*arg2
= (wxWindow
*) 0 ;
11959 int arg3
= (int) -1 ;
11960 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11961 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11962 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11963 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11964 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11965 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11966 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
11967 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
11968 int arg8
= (int) 0 ;
11969 long arg9
= (long) wxRA_HORIZONTAL
;
11970 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11971 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11972 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
11973 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11975 bool temp4
= False
;
11978 bool temp7
= False
;
11979 bool temp11
= False
;
11980 PyObject
* obj0
= 0 ;
11981 PyObject
* obj1
= 0 ;
11982 PyObject
* obj2
= 0 ;
11983 PyObject
* obj3
= 0 ;
11984 PyObject
* obj4
= 0 ;
11985 PyObject
* obj5
= 0 ;
11986 PyObject
* obj6
= 0 ;
11987 PyObject
* obj7
= 0 ;
11988 PyObject
* obj8
= 0 ;
11989 PyObject
* obj9
= 0 ;
11990 PyObject
* obj10
= 0 ;
11991 char *kwnames
[] = {
11992 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11998 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12001 arg3
= (int)SWIG_As_int(obj2
);
12002 if (PyErr_Occurred()) SWIG_fail
;
12006 arg4
= wxString_in_helper(obj3
);
12007 if (arg4
== NULL
) SWIG_fail
;
12014 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12020 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12025 if (! PySequence_Check(obj6
)) {
12026 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
12029 arg7
= new wxArrayString
;
12031 int i
, len
=PySequence_Length(obj6
);
12032 for (i
=0; i
<len
; i
++) {
12033 PyObject
* item
= PySequence_GetItem(obj6
, i
);
12035 PyObject
* str
= PyObject_Unicode(item
);
12037 PyObject
* str
= PyObject_Str(item
);
12039 if (PyErr_Occurred()) SWIG_fail
;
12040 arg7
->Add(Py2wxString(str
));
12047 arg8
= (int)SWIG_As_int(obj7
);
12048 if (PyErr_Occurred()) SWIG_fail
;
12051 arg9
= (long)SWIG_As_long(obj8
);
12052 if (PyErr_Occurred()) SWIG_fail
;
12055 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
12056 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12058 if (arg10
== NULL
) {
12059 PyErr_SetString(PyExc_TypeError
,"null reference");
12065 arg11
= wxString_in_helper(obj10
);
12066 if (arg11
== NULL
) SWIG_fail
;
12071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12072 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
);
12074 wxPyEndAllowThreads(__tstate
);
12075 if (PyErr_Occurred()) SWIG_fail
;
12078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12085 if (temp7
) delete arg7
;
12098 if (temp7
) delete arg7
;
12108 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12109 PyObject
*resultobj
;
12110 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12112 PyObject
* obj0
= 0 ;
12113 PyObject
* obj1
= 0 ;
12114 char *kwnames
[] = {
12115 (char *) "self",(char *) "n", NULL
12118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12121 arg2
= (int)SWIG_As_int(obj1
);
12122 if (PyErr_Occurred()) SWIG_fail
;
12124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12125 (arg1
)->SetSelection(arg2
);
12127 wxPyEndAllowThreads(__tstate
);
12128 if (PyErr_Occurred()) SWIG_fail
;
12130 Py_INCREF(Py_None
); resultobj
= Py_None
;
12137 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12138 PyObject
*resultobj
;
12139 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12141 PyObject
* obj0
= 0 ;
12142 char *kwnames
[] = {
12143 (char *) "self", NULL
12146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
12147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12151 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
12153 wxPyEndAllowThreads(__tstate
);
12154 if (PyErr_Occurred()) SWIG_fail
;
12156 resultobj
= SWIG_From_int((int)result
);
12163 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12164 PyObject
*resultobj
;
12165 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12167 PyObject
* obj0
= 0 ;
12168 char *kwnames
[] = {
12169 (char *) "self", NULL
12172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12177 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
12179 wxPyEndAllowThreads(__tstate
);
12180 if (PyErr_Occurred()) SWIG_fail
;
12184 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12186 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12195 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12196 PyObject
*resultobj
;
12197 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12198 wxString
*arg2
= 0 ;
12200 bool temp2
= False
;
12201 PyObject
* obj0
= 0 ;
12202 PyObject
* obj1
= 0 ;
12203 char *kwnames
[] = {
12204 (char *) "self",(char *) "s", NULL
12207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12211 arg2
= wxString_in_helper(obj1
);
12212 if (arg2
== NULL
) SWIG_fail
;
12216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12217 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
12219 wxPyEndAllowThreads(__tstate
);
12220 if (PyErr_Occurred()) SWIG_fail
;
12223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12239 static PyObject
*_wrap_RadioBox_GetCount(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_GetCount",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
)->GetCount();
12255 wxPyEndAllowThreads(__tstate
);
12256 if (PyErr_Occurred()) SWIG_fail
;
12258 resultobj
= SWIG_From_int((int)result
);
12265 static PyObject
*_wrap_RadioBox_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12266 PyObject
*resultobj
;
12267 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12268 wxString
*arg2
= 0 ;
12270 bool temp2
= False
;
12271 PyObject
* obj0
= 0 ;
12272 PyObject
* obj1
= 0 ;
12273 char *kwnames
[] = {
12274 (char *) "self",(char *) "s", NULL
12277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
12278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12281 arg2
= wxString_in_helper(obj1
);
12282 if (arg2
== NULL
) SWIG_fail
;
12286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12287 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
12289 wxPyEndAllowThreads(__tstate
);
12290 if (PyErr_Occurred()) SWIG_fail
;
12292 resultobj
= SWIG_From_int((int)result
);
12307 static PyObject
*_wrap_RadioBox_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12308 PyObject
*resultobj
;
12309 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12312 PyObject
* obj0
= 0 ;
12313 PyObject
* obj1
= 0 ;
12314 char *kwnames
[] = {
12315 (char *) "self",(char *) "n", NULL
12318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12321 arg2
= (int)SWIG_As_int(obj1
);
12322 if (PyErr_Occurred()) SWIG_fail
;
12324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12325 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
12327 wxPyEndAllowThreads(__tstate
);
12328 if (PyErr_Occurred()) SWIG_fail
;
12332 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12334 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12343 static PyObject
*_wrap_RadioBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12344 PyObject
*resultobj
;
12345 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12347 wxString
*arg3
= 0 ;
12348 bool temp3
= False
;
12349 PyObject
* obj0
= 0 ;
12350 PyObject
* obj1
= 0 ;
12351 PyObject
* obj2
= 0 ;
12352 char *kwnames
[] = {
12353 (char *) "self",(char *) "n",(char *) "label", NULL
12356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12359 arg2
= (int)SWIG_As_int(obj1
);
12360 if (PyErr_Occurred()) SWIG_fail
;
12362 arg3
= wxString_in_helper(obj2
);
12363 if (arg3
== NULL
) SWIG_fail
;
12367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12368 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
12370 wxPyEndAllowThreads(__tstate
);
12371 if (PyErr_Occurred()) SWIG_fail
;
12373 Py_INCREF(Py_None
); resultobj
= Py_None
;
12388 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12389 PyObject
*resultobj
;
12390 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12392 bool arg3
= (bool) True
;
12393 PyObject
* obj0
= 0 ;
12394 PyObject
* obj1
= 0 ;
12395 PyObject
* obj2
= 0 ;
12396 char *kwnames
[] = {
12397 (char *) "self",(char *) "n",(char *) "enable", NULL
12400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12403 arg2
= (int)SWIG_As_int(obj1
);
12404 if (PyErr_Occurred()) SWIG_fail
;
12406 arg3
= (bool)SWIG_As_bool(obj2
);
12407 if (PyErr_Occurred()) SWIG_fail
;
12410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12411 (arg1
)->Enable(arg2
,arg3
);
12413 wxPyEndAllowThreads(__tstate
);
12414 if (PyErr_Occurred()) SWIG_fail
;
12416 Py_INCREF(Py_None
); resultobj
= Py_None
;
12423 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12424 PyObject
*resultobj
;
12425 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12427 bool arg3
= (bool) True
;
12428 PyObject
* obj0
= 0 ;
12429 PyObject
* obj1
= 0 ;
12430 PyObject
* obj2
= 0 ;
12431 char *kwnames
[] = {
12432 (char *) "self",(char *) "n",(char *) "show", NULL
12435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12438 arg2
= (int)SWIG_As_int(obj1
);
12439 if (PyErr_Occurred()) SWIG_fail
;
12441 arg3
= (bool)SWIG_As_bool(obj2
);
12442 if (PyErr_Occurred()) SWIG_fail
;
12445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12446 (arg1
)->Show(arg2
,arg3
);
12448 wxPyEndAllowThreads(__tstate
);
12449 if (PyErr_Occurred()) SWIG_fail
;
12451 Py_INCREF(Py_None
); resultobj
= Py_None
;
12458 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12459 PyObject
*resultobj
;
12460 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12462 PyObject
* obj0
= 0 ;
12463 char *kwnames
[] = {
12464 (char *) "self", NULL
12467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
12468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12472 result
= (int)wxRadioBox_GetColumnCount((wxRadioBox
const *)arg1
);
12474 wxPyEndAllowThreads(__tstate
);
12475 if (PyErr_Occurred()) SWIG_fail
;
12477 resultobj
= SWIG_From_int((int)result
);
12484 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12485 PyObject
*resultobj
;
12486 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12488 PyObject
* obj0
= 0 ;
12489 char *kwnames
[] = {
12490 (char *) "self", NULL
12493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
12494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12498 result
= (int)wxRadioBox_GetRowCount((wxRadioBox
const *)arg1
);
12500 wxPyEndAllowThreads(__tstate
);
12501 if (PyErr_Occurred()) SWIG_fail
;
12503 resultobj
= SWIG_From_int((int)result
);
12510 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12511 PyObject
*resultobj
;
12512 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12517 PyObject
* obj0
= 0 ;
12518 PyObject
* obj1
= 0 ;
12519 PyObject
* obj2
= 0 ;
12520 PyObject
* obj3
= 0 ;
12521 char *kwnames
[] = {
12522 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
12525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12528 arg2
= (int)SWIG_As_int(obj1
);
12529 if (PyErr_Occurred()) SWIG_fail
;
12530 arg3
= (int)SWIG_As_int(obj2
);
12531 if (PyErr_Occurred()) SWIG_fail
;
12532 arg4
= (long)SWIG_As_long(obj3
);
12533 if (PyErr_Occurred()) SWIG_fail
;
12535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12536 result
= (int)wxRadioBox_GetNextItem((wxRadioBox
const *)arg1
,arg2
,(wxDirection
)arg3
,arg4
);
12538 wxPyEndAllowThreads(__tstate
);
12539 if (PyErr_Occurred()) SWIG_fail
;
12541 resultobj
= SWIG_From_int((int)result
);
12548 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12549 PyObject
*resultobj
;
12550 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12551 wxVisualAttributes result
;
12552 PyObject
* obj0
= 0 ;
12553 char *kwnames
[] = {
12554 (char *) "variant", NULL
12557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12559 arg1
= (int)SWIG_As_int(obj0
);
12560 if (PyErr_Occurred()) SWIG_fail
;
12563 if (!wxPyCheckForApp()) SWIG_fail
;
12564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12565 result
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12567 wxPyEndAllowThreads(__tstate
);
12568 if (PyErr_Occurred()) SWIG_fail
;
12571 wxVisualAttributes
* resultptr
;
12572 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12573 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12581 static PyObject
* RadioBox_swigregister(PyObject
*, PyObject
*args
) {
12583 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12584 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
12586 return Py_BuildValue((char *)"");
12588 static PyObject
*_wrap_new_RadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12589 PyObject
*resultobj
;
12590 wxWindow
*arg1
= (wxWindow
*) 0 ;
12591 int arg2
= (int) -1 ;
12592 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12593 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12594 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12595 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12596 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12597 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12598 long arg6
= (long) 0 ;
12599 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12600 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12601 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
12602 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12603 wxRadioButton
*result
;
12604 bool temp3
= False
;
12607 bool temp8
= False
;
12608 PyObject
* obj0
= 0 ;
12609 PyObject
* obj1
= 0 ;
12610 PyObject
* obj2
= 0 ;
12611 PyObject
* obj3
= 0 ;
12612 PyObject
* obj4
= 0 ;
12613 PyObject
* obj5
= 0 ;
12614 PyObject
* obj6
= 0 ;
12615 PyObject
* obj7
= 0 ;
12616 char *kwnames
[] = {
12617 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12624 arg2
= (int)SWIG_As_int(obj1
);
12625 if (PyErr_Occurred()) SWIG_fail
;
12629 arg3
= wxString_in_helper(obj2
);
12630 if (arg3
== NULL
) SWIG_fail
;
12637 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12643 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12647 arg6
= (long)SWIG_As_long(obj5
);
12648 if (PyErr_Occurred()) SWIG_fail
;
12651 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
12652 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12654 if (arg7
== NULL
) {
12655 PyErr_SetString(PyExc_TypeError
,"null reference");
12661 arg8
= wxString_in_helper(obj7
);
12662 if (arg8
== NULL
) SWIG_fail
;
12667 if (!wxPyCheckForApp()) SWIG_fail
;
12668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12669 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12671 wxPyEndAllowThreads(__tstate
);
12672 if (PyErr_Occurred()) SWIG_fail
;
12674 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12697 static PyObject
*_wrap_new_PreRadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12698 PyObject
*resultobj
;
12699 wxRadioButton
*result
;
12700 char *kwnames
[] = {
12704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
12706 if (!wxPyCheckForApp()) SWIG_fail
;
12707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12708 result
= (wxRadioButton
*)new wxRadioButton();
12710 wxPyEndAllowThreads(__tstate
);
12711 if (PyErr_Occurred()) SWIG_fail
;
12713 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12720 static PyObject
*_wrap_RadioButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12721 PyObject
*resultobj
;
12722 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12723 wxWindow
*arg2
= (wxWindow
*) 0 ;
12724 int arg3
= (int) -1 ;
12725 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12726 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12727 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12728 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12729 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12730 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12731 long arg7
= (long) 0 ;
12732 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
12733 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
12734 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
12735 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
12737 bool temp4
= False
;
12740 bool temp9
= False
;
12741 PyObject
* obj0
= 0 ;
12742 PyObject
* obj1
= 0 ;
12743 PyObject
* obj2
= 0 ;
12744 PyObject
* obj3
= 0 ;
12745 PyObject
* obj4
= 0 ;
12746 PyObject
* obj5
= 0 ;
12747 PyObject
* obj6
= 0 ;
12748 PyObject
* obj7
= 0 ;
12749 PyObject
* obj8
= 0 ;
12750 char *kwnames
[] = {
12751 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
12755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12757 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12760 arg3
= (int)SWIG_As_int(obj2
);
12761 if (PyErr_Occurred()) SWIG_fail
;
12765 arg4
= wxString_in_helper(obj3
);
12766 if (arg4
== NULL
) SWIG_fail
;
12773 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12779 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12783 arg7
= (long)SWIG_As_long(obj6
);
12784 if (PyErr_Occurred()) SWIG_fail
;
12787 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
12788 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12790 if (arg8
== NULL
) {
12791 PyErr_SetString(PyExc_TypeError
,"null reference");
12797 arg9
= wxString_in_helper(obj8
);
12798 if (arg9
== NULL
) SWIG_fail
;
12803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12804 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
12806 wxPyEndAllowThreads(__tstate
);
12807 if (PyErr_Occurred()) SWIG_fail
;
12810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12834 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12835 PyObject
*resultobj
;
12836 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12838 PyObject
* obj0
= 0 ;
12839 char *kwnames
[] = {
12840 (char *) "self", NULL
12843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
12844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12848 result
= (bool)(arg1
)->GetValue();
12850 wxPyEndAllowThreads(__tstate
);
12851 if (PyErr_Occurred()) SWIG_fail
;
12854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12862 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12863 PyObject
*resultobj
;
12864 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12866 PyObject
* obj0
= 0 ;
12867 PyObject
* obj1
= 0 ;
12868 char *kwnames
[] = {
12869 (char *) "self",(char *) "value", NULL
12872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12875 arg2
= (bool)SWIG_As_bool(obj1
);
12876 if (PyErr_Occurred()) SWIG_fail
;
12878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12879 (arg1
)->SetValue(arg2
);
12881 wxPyEndAllowThreads(__tstate
);
12882 if (PyErr_Occurred()) SWIG_fail
;
12884 Py_INCREF(Py_None
); resultobj
= Py_None
;
12891 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12892 PyObject
*resultobj
;
12893 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12894 wxVisualAttributes result
;
12895 PyObject
* obj0
= 0 ;
12896 char *kwnames
[] = {
12897 (char *) "variant", NULL
12900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12902 arg1
= (int)SWIG_As_int(obj0
);
12903 if (PyErr_Occurred()) SWIG_fail
;
12906 if (!wxPyCheckForApp()) SWIG_fail
;
12907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12908 result
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12910 wxPyEndAllowThreads(__tstate
);
12911 if (PyErr_Occurred()) SWIG_fail
;
12914 wxVisualAttributes
* resultptr
;
12915 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12916 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12924 static PyObject
* RadioButton_swigregister(PyObject
*, PyObject
*args
) {
12926 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12927 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
12929 return Py_BuildValue((char *)"");
12931 static int _wrap_SliderNameStr_set(PyObject
*) {
12932 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
12937 static PyObject
*_wrap_SliderNameStr_get() {
12942 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12944 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12951 static PyObject
*_wrap_new_Slider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12952 PyObject
*resultobj
;
12953 wxWindow
*arg1
= (wxWindow
*) 0 ;
12954 int arg2
= (int) -1 ;
12955 int arg3
= (int) 0 ;
12956 int arg4
= (int) 0 ;
12957 int arg5
= (int) 100 ;
12958 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12959 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12960 wxSize
const &arg7_defvalue
= wxDefaultSize
;
12961 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
12962 long arg8
= (long) wxSL_HORIZONTAL
;
12963 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
12964 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
12965 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
12966 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12970 bool temp10
= False
;
12971 PyObject
* obj0
= 0 ;
12972 PyObject
* obj1
= 0 ;
12973 PyObject
* obj2
= 0 ;
12974 PyObject
* obj3
= 0 ;
12975 PyObject
* obj4
= 0 ;
12976 PyObject
* obj5
= 0 ;
12977 PyObject
* obj6
= 0 ;
12978 PyObject
* obj7
= 0 ;
12979 PyObject
* obj8
= 0 ;
12980 PyObject
* obj9
= 0 ;
12981 char *kwnames
[] = {
12982 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12989 arg2
= (int)SWIG_As_int(obj1
);
12990 if (PyErr_Occurred()) SWIG_fail
;
12993 arg3
= (int)SWIG_As_int(obj2
);
12994 if (PyErr_Occurred()) SWIG_fail
;
12997 arg4
= (int)SWIG_As_int(obj3
);
12998 if (PyErr_Occurred()) SWIG_fail
;
13001 arg5
= (int)SWIG_As_int(obj4
);
13002 if (PyErr_Occurred()) SWIG_fail
;
13007 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
13013 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
13017 arg8
= (long)SWIG_As_long(obj7
);
13018 if (PyErr_Occurred()) SWIG_fail
;
13021 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
13022 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13024 if (arg9
== NULL
) {
13025 PyErr_SetString(PyExc_TypeError
,"null reference");
13031 arg10
= wxString_in_helper(obj9
);
13032 if (arg10
== NULL
) SWIG_fail
;
13037 if (!wxPyCheckForApp()) SWIG_fail
;
13038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13039 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
13041 wxPyEndAllowThreads(__tstate
);
13042 if (PyErr_Occurred()) SWIG_fail
;
13044 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
13059 static PyObject
*_wrap_new_PreSlider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13060 PyObject
*resultobj
;
13062 char *kwnames
[] = {
13066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
13068 if (!wxPyCheckForApp()) SWIG_fail
;
13069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13070 result
= (wxSlider
*)new wxSlider();
13072 wxPyEndAllowThreads(__tstate
);
13073 if (PyErr_Occurred()) SWIG_fail
;
13075 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
13082 static PyObject
*_wrap_Slider_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13083 PyObject
*resultobj
;
13084 wxSlider
*arg1
= (wxSlider
*) 0 ;
13085 wxWindow
*arg2
= (wxWindow
*) 0 ;
13086 int arg3
= (int) -1 ;
13087 int arg4
= (int) 0 ;
13088 int arg5
= (int) 0 ;
13089 int arg6
= (int) 100 ;
13090 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
13091 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
13092 wxSize
const &arg8_defvalue
= wxDefaultSize
;
13093 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
13094 long arg9
= (long) wxSL_HORIZONTAL
;
13095 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
13096 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
13097 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
13098 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13102 bool temp11
= False
;
13103 PyObject
* obj0
= 0 ;
13104 PyObject
* obj1
= 0 ;
13105 PyObject
* obj2
= 0 ;
13106 PyObject
* obj3
= 0 ;
13107 PyObject
* obj4
= 0 ;
13108 PyObject
* obj5
= 0 ;
13109 PyObject
* obj6
= 0 ;
13110 PyObject
* obj7
= 0 ;
13111 PyObject
* obj8
= 0 ;
13112 PyObject
* obj9
= 0 ;
13113 PyObject
* obj10
= 0 ;
13114 char *kwnames
[] = {
13115 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13121 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13124 arg3
= (int)SWIG_As_int(obj2
);
13125 if (PyErr_Occurred()) SWIG_fail
;
13128 arg4
= (int)SWIG_As_int(obj3
);
13129 if (PyErr_Occurred()) SWIG_fail
;
13132 arg5
= (int)SWIG_As_int(obj4
);
13133 if (PyErr_Occurred()) SWIG_fail
;
13136 arg6
= (int)SWIG_As_int(obj5
);
13137 if (PyErr_Occurred()) SWIG_fail
;
13142 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
13148 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
13152 arg9
= (long)SWIG_As_long(obj8
);
13153 if (PyErr_Occurred()) SWIG_fail
;
13156 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
13157 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13159 if (arg10
== NULL
) {
13160 PyErr_SetString(PyExc_TypeError
,"null reference");
13166 arg11
= wxString_in_helper(obj10
);
13167 if (arg11
== NULL
) SWIG_fail
;
13172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13173 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
13175 wxPyEndAllowThreads(__tstate
);
13176 if (PyErr_Occurred()) SWIG_fail
;
13179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13195 static PyObject
*_wrap_Slider_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13196 PyObject
*resultobj
;
13197 wxSlider
*arg1
= (wxSlider
*) 0 ;
13199 PyObject
* obj0
= 0 ;
13200 char *kwnames
[] = {
13201 (char *) "self", NULL
13204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
13205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13209 result
= (int)((wxSlider
const *)arg1
)->GetValue();
13211 wxPyEndAllowThreads(__tstate
);
13212 if (PyErr_Occurred()) SWIG_fail
;
13214 resultobj
= SWIG_From_int((int)result
);
13221 static PyObject
*_wrap_Slider_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13222 PyObject
*resultobj
;
13223 wxSlider
*arg1
= (wxSlider
*) 0 ;
13225 PyObject
* obj0
= 0 ;
13226 PyObject
* obj1
= 0 ;
13227 char *kwnames
[] = {
13228 (char *) "self",(char *) "value", NULL
13231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13234 arg2
= (int)SWIG_As_int(obj1
);
13235 if (PyErr_Occurred()) SWIG_fail
;
13237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13238 (arg1
)->SetValue(arg2
);
13240 wxPyEndAllowThreads(__tstate
);
13241 if (PyErr_Occurred()) SWIG_fail
;
13243 Py_INCREF(Py_None
); resultobj
= Py_None
;
13250 static PyObject
*_wrap_Slider_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13251 PyObject
*resultobj
;
13252 wxSlider
*arg1
= (wxSlider
*) 0 ;
13255 PyObject
* obj0
= 0 ;
13256 PyObject
* obj1
= 0 ;
13257 PyObject
* obj2
= 0 ;
13258 char *kwnames
[] = {
13259 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
13262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13265 arg2
= (int)SWIG_As_int(obj1
);
13266 if (PyErr_Occurred()) SWIG_fail
;
13267 arg3
= (int)SWIG_As_int(obj2
);
13268 if (PyErr_Occurred()) SWIG_fail
;
13270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13271 (arg1
)->SetRange(arg2
,arg3
);
13273 wxPyEndAllowThreads(__tstate
);
13274 if (PyErr_Occurred()) SWIG_fail
;
13276 Py_INCREF(Py_None
); resultobj
= Py_None
;
13283 static PyObject
*_wrap_Slider_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13284 PyObject
*resultobj
;
13285 wxSlider
*arg1
= (wxSlider
*) 0 ;
13287 PyObject
* obj0
= 0 ;
13288 char *kwnames
[] = {
13289 (char *) "self", NULL
13292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
13293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13297 result
= (int)((wxSlider
const *)arg1
)->GetMin();
13299 wxPyEndAllowThreads(__tstate
);
13300 if (PyErr_Occurred()) SWIG_fail
;
13302 resultobj
= SWIG_From_int((int)result
);
13309 static PyObject
*_wrap_Slider_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13310 PyObject
*resultobj
;
13311 wxSlider
*arg1
= (wxSlider
*) 0 ;
13313 PyObject
* obj0
= 0 ;
13314 char *kwnames
[] = {
13315 (char *) "self", NULL
13318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
13319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13323 result
= (int)((wxSlider
const *)arg1
)->GetMax();
13325 wxPyEndAllowThreads(__tstate
);
13326 if (PyErr_Occurred()) SWIG_fail
;
13328 resultobj
= SWIG_From_int((int)result
);
13335 static PyObject
*_wrap_Slider_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13336 PyObject
*resultobj
;
13337 wxSlider
*arg1
= (wxSlider
*) 0 ;
13339 PyObject
* obj0
= 0 ;
13340 PyObject
* obj1
= 0 ;
13341 char *kwnames
[] = {
13342 (char *) "self",(char *) "minValue", NULL
13345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
13346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13348 arg2
= (int)SWIG_As_int(obj1
);
13349 if (PyErr_Occurred()) SWIG_fail
;
13351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13352 (arg1
)->SetMin(arg2
);
13354 wxPyEndAllowThreads(__tstate
);
13355 if (PyErr_Occurred()) SWIG_fail
;
13357 Py_INCREF(Py_None
); resultobj
= Py_None
;
13364 static PyObject
*_wrap_Slider_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13365 PyObject
*resultobj
;
13366 wxSlider
*arg1
= (wxSlider
*) 0 ;
13368 PyObject
* obj0
= 0 ;
13369 PyObject
* obj1
= 0 ;
13370 char *kwnames
[] = {
13371 (char *) "self",(char *) "maxValue", NULL
13374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
13375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13377 arg2
= (int)SWIG_As_int(obj1
);
13378 if (PyErr_Occurred()) SWIG_fail
;
13380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13381 (arg1
)->SetMax(arg2
);
13383 wxPyEndAllowThreads(__tstate
);
13384 if (PyErr_Occurred()) SWIG_fail
;
13386 Py_INCREF(Py_None
); resultobj
= Py_None
;
13393 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13394 PyObject
*resultobj
;
13395 wxSlider
*arg1
= (wxSlider
*) 0 ;
13397 PyObject
* obj0
= 0 ;
13398 PyObject
* obj1
= 0 ;
13399 char *kwnames
[] = {
13400 (char *) "self",(char *) "lineSize", NULL
13403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13406 arg2
= (int)SWIG_As_int(obj1
);
13407 if (PyErr_Occurred()) SWIG_fail
;
13409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13410 (arg1
)->SetLineSize(arg2
);
13412 wxPyEndAllowThreads(__tstate
);
13413 if (PyErr_Occurred()) SWIG_fail
;
13415 Py_INCREF(Py_None
); resultobj
= Py_None
;
13422 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13423 PyObject
*resultobj
;
13424 wxSlider
*arg1
= (wxSlider
*) 0 ;
13426 PyObject
* obj0
= 0 ;
13427 PyObject
* obj1
= 0 ;
13428 char *kwnames
[] = {
13429 (char *) "self",(char *) "pageSize", NULL
13432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13435 arg2
= (int)SWIG_As_int(obj1
);
13436 if (PyErr_Occurred()) SWIG_fail
;
13438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13439 (arg1
)->SetPageSize(arg2
);
13441 wxPyEndAllowThreads(__tstate
);
13442 if (PyErr_Occurred()) SWIG_fail
;
13444 Py_INCREF(Py_None
); resultobj
= Py_None
;
13451 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13452 PyObject
*resultobj
;
13453 wxSlider
*arg1
= (wxSlider
*) 0 ;
13455 PyObject
* obj0
= 0 ;
13456 char *kwnames
[] = {
13457 (char *) "self", NULL
13460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
13461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13465 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
13467 wxPyEndAllowThreads(__tstate
);
13468 if (PyErr_Occurred()) SWIG_fail
;
13470 resultobj
= SWIG_From_int((int)result
);
13477 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13478 PyObject
*resultobj
;
13479 wxSlider
*arg1
= (wxSlider
*) 0 ;
13481 PyObject
* obj0
= 0 ;
13482 char *kwnames
[] = {
13483 (char *) "self", NULL
13486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
13487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13491 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
13493 wxPyEndAllowThreads(__tstate
);
13494 if (PyErr_Occurred()) SWIG_fail
;
13496 resultobj
= SWIG_From_int((int)result
);
13503 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13504 PyObject
*resultobj
;
13505 wxSlider
*arg1
= (wxSlider
*) 0 ;
13507 PyObject
* obj0
= 0 ;
13508 PyObject
* obj1
= 0 ;
13509 char *kwnames
[] = {
13510 (char *) "self",(char *) "lenPixels", NULL
13513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
13514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13516 arg2
= (int)SWIG_As_int(obj1
);
13517 if (PyErr_Occurred()) SWIG_fail
;
13519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13520 (arg1
)->SetThumbLength(arg2
);
13522 wxPyEndAllowThreads(__tstate
);
13523 if (PyErr_Occurred()) SWIG_fail
;
13525 Py_INCREF(Py_None
); resultobj
= Py_None
;
13532 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13533 PyObject
*resultobj
;
13534 wxSlider
*arg1
= (wxSlider
*) 0 ;
13536 PyObject
* obj0
= 0 ;
13537 char *kwnames
[] = {
13538 (char *) "self", NULL
13541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
13542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13546 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
13548 wxPyEndAllowThreads(__tstate
);
13549 if (PyErr_Occurred()) SWIG_fail
;
13551 resultobj
= SWIG_From_int((int)result
);
13558 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13559 PyObject
*resultobj
;
13560 wxSlider
*arg1
= (wxSlider
*) 0 ;
13562 int arg3
= (int) 1 ;
13563 PyObject
* obj0
= 0 ;
13564 PyObject
* obj1
= 0 ;
13565 PyObject
* obj2
= 0 ;
13566 char *kwnames
[] = {
13567 (char *) "self",(char *) "n",(char *) "pos", NULL
13570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13573 arg2
= (int)SWIG_As_int(obj1
);
13574 if (PyErr_Occurred()) SWIG_fail
;
13576 arg3
= (int)SWIG_As_int(obj2
);
13577 if (PyErr_Occurred()) SWIG_fail
;
13580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13581 (arg1
)->SetTickFreq(arg2
,arg3
);
13583 wxPyEndAllowThreads(__tstate
);
13584 if (PyErr_Occurred()) SWIG_fail
;
13586 Py_INCREF(Py_None
); resultobj
= Py_None
;
13593 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13594 PyObject
*resultobj
;
13595 wxSlider
*arg1
= (wxSlider
*) 0 ;
13597 PyObject
* obj0
= 0 ;
13598 char *kwnames
[] = {
13599 (char *) "self", NULL
13602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
13603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13607 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
13609 wxPyEndAllowThreads(__tstate
);
13610 if (PyErr_Occurred()) SWIG_fail
;
13612 resultobj
= SWIG_From_int((int)result
);
13619 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13620 PyObject
*resultobj
;
13621 wxSlider
*arg1
= (wxSlider
*) 0 ;
13622 PyObject
* obj0
= 0 ;
13623 char *kwnames
[] = {
13624 (char *) "self", NULL
13627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
13628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13632 (arg1
)->ClearTicks();
13634 wxPyEndAllowThreads(__tstate
);
13635 if (PyErr_Occurred()) SWIG_fail
;
13637 Py_INCREF(Py_None
); resultobj
= Py_None
;
13644 static PyObject
*_wrap_Slider_SetTick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13645 PyObject
*resultobj
;
13646 wxSlider
*arg1
= (wxSlider
*) 0 ;
13648 PyObject
* obj0
= 0 ;
13649 PyObject
* obj1
= 0 ;
13650 char *kwnames
[] = {
13651 (char *) "self",(char *) "tickPos", NULL
13654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
13655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13657 arg2
= (int)SWIG_As_int(obj1
);
13658 if (PyErr_Occurred()) SWIG_fail
;
13660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13661 (arg1
)->SetTick(arg2
);
13663 wxPyEndAllowThreads(__tstate
);
13664 if (PyErr_Occurred()) SWIG_fail
;
13666 Py_INCREF(Py_None
); resultobj
= Py_None
;
13673 static PyObject
*_wrap_Slider_ClearSel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13674 PyObject
*resultobj
;
13675 wxSlider
*arg1
= (wxSlider
*) 0 ;
13676 PyObject
* obj0
= 0 ;
13677 char *kwnames
[] = {
13678 (char *) "self", NULL
13681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
13682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13686 (arg1
)->ClearSel();
13688 wxPyEndAllowThreads(__tstate
);
13689 if (PyErr_Occurred()) SWIG_fail
;
13691 Py_INCREF(Py_None
); resultobj
= Py_None
;
13698 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13699 PyObject
*resultobj
;
13700 wxSlider
*arg1
= (wxSlider
*) 0 ;
13702 PyObject
* obj0
= 0 ;
13703 char *kwnames
[] = {
13704 (char *) "self", NULL
13707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
13708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13712 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
13714 wxPyEndAllowThreads(__tstate
);
13715 if (PyErr_Occurred()) SWIG_fail
;
13717 resultobj
= SWIG_From_int((int)result
);
13724 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13725 PyObject
*resultobj
;
13726 wxSlider
*arg1
= (wxSlider
*) 0 ;
13728 PyObject
* obj0
= 0 ;
13729 char *kwnames
[] = {
13730 (char *) "self", NULL
13733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
13734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13738 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
13740 wxPyEndAllowThreads(__tstate
);
13741 if (PyErr_Occurred()) SWIG_fail
;
13743 resultobj
= SWIG_From_int((int)result
);
13750 static PyObject
*_wrap_Slider_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13751 PyObject
*resultobj
;
13752 wxSlider
*arg1
= (wxSlider
*) 0 ;
13755 PyObject
* obj0
= 0 ;
13756 PyObject
* obj1
= 0 ;
13757 PyObject
* obj2
= 0 ;
13758 char *kwnames
[] = {
13759 (char *) "self",(char *) "min",(char *) "max", NULL
13762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13765 arg2
= (int)SWIG_As_int(obj1
);
13766 if (PyErr_Occurred()) SWIG_fail
;
13767 arg3
= (int)SWIG_As_int(obj2
);
13768 if (PyErr_Occurred()) SWIG_fail
;
13770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13771 (arg1
)->SetSelection(arg2
,arg3
);
13773 wxPyEndAllowThreads(__tstate
);
13774 if (PyErr_Occurred()) SWIG_fail
;
13776 Py_INCREF(Py_None
); resultobj
= Py_None
;
13783 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13784 PyObject
*resultobj
;
13785 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
13786 wxVisualAttributes result
;
13787 PyObject
* obj0
= 0 ;
13788 char *kwnames
[] = {
13789 (char *) "variant", NULL
13792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13794 arg1
= (int)SWIG_As_int(obj0
);
13795 if (PyErr_Occurred()) SWIG_fail
;
13798 if (!wxPyCheckForApp()) SWIG_fail
;
13799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13800 result
= wxSlider::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13802 wxPyEndAllowThreads(__tstate
);
13803 if (PyErr_Occurred()) SWIG_fail
;
13806 wxVisualAttributes
* resultptr
;
13807 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
13808 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13816 static PyObject
* Slider_swigregister(PyObject
*, PyObject
*args
) {
13818 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13819 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
13821 return Py_BuildValue((char *)"");
13823 static int _wrap_ToggleButtonNameStr_set(PyObject
*) {
13824 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
13829 static PyObject
*_wrap_ToggleButtonNameStr_get() {
13834 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13836 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13843 static PyObject
*_wrap_new_ToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13844 PyObject
*resultobj
;
13845 wxWindow
*arg1
= (wxWindow
*) 0 ;
13846 int arg2
= (int) -1 ;
13847 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13848 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13849 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13850 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13851 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13852 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13853 long arg6
= (long) 0 ;
13854 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
13855 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
13856 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
13857 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13858 wxToggleButton
*result
;
13859 bool temp3
= False
;
13862 bool temp8
= False
;
13863 PyObject
* obj0
= 0 ;
13864 PyObject
* obj1
= 0 ;
13865 PyObject
* obj2
= 0 ;
13866 PyObject
* obj3
= 0 ;
13867 PyObject
* obj4
= 0 ;
13868 PyObject
* obj5
= 0 ;
13869 PyObject
* obj6
= 0 ;
13870 PyObject
* obj7
= 0 ;
13871 char *kwnames
[] = {
13872 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
13876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13879 arg2
= (int)SWIG_As_int(obj1
);
13880 if (PyErr_Occurred()) SWIG_fail
;
13884 arg3
= wxString_in_helper(obj2
);
13885 if (arg3
== NULL
) SWIG_fail
;
13892 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13898 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13902 arg6
= (long)SWIG_As_long(obj5
);
13903 if (PyErr_Occurred()) SWIG_fail
;
13906 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
13907 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13909 if (arg7
== NULL
) {
13910 PyErr_SetString(PyExc_TypeError
,"null reference");
13916 arg8
= wxString_in_helper(obj7
);
13917 if (arg8
== NULL
) SWIG_fail
;
13922 if (!wxPyCheckForApp()) SWIG_fail
;
13923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13924 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
13926 wxPyEndAllowThreads(__tstate
);
13927 if (PyErr_Occurred()) SWIG_fail
;
13929 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13952 static PyObject
*_wrap_new_PreToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13953 PyObject
*resultobj
;
13954 wxToggleButton
*result
;
13955 char *kwnames
[] = {
13959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
13961 if (!wxPyCheckForApp()) SWIG_fail
;
13962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13963 result
= (wxToggleButton
*)new wxToggleButton();
13965 wxPyEndAllowThreads(__tstate
);
13966 if (PyErr_Occurred()) SWIG_fail
;
13968 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13975 static PyObject
*_wrap_ToggleButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13976 PyObject
*resultobj
;
13977 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13978 wxWindow
*arg2
= (wxWindow
*) 0 ;
13979 int arg3
= (int) -1 ;
13980 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13981 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13982 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13983 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13984 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13985 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13986 long arg7
= (long) 0 ;
13987 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
13988 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
13989 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
13990 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
13992 bool temp4
= False
;
13995 bool temp9
= False
;
13996 PyObject
* obj0
= 0 ;
13997 PyObject
* obj1
= 0 ;
13998 PyObject
* obj2
= 0 ;
13999 PyObject
* obj3
= 0 ;
14000 PyObject
* obj4
= 0 ;
14001 PyObject
* obj5
= 0 ;
14002 PyObject
* obj6
= 0 ;
14003 PyObject
* obj7
= 0 ;
14004 PyObject
* obj8
= 0 ;
14005 char *kwnames
[] = {
14006 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
14010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14012 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14015 arg3
= (int)SWIG_As_int(obj2
);
14016 if (PyErr_Occurred()) SWIG_fail
;
14020 arg4
= wxString_in_helper(obj3
);
14021 if (arg4
== NULL
) SWIG_fail
;
14028 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14034 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14038 arg7
= (long)SWIG_As_long(obj6
);
14039 if (PyErr_Occurred()) SWIG_fail
;
14042 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
14043 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14045 if (arg8
== NULL
) {
14046 PyErr_SetString(PyExc_TypeError
,"null reference");
14052 arg9
= wxString_in_helper(obj8
);
14053 if (arg9
== NULL
) SWIG_fail
;
14058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14059 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
14061 wxPyEndAllowThreads(__tstate
);
14062 if (PyErr_Occurred()) SWIG_fail
;
14065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14089 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14090 PyObject
*resultobj
;
14091 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14093 PyObject
* obj0
= 0 ;
14094 PyObject
* obj1
= 0 ;
14095 char *kwnames
[] = {
14096 (char *) "self",(char *) "value", NULL
14099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14102 arg2
= (bool)SWIG_As_bool(obj1
);
14103 if (PyErr_Occurred()) SWIG_fail
;
14105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14106 (arg1
)->SetValue(arg2
);
14108 wxPyEndAllowThreads(__tstate
);
14109 if (PyErr_Occurred()) SWIG_fail
;
14111 Py_INCREF(Py_None
); resultobj
= Py_None
;
14118 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14119 PyObject
*resultobj
;
14120 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14122 PyObject
* obj0
= 0 ;
14123 char *kwnames
[] = {
14124 (char *) "self", NULL
14127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
14128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14132 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
14134 wxPyEndAllowThreads(__tstate
);
14135 if (PyErr_Occurred()) SWIG_fail
;
14138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14146 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14147 PyObject
*resultobj
;
14148 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14149 wxString
*arg2
= 0 ;
14150 bool temp2
= False
;
14151 PyObject
* obj0
= 0 ;
14152 PyObject
* obj1
= 0 ;
14153 char *kwnames
[] = {
14154 (char *) "self",(char *) "label", NULL
14157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
14158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14161 arg2
= wxString_in_helper(obj1
);
14162 if (arg2
== NULL
) SWIG_fail
;
14166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14167 (arg1
)->SetLabel((wxString
const &)*arg2
);
14169 wxPyEndAllowThreads(__tstate
);
14170 if (PyErr_Occurred()) SWIG_fail
;
14172 Py_INCREF(Py_None
); resultobj
= Py_None
;
14187 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14188 PyObject
*resultobj
;
14189 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14190 wxVisualAttributes result
;
14191 PyObject
* obj0
= 0 ;
14192 char *kwnames
[] = {
14193 (char *) "variant", NULL
14196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14198 arg1
= (int)SWIG_As_int(obj0
);
14199 if (PyErr_Occurred()) SWIG_fail
;
14202 if (!wxPyCheckForApp()) SWIG_fail
;
14203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14204 result
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14206 wxPyEndAllowThreads(__tstate
);
14207 if (PyErr_Occurred()) SWIG_fail
;
14210 wxVisualAttributes
* resultptr
;
14211 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14212 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14220 static PyObject
* ToggleButton_swigregister(PyObject
*, PyObject
*args
) {
14222 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14223 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
14225 return Py_BuildValue((char *)"");
14227 static int _wrap_NOTEBOOK_NAME_set(PyObject
*) {
14228 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
14233 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
14238 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
14240 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
14247 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14248 PyObject
*resultobj
;
14249 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14251 PyObject
* obj0
= 0 ;
14252 char *kwnames
[] = {
14253 (char *) "self", NULL
14256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
14257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14261 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
14263 wxPyEndAllowThreads(__tstate
);
14264 if (PyErr_Occurred()) SWIG_fail
;
14266 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
14273 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14274 PyObject
*resultobj
;
14275 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14278 PyObject
* obj0
= 0 ;
14279 PyObject
* obj1
= 0 ;
14280 char *kwnames
[] = {
14281 (char *) "self",(char *) "n", NULL
14284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14287 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14288 if (PyErr_Occurred()) SWIG_fail
;
14290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14291 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
14293 wxPyEndAllowThreads(__tstate
);
14294 if (PyErr_Occurred()) SWIG_fail
;
14297 resultobj
= wxPyMake_wxObject(result
, 0);
14305 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14306 PyObject
*resultobj
;
14307 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14309 PyObject
* obj0
= 0 ;
14310 char *kwnames
[] = {
14311 (char *) "self", NULL
14314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
14315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14319 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
14321 wxPyEndAllowThreads(__tstate
);
14322 if (PyErr_Occurred()) SWIG_fail
;
14324 resultobj
= SWIG_From_int((int)result
);
14331 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14332 PyObject
*resultobj
;
14333 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14335 wxString
*arg3
= 0 ;
14337 bool temp3
= False
;
14338 PyObject
* obj0
= 0 ;
14339 PyObject
* obj1
= 0 ;
14340 PyObject
* obj2
= 0 ;
14341 char *kwnames
[] = {
14342 (char *) "self",(char *) "n",(char *) "strText", NULL
14345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14348 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14349 if (PyErr_Occurred()) SWIG_fail
;
14351 arg3
= wxString_in_helper(obj2
);
14352 if (arg3
== NULL
) SWIG_fail
;
14356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14357 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
14359 wxPyEndAllowThreads(__tstate
);
14360 if (PyErr_Occurred()) SWIG_fail
;
14363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14379 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14380 PyObject
*resultobj
;
14381 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14384 PyObject
* obj0
= 0 ;
14385 PyObject
* obj1
= 0 ;
14386 char *kwnames
[] = {
14387 (char *) "self",(char *) "n", NULL
14390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
14391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14393 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14394 if (PyErr_Occurred()) SWIG_fail
;
14396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14397 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
14399 wxPyEndAllowThreads(__tstate
);
14400 if (PyErr_Occurred()) SWIG_fail
;
14404 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14406 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14415 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14416 PyObject
*resultobj
;
14417 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14418 wxImageList
*arg2
= (wxImageList
*) 0 ;
14419 PyObject
* obj0
= 0 ;
14420 PyObject
* obj1
= 0 ;
14421 char *kwnames
[] = {
14422 (char *) "self",(char *) "imageList", NULL
14425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14428 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14432 (arg1
)->SetImageList(arg2
);
14434 wxPyEndAllowThreads(__tstate
);
14435 if (PyErr_Occurred()) SWIG_fail
;
14437 Py_INCREF(Py_None
); resultobj
= Py_None
;
14444 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14445 PyObject
*resultobj
;
14446 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14447 wxImageList
*arg2
= (wxImageList
*) 0 ;
14448 PyObject
* obj0
= 0 ;
14449 PyObject
* obj1
= 0 ;
14450 char *kwnames
[] = {
14451 (char *) "self",(char *) "imageList", NULL
14454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14457 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14458 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
14460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14461 (arg1
)->AssignImageList(arg2
);
14463 wxPyEndAllowThreads(__tstate
);
14464 if (PyErr_Occurred()) SWIG_fail
;
14466 Py_INCREF(Py_None
); resultobj
= Py_None
;
14473 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14474 PyObject
*resultobj
;
14475 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14476 wxImageList
*result
;
14477 PyObject
* obj0
= 0 ;
14478 char *kwnames
[] = {
14479 (char *) "self", NULL
14482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
14483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14487 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
14489 wxPyEndAllowThreads(__tstate
);
14490 if (PyErr_Occurred()) SWIG_fail
;
14493 resultobj
= wxPyMake_wxObject(result
, 0);
14501 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14502 PyObject
*resultobj
;
14503 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14506 PyObject
* obj0
= 0 ;
14507 PyObject
* obj1
= 0 ;
14508 char *kwnames
[] = {
14509 (char *) "self",(char *) "n", NULL
14512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
14513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14515 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14516 if (PyErr_Occurred()) SWIG_fail
;
14518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14519 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
14521 wxPyEndAllowThreads(__tstate
);
14522 if (PyErr_Occurred()) SWIG_fail
;
14524 resultobj
= SWIG_From_int((int)result
);
14531 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14532 PyObject
*resultobj
;
14533 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14537 PyObject
* obj0
= 0 ;
14538 PyObject
* obj1
= 0 ;
14539 PyObject
* obj2
= 0 ;
14540 char *kwnames
[] = {
14541 (char *) "self",(char *) "n",(char *) "imageId", NULL
14544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14547 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14548 if (PyErr_Occurred()) SWIG_fail
;
14549 arg3
= (int)SWIG_As_int(obj2
);
14550 if (PyErr_Occurred()) SWIG_fail
;
14552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14553 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
14555 wxPyEndAllowThreads(__tstate
);
14556 if (PyErr_Occurred()) SWIG_fail
;
14559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14567 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14568 PyObject
*resultobj
;
14569 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14572 PyObject
* obj0
= 0 ;
14573 PyObject
* obj1
= 0 ;
14574 char *kwnames
[] = {
14575 (char *) "self",(char *) "size", NULL
14578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14583 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14587 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
14589 wxPyEndAllowThreads(__tstate
);
14590 if (PyErr_Occurred()) SWIG_fail
;
14592 Py_INCREF(Py_None
); resultobj
= Py_None
;
14599 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14600 PyObject
*resultobj
;
14601 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14605 PyObject
* obj0
= 0 ;
14606 PyObject
* obj1
= 0 ;
14607 char *kwnames
[] = {
14608 (char *) "self",(char *) "sizePage", NULL
14611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14616 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14620 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14622 wxPyEndAllowThreads(__tstate
);
14623 if (PyErr_Occurred()) SWIG_fail
;
14626 wxSize
* resultptr
;
14627 resultptr
= new wxSize((wxSize
&) result
);
14628 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14636 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14637 PyObject
*resultobj
;
14638 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14641 PyObject
* obj0
= 0 ;
14642 PyObject
* obj1
= 0 ;
14643 char *kwnames
[] = {
14644 (char *) "self",(char *) "n", NULL
14647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14650 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14651 if (PyErr_Occurred()) SWIG_fail
;
14653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14654 result
= (bool)(arg1
)->DeletePage(arg2
);
14656 wxPyEndAllowThreads(__tstate
);
14657 if (PyErr_Occurred()) SWIG_fail
;
14660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14668 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14669 PyObject
*resultobj
;
14670 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14673 PyObject
* obj0
= 0 ;
14674 PyObject
* obj1
= 0 ;
14675 char *kwnames
[] = {
14676 (char *) "self",(char *) "n", NULL
14679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14682 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14683 if (PyErr_Occurred()) SWIG_fail
;
14685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14686 result
= (bool)(arg1
)->RemovePage(arg2
);
14688 wxPyEndAllowThreads(__tstate
);
14689 if (PyErr_Occurred()) SWIG_fail
;
14692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14700 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14701 PyObject
*resultobj
;
14702 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14704 PyObject
* obj0
= 0 ;
14705 char *kwnames
[] = {
14706 (char *) "self", NULL
14709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
14710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14714 result
= (bool)(arg1
)->DeleteAllPages();
14716 wxPyEndAllowThreads(__tstate
);
14717 if (PyErr_Occurred()) SWIG_fail
;
14720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14728 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14729 PyObject
*resultobj
;
14730 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14731 wxWindow
*arg2
= (wxWindow
*) 0 ;
14732 wxString
*arg3
= 0 ;
14733 bool arg4
= (bool) False
;
14734 int arg5
= (int) -1 ;
14736 bool temp3
= False
;
14737 PyObject
* obj0
= 0 ;
14738 PyObject
* obj1
= 0 ;
14739 PyObject
* obj2
= 0 ;
14740 PyObject
* obj3
= 0 ;
14741 PyObject
* obj4
= 0 ;
14742 char *kwnames
[] = {
14743 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14749 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14752 arg3
= wxString_in_helper(obj2
);
14753 if (arg3
== NULL
) SWIG_fail
;
14757 arg4
= (bool)SWIG_As_bool(obj3
);
14758 if (PyErr_Occurred()) SWIG_fail
;
14761 arg5
= (int)SWIG_As_int(obj4
);
14762 if (PyErr_Occurred()) SWIG_fail
;
14765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14766 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
14768 wxPyEndAllowThreads(__tstate
);
14769 if (PyErr_Occurred()) SWIG_fail
;
14772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14788 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14789 PyObject
*resultobj
;
14790 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14792 wxWindow
*arg3
= (wxWindow
*) 0 ;
14793 wxString
*arg4
= 0 ;
14794 bool arg5
= (bool) False
;
14795 int arg6
= (int) -1 ;
14797 bool temp4
= False
;
14798 PyObject
* obj0
= 0 ;
14799 PyObject
* obj1
= 0 ;
14800 PyObject
* obj2
= 0 ;
14801 PyObject
* obj3
= 0 ;
14802 PyObject
* obj4
= 0 ;
14803 PyObject
* obj5
= 0 ;
14804 char *kwnames
[] = {
14805 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14811 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14812 if (PyErr_Occurred()) SWIG_fail
;
14813 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
14814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14816 arg4
= wxString_in_helper(obj3
);
14817 if (arg4
== NULL
) SWIG_fail
;
14821 arg5
= (bool)SWIG_As_bool(obj4
);
14822 if (PyErr_Occurred()) SWIG_fail
;
14825 arg6
= (int)SWIG_As_int(obj5
);
14826 if (PyErr_Occurred()) SWIG_fail
;
14829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14830 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
14832 wxPyEndAllowThreads(__tstate
);
14833 if (PyErr_Occurred()) SWIG_fail
;
14836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14852 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14853 PyObject
*resultobj
;
14854 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14857 PyObject
* obj0
= 0 ;
14858 PyObject
* obj1
= 0 ;
14859 char *kwnames
[] = {
14860 (char *) "self",(char *) "n", NULL
14863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14866 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14867 if (PyErr_Occurred()) SWIG_fail
;
14869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14870 result
= (int)(arg1
)->SetSelection(arg2
);
14872 wxPyEndAllowThreads(__tstate
);
14873 if (PyErr_Occurred()) SWIG_fail
;
14875 resultobj
= SWIG_From_int((int)result
);
14882 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14883 PyObject
*resultobj
;
14884 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14885 bool arg2
= (bool) True
;
14886 PyObject
* obj0
= 0 ;
14887 PyObject
* obj1
= 0 ;
14888 char *kwnames
[] = {
14889 (char *) "self",(char *) "forward", NULL
14892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14896 arg2
= (bool)SWIG_As_bool(obj1
);
14897 if (PyErr_Occurred()) SWIG_fail
;
14900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14901 (arg1
)->AdvanceSelection(arg2
);
14903 wxPyEndAllowThreads(__tstate
);
14904 if (PyErr_Occurred()) SWIG_fail
;
14906 Py_INCREF(Py_None
); resultobj
= Py_None
;
14913 static PyObject
*_wrap_BookCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14914 PyObject
*resultobj
;
14915 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14916 wxVisualAttributes result
;
14917 PyObject
* obj0
= 0 ;
14918 char *kwnames
[] = {
14919 (char *) "variant", NULL
14922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14924 arg1
= (int)SWIG_As_int(obj0
);
14925 if (PyErr_Occurred()) SWIG_fail
;
14928 if (!wxPyCheckForApp()) SWIG_fail
;
14929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14930 result
= wxBookCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14932 wxPyEndAllowThreads(__tstate
);
14933 if (PyErr_Occurred()) SWIG_fail
;
14936 wxVisualAttributes
* resultptr
;
14937 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14938 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14946 static PyObject
* BookCtrl_swigregister(PyObject
*, PyObject
*args
) {
14948 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14949 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
14951 return Py_BuildValue((char *)"");
14953 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14954 PyObject
*resultobj
;
14955 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14956 int arg2
= (int) 0 ;
14957 int arg3
= (int) -1 ;
14958 int arg4
= (int) -1 ;
14959 wxBookCtrlEvent
*result
;
14960 PyObject
* obj0
= 0 ;
14961 PyObject
* obj1
= 0 ;
14962 PyObject
* obj2
= 0 ;
14963 PyObject
* obj3
= 0 ;
14964 char *kwnames
[] = {
14965 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14970 arg1
= (wxEventType
)SWIG_As_int(obj0
);
14971 if (PyErr_Occurred()) SWIG_fail
;
14974 arg2
= (int)SWIG_As_int(obj1
);
14975 if (PyErr_Occurred()) SWIG_fail
;
14978 arg3
= (int)SWIG_As_int(obj2
);
14979 if (PyErr_Occurred()) SWIG_fail
;
14982 arg4
= (int)SWIG_As_int(obj3
);
14983 if (PyErr_Occurred()) SWIG_fail
;
14986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14987 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
14989 wxPyEndAllowThreads(__tstate
);
14990 if (PyErr_Occurred()) SWIG_fail
;
14992 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlEvent
, 1);
14999 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15000 PyObject
*resultobj
;
15001 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
15003 PyObject
* obj0
= 0 ;
15004 char *kwnames
[] = {
15005 (char *) "self", NULL
15008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
15009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
15010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15013 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
15015 wxPyEndAllowThreads(__tstate
);
15016 if (PyErr_Occurred()) SWIG_fail
;
15018 resultobj
= SWIG_From_int((int)result
);
15025 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15026 PyObject
*resultobj
;
15027 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
15029 PyObject
* obj0
= 0 ;
15030 PyObject
* obj1
= 0 ;
15031 char *kwnames
[] = {
15032 (char *) "self",(char *) "nSel", NULL
15035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
15036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
15037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15038 arg2
= (int)SWIG_As_int(obj1
);
15039 if (PyErr_Occurred()) SWIG_fail
;
15041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15042 (arg1
)->SetSelection(arg2
);
15044 wxPyEndAllowThreads(__tstate
);
15045 if (PyErr_Occurred()) SWIG_fail
;
15047 Py_INCREF(Py_None
); resultobj
= Py_None
;
15054 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15055 PyObject
*resultobj
;
15056 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
15058 PyObject
* obj0
= 0 ;
15059 char *kwnames
[] = {
15060 (char *) "self", NULL
15063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
15064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
15065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15068 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
15070 wxPyEndAllowThreads(__tstate
);
15071 if (PyErr_Occurred()) SWIG_fail
;
15073 resultobj
= SWIG_From_int((int)result
);
15080 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15081 PyObject
*resultobj
;
15082 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
15084 PyObject
* obj0
= 0 ;
15085 PyObject
* obj1
= 0 ;
15086 char *kwnames
[] = {
15087 (char *) "self",(char *) "nOldSel", NULL
15090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
15091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
15092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15093 arg2
= (int)SWIG_As_int(obj1
);
15094 if (PyErr_Occurred()) SWIG_fail
;
15096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15097 (arg1
)->SetOldSelection(arg2
);
15099 wxPyEndAllowThreads(__tstate
);
15100 if (PyErr_Occurred()) SWIG_fail
;
15102 Py_INCREF(Py_None
); resultobj
= Py_None
;
15109 static PyObject
* BookCtrlEvent_swigregister(PyObject
*, PyObject
*args
) {
15111 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15112 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
15114 return Py_BuildValue((char *)"");
15116 static PyObject
*_wrap_new_Notebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15117 PyObject
*resultobj
;
15118 wxWindow
*arg1
= (wxWindow
*) 0 ;
15119 int arg2
= (int) -1 ;
15120 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15121 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15122 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15123 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15124 long arg5
= (long) 0 ;
15125 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
15126 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15127 wxNotebook
*result
;
15130 bool temp6
= False
;
15131 PyObject
* obj0
= 0 ;
15132 PyObject
* obj1
= 0 ;
15133 PyObject
* obj2
= 0 ;
15134 PyObject
* obj3
= 0 ;
15135 PyObject
* obj4
= 0 ;
15136 PyObject
* obj5
= 0 ;
15137 char *kwnames
[] = {
15138 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15145 arg2
= (int)SWIG_As_int(obj1
);
15146 if (PyErr_Occurred()) SWIG_fail
;
15151 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15157 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15161 arg5
= (long)SWIG_As_long(obj4
);
15162 if (PyErr_Occurred()) SWIG_fail
;
15166 arg6
= wxString_in_helper(obj5
);
15167 if (arg6
== NULL
) SWIG_fail
;
15172 if (!wxPyCheckForApp()) SWIG_fail
;
15173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15174 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15176 wxPyEndAllowThreads(__tstate
);
15177 if (PyErr_Occurred()) SWIG_fail
;
15179 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
15194 static PyObject
*_wrap_new_PreNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15195 PyObject
*resultobj
;
15196 wxNotebook
*result
;
15197 char *kwnames
[] = {
15201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
15203 if (!wxPyCheckForApp()) SWIG_fail
;
15204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15205 result
= (wxNotebook
*)new wxNotebook();
15207 wxPyEndAllowThreads(__tstate
);
15208 if (PyErr_Occurred()) SWIG_fail
;
15210 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
15217 static PyObject
*_wrap_Notebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15218 PyObject
*resultobj
;
15219 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15220 wxWindow
*arg2
= (wxWindow
*) 0 ;
15221 int arg3
= (int) -1 ;
15222 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15223 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15224 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15225 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15226 long arg6
= (long) 0 ;
15227 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
15228 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15232 bool temp7
= False
;
15233 PyObject
* obj0
= 0 ;
15234 PyObject
* obj1
= 0 ;
15235 PyObject
* obj2
= 0 ;
15236 PyObject
* obj3
= 0 ;
15237 PyObject
* obj4
= 0 ;
15238 PyObject
* obj5
= 0 ;
15239 PyObject
* obj6
= 0 ;
15240 char *kwnames
[] = {
15241 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15247 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15250 arg3
= (int)SWIG_As_int(obj2
);
15251 if (PyErr_Occurred()) SWIG_fail
;
15256 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15262 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15266 arg6
= (long)SWIG_As_long(obj5
);
15267 if (PyErr_Occurred()) SWIG_fail
;
15271 arg7
= wxString_in_helper(obj6
);
15272 if (arg7
== NULL
) SWIG_fail
;
15277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15278 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15280 wxPyEndAllowThreads(__tstate
);
15281 if (PyErr_Occurred()) SWIG_fail
;
15284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15300 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15301 PyObject
*resultobj
;
15302 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15304 PyObject
* obj0
= 0 ;
15305 char *kwnames
[] = {
15306 (char *) "self", NULL
15309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
15310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15314 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
15316 wxPyEndAllowThreads(__tstate
);
15317 if (PyErr_Occurred()) SWIG_fail
;
15319 resultobj
= SWIG_From_int((int)result
);
15326 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15327 PyObject
*resultobj
;
15328 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15331 PyObject
* obj0
= 0 ;
15332 PyObject
* obj1
= 0 ;
15333 char *kwnames
[] = {
15334 (char *) "self",(char *) "padding", NULL
15337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
15338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15342 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15346 (arg1
)->SetPadding((wxSize
const &)*arg2
);
15348 wxPyEndAllowThreads(__tstate
);
15349 if (PyErr_Occurred()) SWIG_fail
;
15351 Py_INCREF(Py_None
); resultobj
= Py_None
;
15358 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15359 PyObject
*resultobj
;
15360 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15363 PyObject
* obj0
= 0 ;
15364 PyObject
* obj1
= 0 ;
15365 char *kwnames
[] = {
15366 (char *) "self",(char *) "sz", NULL
15369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15374 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15378 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
15380 wxPyEndAllowThreads(__tstate
);
15381 if (PyErr_Occurred()) SWIG_fail
;
15383 Py_INCREF(Py_None
); resultobj
= Py_None
;
15390 static PyObject
*_wrap_Notebook_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15391 PyObject
*resultobj
;
15392 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15393 wxPoint
*arg2
= 0 ;
15394 long *arg3
= (long *) 0 ;
15399 PyObject
* obj0
= 0 ;
15400 PyObject
* obj1
= 0 ;
15401 char *kwnames
[] = {
15402 (char *) "self",(char *) "pt", NULL
15405 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
15407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15411 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15415 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
15417 wxPyEndAllowThreads(__tstate
);
15418 if (PyErr_Occurred()) SWIG_fail
;
15420 resultobj
= SWIG_From_int((int)result
);
15421 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15422 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
15429 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15430 PyObject
*resultobj
;
15431 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15435 PyObject
* obj0
= 0 ;
15436 PyObject
* obj1
= 0 ;
15437 char *kwnames
[] = {
15438 (char *) "self",(char *) "sizePage", NULL
15441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
15442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15446 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15450 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
15452 wxPyEndAllowThreads(__tstate
);
15453 if (PyErr_Occurred()) SWIG_fail
;
15456 wxSize
* resultptr
;
15457 resultptr
= new wxSize((wxSize
&) result
);
15458 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15466 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15467 PyObject
*resultobj
;
15468 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
15469 wxVisualAttributes result
;
15470 PyObject
* obj0
= 0 ;
15471 char *kwnames
[] = {
15472 (char *) "variant", NULL
15475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15477 arg1
= (int)SWIG_As_int(obj0
);
15478 if (PyErr_Occurred()) SWIG_fail
;
15481 if (!wxPyCheckForApp()) SWIG_fail
;
15482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15483 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15485 wxPyEndAllowThreads(__tstate
);
15486 if (PyErr_Occurred()) SWIG_fail
;
15489 wxVisualAttributes
* resultptr
;
15490 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
15491 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15499 static PyObject
* Notebook_swigregister(PyObject
*, PyObject
*args
) {
15501 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15502 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
15504 return Py_BuildValue((char *)"");
15506 static PyObject
*_wrap_new_NotebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15507 PyObject
*resultobj
;
15508 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15509 int arg2
= (int) 0 ;
15510 int arg3
= (int) -1 ;
15511 int arg4
= (int) -1 ;
15512 wxNotebookEvent
*result
;
15513 PyObject
* obj0
= 0 ;
15514 PyObject
* obj1
= 0 ;
15515 PyObject
* obj2
= 0 ;
15516 PyObject
* obj3
= 0 ;
15517 char *kwnames
[] = {
15518 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15523 arg1
= (wxEventType
)SWIG_As_int(obj0
);
15524 if (PyErr_Occurred()) SWIG_fail
;
15527 arg2
= (int)SWIG_As_int(obj1
);
15528 if (PyErr_Occurred()) SWIG_fail
;
15531 arg3
= (int)SWIG_As_int(obj2
);
15532 if (PyErr_Occurred()) SWIG_fail
;
15535 arg4
= (int)SWIG_As_int(obj3
);
15536 if (PyErr_Occurred()) SWIG_fail
;
15539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15540 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
15542 wxPyEndAllowThreads(__tstate
);
15543 if (PyErr_Occurred()) SWIG_fail
;
15545 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
15552 static PyObject
* NotebookEvent_swigregister(PyObject
*, PyObject
*args
) {
15554 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15555 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
15557 return Py_BuildValue((char *)"");
15559 static PyObject
*_wrap_new_Listbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15560 PyObject
*resultobj
;
15561 wxWindow
*arg1
= (wxWindow
*) 0 ;
15562 int arg2
= (int) -1 ;
15563 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15564 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15565 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15566 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15567 long arg5
= (long) 0 ;
15568 wxString
const &arg6_defvalue
= wxPyEmptyString
;
15569 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15570 wxListbook
*result
;
15573 bool temp6
= False
;
15574 PyObject
* obj0
= 0 ;
15575 PyObject
* obj1
= 0 ;
15576 PyObject
* obj2
= 0 ;
15577 PyObject
* obj3
= 0 ;
15578 PyObject
* obj4
= 0 ;
15579 PyObject
* obj5
= 0 ;
15580 char *kwnames
[] = {
15581 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15588 arg2
= (int)SWIG_As_int(obj1
);
15589 if (PyErr_Occurred()) SWIG_fail
;
15594 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15600 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15604 arg5
= (long)SWIG_As_long(obj4
);
15605 if (PyErr_Occurred()) SWIG_fail
;
15609 arg6
= wxString_in_helper(obj5
);
15610 if (arg6
== NULL
) SWIG_fail
;
15615 if (!wxPyCheckForApp()) SWIG_fail
;
15616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15617 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15619 wxPyEndAllowThreads(__tstate
);
15620 if (PyErr_Occurred()) SWIG_fail
;
15622 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15637 static PyObject
*_wrap_new_PreListbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15638 PyObject
*resultobj
;
15639 wxListbook
*result
;
15640 char *kwnames
[] = {
15644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
15646 if (!wxPyCheckForApp()) SWIG_fail
;
15647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15648 result
= (wxListbook
*)new wxListbook();
15650 wxPyEndAllowThreads(__tstate
);
15651 if (PyErr_Occurred()) SWIG_fail
;
15653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15660 static PyObject
*_wrap_Listbook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15661 PyObject
*resultobj
;
15662 wxListbook
*arg1
= (wxListbook
*) 0 ;
15663 wxWindow
*arg2
= (wxWindow
*) 0 ;
15664 int arg3
= (int) -1 ;
15665 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15666 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15667 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15668 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15669 long arg6
= (long) 0 ;
15670 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15671 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15675 bool temp7
= False
;
15676 PyObject
* obj0
= 0 ;
15677 PyObject
* obj1
= 0 ;
15678 PyObject
* obj2
= 0 ;
15679 PyObject
* obj3
= 0 ;
15680 PyObject
* obj4
= 0 ;
15681 PyObject
* obj5
= 0 ;
15682 PyObject
* obj6
= 0 ;
15683 char *kwnames
[] = {
15684 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15690 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15693 arg3
= (int)SWIG_As_int(obj2
);
15694 if (PyErr_Occurred()) SWIG_fail
;
15699 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15705 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15709 arg6
= (long)SWIG_As_long(obj5
);
15710 if (PyErr_Occurred()) SWIG_fail
;
15714 arg7
= wxString_in_helper(obj6
);
15715 if (arg7
== NULL
) SWIG_fail
;
15720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15721 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15723 wxPyEndAllowThreads(__tstate
);
15724 if (PyErr_Occurred()) SWIG_fail
;
15727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15743 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15744 PyObject
*resultobj
;
15745 wxListbook
*arg1
= (wxListbook
*) 0 ;
15747 PyObject
* obj0
= 0 ;
15748 char *kwnames
[] = {
15749 (char *) "self", NULL
15752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
15753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15757 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
15759 wxPyEndAllowThreads(__tstate
);
15760 if (PyErr_Occurred()) SWIG_fail
;
15763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15771 static PyObject
* Listbook_swigregister(PyObject
*, PyObject
*args
) {
15773 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15774 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
15776 return Py_BuildValue((char *)"");
15778 static PyObject
*_wrap_new_ListbookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15779 PyObject
*resultobj
;
15780 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15781 int arg2
= (int) 0 ;
15782 int arg3
= (int) -1 ;
15783 int arg4
= (int) -1 ;
15784 wxListbookEvent
*result
;
15785 PyObject
* obj0
= 0 ;
15786 PyObject
* obj1
= 0 ;
15787 PyObject
* obj2
= 0 ;
15788 PyObject
* obj3
= 0 ;
15789 char *kwnames
[] = {
15790 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15795 arg1
= (wxEventType
)SWIG_As_int(obj0
);
15796 if (PyErr_Occurred()) SWIG_fail
;
15799 arg2
= (int)SWIG_As_int(obj1
);
15800 if (PyErr_Occurred()) SWIG_fail
;
15803 arg3
= (int)SWIG_As_int(obj2
);
15804 if (PyErr_Occurred()) SWIG_fail
;
15807 arg4
= (int)SWIG_As_int(obj3
);
15808 if (PyErr_Occurred()) SWIG_fail
;
15811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15812 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
15814 wxPyEndAllowThreads(__tstate
);
15815 if (PyErr_Occurred()) SWIG_fail
;
15817 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
15824 static PyObject
* ListbookEvent_swigregister(PyObject
*, PyObject
*args
) {
15826 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15827 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
15829 return Py_BuildValue((char *)"");
15831 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15832 PyObject
*resultobj
;
15833 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
15834 wxBookCtrlSizer
*result
;
15835 PyObject
* obj0
= 0 ;
15836 char *kwnames
[] = {
15837 (char *) "nb", NULL
15840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
15841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
15842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15845 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
15847 wxPyEndAllowThreads(__tstate
);
15848 if (PyErr_Occurred()) SWIG_fail
;
15850 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
15857 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15858 PyObject
*resultobj
;
15859 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15860 PyObject
* obj0
= 0 ;
15861 char *kwnames
[] = {
15862 (char *) "self", NULL
15865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
15866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15870 (arg1
)->RecalcSizes();
15872 wxPyEndAllowThreads(__tstate
);
15873 if (PyErr_Occurred()) SWIG_fail
;
15875 Py_INCREF(Py_None
); resultobj
= Py_None
;
15882 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15883 PyObject
*resultobj
;
15884 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15886 PyObject
* obj0
= 0 ;
15887 char *kwnames
[] = {
15888 (char *) "self", NULL
15891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
15892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15896 result
= (arg1
)->CalcMin();
15898 wxPyEndAllowThreads(__tstate
);
15899 if (PyErr_Occurred()) SWIG_fail
;
15902 wxSize
* resultptr
;
15903 resultptr
= new wxSize((wxSize
&) result
);
15904 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15912 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15913 PyObject
*resultobj
;
15914 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15915 wxBookCtrl
*result
;
15916 PyObject
* obj0
= 0 ;
15917 char *kwnames
[] = {
15918 (char *) "self", NULL
15921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
15922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15926 result
= (wxBookCtrl
*)(arg1
)->GetControl();
15928 wxPyEndAllowThreads(__tstate
);
15929 if (PyErr_Occurred()) SWIG_fail
;
15931 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrl
, 0);
15938 static PyObject
* BookCtrlSizer_swigregister(PyObject
*, PyObject
*args
) {
15940 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15941 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
15943 return Py_BuildValue((char *)"");
15945 static PyObject
*_wrap_new_NotebookSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15946 PyObject
*resultobj
;
15947 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15948 wxNotebookSizer
*result
;
15949 PyObject
* obj0
= 0 ;
15950 char *kwnames
[] = {
15951 (char *) "nb", NULL
15954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
15955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15959 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
15961 wxPyEndAllowThreads(__tstate
);
15962 if (PyErr_Occurred()) SWIG_fail
;
15964 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
15971 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15972 PyObject
*resultobj
;
15973 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15974 PyObject
* obj0
= 0 ;
15975 char *kwnames
[] = {
15976 (char *) "self", NULL
15979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
15980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15984 (arg1
)->RecalcSizes();
15986 wxPyEndAllowThreads(__tstate
);
15987 if (PyErr_Occurred()) SWIG_fail
;
15989 Py_INCREF(Py_None
); resultobj
= Py_None
;
15996 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15997 PyObject
*resultobj
;
15998 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
16000 PyObject
* obj0
= 0 ;
16001 char *kwnames
[] = {
16002 (char *) "self", NULL
16005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
16006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
16007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16010 result
= (arg1
)->CalcMin();
16012 wxPyEndAllowThreads(__tstate
);
16013 if (PyErr_Occurred()) SWIG_fail
;
16016 wxSize
* resultptr
;
16017 resultptr
= new wxSize((wxSize
&) result
);
16018 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16026 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16027 PyObject
*resultobj
;
16028 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
16029 wxNotebook
*result
;
16030 PyObject
* obj0
= 0 ;
16031 char *kwnames
[] = {
16032 (char *) "self", NULL
16035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
16036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
16037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16040 result
= (wxNotebook
*)(arg1
)->GetNotebook();
16042 wxPyEndAllowThreads(__tstate
);
16043 if (PyErr_Occurred()) SWIG_fail
;
16046 resultobj
= wxPyMake_wxObject(result
, 0);
16054 static PyObject
* NotebookSizer_swigregister(PyObject
*, PyObject
*args
) {
16056 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16057 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
16059 return Py_BuildValue((char *)"");
16061 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16062 PyObject
*resultobj
;
16063 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16065 PyObject
* obj0
= 0 ;
16066 char *kwnames
[] = {
16067 (char *) "self", NULL
16070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
16071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16075 result
= (int)(arg1
)->GetId();
16077 wxPyEndAllowThreads(__tstate
);
16078 if (PyErr_Occurred()) SWIG_fail
;
16080 resultobj
= SWIG_From_int((int)result
);
16087 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16088 PyObject
*resultobj
;
16089 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16091 PyObject
* obj0
= 0 ;
16092 char *kwnames
[] = {
16093 (char *) "self", NULL
16096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
16097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16101 result
= (wxControl
*)(arg1
)->GetControl();
16103 wxPyEndAllowThreads(__tstate
);
16104 if (PyErr_Occurred()) SWIG_fail
;
16107 resultobj
= wxPyMake_wxObject(result
, 0);
16115 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16116 PyObject
*resultobj
;
16117 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16118 wxToolBarBase
*result
;
16119 PyObject
* obj0
= 0 ;
16120 char *kwnames
[] = {
16121 (char *) "self", NULL
16124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
16125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16129 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
16131 wxPyEndAllowThreads(__tstate
);
16132 if (PyErr_Occurred()) SWIG_fail
;
16135 resultobj
= wxPyMake_wxObject(result
, 0);
16143 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16144 PyObject
*resultobj
;
16145 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16147 PyObject
* obj0
= 0 ;
16148 char *kwnames
[] = {
16149 (char *) "self", NULL
16152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
16153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16157 result
= (int)(arg1
)->IsButton();
16159 wxPyEndAllowThreads(__tstate
);
16160 if (PyErr_Occurred()) SWIG_fail
;
16162 resultobj
= SWIG_From_int((int)result
);
16169 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16170 PyObject
*resultobj
;
16171 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16173 PyObject
* obj0
= 0 ;
16174 char *kwnames
[] = {
16175 (char *) "self", NULL
16178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
16179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16183 result
= (int)(arg1
)->IsControl();
16185 wxPyEndAllowThreads(__tstate
);
16186 if (PyErr_Occurred()) SWIG_fail
;
16188 resultobj
= SWIG_From_int((int)result
);
16195 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16196 PyObject
*resultobj
;
16197 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16199 PyObject
* obj0
= 0 ;
16200 char *kwnames
[] = {
16201 (char *) "self", NULL
16204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
16205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16209 result
= (int)(arg1
)->IsSeparator();
16211 wxPyEndAllowThreads(__tstate
);
16212 if (PyErr_Occurred()) SWIG_fail
;
16214 resultobj
= SWIG_From_int((int)result
);
16221 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16222 PyObject
*resultobj
;
16223 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16225 PyObject
* obj0
= 0 ;
16226 char *kwnames
[] = {
16227 (char *) "self", NULL
16230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16235 result
= (int)(arg1
)->GetStyle();
16237 wxPyEndAllowThreads(__tstate
);
16238 if (PyErr_Occurred()) SWIG_fail
;
16240 resultobj
= SWIG_From_int((int)result
);
16247 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16248 PyObject
*resultobj
;
16249 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16251 PyObject
* obj0
= 0 ;
16252 char *kwnames
[] = {
16253 (char *) "self", NULL
16256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
16257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16261 result
= (int)(arg1
)->GetKind();
16263 wxPyEndAllowThreads(__tstate
);
16264 if (PyErr_Occurred()) SWIG_fail
;
16266 resultobj
= SWIG_From_int((int)result
);
16273 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16274 PyObject
*resultobj
;
16275 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16277 PyObject
* obj0
= 0 ;
16278 char *kwnames
[] = {
16279 (char *) "self", NULL
16282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
16283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16287 result
= (bool)(arg1
)->IsEnabled();
16289 wxPyEndAllowThreads(__tstate
);
16290 if (PyErr_Occurred()) SWIG_fail
;
16293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16301 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16302 PyObject
*resultobj
;
16303 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16305 PyObject
* obj0
= 0 ;
16306 char *kwnames
[] = {
16307 (char *) "self", NULL
16310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
16311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16315 result
= (bool)(arg1
)->IsToggled();
16317 wxPyEndAllowThreads(__tstate
);
16318 if (PyErr_Occurred()) SWIG_fail
;
16321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16329 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16330 PyObject
*resultobj
;
16331 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16333 PyObject
* obj0
= 0 ;
16334 char *kwnames
[] = {
16335 (char *) "self", NULL
16338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
16339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16343 result
= (bool)(arg1
)->CanBeToggled();
16345 wxPyEndAllowThreads(__tstate
);
16346 if (PyErr_Occurred()) SWIG_fail
;
16349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16357 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16358 PyObject
*resultobj
;
16359 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16361 PyObject
* obj0
= 0 ;
16362 char *kwnames
[] = {
16363 (char *) "self", NULL
16366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
16367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16372 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
16373 result
= (wxBitmap
*) &_result_ref
;
16376 wxPyEndAllowThreads(__tstate
);
16377 if (PyErr_Occurred()) SWIG_fail
;
16380 wxBitmap
* resultptr
= new wxBitmap(*result
);
16381 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16389 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16390 PyObject
*resultobj
;
16391 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16393 PyObject
* obj0
= 0 ;
16394 char *kwnames
[] = {
16395 (char *) "self", NULL
16398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
16399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16404 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
16405 result
= (wxBitmap
*) &_result_ref
;
16408 wxPyEndAllowThreads(__tstate
);
16409 if (PyErr_Occurred()) SWIG_fail
;
16412 wxBitmap
* resultptr
= new wxBitmap(*result
);
16413 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16421 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16422 PyObject
*resultobj
;
16423 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16425 PyObject
* obj0
= 0 ;
16426 char *kwnames
[] = {
16427 (char *) "self", NULL
16430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
16431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16435 result
= (arg1
)->GetBitmap();
16437 wxPyEndAllowThreads(__tstate
);
16438 if (PyErr_Occurred()) SWIG_fail
;
16441 wxBitmap
* resultptr
;
16442 resultptr
= new wxBitmap((wxBitmap
&) result
);
16443 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16451 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16452 PyObject
*resultobj
;
16453 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16455 PyObject
* obj0
= 0 ;
16456 char *kwnames
[] = {
16457 (char *) "self", NULL
16460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
16461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16465 result
= (arg1
)->GetLabel();
16467 wxPyEndAllowThreads(__tstate
);
16468 if (PyErr_Occurred()) SWIG_fail
;
16472 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16474 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16483 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16484 PyObject
*resultobj
;
16485 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16487 PyObject
* obj0
= 0 ;
16488 char *kwnames
[] = {
16489 (char *) "self", NULL
16492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
16493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16497 result
= (arg1
)->GetShortHelp();
16499 wxPyEndAllowThreads(__tstate
);
16500 if (PyErr_Occurred()) SWIG_fail
;
16504 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16506 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16515 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16516 PyObject
*resultobj
;
16517 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16519 PyObject
* obj0
= 0 ;
16520 char *kwnames
[] = {
16521 (char *) "self", NULL
16524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
16525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16529 result
= (arg1
)->GetLongHelp();
16531 wxPyEndAllowThreads(__tstate
);
16532 if (PyErr_Occurred()) SWIG_fail
;
16536 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16538 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16547 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16548 PyObject
*resultobj
;
16549 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16552 PyObject
* obj0
= 0 ;
16553 PyObject
* obj1
= 0 ;
16554 char *kwnames
[] = {
16555 (char *) "self",(char *) "enable", NULL
16558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
16559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16561 arg2
= (bool)SWIG_As_bool(obj1
);
16562 if (PyErr_Occurred()) SWIG_fail
;
16564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16565 result
= (bool)(arg1
)->Enable(arg2
);
16567 wxPyEndAllowThreads(__tstate
);
16568 if (PyErr_Occurred()) SWIG_fail
;
16571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16579 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16580 PyObject
*resultobj
;
16581 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16582 PyObject
* obj0
= 0 ;
16583 char *kwnames
[] = {
16584 (char *) "self", NULL
16587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
16588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16594 wxPyEndAllowThreads(__tstate
);
16595 if (PyErr_Occurred()) SWIG_fail
;
16597 Py_INCREF(Py_None
); resultobj
= Py_None
;
16604 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16605 PyObject
*resultobj
;
16606 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16609 PyObject
* obj0
= 0 ;
16610 PyObject
* obj1
= 0 ;
16611 char *kwnames
[] = {
16612 (char *) "self",(char *) "toggle", NULL
16615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
16616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16618 arg2
= (bool)SWIG_As_bool(obj1
);
16619 if (PyErr_Occurred()) SWIG_fail
;
16621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16622 result
= (bool)(arg1
)->SetToggle(arg2
);
16624 wxPyEndAllowThreads(__tstate
);
16625 if (PyErr_Occurred()) SWIG_fail
;
16628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16636 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16637 PyObject
*resultobj
;
16638 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16639 wxString
*arg2
= 0 ;
16641 bool temp2
= False
;
16642 PyObject
* obj0
= 0 ;
16643 PyObject
* obj1
= 0 ;
16644 char *kwnames
[] = {
16645 (char *) "self",(char *) "help", NULL
16648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16652 arg2
= wxString_in_helper(obj1
);
16653 if (arg2
== NULL
) SWIG_fail
;
16657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16658 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
16660 wxPyEndAllowThreads(__tstate
);
16661 if (PyErr_Occurred()) SWIG_fail
;
16664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16680 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16681 PyObject
*resultobj
;
16682 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16683 wxString
*arg2
= 0 ;
16685 bool temp2
= False
;
16686 PyObject
* obj0
= 0 ;
16687 PyObject
* obj1
= 0 ;
16688 char *kwnames
[] = {
16689 (char *) "self",(char *) "help", NULL
16692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16696 arg2
= wxString_in_helper(obj1
);
16697 if (arg2
== NULL
) SWIG_fail
;
16701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16702 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
16704 wxPyEndAllowThreads(__tstate
);
16705 if (PyErr_Occurred()) SWIG_fail
;
16708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16724 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16725 PyObject
*resultobj
;
16726 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16727 wxBitmap
*arg2
= 0 ;
16728 PyObject
* obj0
= 0 ;
16729 PyObject
* obj1
= 0 ;
16730 char *kwnames
[] = {
16731 (char *) "self",(char *) "bmp", NULL
16734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
16735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16737 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16738 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16740 if (arg2
== NULL
) {
16741 PyErr_SetString(PyExc_TypeError
,"null reference");
16745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16746 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
16748 wxPyEndAllowThreads(__tstate
);
16749 if (PyErr_Occurred()) SWIG_fail
;
16751 Py_INCREF(Py_None
); resultobj
= Py_None
;
16758 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16759 PyObject
*resultobj
;
16760 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16761 wxBitmap
*arg2
= 0 ;
16762 PyObject
* obj0
= 0 ;
16763 PyObject
* obj1
= 0 ;
16764 char *kwnames
[] = {
16765 (char *) "self",(char *) "bmp", NULL
16768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
16769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16771 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16772 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16774 if (arg2
== NULL
) {
16775 PyErr_SetString(PyExc_TypeError
,"null reference");
16779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16780 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
16782 wxPyEndAllowThreads(__tstate
);
16783 if (PyErr_Occurred()) SWIG_fail
;
16785 Py_INCREF(Py_None
); resultobj
= Py_None
;
16792 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16793 PyObject
*resultobj
;
16794 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16795 wxString
*arg2
= 0 ;
16796 bool temp2
= False
;
16797 PyObject
* obj0
= 0 ;
16798 PyObject
* obj1
= 0 ;
16799 char *kwnames
[] = {
16800 (char *) "self",(char *) "label", NULL
16803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
16804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16807 arg2
= wxString_in_helper(obj1
);
16808 if (arg2
== NULL
) SWIG_fail
;
16812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16813 (arg1
)->SetLabel((wxString
const &)*arg2
);
16815 wxPyEndAllowThreads(__tstate
);
16816 if (PyErr_Occurred()) SWIG_fail
;
16818 Py_INCREF(Py_None
); resultobj
= Py_None
;
16833 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16834 PyObject
*resultobj
;
16835 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16836 PyObject
* obj0
= 0 ;
16837 char *kwnames
[] = {
16838 (char *) "self", NULL
16841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
16842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16848 wxPyEndAllowThreads(__tstate
);
16849 if (PyErr_Occurred()) SWIG_fail
;
16851 Py_INCREF(Py_None
); resultobj
= Py_None
;
16858 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16859 PyObject
*resultobj
;
16860 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16861 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
16862 PyObject
* obj0
= 0 ;
16863 PyObject
* obj1
= 0 ;
16864 char *kwnames
[] = {
16865 (char *) "self",(char *) "tbar", NULL
16868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
16869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16871 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
,
16872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16875 (arg1
)->Attach(arg2
);
16877 wxPyEndAllowThreads(__tstate
);
16878 if (PyErr_Occurred()) SWIG_fail
;
16880 Py_INCREF(Py_None
); resultobj
= Py_None
;
16887 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16888 PyObject
*resultobj
;
16889 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16891 PyObject
* obj0
= 0 ;
16892 char *kwnames
[] = {
16893 (char *) "self", NULL
16896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
16897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16901 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
16903 wxPyEndAllowThreads(__tstate
);
16904 if (PyErr_Occurred()) SWIG_fail
;
16906 resultobj
= result
;
16913 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16914 PyObject
*resultobj
;
16915 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16916 PyObject
*arg2
= (PyObject
*) 0 ;
16917 PyObject
* obj0
= 0 ;
16918 PyObject
* obj1
= 0 ;
16919 char *kwnames
[] = {
16920 (char *) "self",(char *) "clientData", NULL
16923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16929 wxToolBarToolBase_SetClientData(arg1
,arg2
);
16931 wxPyEndAllowThreads(__tstate
);
16932 if (PyErr_Occurred()) SWIG_fail
;
16934 Py_INCREF(Py_None
); resultobj
= Py_None
;
16941 static PyObject
* ToolBarToolBase_swigregister(PyObject
*, PyObject
*args
) {
16943 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16944 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
16946 return Py_BuildValue((char *)"");
16948 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16949 PyObject
*resultobj
;
16950 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16952 wxString
*arg3
= 0 ;
16953 wxBitmap
*arg4
= 0 ;
16954 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
16955 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
16956 int arg6
= (int) wxITEM_NORMAL
;
16957 wxString
const &arg7_defvalue
= wxPyEmptyString
;
16958 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16959 wxString
const &arg8_defvalue
= wxPyEmptyString
;
16960 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16961 PyObject
*arg9
= (PyObject
*) NULL
;
16962 wxToolBarToolBase
*result
;
16963 bool temp3
= False
;
16964 bool temp7
= False
;
16965 bool temp8
= False
;
16966 PyObject
* obj0
= 0 ;
16967 PyObject
* obj1
= 0 ;
16968 PyObject
* obj2
= 0 ;
16969 PyObject
* obj3
= 0 ;
16970 PyObject
* obj4
= 0 ;
16971 PyObject
* obj5
= 0 ;
16972 PyObject
* obj6
= 0 ;
16973 PyObject
* obj7
= 0 ;
16974 PyObject
* obj8
= 0 ;
16975 char *kwnames
[] = {
16976 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
16980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16982 arg2
= (int)SWIG_As_int(obj1
);
16983 if (PyErr_Occurred()) SWIG_fail
;
16985 arg3
= wxString_in_helper(obj2
);
16986 if (arg3
== NULL
) SWIG_fail
;
16989 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
16990 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16992 if (arg4
== NULL
) {
16993 PyErr_SetString(PyExc_TypeError
,"null reference");
16997 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
16998 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17000 if (arg5
== NULL
) {
17001 PyErr_SetString(PyExc_TypeError
,"null reference");
17006 arg6
= (int)SWIG_As_int(obj5
);
17007 if (PyErr_Occurred()) SWIG_fail
;
17011 arg7
= wxString_in_helper(obj6
);
17012 if (arg7
== NULL
) SWIG_fail
;
17018 arg8
= wxString_in_helper(obj7
);
17019 if (arg8
== NULL
) SWIG_fail
;
17027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17028 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
17030 wxPyEndAllowThreads(__tstate
);
17031 if (PyErr_Occurred()) SWIG_fail
;
17034 resultobj
= wxPyMake_wxObject(result
, 0);
17066 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17067 PyObject
*resultobj
;
17068 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17071 wxString
*arg4
= 0 ;
17072 wxBitmap
*arg5
= 0 ;
17073 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
17074 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
17075 int arg7
= (int) wxITEM_NORMAL
;
17076 wxString
const &arg8_defvalue
= wxPyEmptyString
;
17077 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17078 wxString
const &arg9_defvalue
= wxPyEmptyString
;
17079 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17080 PyObject
*arg10
= (PyObject
*) NULL
;
17081 wxToolBarToolBase
*result
;
17082 bool temp4
= False
;
17083 bool temp8
= False
;
17084 bool temp9
= False
;
17085 PyObject
* obj0
= 0 ;
17086 PyObject
* obj1
= 0 ;
17087 PyObject
* obj2
= 0 ;
17088 PyObject
* obj3
= 0 ;
17089 PyObject
* obj4
= 0 ;
17090 PyObject
* obj5
= 0 ;
17091 PyObject
* obj6
= 0 ;
17092 PyObject
* obj7
= 0 ;
17093 PyObject
* obj8
= 0 ;
17094 PyObject
* obj9
= 0 ;
17095 char *kwnames
[] = {
17096 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
17099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
17100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17102 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17103 if (PyErr_Occurred()) SWIG_fail
;
17104 arg3
= (int)SWIG_As_int(obj2
);
17105 if (PyErr_Occurred()) SWIG_fail
;
17107 arg4
= wxString_in_helper(obj3
);
17108 if (arg4
== NULL
) SWIG_fail
;
17111 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
17112 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17114 if (arg5
== NULL
) {
17115 PyErr_SetString(PyExc_TypeError
,"null reference");
17119 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
,
17120 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17122 if (arg6
== NULL
) {
17123 PyErr_SetString(PyExc_TypeError
,"null reference");
17128 arg7
= (int)SWIG_As_int(obj6
);
17129 if (PyErr_Occurred()) SWIG_fail
;
17133 arg8
= wxString_in_helper(obj7
);
17134 if (arg8
== NULL
) SWIG_fail
;
17140 arg9
= wxString_in_helper(obj8
);
17141 if (arg9
== NULL
) SWIG_fail
;
17149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17150 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
);
17152 wxPyEndAllowThreads(__tstate
);
17153 if (PyErr_Occurred()) SWIG_fail
;
17156 resultobj
= wxPyMake_wxObject(result
, 0);
17188 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17189 PyObject
*resultobj
;
17190 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17191 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
17192 wxToolBarToolBase
*result
;
17193 PyObject
* obj0
= 0 ;
17194 PyObject
* obj1
= 0 ;
17195 char *kwnames
[] = {
17196 (char *) "self",(char *) "tool", NULL
17199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
17200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17202 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
,
17203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17206 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
17208 wxPyEndAllowThreads(__tstate
);
17209 if (PyErr_Occurred()) SWIG_fail
;
17212 resultobj
= wxPyMake_wxObject(result
, 0);
17220 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17221 PyObject
*resultobj
;
17222 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17224 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
17225 wxToolBarToolBase
*result
;
17226 PyObject
* obj0
= 0 ;
17227 PyObject
* obj1
= 0 ;
17228 PyObject
* obj2
= 0 ;
17229 char *kwnames
[] = {
17230 (char *) "self",(char *) "pos",(char *) "tool", NULL
17233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17236 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17237 if (PyErr_Occurred()) SWIG_fail
;
17238 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
,
17239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17242 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
17244 wxPyEndAllowThreads(__tstate
);
17245 if (PyErr_Occurred()) SWIG_fail
;
17248 resultobj
= wxPyMake_wxObject(result
, 0);
17256 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17257 PyObject
*resultobj
;
17258 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17259 wxControl
*arg2
= (wxControl
*) 0 ;
17260 wxToolBarToolBase
*result
;
17261 PyObject
* obj0
= 0 ;
17262 PyObject
* obj1
= 0 ;
17263 char *kwnames
[] = {
17264 (char *) "self",(char *) "control", NULL
17267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17270 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
17271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17274 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
17276 wxPyEndAllowThreads(__tstate
);
17277 if (PyErr_Occurred()) SWIG_fail
;
17280 resultobj
= wxPyMake_wxObject(result
, 0);
17288 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17289 PyObject
*resultobj
;
17290 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17292 wxControl
*arg3
= (wxControl
*) 0 ;
17293 wxToolBarToolBase
*result
;
17294 PyObject
* obj0
= 0 ;
17295 PyObject
* obj1
= 0 ;
17296 PyObject
* obj2
= 0 ;
17297 char *kwnames
[] = {
17298 (char *) "self",(char *) "pos",(char *) "control", NULL
17301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17304 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17305 if (PyErr_Occurred()) SWIG_fail
;
17306 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
,
17307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17310 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
17312 wxPyEndAllowThreads(__tstate
);
17313 if (PyErr_Occurred()) SWIG_fail
;
17316 resultobj
= wxPyMake_wxObject(result
, 0);
17324 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17325 PyObject
*resultobj
;
17326 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17329 PyObject
* obj0
= 0 ;
17330 PyObject
* obj1
= 0 ;
17331 char *kwnames
[] = {
17332 (char *) "self",(char *) "id", NULL
17335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17338 arg2
= (int)SWIG_As_int(obj1
);
17339 if (PyErr_Occurred()) SWIG_fail
;
17341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17342 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
17344 wxPyEndAllowThreads(__tstate
);
17345 if (PyErr_Occurred()) SWIG_fail
;
17348 resultobj
= wxPyMake_wxObject(result
, 0);
17356 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17357 PyObject
*resultobj
;
17358 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17359 wxToolBarToolBase
*result
;
17360 PyObject
* obj0
= 0 ;
17361 char *kwnames
[] = {
17362 (char *) "self", NULL
17365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
17366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17370 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
17372 wxPyEndAllowThreads(__tstate
);
17373 if (PyErr_Occurred()) SWIG_fail
;
17376 resultobj
= wxPyMake_wxObject(result
, 0);
17384 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17385 PyObject
*resultobj
;
17386 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17388 wxToolBarToolBase
*result
;
17389 PyObject
* obj0
= 0 ;
17390 PyObject
* obj1
= 0 ;
17391 char *kwnames
[] = {
17392 (char *) "self",(char *) "pos", NULL
17395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
17396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17398 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17399 if (PyErr_Occurred()) SWIG_fail
;
17401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17402 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
17404 wxPyEndAllowThreads(__tstate
);
17405 if (PyErr_Occurred()) SWIG_fail
;
17408 resultobj
= wxPyMake_wxObject(result
, 0);
17416 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17417 PyObject
*resultobj
;
17418 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17420 wxToolBarToolBase
*result
;
17421 PyObject
* obj0
= 0 ;
17422 PyObject
* obj1
= 0 ;
17423 char *kwnames
[] = {
17424 (char *) "self",(char *) "id", NULL
17427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17430 arg2
= (int)SWIG_As_int(obj1
);
17431 if (PyErr_Occurred()) SWIG_fail
;
17433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17434 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
17436 wxPyEndAllowThreads(__tstate
);
17437 if (PyErr_Occurred()) SWIG_fail
;
17440 resultobj
= wxPyMake_wxObject(result
, 0);
17448 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17449 PyObject
*resultobj
;
17450 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17453 PyObject
* obj0
= 0 ;
17454 PyObject
* obj1
= 0 ;
17455 char *kwnames
[] = {
17456 (char *) "self",(char *) "pos", NULL
17459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17462 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17463 if (PyErr_Occurred()) SWIG_fail
;
17465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17466 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
17468 wxPyEndAllowThreads(__tstate
);
17469 if (PyErr_Occurred()) SWIG_fail
;
17472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17480 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17481 PyObject
*resultobj
;
17482 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17485 PyObject
* obj0
= 0 ;
17486 PyObject
* obj1
= 0 ;
17487 char *kwnames
[] = {
17488 (char *) "self",(char *) "id", NULL
17491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17494 arg2
= (int)SWIG_As_int(obj1
);
17495 if (PyErr_Occurred()) SWIG_fail
;
17497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17498 result
= (bool)(arg1
)->DeleteTool(arg2
);
17500 wxPyEndAllowThreads(__tstate
);
17501 if (PyErr_Occurred()) SWIG_fail
;
17504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17512 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17513 PyObject
*resultobj
;
17514 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17515 PyObject
* obj0
= 0 ;
17516 char *kwnames
[] = {
17517 (char *) "self", NULL
17520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
17521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17525 (arg1
)->ClearTools();
17527 wxPyEndAllowThreads(__tstate
);
17528 if (PyErr_Occurred()) SWIG_fail
;
17530 Py_INCREF(Py_None
); resultobj
= Py_None
;
17537 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17538 PyObject
*resultobj
;
17539 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17541 PyObject
* obj0
= 0 ;
17542 char *kwnames
[] = {
17543 (char *) "self", NULL
17546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
17547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17551 result
= (bool)(arg1
)->Realize();
17553 wxPyEndAllowThreads(__tstate
);
17554 if (PyErr_Occurred()) SWIG_fail
;
17557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17565 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17566 PyObject
*resultobj
;
17567 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17570 PyObject
* obj0
= 0 ;
17571 PyObject
* obj1
= 0 ;
17572 PyObject
* obj2
= 0 ;
17573 char *kwnames
[] = {
17574 (char *) "self",(char *) "id",(char *) "enable", NULL
17577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17580 arg2
= (int)SWIG_As_int(obj1
);
17581 if (PyErr_Occurred()) SWIG_fail
;
17582 arg3
= (bool)SWIG_As_bool(obj2
);
17583 if (PyErr_Occurred()) SWIG_fail
;
17585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17586 (arg1
)->EnableTool(arg2
,arg3
);
17588 wxPyEndAllowThreads(__tstate
);
17589 if (PyErr_Occurred()) SWIG_fail
;
17591 Py_INCREF(Py_None
); resultobj
= Py_None
;
17598 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17599 PyObject
*resultobj
;
17600 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17603 PyObject
* obj0
= 0 ;
17604 PyObject
* obj1
= 0 ;
17605 PyObject
* obj2
= 0 ;
17606 char *kwnames
[] = {
17607 (char *) "self",(char *) "id",(char *) "toggle", NULL
17610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17613 arg2
= (int)SWIG_As_int(obj1
);
17614 if (PyErr_Occurred()) SWIG_fail
;
17615 arg3
= (bool)SWIG_As_bool(obj2
);
17616 if (PyErr_Occurred()) SWIG_fail
;
17618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17619 (arg1
)->ToggleTool(arg2
,arg3
);
17621 wxPyEndAllowThreads(__tstate
);
17622 if (PyErr_Occurred()) SWIG_fail
;
17624 Py_INCREF(Py_None
); resultobj
= Py_None
;
17631 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17632 PyObject
*resultobj
;
17633 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17636 PyObject
* obj0
= 0 ;
17637 PyObject
* obj1
= 0 ;
17638 PyObject
* obj2
= 0 ;
17639 char *kwnames
[] = {
17640 (char *) "self",(char *) "id",(char *) "toggle", NULL
17643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17646 arg2
= (int)SWIG_As_int(obj1
);
17647 if (PyErr_Occurred()) SWIG_fail
;
17648 arg3
= (bool)SWIG_As_bool(obj2
);
17649 if (PyErr_Occurred()) SWIG_fail
;
17651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17652 (arg1
)->SetToggle(arg2
,arg3
);
17654 wxPyEndAllowThreads(__tstate
);
17655 if (PyErr_Occurred()) SWIG_fail
;
17657 Py_INCREF(Py_None
); resultobj
= Py_None
;
17664 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17665 PyObject
*resultobj
;
17666 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17669 PyObject
* obj0
= 0 ;
17670 PyObject
* obj1
= 0 ;
17671 char *kwnames
[] = {
17672 (char *) "self",(char *) "id", NULL
17675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
17676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17678 arg2
= (int)SWIG_As_int(obj1
);
17679 if (PyErr_Occurred()) SWIG_fail
;
17681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17682 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
17684 wxPyEndAllowThreads(__tstate
);
17685 if (PyErr_Occurred()) SWIG_fail
;
17687 resultobj
= result
;
17694 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17695 PyObject
*resultobj
;
17696 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17698 PyObject
*arg3
= (PyObject
*) 0 ;
17699 PyObject
* obj0
= 0 ;
17700 PyObject
* obj1
= 0 ;
17701 PyObject
* obj2
= 0 ;
17702 char *kwnames
[] = {
17703 (char *) "self",(char *) "id",(char *) "clientData", NULL
17706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17709 arg2
= (int)SWIG_As_int(obj1
);
17710 if (PyErr_Occurred()) SWIG_fail
;
17713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17714 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
17716 wxPyEndAllowThreads(__tstate
);
17717 if (PyErr_Occurred()) SWIG_fail
;
17719 Py_INCREF(Py_None
); resultobj
= Py_None
;
17726 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17727 PyObject
*resultobj
;
17728 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17731 PyObject
* obj0
= 0 ;
17732 PyObject
* obj1
= 0 ;
17733 char *kwnames
[] = {
17734 (char *) "self",(char *) "id", NULL
17737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17740 arg2
= (int)SWIG_As_int(obj1
);
17741 if (PyErr_Occurred()) SWIG_fail
;
17743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17744 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
17746 wxPyEndAllowThreads(__tstate
);
17747 if (PyErr_Occurred()) SWIG_fail
;
17749 resultobj
= SWIG_From_int((int)result
);
17756 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17757 PyObject
*resultobj
;
17758 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17761 PyObject
* obj0
= 0 ;
17762 PyObject
* obj1
= 0 ;
17763 char *kwnames
[] = {
17764 (char *) "self",(char *) "id", NULL
17767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
17768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17770 arg2
= (int)SWIG_As_int(obj1
);
17771 if (PyErr_Occurred()) SWIG_fail
;
17773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17774 result
= (bool)(arg1
)->GetToolState(arg2
);
17776 wxPyEndAllowThreads(__tstate
);
17777 if (PyErr_Occurred()) SWIG_fail
;
17780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17788 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17789 PyObject
*resultobj
;
17790 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17793 PyObject
* obj0
= 0 ;
17794 PyObject
* obj1
= 0 ;
17795 char *kwnames
[] = {
17796 (char *) "self",(char *) "id", NULL
17799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
17800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17802 arg2
= (int)SWIG_As_int(obj1
);
17803 if (PyErr_Occurred()) SWIG_fail
;
17805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17806 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
17808 wxPyEndAllowThreads(__tstate
);
17809 if (PyErr_Occurred()) SWIG_fail
;
17812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17820 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17821 PyObject
*resultobj
;
17822 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17824 wxString
*arg3
= 0 ;
17825 bool temp3
= False
;
17826 PyObject
* obj0
= 0 ;
17827 PyObject
* obj1
= 0 ;
17828 PyObject
* obj2
= 0 ;
17829 char *kwnames
[] = {
17830 (char *) "self",(char *) "id",(char *) "helpString", NULL
17833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17836 arg2
= (int)SWIG_As_int(obj1
);
17837 if (PyErr_Occurred()) SWIG_fail
;
17839 arg3
= wxString_in_helper(obj2
);
17840 if (arg3
== NULL
) SWIG_fail
;
17844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17845 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
17847 wxPyEndAllowThreads(__tstate
);
17848 if (PyErr_Occurred()) SWIG_fail
;
17850 Py_INCREF(Py_None
); resultobj
= Py_None
;
17865 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17866 PyObject
*resultobj
;
17867 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17870 PyObject
* obj0
= 0 ;
17871 PyObject
* obj1
= 0 ;
17872 char *kwnames
[] = {
17873 (char *) "self",(char *) "id", NULL
17876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17879 arg2
= (int)SWIG_As_int(obj1
);
17880 if (PyErr_Occurred()) SWIG_fail
;
17882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17883 result
= (arg1
)->GetToolShortHelp(arg2
);
17885 wxPyEndAllowThreads(__tstate
);
17886 if (PyErr_Occurred()) SWIG_fail
;
17890 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17892 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17901 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17902 PyObject
*resultobj
;
17903 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17905 wxString
*arg3
= 0 ;
17906 bool temp3
= False
;
17907 PyObject
* obj0
= 0 ;
17908 PyObject
* obj1
= 0 ;
17909 PyObject
* obj2
= 0 ;
17910 char *kwnames
[] = {
17911 (char *) "self",(char *) "id",(char *) "helpString", NULL
17914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17917 arg2
= (int)SWIG_As_int(obj1
);
17918 if (PyErr_Occurred()) SWIG_fail
;
17920 arg3
= wxString_in_helper(obj2
);
17921 if (arg3
== NULL
) SWIG_fail
;
17925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17926 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
17928 wxPyEndAllowThreads(__tstate
);
17929 if (PyErr_Occurred()) SWIG_fail
;
17931 Py_INCREF(Py_None
); resultobj
= Py_None
;
17946 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17947 PyObject
*resultobj
;
17948 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17951 PyObject
* obj0
= 0 ;
17952 PyObject
* obj1
= 0 ;
17953 char *kwnames
[] = {
17954 (char *) "self",(char *) "id", NULL
17957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17960 arg2
= (int)SWIG_As_int(obj1
);
17961 if (PyErr_Occurred()) SWIG_fail
;
17963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17964 result
= (arg1
)->GetToolLongHelp(arg2
);
17966 wxPyEndAllowThreads(__tstate
);
17967 if (PyErr_Occurred()) SWIG_fail
;
17971 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17973 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17982 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17983 PyObject
*resultobj
;
17984 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17987 PyObject
* obj0
= 0 ;
17988 PyObject
* obj1
= 0 ;
17989 PyObject
* obj2
= 0 ;
17990 char *kwnames
[] = {
17991 (char *) "self",(char *) "x",(char *) "y", NULL
17994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17997 arg2
= (int)SWIG_As_int(obj1
);
17998 if (PyErr_Occurred()) SWIG_fail
;
17999 arg3
= (int)SWIG_As_int(obj2
);
18000 if (PyErr_Occurred()) SWIG_fail
;
18002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18003 (arg1
)->SetMargins(arg2
,arg3
);
18005 wxPyEndAllowThreads(__tstate
);
18006 if (PyErr_Occurred()) SWIG_fail
;
18008 Py_INCREF(Py_None
); resultobj
= Py_None
;
18015 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18016 PyObject
*resultobj
;
18017 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18020 PyObject
* obj0
= 0 ;
18021 PyObject
* obj1
= 0 ;
18022 char *kwnames
[] = {
18023 (char *) "self",(char *) "size", NULL
18026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
18027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18031 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18035 (arg1
)->SetMargins((wxSize
const &)*arg2
);
18037 wxPyEndAllowThreads(__tstate
);
18038 if (PyErr_Occurred()) SWIG_fail
;
18040 Py_INCREF(Py_None
); resultobj
= Py_None
;
18047 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18048 PyObject
*resultobj
;
18049 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18051 PyObject
* obj0
= 0 ;
18052 PyObject
* obj1
= 0 ;
18053 char *kwnames
[] = {
18054 (char *) "self",(char *) "packing", NULL
18057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
18058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18060 arg2
= (int)SWIG_As_int(obj1
);
18061 if (PyErr_Occurred()) SWIG_fail
;
18063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18064 (arg1
)->SetToolPacking(arg2
);
18066 wxPyEndAllowThreads(__tstate
);
18067 if (PyErr_Occurred()) SWIG_fail
;
18069 Py_INCREF(Py_None
); resultobj
= Py_None
;
18076 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18077 PyObject
*resultobj
;
18078 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18080 PyObject
* obj0
= 0 ;
18081 PyObject
* obj1
= 0 ;
18082 char *kwnames
[] = {
18083 (char *) "self",(char *) "separation", NULL
18086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
18087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18089 arg2
= (int)SWIG_As_int(obj1
);
18090 if (PyErr_Occurred()) SWIG_fail
;
18092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18093 (arg1
)->SetToolSeparation(arg2
);
18095 wxPyEndAllowThreads(__tstate
);
18096 if (PyErr_Occurred()) SWIG_fail
;
18098 Py_INCREF(Py_None
); resultobj
= Py_None
;
18105 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18106 PyObject
*resultobj
;
18107 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18109 PyObject
* obj0
= 0 ;
18110 char *kwnames
[] = {
18111 (char *) "self", NULL
18114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
18115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18119 result
= (arg1
)->GetToolMargins();
18121 wxPyEndAllowThreads(__tstate
);
18122 if (PyErr_Occurred()) SWIG_fail
;
18125 wxSize
* resultptr
;
18126 resultptr
= new wxSize((wxSize
&) result
);
18127 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18135 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18136 PyObject
*resultobj
;
18137 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18139 PyObject
* obj0
= 0 ;
18140 char *kwnames
[] = {
18141 (char *) "self", NULL
18144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
18145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18149 result
= (arg1
)->GetMargins();
18151 wxPyEndAllowThreads(__tstate
);
18152 if (PyErr_Occurred()) SWIG_fail
;
18155 wxSize
* resultptr
;
18156 resultptr
= new wxSize((wxSize
&) result
);
18157 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18165 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18166 PyObject
*resultobj
;
18167 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18169 PyObject
* obj0
= 0 ;
18170 char *kwnames
[] = {
18171 (char *) "self", NULL
18174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
18175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18179 result
= (int)(arg1
)->GetToolPacking();
18181 wxPyEndAllowThreads(__tstate
);
18182 if (PyErr_Occurred()) SWIG_fail
;
18184 resultobj
= SWIG_From_int((int)result
);
18191 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18192 PyObject
*resultobj
;
18193 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18195 PyObject
* obj0
= 0 ;
18196 char *kwnames
[] = {
18197 (char *) "self", NULL
18200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
18201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18205 result
= (int)(arg1
)->GetToolSeparation();
18207 wxPyEndAllowThreads(__tstate
);
18208 if (PyErr_Occurred()) SWIG_fail
;
18210 resultobj
= SWIG_From_int((int)result
);
18217 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18218 PyObject
*resultobj
;
18219 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18221 PyObject
* obj0
= 0 ;
18222 PyObject
* obj1
= 0 ;
18223 char *kwnames
[] = {
18224 (char *) "self",(char *) "nRows", NULL
18227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
18228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18230 arg2
= (int)SWIG_As_int(obj1
);
18231 if (PyErr_Occurred()) SWIG_fail
;
18233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18234 (arg1
)->SetRows(arg2
);
18236 wxPyEndAllowThreads(__tstate
);
18237 if (PyErr_Occurred()) SWIG_fail
;
18239 Py_INCREF(Py_None
); resultobj
= Py_None
;
18246 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18247 PyObject
*resultobj
;
18248 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18251 PyObject
* obj0
= 0 ;
18252 PyObject
* obj1
= 0 ;
18253 PyObject
* obj2
= 0 ;
18254 char *kwnames
[] = {
18255 (char *) "self",(char *) "rows",(char *) "cols", NULL
18258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18261 arg2
= (int)SWIG_As_int(obj1
);
18262 if (PyErr_Occurred()) SWIG_fail
;
18263 arg3
= (int)SWIG_As_int(obj2
);
18264 if (PyErr_Occurred()) SWIG_fail
;
18266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18267 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
18269 wxPyEndAllowThreads(__tstate
);
18270 if (PyErr_Occurred()) SWIG_fail
;
18272 Py_INCREF(Py_None
); resultobj
= Py_None
;
18279 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18280 PyObject
*resultobj
;
18281 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18283 PyObject
* obj0
= 0 ;
18284 char *kwnames
[] = {
18285 (char *) "self", NULL
18288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
18289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18293 result
= (int)(arg1
)->GetMaxRows();
18295 wxPyEndAllowThreads(__tstate
);
18296 if (PyErr_Occurred()) SWIG_fail
;
18298 resultobj
= SWIG_From_int((int)result
);
18305 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18306 PyObject
*resultobj
;
18307 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18309 PyObject
* obj0
= 0 ;
18310 char *kwnames
[] = {
18311 (char *) "self", NULL
18314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
18315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18319 result
= (int)(arg1
)->GetMaxCols();
18321 wxPyEndAllowThreads(__tstate
);
18322 if (PyErr_Occurred()) SWIG_fail
;
18324 resultobj
= SWIG_From_int((int)result
);
18331 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18332 PyObject
*resultobj
;
18333 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18336 PyObject
* obj0
= 0 ;
18337 PyObject
* obj1
= 0 ;
18338 char *kwnames
[] = {
18339 (char *) "self",(char *) "size", NULL
18342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18347 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18351 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
18353 wxPyEndAllowThreads(__tstate
);
18354 if (PyErr_Occurred()) SWIG_fail
;
18356 Py_INCREF(Py_None
); resultobj
= Py_None
;
18363 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18364 PyObject
*resultobj
;
18365 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18367 PyObject
* obj0
= 0 ;
18368 char *kwnames
[] = {
18369 (char *) "self", NULL
18372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
18373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18377 result
= (arg1
)->GetToolBitmapSize();
18379 wxPyEndAllowThreads(__tstate
);
18380 if (PyErr_Occurred()) SWIG_fail
;
18383 wxSize
* resultptr
;
18384 resultptr
= new wxSize((wxSize
&) result
);
18385 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18393 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18394 PyObject
*resultobj
;
18395 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18397 PyObject
* obj0
= 0 ;
18398 char *kwnames
[] = {
18399 (char *) "self", NULL
18402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
18403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18407 result
= (arg1
)->GetToolSize();
18409 wxPyEndAllowThreads(__tstate
);
18410 if (PyErr_Occurred()) SWIG_fail
;
18413 wxSize
* resultptr
;
18414 resultptr
= new wxSize((wxSize
&) result
);
18415 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18423 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18424 PyObject
*resultobj
;
18425 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18428 wxToolBarToolBase
*result
;
18429 PyObject
* obj0
= 0 ;
18430 PyObject
* obj1
= 0 ;
18431 PyObject
* obj2
= 0 ;
18432 char *kwnames
[] = {
18433 (char *) "self",(char *) "x",(char *) "y", NULL
18436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18439 arg2
= (int)SWIG_As_int(obj1
);
18440 if (PyErr_Occurred()) SWIG_fail
;
18441 arg3
= (int)SWIG_As_int(obj2
);
18442 if (PyErr_Occurred()) SWIG_fail
;
18444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18445 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18447 wxPyEndAllowThreads(__tstate
);
18448 if (PyErr_Occurred()) SWIG_fail
;
18451 resultobj
= wxPyMake_wxObject(result
, 0);
18459 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18460 PyObject
*resultobj
;
18461 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18463 wxToolBarToolBase
*result
;
18464 PyObject
* obj0
= 0 ;
18465 PyObject
* obj1
= 0 ;
18466 char *kwnames
[] = {
18467 (char *) "self",(char *) "toolid", NULL
18470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
18471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18473 arg2
= (int)SWIG_As_int(obj1
);
18474 if (PyErr_Occurred()) SWIG_fail
;
18476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18477 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
18479 wxPyEndAllowThreads(__tstate
);
18480 if (PyErr_Occurred()) SWIG_fail
;
18483 resultobj
= wxPyMake_wxObject(result
, 0);
18491 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18492 PyObject
*resultobj
;
18493 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18495 PyObject
* obj0
= 0 ;
18496 char *kwnames
[] = {
18497 (char *) "self", NULL
18500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
18501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18505 result
= (bool)(arg1
)->IsVertical();
18507 wxPyEndAllowThreads(__tstate
);
18508 if (PyErr_Occurred()) SWIG_fail
;
18511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18519 static PyObject
* ToolBarBase_swigregister(PyObject
*, PyObject
*args
) {
18521 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18522 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
18524 return Py_BuildValue((char *)"");
18526 static PyObject
*_wrap_new_ToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18527 PyObject
*resultobj
;
18528 wxWindow
*arg1
= (wxWindow
*) 0 ;
18529 int arg2
= (int) -1 ;
18530 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18531 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18532 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18533 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18534 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18535 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
18536 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18540 bool temp6
= False
;
18541 PyObject
* obj0
= 0 ;
18542 PyObject
* obj1
= 0 ;
18543 PyObject
* obj2
= 0 ;
18544 PyObject
* obj3
= 0 ;
18545 PyObject
* obj4
= 0 ;
18546 PyObject
* obj5
= 0 ;
18547 char *kwnames
[] = {
18548 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18555 arg2
= (int)SWIG_As_int(obj1
);
18556 if (PyErr_Occurred()) SWIG_fail
;
18561 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18567 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18571 arg5
= (long)SWIG_As_long(obj4
);
18572 if (PyErr_Occurred()) SWIG_fail
;
18576 arg6
= wxString_in_helper(obj5
);
18577 if (arg6
== NULL
) SWIG_fail
;
18582 if (!wxPyCheckForApp()) SWIG_fail
;
18583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18584 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18586 wxPyEndAllowThreads(__tstate
);
18587 if (PyErr_Occurred()) SWIG_fail
;
18589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
18604 static PyObject
*_wrap_new_PreToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18605 PyObject
*resultobj
;
18607 char *kwnames
[] = {
18611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
18613 if (!wxPyCheckForApp()) SWIG_fail
;
18614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18615 result
= (wxToolBar
*)new wxToolBar();
18617 wxPyEndAllowThreads(__tstate
);
18618 if (PyErr_Occurred()) SWIG_fail
;
18620 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
18627 static PyObject
*_wrap_ToolBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18628 PyObject
*resultobj
;
18629 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18630 wxWindow
*arg2
= (wxWindow
*) 0 ;
18631 int arg3
= (int) -1 ;
18632 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18633 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18634 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18635 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18636 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18637 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
18638 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18642 bool temp7
= False
;
18643 PyObject
* obj0
= 0 ;
18644 PyObject
* obj1
= 0 ;
18645 PyObject
* obj2
= 0 ;
18646 PyObject
* obj3
= 0 ;
18647 PyObject
* obj4
= 0 ;
18648 PyObject
* obj5
= 0 ;
18649 PyObject
* obj6
= 0 ;
18650 char *kwnames
[] = {
18651 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
18656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18657 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18660 arg3
= (int)SWIG_As_int(obj2
);
18661 if (PyErr_Occurred()) SWIG_fail
;
18666 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18672 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18676 arg6
= (long)SWIG_As_long(obj5
);
18677 if (PyErr_Occurred()) SWIG_fail
;
18681 arg7
= wxString_in_helper(obj6
);
18682 if (arg7
== NULL
) SWIG_fail
;
18687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18688 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18690 wxPyEndAllowThreads(__tstate
);
18691 if (PyErr_Occurred()) SWIG_fail
;
18694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18710 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18711 PyObject
*resultobj
;
18712 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18715 wxToolBarToolBase
*result
;
18716 PyObject
* obj0
= 0 ;
18717 PyObject
* obj1
= 0 ;
18718 PyObject
* obj2
= 0 ;
18719 char *kwnames
[] = {
18720 (char *) "self",(char *) "x",(char *) "y", NULL
18723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
18725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18726 arg2
= (int)SWIG_As_int(obj1
);
18727 if (PyErr_Occurred()) SWIG_fail
;
18728 arg3
= (int)SWIG_As_int(obj2
);
18729 if (PyErr_Occurred()) SWIG_fail
;
18731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18732 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18734 wxPyEndAllowThreads(__tstate
);
18735 if (PyErr_Occurred()) SWIG_fail
;
18738 resultobj
= wxPyMake_wxObject(result
, 0);
18746 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18747 PyObject
*resultobj
;
18748 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
18749 wxVisualAttributes result
;
18750 PyObject
* obj0
= 0 ;
18751 char *kwnames
[] = {
18752 (char *) "variant", NULL
18755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18757 arg1
= (int)SWIG_As_int(obj0
);
18758 if (PyErr_Occurred()) SWIG_fail
;
18761 if (!wxPyCheckForApp()) SWIG_fail
;
18762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18763 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
18765 wxPyEndAllowThreads(__tstate
);
18766 if (PyErr_Occurred()) SWIG_fail
;
18769 wxVisualAttributes
* resultptr
;
18770 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
18771 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18779 static PyObject
* ToolBar_swigregister(PyObject
*, PyObject
*args
) {
18781 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18782 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
18784 return Py_BuildValue((char *)"");
18786 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
18787 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
18792 static PyObject
*_wrap_ListCtrlNameStr_get() {
18797 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
18799 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
18806 static PyObject
*_wrap_new_ListItemAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18807 PyObject
*resultobj
;
18808 wxColour
const &arg1_defvalue
= wxNullColour
;
18809 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
18810 wxColour
const &arg2_defvalue
= wxNullColour
;
18811 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
18812 wxFont
const &arg3_defvalue
= wxNullFont
;
18813 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
18814 wxListItemAttr
*result
;
18817 PyObject
* obj0
= 0 ;
18818 PyObject
* obj1
= 0 ;
18819 PyObject
* obj2
= 0 ;
18820 char *kwnames
[] = {
18821 (char *) "colText",(char *) "colBack",(char *) "font", NULL
18824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18828 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
18834 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18838 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
18839 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18841 if (arg3
== NULL
) {
18842 PyErr_SetString(PyExc_TypeError
,"null reference");
18847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18848 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
18850 wxPyEndAllowThreads(__tstate
);
18851 if (PyErr_Occurred()) SWIG_fail
;
18853 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
18860 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18861 PyObject
*resultobj
;
18862 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18863 wxColour
*arg2
= 0 ;
18865 PyObject
* obj0
= 0 ;
18866 PyObject
* obj1
= 0 ;
18867 char *kwnames
[] = {
18868 (char *) "self",(char *) "colText", NULL
18871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18876 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18880 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18882 wxPyEndAllowThreads(__tstate
);
18883 if (PyErr_Occurred()) SWIG_fail
;
18885 Py_INCREF(Py_None
); resultobj
= Py_None
;
18892 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18893 PyObject
*resultobj
;
18894 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18895 wxColour
*arg2
= 0 ;
18897 PyObject
* obj0
= 0 ;
18898 PyObject
* obj1
= 0 ;
18899 char *kwnames
[] = {
18900 (char *) "self",(char *) "colBack", NULL
18903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18908 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18912 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18914 wxPyEndAllowThreads(__tstate
);
18915 if (PyErr_Occurred()) SWIG_fail
;
18917 Py_INCREF(Py_None
); resultobj
= Py_None
;
18924 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18925 PyObject
*resultobj
;
18926 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18928 PyObject
* obj0
= 0 ;
18929 PyObject
* obj1
= 0 ;
18930 char *kwnames
[] = {
18931 (char *) "self",(char *) "font", NULL
18934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18937 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18938 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18940 if (arg2
== NULL
) {
18941 PyErr_SetString(PyExc_TypeError
,"null reference");
18945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18946 (arg1
)->SetFont((wxFont
const &)*arg2
);
18948 wxPyEndAllowThreads(__tstate
);
18949 if (PyErr_Occurred()) SWIG_fail
;
18951 Py_INCREF(Py_None
); resultobj
= Py_None
;
18958 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18959 PyObject
*resultobj
;
18960 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18962 PyObject
* obj0
= 0 ;
18963 char *kwnames
[] = {
18964 (char *) "self", NULL
18967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
18968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18972 result
= (bool)(arg1
)->HasTextColour();
18974 wxPyEndAllowThreads(__tstate
);
18975 if (PyErr_Occurred()) SWIG_fail
;
18978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18986 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18987 PyObject
*resultobj
;
18988 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18990 PyObject
* obj0
= 0 ;
18991 char *kwnames
[] = {
18992 (char *) "self", NULL
18995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
18996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19000 result
= (bool)(arg1
)->HasBackgroundColour();
19002 wxPyEndAllowThreads(__tstate
);
19003 if (PyErr_Occurred()) SWIG_fail
;
19006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19014 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19015 PyObject
*resultobj
;
19016 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19018 PyObject
* obj0
= 0 ;
19019 char *kwnames
[] = {
19020 (char *) "self", NULL
19023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
19024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19028 result
= (bool)(arg1
)->HasFont();
19030 wxPyEndAllowThreads(__tstate
);
19031 if (PyErr_Occurred()) SWIG_fail
;
19034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19042 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19043 PyObject
*resultobj
;
19044 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19046 PyObject
* obj0
= 0 ;
19047 char *kwnames
[] = {
19048 (char *) "self", NULL
19051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
19052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19056 result
= (arg1
)->GetTextColour();
19058 wxPyEndAllowThreads(__tstate
);
19059 if (PyErr_Occurred()) SWIG_fail
;
19062 wxColour
* resultptr
;
19063 resultptr
= new wxColour((wxColour
&) result
);
19064 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19072 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19073 PyObject
*resultobj
;
19074 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19076 PyObject
* obj0
= 0 ;
19077 char *kwnames
[] = {
19078 (char *) "self", NULL
19081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
19082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19086 result
= (arg1
)->GetBackgroundColour();
19088 wxPyEndAllowThreads(__tstate
);
19089 if (PyErr_Occurred()) SWIG_fail
;
19092 wxColour
* resultptr
;
19093 resultptr
= new wxColour((wxColour
&) result
);
19094 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19102 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19103 PyObject
*resultobj
;
19104 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19106 PyObject
* obj0
= 0 ;
19107 char *kwnames
[] = {
19108 (char *) "self", NULL
19111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
19112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19116 result
= (arg1
)->GetFont();
19118 wxPyEndAllowThreads(__tstate
);
19119 if (PyErr_Occurred()) SWIG_fail
;
19122 wxFont
* resultptr
;
19123 resultptr
= new wxFont((wxFont
&) result
);
19124 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
19132 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19133 PyObject
*resultobj
;
19134 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19135 PyObject
* obj0
= 0 ;
19136 char *kwnames
[] = {
19137 (char *) "self", NULL
19140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
19141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19145 wxListItemAttr_Destroy(arg1
);
19147 wxPyEndAllowThreads(__tstate
);
19148 if (PyErr_Occurred()) SWIG_fail
;
19150 Py_INCREF(Py_None
); resultobj
= Py_None
;
19157 static PyObject
* ListItemAttr_swigregister(PyObject
*, PyObject
*args
) {
19159 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19160 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
19162 return Py_BuildValue((char *)"");
19164 static PyObject
*_wrap_new_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19165 PyObject
*resultobj
;
19166 wxListItem
*result
;
19167 char *kwnames
[] = {
19171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
19173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19174 result
= (wxListItem
*)new wxListItem();
19176 wxPyEndAllowThreads(__tstate
);
19177 if (PyErr_Occurred()) SWIG_fail
;
19180 resultobj
= wxPyMake_wxObject(result
, 1);
19188 static PyObject
*_wrap_delete_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19189 PyObject
*resultobj
;
19190 wxListItem
*arg1
= (wxListItem
*) 0 ;
19191 PyObject
* obj0
= 0 ;
19192 char *kwnames
[] = {
19193 (char *) "self", NULL
19196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
19197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19203 wxPyEndAllowThreads(__tstate
);
19204 if (PyErr_Occurred()) SWIG_fail
;
19206 Py_INCREF(Py_None
); resultobj
= Py_None
;
19213 static PyObject
*_wrap_ListItem_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19214 PyObject
*resultobj
;
19215 wxListItem
*arg1
= (wxListItem
*) 0 ;
19216 PyObject
* obj0
= 0 ;
19217 char *kwnames
[] = {
19218 (char *) "self", NULL
19221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
19222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19228 wxPyEndAllowThreads(__tstate
);
19229 if (PyErr_Occurred()) SWIG_fail
;
19231 Py_INCREF(Py_None
); resultobj
= Py_None
;
19238 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19239 PyObject
*resultobj
;
19240 wxListItem
*arg1
= (wxListItem
*) 0 ;
19241 PyObject
* obj0
= 0 ;
19242 char *kwnames
[] = {
19243 (char *) "self", NULL
19246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
19247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19251 (arg1
)->ClearAttributes();
19253 wxPyEndAllowThreads(__tstate
);
19254 if (PyErr_Occurred()) SWIG_fail
;
19256 Py_INCREF(Py_None
); resultobj
= Py_None
;
19263 static PyObject
*_wrap_ListItem_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19264 PyObject
*resultobj
;
19265 wxListItem
*arg1
= (wxListItem
*) 0 ;
19267 PyObject
* obj0
= 0 ;
19268 PyObject
* obj1
= 0 ;
19269 char *kwnames
[] = {
19270 (char *) "self",(char *) "mask", NULL
19273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19276 arg2
= (long)SWIG_As_long(obj1
);
19277 if (PyErr_Occurred()) SWIG_fail
;
19279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19280 (arg1
)->SetMask(arg2
);
19282 wxPyEndAllowThreads(__tstate
);
19283 if (PyErr_Occurred()) SWIG_fail
;
19285 Py_INCREF(Py_None
); resultobj
= Py_None
;
19292 static PyObject
*_wrap_ListItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19293 PyObject
*resultobj
;
19294 wxListItem
*arg1
= (wxListItem
*) 0 ;
19296 PyObject
* obj0
= 0 ;
19297 PyObject
* obj1
= 0 ;
19298 char *kwnames
[] = {
19299 (char *) "self",(char *) "id", NULL
19302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
19303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19305 arg2
= (long)SWIG_As_long(obj1
);
19306 if (PyErr_Occurred()) SWIG_fail
;
19308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19309 (arg1
)->SetId(arg2
);
19311 wxPyEndAllowThreads(__tstate
);
19312 if (PyErr_Occurred()) SWIG_fail
;
19314 Py_INCREF(Py_None
); resultobj
= Py_None
;
19321 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19322 PyObject
*resultobj
;
19323 wxListItem
*arg1
= (wxListItem
*) 0 ;
19325 PyObject
* obj0
= 0 ;
19326 PyObject
* obj1
= 0 ;
19327 char *kwnames
[] = {
19328 (char *) "self",(char *) "col", NULL
19331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
19332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19334 arg2
= (int)SWIG_As_int(obj1
);
19335 if (PyErr_Occurred()) SWIG_fail
;
19337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19338 (arg1
)->SetColumn(arg2
);
19340 wxPyEndAllowThreads(__tstate
);
19341 if (PyErr_Occurred()) SWIG_fail
;
19343 Py_INCREF(Py_None
); resultobj
= Py_None
;
19350 static PyObject
*_wrap_ListItem_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19351 PyObject
*resultobj
;
19352 wxListItem
*arg1
= (wxListItem
*) 0 ;
19354 PyObject
* obj0
= 0 ;
19355 PyObject
* obj1
= 0 ;
19356 char *kwnames
[] = {
19357 (char *) "self",(char *) "state", NULL
19360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
19361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19363 arg2
= (long)SWIG_As_long(obj1
);
19364 if (PyErr_Occurred()) SWIG_fail
;
19366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19367 (arg1
)->SetState(arg2
);
19369 wxPyEndAllowThreads(__tstate
);
19370 if (PyErr_Occurred()) SWIG_fail
;
19372 Py_INCREF(Py_None
); resultobj
= Py_None
;
19379 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19380 PyObject
*resultobj
;
19381 wxListItem
*arg1
= (wxListItem
*) 0 ;
19383 PyObject
* obj0
= 0 ;
19384 PyObject
* obj1
= 0 ;
19385 char *kwnames
[] = {
19386 (char *) "self",(char *) "stateMask", NULL
19389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19392 arg2
= (long)SWIG_As_long(obj1
);
19393 if (PyErr_Occurred()) SWIG_fail
;
19395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19396 (arg1
)->SetStateMask(arg2
);
19398 wxPyEndAllowThreads(__tstate
);
19399 if (PyErr_Occurred()) SWIG_fail
;
19401 Py_INCREF(Py_None
); resultobj
= Py_None
;
19408 static PyObject
*_wrap_ListItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19409 PyObject
*resultobj
;
19410 wxListItem
*arg1
= (wxListItem
*) 0 ;
19411 wxString
*arg2
= 0 ;
19412 bool temp2
= False
;
19413 PyObject
* obj0
= 0 ;
19414 PyObject
* obj1
= 0 ;
19415 char *kwnames
[] = {
19416 (char *) "self",(char *) "text", NULL
19419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
19420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19423 arg2
= wxString_in_helper(obj1
);
19424 if (arg2
== NULL
) SWIG_fail
;
19428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19429 (arg1
)->SetText((wxString
const &)*arg2
);
19431 wxPyEndAllowThreads(__tstate
);
19432 if (PyErr_Occurred()) SWIG_fail
;
19434 Py_INCREF(Py_None
); resultobj
= Py_None
;
19449 static PyObject
*_wrap_ListItem_SetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19450 PyObject
*resultobj
;
19451 wxListItem
*arg1
= (wxListItem
*) 0 ;
19453 PyObject
* obj0
= 0 ;
19454 PyObject
* obj1
= 0 ;
19455 char *kwnames
[] = {
19456 (char *) "self",(char *) "image", NULL
19459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
19460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19462 arg2
= (int)SWIG_As_int(obj1
);
19463 if (PyErr_Occurred()) SWIG_fail
;
19465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19466 (arg1
)->SetImage(arg2
);
19468 wxPyEndAllowThreads(__tstate
);
19469 if (PyErr_Occurred()) SWIG_fail
;
19471 Py_INCREF(Py_None
); resultobj
= Py_None
;
19478 static PyObject
*_wrap_ListItem_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19479 PyObject
*resultobj
;
19480 wxListItem
*arg1
= (wxListItem
*) 0 ;
19482 PyObject
* obj0
= 0 ;
19483 PyObject
* obj1
= 0 ;
19484 char *kwnames
[] = {
19485 (char *) "self",(char *) "data", NULL
19488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
19489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19491 arg2
= (long)SWIG_As_long(obj1
);
19492 if (PyErr_Occurred()) SWIG_fail
;
19494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19495 (arg1
)->SetData(arg2
);
19497 wxPyEndAllowThreads(__tstate
);
19498 if (PyErr_Occurred()) SWIG_fail
;
19500 Py_INCREF(Py_None
); resultobj
= Py_None
;
19507 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19508 PyObject
*resultobj
;
19509 wxListItem
*arg1
= (wxListItem
*) 0 ;
19511 PyObject
* obj0
= 0 ;
19512 PyObject
* obj1
= 0 ;
19513 char *kwnames
[] = {
19514 (char *) "self",(char *) "width", NULL
19517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
19518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19520 arg2
= (int)SWIG_As_int(obj1
);
19521 if (PyErr_Occurred()) SWIG_fail
;
19523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19524 (arg1
)->SetWidth(arg2
);
19526 wxPyEndAllowThreads(__tstate
);
19527 if (PyErr_Occurred()) SWIG_fail
;
19529 Py_INCREF(Py_None
); resultobj
= Py_None
;
19536 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19537 PyObject
*resultobj
;
19538 wxListItem
*arg1
= (wxListItem
*) 0 ;
19540 PyObject
* obj0
= 0 ;
19541 PyObject
* obj1
= 0 ;
19542 char *kwnames
[] = {
19543 (char *) "self",(char *) "align", NULL
19546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
19547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19549 arg2
= (int)SWIG_As_int(obj1
);
19550 if (PyErr_Occurred()) SWIG_fail
;
19552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19553 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
19555 wxPyEndAllowThreads(__tstate
);
19556 if (PyErr_Occurred()) SWIG_fail
;
19558 Py_INCREF(Py_None
); resultobj
= Py_None
;
19565 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19566 PyObject
*resultobj
;
19567 wxListItem
*arg1
= (wxListItem
*) 0 ;
19568 wxColour
*arg2
= 0 ;
19570 PyObject
* obj0
= 0 ;
19571 PyObject
* obj1
= 0 ;
19572 char *kwnames
[] = {
19573 (char *) "self",(char *) "colText", NULL
19576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19581 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19585 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
19587 wxPyEndAllowThreads(__tstate
);
19588 if (PyErr_Occurred()) SWIG_fail
;
19590 Py_INCREF(Py_None
); resultobj
= Py_None
;
19597 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19598 PyObject
*resultobj
;
19599 wxListItem
*arg1
= (wxListItem
*) 0 ;
19600 wxColour
*arg2
= 0 ;
19602 PyObject
* obj0
= 0 ;
19603 PyObject
* obj1
= 0 ;
19604 char *kwnames
[] = {
19605 (char *) "self",(char *) "colBack", NULL
19608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19613 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19617 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
19619 wxPyEndAllowThreads(__tstate
);
19620 if (PyErr_Occurred()) SWIG_fail
;
19622 Py_INCREF(Py_None
); resultobj
= Py_None
;
19629 static PyObject
*_wrap_ListItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19630 PyObject
*resultobj
;
19631 wxListItem
*arg1
= (wxListItem
*) 0 ;
19633 PyObject
* obj0
= 0 ;
19634 PyObject
* obj1
= 0 ;
19635 char *kwnames
[] = {
19636 (char *) "self",(char *) "font", NULL
19639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
19640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19642 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
19643 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19645 if (arg2
== NULL
) {
19646 PyErr_SetString(PyExc_TypeError
,"null reference");
19650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19651 (arg1
)->SetFont((wxFont
const &)*arg2
);
19653 wxPyEndAllowThreads(__tstate
);
19654 if (PyErr_Occurred()) SWIG_fail
;
19656 Py_INCREF(Py_None
); resultobj
= Py_None
;
19663 static PyObject
*_wrap_ListItem_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19664 PyObject
*resultobj
;
19665 wxListItem
*arg1
= (wxListItem
*) 0 ;
19667 PyObject
* obj0
= 0 ;
19668 char *kwnames
[] = {
19669 (char *) "self", NULL
19672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
19673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19677 result
= (long)(arg1
)->GetMask();
19679 wxPyEndAllowThreads(__tstate
);
19680 if (PyErr_Occurred()) SWIG_fail
;
19682 resultobj
= SWIG_From_long((long)result
);
19689 static PyObject
*_wrap_ListItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19690 PyObject
*resultobj
;
19691 wxListItem
*arg1
= (wxListItem
*) 0 ;
19693 PyObject
* obj0
= 0 ;
19694 char *kwnames
[] = {
19695 (char *) "self", NULL
19698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",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 result
= (long)(arg1
)->GetId();
19705 wxPyEndAllowThreads(__tstate
);
19706 if (PyErr_Occurred()) SWIG_fail
;
19708 resultobj
= SWIG_From_long((long)result
);
19715 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19716 PyObject
*resultobj
;
19717 wxListItem
*arg1
= (wxListItem
*) 0 ;
19719 PyObject
* obj0
= 0 ;
19720 char *kwnames
[] = {
19721 (char *) "self", NULL
19724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
19725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19729 result
= (int)(arg1
)->GetColumn();
19731 wxPyEndAllowThreads(__tstate
);
19732 if (PyErr_Occurred()) SWIG_fail
;
19734 resultobj
= SWIG_From_int((int)result
);
19741 static PyObject
*_wrap_ListItem_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19742 PyObject
*resultobj
;
19743 wxListItem
*arg1
= (wxListItem
*) 0 ;
19745 PyObject
* obj0
= 0 ;
19746 char *kwnames
[] = {
19747 (char *) "self", NULL
19750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
19751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19755 result
= (long)(arg1
)->GetState();
19757 wxPyEndAllowThreads(__tstate
);
19758 if (PyErr_Occurred()) SWIG_fail
;
19760 resultobj
= SWIG_From_long((long)result
);
19767 static PyObject
*_wrap_ListItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19768 PyObject
*resultobj
;
19769 wxListItem
*arg1
= (wxListItem
*) 0 ;
19771 PyObject
* obj0
= 0 ;
19772 char *kwnames
[] = {
19773 (char *) "self", NULL
19776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
19777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19782 wxString
const &_result_ref
= (arg1
)->GetText();
19783 result
= (wxString
*) &_result_ref
;
19786 wxPyEndAllowThreads(__tstate
);
19787 if (PyErr_Occurred()) SWIG_fail
;
19791 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19793 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19802 static PyObject
*_wrap_ListItem_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19803 PyObject
*resultobj
;
19804 wxListItem
*arg1
= (wxListItem
*) 0 ;
19806 PyObject
* obj0
= 0 ;
19807 char *kwnames
[] = {
19808 (char *) "self", NULL
19811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
19812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19816 result
= (int)(arg1
)->GetImage();
19818 wxPyEndAllowThreads(__tstate
);
19819 if (PyErr_Occurred()) SWIG_fail
;
19821 resultobj
= SWIG_From_int((int)result
);
19828 static PyObject
*_wrap_ListItem_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19829 PyObject
*resultobj
;
19830 wxListItem
*arg1
= (wxListItem
*) 0 ;
19832 PyObject
* obj0
= 0 ;
19833 char *kwnames
[] = {
19834 (char *) "self", NULL
19837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
19838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19842 result
= (long)(arg1
)->GetData();
19844 wxPyEndAllowThreads(__tstate
);
19845 if (PyErr_Occurred()) SWIG_fail
;
19847 resultobj
= SWIG_From_long((long)result
);
19854 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19855 PyObject
*resultobj
;
19856 wxListItem
*arg1
= (wxListItem
*) 0 ;
19858 PyObject
* obj0
= 0 ;
19859 char *kwnames
[] = {
19860 (char *) "self", NULL
19863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
19864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19868 result
= (int)(arg1
)->GetWidth();
19870 wxPyEndAllowThreads(__tstate
);
19871 if (PyErr_Occurred()) SWIG_fail
;
19873 resultobj
= SWIG_From_int((int)result
);
19880 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19881 PyObject
*resultobj
;
19882 wxListItem
*arg1
= (wxListItem
*) 0 ;
19884 PyObject
* obj0
= 0 ;
19885 char *kwnames
[] = {
19886 (char *) "self", NULL
19889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
19890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19894 result
= (int)(arg1
)->GetAlign();
19896 wxPyEndAllowThreads(__tstate
);
19897 if (PyErr_Occurred()) SWIG_fail
;
19899 resultobj
= SWIG_From_int((int)result
);
19906 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19907 PyObject
*resultobj
;
19908 wxListItem
*arg1
= (wxListItem
*) 0 ;
19909 wxListItemAttr
*result
;
19910 PyObject
* obj0
= 0 ;
19911 char *kwnames
[] = {
19912 (char *) "self", NULL
19915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
19916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19920 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
19922 wxPyEndAllowThreads(__tstate
);
19923 if (PyErr_Occurred()) SWIG_fail
;
19925 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
19932 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19933 PyObject
*resultobj
;
19934 wxListItem
*arg1
= (wxListItem
*) 0 ;
19936 PyObject
* obj0
= 0 ;
19937 char *kwnames
[] = {
19938 (char *) "self", NULL
19941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
19942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19946 result
= (bool)(arg1
)->HasAttributes();
19948 wxPyEndAllowThreads(__tstate
);
19949 if (PyErr_Occurred()) SWIG_fail
;
19952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19960 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19961 PyObject
*resultobj
;
19962 wxListItem
*arg1
= (wxListItem
*) 0 ;
19964 PyObject
* obj0
= 0 ;
19965 char *kwnames
[] = {
19966 (char *) "self", NULL
19969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
19970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19974 result
= ((wxListItem
const *)arg1
)->GetTextColour();
19976 wxPyEndAllowThreads(__tstate
);
19977 if (PyErr_Occurred()) SWIG_fail
;
19980 wxColour
* resultptr
;
19981 resultptr
= new wxColour((wxColour
&) result
);
19982 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19990 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19991 PyObject
*resultobj
;
19992 wxListItem
*arg1
= (wxListItem
*) 0 ;
19994 PyObject
* obj0
= 0 ;
19995 char *kwnames
[] = {
19996 (char *) "self", NULL
19999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
20000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20004 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
20006 wxPyEndAllowThreads(__tstate
);
20007 if (PyErr_Occurred()) SWIG_fail
;
20010 wxColour
* resultptr
;
20011 resultptr
= new wxColour((wxColour
&) result
);
20012 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20020 static PyObject
*_wrap_ListItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20021 PyObject
*resultobj
;
20022 wxListItem
*arg1
= (wxListItem
*) 0 ;
20024 PyObject
* obj0
= 0 ;
20025 char *kwnames
[] = {
20026 (char *) "self", NULL
20029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
20030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20034 result
= ((wxListItem
const *)arg1
)->GetFont();
20036 wxPyEndAllowThreads(__tstate
);
20037 if (PyErr_Occurred()) SWIG_fail
;
20040 wxFont
* resultptr
;
20041 resultptr
= new wxFont((wxFont
&) result
);
20042 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
20050 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20051 PyObject
*resultobj
;
20052 wxListItem
*arg1
= (wxListItem
*) 0 ;
20054 PyObject
* obj0
= 0 ;
20055 PyObject
* obj1
= 0 ;
20056 char *kwnames
[] = {
20057 (char *) "self",(char *) "m_mask", NULL
20060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20063 arg2
= (long)SWIG_As_long(obj1
);
20064 if (PyErr_Occurred()) SWIG_fail
;
20065 if (arg1
) (arg1
)->m_mask
= arg2
;
20067 Py_INCREF(Py_None
); resultobj
= Py_None
;
20074 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20075 PyObject
*resultobj
;
20076 wxListItem
*arg1
= (wxListItem
*) 0 ;
20078 PyObject
* obj0
= 0 ;
20079 char *kwnames
[] = {
20080 (char *) "self", NULL
20083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
20084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20086 result
= (long) ((arg1
)->m_mask
);
20088 resultobj
= SWIG_From_long((long)result
);
20095 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20096 PyObject
*resultobj
;
20097 wxListItem
*arg1
= (wxListItem
*) 0 ;
20099 PyObject
* obj0
= 0 ;
20100 PyObject
* obj1
= 0 ;
20101 char *kwnames
[] = {
20102 (char *) "self",(char *) "m_itemId", NULL
20105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20108 arg2
= (long)SWIG_As_long(obj1
);
20109 if (PyErr_Occurred()) SWIG_fail
;
20110 if (arg1
) (arg1
)->m_itemId
= arg2
;
20112 Py_INCREF(Py_None
); resultobj
= Py_None
;
20119 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20120 PyObject
*resultobj
;
20121 wxListItem
*arg1
= (wxListItem
*) 0 ;
20123 PyObject
* obj0
= 0 ;
20124 char *kwnames
[] = {
20125 (char *) "self", NULL
20128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
20129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20131 result
= (long) ((arg1
)->m_itemId
);
20133 resultobj
= SWIG_From_long((long)result
);
20140 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20141 PyObject
*resultobj
;
20142 wxListItem
*arg1
= (wxListItem
*) 0 ;
20144 PyObject
* obj0
= 0 ;
20145 PyObject
* obj1
= 0 ;
20146 char *kwnames
[] = {
20147 (char *) "self",(char *) "m_col", NULL
20150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20153 arg2
= (int)SWIG_As_int(obj1
);
20154 if (PyErr_Occurred()) SWIG_fail
;
20155 if (arg1
) (arg1
)->m_col
= arg2
;
20157 Py_INCREF(Py_None
); resultobj
= Py_None
;
20164 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20165 PyObject
*resultobj
;
20166 wxListItem
*arg1
= (wxListItem
*) 0 ;
20168 PyObject
* obj0
= 0 ;
20169 char *kwnames
[] = {
20170 (char *) "self", NULL
20173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
20174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20176 result
= (int) ((arg1
)->m_col
);
20178 resultobj
= SWIG_From_int((int)result
);
20185 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20186 PyObject
*resultobj
;
20187 wxListItem
*arg1
= (wxListItem
*) 0 ;
20189 PyObject
* obj0
= 0 ;
20190 PyObject
* obj1
= 0 ;
20191 char *kwnames
[] = {
20192 (char *) "self",(char *) "m_state", NULL
20195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20198 arg2
= (long)SWIG_As_long(obj1
);
20199 if (PyErr_Occurred()) SWIG_fail
;
20200 if (arg1
) (arg1
)->m_state
= arg2
;
20202 Py_INCREF(Py_None
); resultobj
= Py_None
;
20209 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20210 PyObject
*resultobj
;
20211 wxListItem
*arg1
= (wxListItem
*) 0 ;
20213 PyObject
* obj0
= 0 ;
20214 char *kwnames
[] = {
20215 (char *) "self", NULL
20218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
20219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20221 result
= (long) ((arg1
)->m_state
);
20223 resultobj
= SWIG_From_long((long)result
);
20230 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20231 PyObject
*resultobj
;
20232 wxListItem
*arg1
= (wxListItem
*) 0 ;
20234 PyObject
* obj0
= 0 ;
20235 PyObject
* obj1
= 0 ;
20236 char *kwnames
[] = {
20237 (char *) "self",(char *) "m_stateMask", NULL
20240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20243 arg2
= (long)SWIG_As_long(obj1
);
20244 if (PyErr_Occurred()) SWIG_fail
;
20245 if (arg1
) (arg1
)->m_stateMask
= arg2
;
20247 Py_INCREF(Py_None
); resultobj
= Py_None
;
20254 static PyObject
*_wrap_ListItem_m_stateMask_get(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_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
20264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20266 result
= (long) ((arg1
)->m_stateMask
);
20268 resultobj
= SWIG_From_long((long)result
);
20275 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20276 PyObject
*resultobj
;
20277 wxListItem
*arg1
= (wxListItem
*) 0 ;
20278 wxString
*arg2
= (wxString
*) 0 ;
20279 bool temp2
= False
;
20280 PyObject
* obj0
= 0 ;
20281 PyObject
* obj1
= 0 ;
20282 char *kwnames
[] = {
20283 (char *) "self",(char *) "m_text", NULL
20286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20290 arg2
= wxString_in_helper(obj1
);
20291 if (arg2
== NULL
) SWIG_fail
;
20294 if (arg1
) (arg1
)->m_text
= *arg2
;
20296 Py_INCREF(Py_None
); resultobj
= Py_None
;
20311 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20312 PyObject
*resultobj
;
20313 wxListItem
*arg1
= (wxListItem
*) 0 ;
20315 PyObject
* obj0
= 0 ;
20316 char *kwnames
[] = {
20317 (char *) "self", NULL
20320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
20321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20323 result
= (wxString
*)& ((arg1
)->m_text
);
20327 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20329 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20338 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20339 PyObject
*resultobj
;
20340 wxListItem
*arg1
= (wxListItem
*) 0 ;
20342 PyObject
* obj0
= 0 ;
20343 PyObject
* obj1
= 0 ;
20344 char *kwnames
[] = {
20345 (char *) "self",(char *) "m_image", NULL
20348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20351 arg2
= (int)SWIG_As_int(obj1
);
20352 if (PyErr_Occurred()) SWIG_fail
;
20353 if (arg1
) (arg1
)->m_image
= arg2
;
20355 Py_INCREF(Py_None
); resultobj
= Py_None
;
20362 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20363 PyObject
*resultobj
;
20364 wxListItem
*arg1
= (wxListItem
*) 0 ;
20366 PyObject
* obj0
= 0 ;
20367 char *kwnames
[] = {
20368 (char *) "self", NULL
20371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
20372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20374 result
= (int) ((arg1
)->m_image
);
20376 resultobj
= SWIG_From_int((int)result
);
20383 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20384 PyObject
*resultobj
;
20385 wxListItem
*arg1
= (wxListItem
*) 0 ;
20387 PyObject
* obj0
= 0 ;
20388 PyObject
* obj1
= 0 ;
20389 char *kwnames
[] = {
20390 (char *) "self",(char *) "m_data", NULL
20393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20396 arg2
= (long)SWIG_As_long(obj1
);
20397 if (PyErr_Occurred()) SWIG_fail
;
20398 if (arg1
) (arg1
)->m_data
= arg2
;
20400 Py_INCREF(Py_None
); resultobj
= Py_None
;
20407 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20408 PyObject
*resultobj
;
20409 wxListItem
*arg1
= (wxListItem
*) 0 ;
20411 PyObject
* obj0
= 0 ;
20412 char *kwnames
[] = {
20413 (char *) "self", NULL
20416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
20417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20419 result
= (long) ((arg1
)->m_data
);
20421 resultobj
= SWIG_From_long((long)result
);
20428 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20429 PyObject
*resultobj
;
20430 wxListItem
*arg1
= (wxListItem
*) 0 ;
20432 PyObject
* obj0
= 0 ;
20433 PyObject
* obj1
= 0 ;
20434 char *kwnames
[] = {
20435 (char *) "self",(char *) "m_format", NULL
20438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20441 arg2
= (int)SWIG_As_int(obj1
);
20442 if (PyErr_Occurred()) SWIG_fail
;
20443 if (arg1
) (arg1
)->m_format
= arg2
;
20445 Py_INCREF(Py_None
); resultobj
= Py_None
;
20452 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20453 PyObject
*resultobj
;
20454 wxListItem
*arg1
= (wxListItem
*) 0 ;
20456 PyObject
* obj0
= 0 ;
20457 char *kwnames
[] = {
20458 (char *) "self", NULL
20461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
20462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20464 result
= (int) ((arg1
)->m_format
);
20466 resultobj
= SWIG_From_int((int)result
);
20473 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20474 PyObject
*resultobj
;
20475 wxListItem
*arg1
= (wxListItem
*) 0 ;
20477 PyObject
* obj0
= 0 ;
20478 PyObject
* obj1
= 0 ;
20479 char *kwnames
[] = {
20480 (char *) "self",(char *) "m_width", NULL
20483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20486 arg2
= (int)SWIG_As_int(obj1
);
20487 if (PyErr_Occurred()) SWIG_fail
;
20488 if (arg1
) (arg1
)->m_width
= arg2
;
20490 Py_INCREF(Py_None
); resultobj
= Py_None
;
20497 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20498 PyObject
*resultobj
;
20499 wxListItem
*arg1
= (wxListItem
*) 0 ;
20501 PyObject
* obj0
= 0 ;
20502 char *kwnames
[] = {
20503 (char *) "self", NULL
20506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
20507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20509 result
= (int) ((arg1
)->m_width
);
20511 resultobj
= SWIG_From_int((int)result
);
20518 static PyObject
* ListItem_swigregister(PyObject
*, PyObject
*args
) {
20520 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20521 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
20523 return Py_BuildValue((char *)"");
20525 static PyObject
*_wrap_new_ListEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20526 PyObject
*resultobj
;
20527 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20528 int arg2
= (int) 0 ;
20529 wxListEvent
*result
;
20530 PyObject
* obj0
= 0 ;
20531 PyObject
* obj1
= 0 ;
20532 char *kwnames
[] = {
20533 (char *) "commandType",(char *) "id", NULL
20536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20538 arg1
= (wxEventType
)SWIG_As_int(obj0
);
20539 if (PyErr_Occurred()) SWIG_fail
;
20542 arg2
= (int)SWIG_As_int(obj1
);
20543 if (PyErr_Occurred()) SWIG_fail
;
20546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20547 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
20549 wxPyEndAllowThreads(__tstate
);
20550 if (PyErr_Occurred()) SWIG_fail
;
20552 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
20559 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20560 PyObject
*resultobj
;
20561 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20563 PyObject
* obj0
= 0 ;
20564 PyObject
* obj1
= 0 ;
20565 char *kwnames
[] = {
20566 (char *) "self",(char *) "m_code", NULL
20569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20572 arg2
= (int)SWIG_As_int(obj1
);
20573 if (PyErr_Occurred()) SWIG_fail
;
20574 if (arg1
) (arg1
)->m_code
= arg2
;
20576 Py_INCREF(Py_None
); resultobj
= Py_None
;
20583 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20584 PyObject
*resultobj
;
20585 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20587 PyObject
* obj0
= 0 ;
20588 char *kwnames
[] = {
20589 (char *) "self", NULL
20592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
20593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20595 result
= (int) ((arg1
)->m_code
);
20597 resultobj
= SWIG_From_int((int)result
);
20604 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20605 PyObject
*resultobj
;
20606 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20608 PyObject
* obj0
= 0 ;
20609 PyObject
* obj1
= 0 ;
20610 char *kwnames
[] = {
20611 (char *) "self",(char *) "m_oldItemIndex", NULL
20614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20617 arg2
= (long)SWIG_As_long(obj1
);
20618 if (PyErr_Occurred()) SWIG_fail
;
20619 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
20621 Py_INCREF(Py_None
); resultobj
= Py_None
;
20628 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20629 PyObject
*resultobj
;
20630 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20632 PyObject
* obj0
= 0 ;
20633 char *kwnames
[] = {
20634 (char *) "self", NULL
20637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
20638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20640 result
= (long) ((arg1
)->m_oldItemIndex
);
20642 resultobj
= SWIG_From_long((long)result
);
20649 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20650 PyObject
*resultobj
;
20651 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20653 PyObject
* obj0
= 0 ;
20654 PyObject
* obj1
= 0 ;
20655 char *kwnames
[] = {
20656 (char *) "self",(char *) "m_itemIndex", NULL
20659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20662 arg2
= (long)SWIG_As_long(obj1
);
20663 if (PyErr_Occurred()) SWIG_fail
;
20664 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
20666 Py_INCREF(Py_None
); resultobj
= Py_None
;
20673 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20674 PyObject
*resultobj
;
20675 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20677 PyObject
* obj0
= 0 ;
20678 char *kwnames
[] = {
20679 (char *) "self", NULL
20682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
20683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20685 result
= (long) ((arg1
)->m_itemIndex
);
20687 resultobj
= SWIG_From_long((long)result
);
20694 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20695 PyObject
*resultobj
;
20696 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20698 PyObject
* obj0
= 0 ;
20699 PyObject
* obj1
= 0 ;
20700 char *kwnames
[] = {
20701 (char *) "self",(char *) "m_col", NULL
20704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20707 arg2
= (int)SWIG_As_int(obj1
);
20708 if (PyErr_Occurred()) SWIG_fail
;
20709 if (arg1
) (arg1
)->m_col
= arg2
;
20711 Py_INCREF(Py_None
); resultobj
= Py_None
;
20718 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20719 PyObject
*resultobj
;
20720 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20722 PyObject
* obj0
= 0 ;
20723 char *kwnames
[] = {
20724 (char *) "self", NULL
20727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
20728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20730 result
= (int) ((arg1
)->m_col
);
20732 resultobj
= SWIG_From_int((int)result
);
20739 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20740 PyObject
*resultobj
;
20741 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20742 wxPoint
*arg2
= (wxPoint
*) 0 ;
20743 PyObject
* obj0
= 0 ;
20744 PyObject
* obj1
= 0 ;
20745 char *kwnames
[] = {
20746 (char *) "self",(char *) "m_pointDrag", NULL
20749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20752 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
20753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20754 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
20756 Py_INCREF(Py_None
); resultobj
= Py_None
;
20763 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20764 PyObject
*resultobj
;
20765 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20767 PyObject
* obj0
= 0 ;
20768 char *kwnames
[] = {
20769 (char *) "self", NULL
20772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
20773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20775 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
20777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
20784 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20785 PyObject
*resultobj
;
20786 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20787 wxListItem
*result
;
20788 PyObject
* obj0
= 0 ;
20789 char *kwnames
[] = {
20790 (char *) "self", NULL
20793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
20794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20796 result
= (wxListItem
*)& ((arg1
)->m_item
);
20799 resultobj
= wxPyMake_wxObject(result
, 0);
20807 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20808 PyObject
*resultobj
;
20809 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20811 PyObject
* obj0
= 0 ;
20812 char *kwnames
[] = {
20813 (char *) "self", NULL
20816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20821 result
= (int)(arg1
)->GetKeyCode();
20823 wxPyEndAllowThreads(__tstate
);
20824 if (PyErr_Occurred()) SWIG_fail
;
20826 resultobj
= SWIG_From_int((int)result
);
20833 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20834 PyObject
*resultobj
;
20835 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20837 PyObject
* obj0
= 0 ;
20838 char *kwnames
[] = {
20839 (char *) "self", NULL
20842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
20843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20847 result
= (long)(arg1
)->GetIndex();
20849 wxPyEndAllowThreads(__tstate
);
20850 if (PyErr_Occurred()) SWIG_fail
;
20852 resultobj
= SWIG_From_long((long)result
);
20859 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20860 PyObject
*resultobj
;
20861 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20863 PyObject
* obj0
= 0 ;
20864 char *kwnames
[] = {
20865 (char *) "self", NULL
20868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
20869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20873 result
= (int)(arg1
)->GetColumn();
20875 wxPyEndAllowThreads(__tstate
);
20876 if (PyErr_Occurred()) SWIG_fail
;
20878 resultobj
= SWIG_From_int((int)result
);
20885 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20886 PyObject
*resultobj
;
20887 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20889 PyObject
* obj0
= 0 ;
20890 char *kwnames
[] = {
20891 (char *) "self", NULL
20894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
20895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20899 result
= (arg1
)->GetPoint();
20901 wxPyEndAllowThreads(__tstate
);
20902 if (PyErr_Occurred()) SWIG_fail
;
20905 wxPoint
* resultptr
;
20906 resultptr
= new wxPoint((wxPoint
&) result
);
20907 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20915 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20916 PyObject
*resultobj
;
20917 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20919 PyObject
* obj0
= 0 ;
20920 char *kwnames
[] = {
20921 (char *) "self", NULL
20924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
20925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20930 wxString
const &_result_ref
= (arg1
)->GetLabel();
20931 result
= (wxString
*) &_result_ref
;
20934 wxPyEndAllowThreads(__tstate
);
20935 if (PyErr_Occurred()) SWIG_fail
;
20939 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20941 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20950 static PyObject
*_wrap_ListEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20951 PyObject
*resultobj
;
20952 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20954 PyObject
* obj0
= 0 ;
20955 char *kwnames
[] = {
20956 (char *) "self", NULL
20959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
20960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20965 wxString
const &_result_ref
= (arg1
)->GetText();
20966 result
= (wxString
*) &_result_ref
;
20969 wxPyEndAllowThreads(__tstate
);
20970 if (PyErr_Occurred()) SWIG_fail
;
20974 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20976 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20985 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20986 PyObject
*resultobj
;
20987 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20989 PyObject
* obj0
= 0 ;
20990 char *kwnames
[] = {
20991 (char *) "self", NULL
20994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
20995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20999 result
= (int)(arg1
)->GetImage();
21001 wxPyEndAllowThreads(__tstate
);
21002 if (PyErr_Occurred()) SWIG_fail
;
21004 resultobj
= SWIG_From_int((int)result
);
21011 static PyObject
*_wrap_ListEvent_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21012 PyObject
*resultobj
;
21013 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21015 PyObject
* obj0
= 0 ;
21016 char *kwnames
[] = {
21017 (char *) "self", NULL
21020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
21021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21025 result
= (long)(arg1
)->GetData();
21027 wxPyEndAllowThreads(__tstate
);
21028 if (PyErr_Occurred()) SWIG_fail
;
21030 resultobj
= SWIG_From_long((long)result
);
21037 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21038 PyObject
*resultobj
;
21039 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21041 PyObject
* obj0
= 0 ;
21042 char *kwnames
[] = {
21043 (char *) "self", NULL
21046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
21047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21051 result
= (long)(arg1
)->GetMask();
21053 wxPyEndAllowThreads(__tstate
);
21054 if (PyErr_Occurred()) SWIG_fail
;
21056 resultobj
= SWIG_From_long((long)result
);
21063 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21064 PyObject
*resultobj
;
21065 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21066 wxListItem
*result
;
21067 PyObject
* obj0
= 0 ;
21068 char *kwnames
[] = {
21069 (char *) "self", NULL
21072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
21073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21078 wxListItem
const &_result_ref
= (arg1
)->GetItem();
21079 result
= (wxListItem
*) &_result_ref
;
21082 wxPyEndAllowThreads(__tstate
);
21083 if (PyErr_Occurred()) SWIG_fail
;
21085 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
21092 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21093 PyObject
*resultobj
;
21094 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21096 PyObject
* obj0
= 0 ;
21097 char *kwnames
[] = {
21098 (char *) "self", NULL
21101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
21102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21106 result
= (long)(arg1
)->GetCacheFrom();
21108 wxPyEndAllowThreads(__tstate
);
21109 if (PyErr_Occurred()) SWIG_fail
;
21111 resultobj
= SWIG_From_long((long)result
);
21118 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21119 PyObject
*resultobj
;
21120 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21122 PyObject
* obj0
= 0 ;
21123 char *kwnames
[] = {
21124 (char *) "self", NULL
21127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
21128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21132 result
= (long)(arg1
)->GetCacheTo();
21134 wxPyEndAllowThreads(__tstate
);
21135 if (PyErr_Occurred()) SWIG_fail
;
21137 resultobj
= SWIG_From_long((long)result
);
21144 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21145 PyObject
*resultobj
;
21146 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21148 PyObject
* obj0
= 0 ;
21149 char *kwnames
[] = {
21150 (char *) "self", NULL
21153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
21154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21158 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
21160 wxPyEndAllowThreads(__tstate
);
21161 if (PyErr_Occurred()) SWIG_fail
;
21164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21172 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21173 PyObject
*resultobj
;
21174 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21176 PyObject
* obj0
= 0 ;
21177 PyObject
* obj1
= 0 ;
21178 char *kwnames
[] = {
21179 (char *) "self",(char *) "editCancelled", NULL
21182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
21183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21185 arg2
= (bool)SWIG_As_bool(obj1
);
21186 if (PyErr_Occurred()) SWIG_fail
;
21188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21189 (arg1
)->SetEditCanceled(arg2
);
21191 wxPyEndAllowThreads(__tstate
);
21192 if (PyErr_Occurred()) SWIG_fail
;
21194 Py_INCREF(Py_None
); resultobj
= Py_None
;
21201 static PyObject
* ListEvent_swigregister(PyObject
*, PyObject
*args
) {
21203 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21204 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
21206 return Py_BuildValue((char *)"");
21208 static PyObject
*_wrap_new_ListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21209 PyObject
*resultobj
;
21210 wxWindow
*arg1
= (wxWindow
*) 0 ;
21211 int arg2
= (int) -1 ;
21212 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21213 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21214 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21215 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21216 long arg5
= (long) wxLC_ICON
;
21217 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
21218 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
21219 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
21220 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21221 wxPyListCtrl
*result
;
21224 bool temp7
= False
;
21225 PyObject
* obj0
= 0 ;
21226 PyObject
* obj1
= 0 ;
21227 PyObject
* obj2
= 0 ;
21228 PyObject
* obj3
= 0 ;
21229 PyObject
* obj4
= 0 ;
21230 PyObject
* obj5
= 0 ;
21231 PyObject
* obj6
= 0 ;
21232 char *kwnames
[] = {
21233 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21240 arg2
= (int)SWIG_As_int(obj1
);
21241 if (PyErr_Occurred()) SWIG_fail
;
21246 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21252 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21256 arg5
= (long)SWIG_As_long(obj4
);
21257 if (PyErr_Occurred()) SWIG_fail
;
21260 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
21261 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21263 if (arg6
== NULL
) {
21264 PyErr_SetString(PyExc_TypeError
,"null reference");
21270 arg7
= wxString_in_helper(obj6
);
21271 if (arg7
== NULL
) SWIG_fail
;
21276 if (!wxPyCheckForApp()) SWIG_fail
;
21277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21278 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
21280 wxPyEndAllowThreads(__tstate
);
21281 if (PyErr_Occurred()) SWIG_fail
;
21283 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21298 static PyObject
*_wrap_new_PreListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21299 PyObject
*resultobj
;
21300 wxPyListCtrl
*result
;
21301 char *kwnames
[] = {
21305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
21307 if (!wxPyCheckForApp()) SWIG_fail
;
21308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21309 result
= (wxPyListCtrl
*)new wxPyListCtrl();
21311 wxPyEndAllowThreads(__tstate
);
21312 if (PyErr_Occurred()) SWIG_fail
;
21314 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21321 static PyObject
*_wrap_ListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21322 PyObject
*resultobj
;
21323 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21324 wxWindow
*arg2
= (wxWindow
*) 0 ;
21325 int arg3
= (int) -1 ;
21326 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21327 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21328 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21329 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21330 long arg6
= (long) wxLC_ICON
;
21331 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
21332 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
21333 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
21334 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21338 bool temp8
= False
;
21339 PyObject
* obj0
= 0 ;
21340 PyObject
* obj1
= 0 ;
21341 PyObject
* obj2
= 0 ;
21342 PyObject
* obj3
= 0 ;
21343 PyObject
* obj4
= 0 ;
21344 PyObject
* obj5
= 0 ;
21345 PyObject
* obj6
= 0 ;
21346 PyObject
* obj7
= 0 ;
21347 char *kwnames
[] = {
21348 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
21352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21354 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21357 arg3
= (int)SWIG_As_int(obj2
);
21358 if (PyErr_Occurred()) SWIG_fail
;
21363 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21369 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21373 arg6
= (long)SWIG_As_long(obj5
);
21374 if (PyErr_Occurred()) SWIG_fail
;
21377 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
21378 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21380 if (arg7
== NULL
) {
21381 PyErr_SetString(PyExc_TypeError
,"null reference");
21387 arg8
= wxString_in_helper(obj7
);
21388 if (arg8
== NULL
) SWIG_fail
;
21393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21394 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
21396 wxPyEndAllowThreads(__tstate
);
21397 if (PyErr_Occurred()) SWIG_fail
;
21400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21416 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21417 PyObject
*resultobj
;
21418 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21419 PyObject
*arg2
= (PyObject
*) 0 ;
21420 PyObject
*arg3
= (PyObject
*) 0 ;
21421 PyObject
* obj0
= 0 ;
21422 PyObject
* obj1
= 0 ;
21423 PyObject
* obj2
= 0 ;
21424 char *kwnames
[] = {
21425 (char *) "self",(char *) "self",(char *) "_class", NULL
21428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21435 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21437 wxPyEndAllowThreads(__tstate
);
21438 if (PyErr_Occurred()) SWIG_fail
;
21440 Py_INCREF(Py_None
); resultobj
= Py_None
;
21447 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21448 PyObject
*resultobj
;
21449 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21450 wxColour
*arg2
= 0 ;
21453 PyObject
* obj0
= 0 ;
21454 PyObject
* obj1
= 0 ;
21455 char *kwnames
[] = {
21456 (char *) "self",(char *) "col", NULL
21459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21464 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21468 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
21470 wxPyEndAllowThreads(__tstate
);
21471 if (PyErr_Occurred()) SWIG_fail
;
21474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21482 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21483 PyObject
*resultobj
;
21484 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21485 wxColour
*arg2
= 0 ;
21488 PyObject
* obj0
= 0 ;
21489 PyObject
* obj1
= 0 ;
21490 char *kwnames
[] = {
21491 (char *) "self",(char *) "col", NULL
21494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21499 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21503 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21505 wxPyEndAllowThreads(__tstate
);
21506 if (PyErr_Occurred()) SWIG_fail
;
21509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21517 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21518 PyObject
*resultobj
;
21519 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21521 wxListItem
*result
;
21522 PyObject
* obj0
= 0 ;
21523 PyObject
* obj1
= 0 ;
21524 char *kwnames
[] = {
21525 (char *) "self",(char *) "col", NULL
21528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21531 arg2
= (int)SWIG_As_int(obj1
);
21532 if (PyErr_Occurred()) SWIG_fail
;
21534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21535 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
21537 wxPyEndAllowThreads(__tstate
);
21538 if (PyErr_Occurred()) SWIG_fail
;
21541 resultobj
= wxPyMake_wxObject(result
, 0);
21549 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21550 PyObject
*resultobj
;
21551 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21553 wxListItem
*arg3
= 0 ;
21555 PyObject
* obj0
= 0 ;
21556 PyObject
* obj1
= 0 ;
21557 PyObject
* obj2
= 0 ;
21558 char *kwnames
[] = {
21559 (char *) "self",(char *) "col",(char *) "item", NULL
21562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21565 arg2
= (int)SWIG_As_int(obj1
);
21566 if (PyErr_Occurred()) SWIG_fail
;
21567 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
21568 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21570 if (arg3
== NULL
) {
21571 PyErr_SetString(PyExc_TypeError
,"null reference");
21575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21576 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
21578 wxPyEndAllowThreads(__tstate
);
21579 if (PyErr_Occurred()) SWIG_fail
;
21582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21590 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21591 PyObject
*resultobj
;
21592 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21595 PyObject
* obj0
= 0 ;
21596 PyObject
* obj1
= 0 ;
21597 char *kwnames
[] = {
21598 (char *) "self",(char *) "col", NULL
21601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
21602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21604 arg2
= (int)SWIG_As_int(obj1
);
21605 if (PyErr_Occurred()) SWIG_fail
;
21607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21608 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
21610 wxPyEndAllowThreads(__tstate
);
21611 if (PyErr_Occurred()) SWIG_fail
;
21613 resultobj
= SWIG_From_int((int)result
);
21620 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21621 PyObject
*resultobj
;
21622 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21626 PyObject
* obj0
= 0 ;
21627 PyObject
* obj1
= 0 ;
21628 PyObject
* obj2
= 0 ;
21629 char *kwnames
[] = {
21630 (char *) "self",(char *) "col",(char *) "width", NULL
21633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21636 arg2
= (int)SWIG_As_int(obj1
);
21637 if (PyErr_Occurred()) SWIG_fail
;
21638 arg3
= (int)SWIG_As_int(obj2
);
21639 if (PyErr_Occurred()) SWIG_fail
;
21641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21642 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
21644 wxPyEndAllowThreads(__tstate
);
21645 if (PyErr_Occurred()) SWIG_fail
;
21648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21656 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21657 PyObject
*resultobj
;
21658 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21660 PyObject
* obj0
= 0 ;
21661 char *kwnames
[] = {
21662 (char *) "self", NULL
21665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
21666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21670 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
21672 wxPyEndAllowThreads(__tstate
);
21673 if (PyErr_Occurred()) SWIG_fail
;
21675 resultobj
= SWIG_From_int((int)result
);
21682 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21683 PyObject
*resultobj
;
21684 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21686 PyObject
* obj0
= 0 ;
21687 char *kwnames
[] = {
21688 (char *) "self", NULL
21691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
21692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21696 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
21698 wxPyEndAllowThreads(__tstate
);
21699 if (PyErr_Occurred()) SWIG_fail
;
21702 wxRect
* resultptr
;
21703 resultptr
= new wxRect((wxRect
&) result
);
21704 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
21712 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21713 PyObject
*resultobj
;
21714 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21716 int arg3
= (int) 0 ;
21717 wxListItem
*result
;
21718 PyObject
* obj0
= 0 ;
21719 PyObject
* obj1
= 0 ;
21720 PyObject
* obj2
= 0 ;
21721 char *kwnames
[] = {
21722 (char *) "self",(char *) "itemId",(char *) "col", NULL
21725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21728 arg2
= (long)SWIG_As_long(obj1
);
21729 if (PyErr_Occurred()) SWIG_fail
;
21731 arg3
= (int)SWIG_As_int(obj2
);
21732 if (PyErr_Occurred()) SWIG_fail
;
21735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21736 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
21738 wxPyEndAllowThreads(__tstate
);
21739 if (PyErr_Occurred()) SWIG_fail
;
21742 resultobj
= wxPyMake_wxObject(result
, 0);
21750 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21751 PyObject
*resultobj
;
21752 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21753 wxListItem
*arg2
= 0 ;
21755 PyObject
* obj0
= 0 ;
21756 PyObject
* obj1
= 0 ;
21757 char *kwnames
[] = {
21758 (char *) "self",(char *) "info", NULL
21761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21764 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
21765 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21767 if (arg2
== NULL
) {
21768 PyErr_SetString(PyExc_TypeError
,"null reference");
21772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21773 result
= (bool)(arg1
)->SetItem(*arg2
);
21775 wxPyEndAllowThreads(__tstate
);
21776 if (PyErr_Occurred()) SWIG_fail
;
21779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21787 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21788 PyObject
*resultobj
;
21789 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21792 wxString
*arg4
= 0 ;
21793 int arg5
= (int) -1 ;
21795 bool temp4
= False
;
21796 PyObject
* obj0
= 0 ;
21797 PyObject
* obj1
= 0 ;
21798 PyObject
* obj2
= 0 ;
21799 PyObject
* obj3
= 0 ;
21800 PyObject
* obj4
= 0 ;
21801 char *kwnames
[] = {
21802 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
21805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21808 arg2
= (long)SWIG_As_long(obj1
);
21809 if (PyErr_Occurred()) SWIG_fail
;
21810 arg3
= (int)SWIG_As_int(obj2
);
21811 if (PyErr_Occurred()) SWIG_fail
;
21813 arg4
= wxString_in_helper(obj3
);
21814 if (arg4
== NULL
) SWIG_fail
;
21818 arg5
= (int)SWIG_As_int(obj4
);
21819 if (PyErr_Occurred()) SWIG_fail
;
21822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21823 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
21825 wxPyEndAllowThreads(__tstate
);
21826 if (PyErr_Occurred()) SWIG_fail
;
21828 resultobj
= SWIG_From_long((long)result
);
21843 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21844 PyObject
*resultobj
;
21845 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21849 PyObject
* obj0
= 0 ;
21850 PyObject
* obj1
= 0 ;
21851 PyObject
* obj2
= 0 ;
21852 char *kwnames
[] = {
21853 (char *) "self",(char *) "item",(char *) "stateMask", NULL
21856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21859 arg2
= (long)SWIG_As_long(obj1
);
21860 if (PyErr_Occurred()) SWIG_fail
;
21861 arg3
= (long)SWIG_As_long(obj2
);
21862 if (PyErr_Occurred()) SWIG_fail
;
21864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21865 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
21867 wxPyEndAllowThreads(__tstate
);
21868 if (PyErr_Occurred()) SWIG_fail
;
21870 resultobj
= SWIG_From_int((int)result
);
21877 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21878 PyObject
*resultobj
;
21879 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21884 PyObject
* obj0
= 0 ;
21885 PyObject
* obj1
= 0 ;
21886 PyObject
* obj2
= 0 ;
21887 PyObject
* obj3
= 0 ;
21888 char *kwnames
[] = {
21889 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
21892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21895 arg2
= (long)SWIG_As_long(obj1
);
21896 if (PyErr_Occurred()) SWIG_fail
;
21897 arg3
= (long)SWIG_As_long(obj2
);
21898 if (PyErr_Occurred()) SWIG_fail
;
21899 arg4
= (long)SWIG_As_long(obj3
);
21900 if (PyErr_Occurred()) SWIG_fail
;
21902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21903 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
21905 wxPyEndAllowThreads(__tstate
);
21906 if (PyErr_Occurred()) SWIG_fail
;
21909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21917 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21918 PyObject
*resultobj
;
21919 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21924 PyObject
* obj0
= 0 ;
21925 PyObject
* obj1
= 0 ;
21926 PyObject
* obj2
= 0 ;
21927 PyObject
* obj3
= 0 ;
21928 char *kwnames
[] = {
21929 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
21932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21935 arg2
= (long)SWIG_As_long(obj1
);
21936 if (PyErr_Occurred()) SWIG_fail
;
21937 arg3
= (int)SWIG_As_int(obj2
);
21938 if (PyErr_Occurred()) SWIG_fail
;
21939 arg4
= (int)SWIG_As_int(obj3
);
21940 if (PyErr_Occurred()) SWIG_fail
;
21942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21943 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
21945 wxPyEndAllowThreads(__tstate
);
21946 if (PyErr_Occurred()) SWIG_fail
;
21949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21957 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21958 PyObject
*resultobj
;
21959 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21962 PyObject
* obj0
= 0 ;
21963 PyObject
* obj1
= 0 ;
21964 char *kwnames
[] = {
21965 (char *) "self",(char *) "item", NULL
21968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
21969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21971 arg2
= (long)SWIG_As_long(obj1
);
21972 if (PyErr_Occurred()) SWIG_fail
;
21974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21975 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
21977 wxPyEndAllowThreads(__tstate
);
21978 if (PyErr_Occurred()) SWIG_fail
;
21982 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21984 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21993 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21994 PyObject
*resultobj
;
21995 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21997 wxString
*arg3
= 0 ;
21998 bool temp3
= False
;
21999 PyObject
* obj0
= 0 ;
22000 PyObject
* obj1
= 0 ;
22001 PyObject
* obj2
= 0 ;
22002 char *kwnames
[] = {
22003 (char *) "self",(char *) "item",(char *) "str", NULL
22006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22009 arg2
= (long)SWIG_As_long(obj1
);
22010 if (PyErr_Occurred()) SWIG_fail
;
22012 arg3
= wxString_in_helper(obj2
);
22013 if (arg3
== NULL
) SWIG_fail
;
22017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22018 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
22020 wxPyEndAllowThreads(__tstate
);
22021 if (PyErr_Occurred()) SWIG_fail
;
22023 Py_INCREF(Py_None
); resultobj
= Py_None
;
22038 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22039 PyObject
*resultobj
;
22040 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22043 PyObject
* obj0
= 0 ;
22044 PyObject
* obj1
= 0 ;
22045 char *kwnames
[] = {
22046 (char *) "self",(char *) "item", NULL
22049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
22050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22052 arg2
= (long)SWIG_As_long(obj1
);
22053 if (PyErr_Occurred()) SWIG_fail
;
22055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22056 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
22058 wxPyEndAllowThreads(__tstate
);
22059 if (PyErr_Occurred()) SWIG_fail
;
22061 resultobj
= SWIG_From_long((long)result
);
22068 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22069 PyObject
*resultobj
;
22070 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22074 PyObject
* obj0
= 0 ;
22075 PyObject
* obj1
= 0 ;
22076 PyObject
* obj2
= 0 ;
22077 char *kwnames
[] = {
22078 (char *) "self",(char *) "item",(char *) "data", NULL
22081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22084 arg2
= (long)SWIG_As_long(obj1
);
22085 if (PyErr_Occurred()) SWIG_fail
;
22086 arg3
= (long)SWIG_As_long(obj2
);
22087 if (PyErr_Occurred()) SWIG_fail
;
22089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22090 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
22092 wxPyEndAllowThreads(__tstate
);
22093 if (PyErr_Occurred()) SWIG_fail
;
22096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22104 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22105 PyObject
*resultobj
;
22106 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22109 PyObject
* obj0
= 0 ;
22110 PyObject
* obj1
= 0 ;
22111 char *kwnames
[] = {
22112 (char *) "self",(char *) "item", NULL
22115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
22116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22118 arg2
= (long)SWIG_As_long(obj1
);
22119 if (PyErr_Occurred()) SWIG_fail
;
22121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22122 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
22124 wxPyEndAllowThreads(__tstate
);
22125 if (PyErr_Occurred()) SWIG_fail
;
22128 wxPoint
* resultptr
;
22129 resultptr
= new wxPoint((wxPoint
&) result
);
22130 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22138 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22139 PyObject
*resultobj
;
22140 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22142 int arg3
= (int) wxLIST_RECT_BOUNDS
;
22144 PyObject
* obj0
= 0 ;
22145 PyObject
* obj1
= 0 ;
22146 PyObject
* obj2
= 0 ;
22147 char *kwnames
[] = {
22148 (char *) "self",(char *) "item",(char *) "code", NULL
22151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22154 arg2
= (long)SWIG_As_long(obj1
);
22155 if (PyErr_Occurred()) SWIG_fail
;
22157 arg3
= (int)SWIG_As_int(obj2
);
22158 if (PyErr_Occurred()) SWIG_fail
;
22161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22162 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
22164 wxPyEndAllowThreads(__tstate
);
22165 if (PyErr_Occurred()) SWIG_fail
;
22168 wxRect
* resultptr
;
22169 resultptr
= new wxRect((wxRect
&) result
);
22170 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22178 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22179 PyObject
*resultobj
;
22180 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22182 wxPoint
*arg3
= 0 ;
22185 PyObject
* obj0
= 0 ;
22186 PyObject
* obj1
= 0 ;
22187 PyObject
* obj2
= 0 ;
22188 char *kwnames
[] = {
22189 (char *) "self",(char *) "item",(char *) "pos", NULL
22192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22195 arg2
= (long)SWIG_As_long(obj1
);
22196 if (PyErr_Occurred()) SWIG_fail
;
22199 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22203 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
22205 wxPyEndAllowThreads(__tstate
);
22206 if (PyErr_Occurred()) SWIG_fail
;
22209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22217 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22218 PyObject
*resultobj
;
22219 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22221 PyObject
* obj0
= 0 ;
22222 char *kwnames
[] = {
22223 (char *) "self", NULL
22226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
22227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22231 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
22233 wxPyEndAllowThreads(__tstate
);
22234 if (PyErr_Occurred()) SWIG_fail
;
22236 resultobj
= SWIG_From_int((int)result
);
22243 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22244 PyObject
*resultobj
;
22245 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22247 PyObject
* obj0
= 0 ;
22248 char *kwnames
[] = {
22249 (char *) "self", NULL
22252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
22253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22257 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
22259 wxPyEndAllowThreads(__tstate
);
22260 if (PyErr_Occurred()) SWIG_fail
;
22262 resultobj
= SWIG_From_int((int)result
);
22269 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22270 PyObject
*resultobj
;
22271 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22273 PyObject
* obj0
= 0 ;
22274 char *kwnames
[] = {
22275 (char *) "self", NULL
22278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
22279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22283 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
22285 wxPyEndAllowThreads(__tstate
);
22286 if (PyErr_Occurred()) SWIG_fail
;
22289 wxSize
* resultptr
;
22290 resultptr
= new wxSize((wxSize
&) result
);
22291 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22299 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22300 PyObject
*resultobj
;
22301 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22303 bool arg3
= (bool) False
;
22304 PyObject
* obj0
= 0 ;
22305 PyObject
* obj1
= 0 ;
22306 PyObject
* obj2
= 0 ;
22307 char *kwnames
[] = {
22308 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
22311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22314 arg2
= (int)SWIG_As_int(obj1
);
22315 if (PyErr_Occurred()) SWIG_fail
;
22317 arg3
= (bool)SWIG_As_bool(obj2
);
22318 if (PyErr_Occurred()) SWIG_fail
;
22321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22322 (arg1
)->SetItemSpacing(arg2
,arg3
);
22324 wxPyEndAllowThreads(__tstate
);
22325 if (PyErr_Occurred()) SWIG_fail
;
22327 Py_INCREF(Py_None
); resultobj
= Py_None
;
22334 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22335 PyObject
*resultobj
;
22336 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22338 PyObject
* obj0
= 0 ;
22339 char *kwnames
[] = {
22340 (char *) "self", NULL
22343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
22344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22348 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
22350 wxPyEndAllowThreads(__tstate
);
22351 if (PyErr_Occurred()) SWIG_fail
;
22353 resultobj
= SWIG_From_int((int)result
);
22360 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22361 PyObject
*resultobj
;
22362 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22364 PyObject
* obj0
= 0 ;
22365 char *kwnames
[] = {
22366 (char *) "self", NULL
22369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
22370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22374 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
22376 wxPyEndAllowThreads(__tstate
);
22377 if (PyErr_Occurred()) SWIG_fail
;
22380 wxColour
* resultptr
;
22381 resultptr
= new wxColour((wxColour
&) result
);
22382 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22390 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22391 PyObject
*resultobj
;
22392 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22393 wxColour
*arg2
= 0 ;
22395 PyObject
* obj0
= 0 ;
22396 PyObject
* obj1
= 0 ;
22397 char *kwnames
[] = {
22398 (char *) "self",(char *) "col", NULL
22401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22406 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22410 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22412 wxPyEndAllowThreads(__tstate
);
22413 if (PyErr_Occurred()) SWIG_fail
;
22415 Py_INCREF(Py_None
); resultobj
= Py_None
;
22422 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22423 PyObject
*resultobj
;
22424 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22426 PyObject
* obj0
= 0 ;
22427 char *kwnames
[] = {
22428 (char *) "self", NULL
22431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
22432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22436 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
22438 wxPyEndAllowThreads(__tstate
);
22439 if (PyErr_Occurred()) SWIG_fail
;
22441 resultobj
= SWIG_From_long((long)result
);
22448 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22449 PyObject
*resultobj
;
22450 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22452 bool arg3
= (bool) True
;
22453 PyObject
* obj0
= 0 ;
22454 PyObject
* obj1
= 0 ;
22455 PyObject
* obj2
= 0 ;
22456 char *kwnames
[] = {
22457 (char *) "self",(char *) "style",(char *) "add", NULL
22460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22463 arg2
= (long)SWIG_As_long(obj1
);
22464 if (PyErr_Occurred()) SWIG_fail
;
22466 arg3
= (bool)SWIG_As_bool(obj2
);
22467 if (PyErr_Occurred()) SWIG_fail
;
22470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22471 (arg1
)->SetSingleStyle(arg2
,arg3
);
22473 wxPyEndAllowThreads(__tstate
);
22474 if (PyErr_Occurred()) SWIG_fail
;
22476 Py_INCREF(Py_None
); resultobj
= Py_None
;
22483 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22484 PyObject
*resultobj
;
22485 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22487 PyObject
* obj0
= 0 ;
22488 PyObject
* obj1
= 0 ;
22489 char *kwnames
[] = {
22490 (char *) "self",(char *) "style", NULL
22493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
22494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22496 arg2
= (long)SWIG_As_long(obj1
);
22497 if (PyErr_Occurred()) SWIG_fail
;
22499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22500 (arg1
)->SetWindowStyleFlag(arg2
);
22502 wxPyEndAllowThreads(__tstate
);
22503 if (PyErr_Occurred()) SWIG_fail
;
22505 Py_INCREF(Py_None
); resultobj
= Py_None
;
22512 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22513 PyObject
*resultobj
;
22514 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22516 int arg3
= (int) wxLIST_NEXT_ALL
;
22517 int arg4
= (int) wxLIST_STATE_DONTCARE
;
22519 PyObject
* obj0
= 0 ;
22520 PyObject
* obj1
= 0 ;
22521 PyObject
* obj2
= 0 ;
22522 PyObject
* obj3
= 0 ;
22523 char *kwnames
[] = {
22524 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
22527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22530 arg2
= (long)SWIG_As_long(obj1
);
22531 if (PyErr_Occurred()) SWIG_fail
;
22533 arg3
= (int)SWIG_As_int(obj2
);
22534 if (PyErr_Occurred()) SWIG_fail
;
22537 arg4
= (int)SWIG_As_int(obj3
);
22538 if (PyErr_Occurred()) SWIG_fail
;
22541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22542 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
22544 wxPyEndAllowThreads(__tstate
);
22545 if (PyErr_Occurred()) SWIG_fail
;
22547 resultobj
= SWIG_From_long((long)result
);
22554 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22555 PyObject
*resultobj
;
22556 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22558 wxImageList
*result
;
22559 PyObject
* obj0
= 0 ;
22560 PyObject
* obj1
= 0 ;
22561 char *kwnames
[] = {
22562 (char *) "self",(char *) "which", NULL
22565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
22566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22568 arg2
= (int)SWIG_As_int(obj1
);
22569 if (PyErr_Occurred()) SWIG_fail
;
22571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22572 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
22574 wxPyEndAllowThreads(__tstate
);
22575 if (PyErr_Occurred()) SWIG_fail
;
22578 resultobj
= wxPyMake_wxObject(result
, 0);
22586 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22587 PyObject
*resultobj
;
22588 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22589 wxImageList
*arg2
= (wxImageList
*) 0 ;
22591 PyObject
* obj0
= 0 ;
22592 PyObject
* obj1
= 0 ;
22593 PyObject
* obj2
= 0 ;
22594 char *kwnames
[] = {
22595 (char *) "self",(char *) "imageList",(char *) "which", NULL
22598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22601 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22603 arg3
= (int)SWIG_As_int(obj2
);
22604 if (PyErr_Occurred()) SWIG_fail
;
22606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22607 (arg1
)->SetImageList(arg2
,arg3
);
22609 wxPyEndAllowThreads(__tstate
);
22610 if (PyErr_Occurred()) SWIG_fail
;
22612 Py_INCREF(Py_None
); resultobj
= Py_None
;
22619 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22620 PyObject
*resultobj
;
22621 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22622 wxImageList
*arg2
= (wxImageList
*) 0 ;
22624 PyObject
* obj0
= 0 ;
22625 PyObject
* obj1
= 0 ;
22626 PyObject
* obj2
= 0 ;
22627 char *kwnames
[] = {
22628 (char *) "self",(char *) "imageList",(char *) "which", NULL
22631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22634 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22635 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22636 arg3
= (int)SWIG_As_int(obj2
);
22637 if (PyErr_Occurred()) SWIG_fail
;
22639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22640 (arg1
)->AssignImageList(arg2
,arg3
);
22642 wxPyEndAllowThreads(__tstate
);
22643 if (PyErr_Occurred()) SWIG_fail
;
22645 Py_INCREF(Py_None
); resultobj
= Py_None
;
22652 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22653 PyObject
*resultobj
;
22654 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22656 PyObject
* obj0
= 0 ;
22657 char *kwnames
[] = {
22658 (char *) "self", NULL
22661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
22662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22666 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
22668 wxPyEndAllowThreads(__tstate
);
22669 if (PyErr_Occurred()) SWIG_fail
;
22672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22680 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22681 PyObject
*resultobj
;
22682 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22684 PyObject
* obj0
= 0 ;
22685 char *kwnames
[] = {
22686 (char *) "self", NULL
22689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
22690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22694 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
22696 wxPyEndAllowThreads(__tstate
);
22697 if (PyErr_Occurred()) SWIG_fail
;
22700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22708 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22709 PyObject
*resultobj
;
22710 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22712 PyObject
* obj0
= 0 ;
22713 PyObject
* obj1
= 0 ;
22714 char *kwnames
[] = {
22715 (char *) "self",(char *) "item", NULL
22718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22721 arg2
= (long)SWIG_As_long(obj1
);
22722 if (PyErr_Occurred()) SWIG_fail
;
22724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22725 (arg1
)->RefreshItem(arg2
);
22727 wxPyEndAllowThreads(__tstate
);
22728 if (PyErr_Occurred()) SWIG_fail
;
22730 Py_INCREF(Py_None
); resultobj
= Py_None
;
22737 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22738 PyObject
*resultobj
;
22739 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22742 PyObject
* obj0
= 0 ;
22743 PyObject
* obj1
= 0 ;
22744 PyObject
* obj2
= 0 ;
22745 char *kwnames
[] = {
22746 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
22749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22752 arg2
= (long)SWIG_As_long(obj1
);
22753 if (PyErr_Occurred()) SWIG_fail
;
22754 arg3
= (long)SWIG_As_long(obj2
);
22755 if (PyErr_Occurred()) SWIG_fail
;
22757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22758 (arg1
)->RefreshItems(arg2
,arg3
);
22760 wxPyEndAllowThreads(__tstate
);
22761 if (PyErr_Occurred()) SWIG_fail
;
22763 Py_INCREF(Py_None
); resultobj
= Py_None
;
22770 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22771 PyObject
*resultobj
;
22772 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22773 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
22775 PyObject
* obj0
= 0 ;
22776 PyObject
* obj1
= 0 ;
22777 char *kwnames
[] = {
22778 (char *) "self",(char *) "flag", NULL
22781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
22782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22785 arg2
= (int)SWIG_As_int(obj1
);
22786 if (PyErr_Occurred()) SWIG_fail
;
22789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22790 result
= (bool)(arg1
)->Arrange(arg2
);
22792 wxPyEndAllowThreads(__tstate
);
22793 if (PyErr_Occurred()) SWIG_fail
;
22796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22804 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22805 PyObject
*resultobj
;
22806 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22809 PyObject
* obj0
= 0 ;
22810 PyObject
* obj1
= 0 ;
22811 char *kwnames
[] = {
22812 (char *) "self",(char *) "item", NULL
22815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22818 arg2
= (long)SWIG_As_long(obj1
);
22819 if (PyErr_Occurred()) SWIG_fail
;
22821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22822 result
= (bool)(arg1
)->DeleteItem(arg2
);
22824 wxPyEndAllowThreads(__tstate
);
22825 if (PyErr_Occurred()) SWIG_fail
;
22828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22836 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22837 PyObject
*resultobj
;
22838 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22840 PyObject
* obj0
= 0 ;
22841 char *kwnames
[] = {
22842 (char *) "self", NULL
22845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
22846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22850 result
= (bool)(arg1
)->DeleteAllItems();
22852 wxPyEndAllowThreads(__tstate
);
22853 if (PyErr_Occurred()) SWIG_fail
;
22856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22864 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22865 PyObject
*resultobj
;
22866 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22869 PyObject
* obj0
= 0 ;
22870 PyObject
* obj1
= 0 ;
22871 char *kwnames
[] = {
22872 (char *) "self",(char *) "col", NULL
22875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
22876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22878 arg2
= (int)SWIG_As_int(obj1
);
22879 if (PyErr_Occurred()) SWIG_fail
;
22881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22882 result
= (bool)(arg1
)->DeleteColumn(arg2
);
22884 wxPyEndAllowThreads(__tstate
);
22885 if (PyErr_Occurred()) SWIG_fail
;
22888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22896 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22897 PyObject
*resultobj
;
22898 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22900 PyObject
* obj0
= 0 ;
22901 char *kwnames
[] = {
22902 (char *) "self", NULL
22905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
22906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22910 result
= (bool)(arg1
)->DeleteAllColumns();
22912 wxPyEndAllowThreads(__tstate
);
22913 if (PyErr_Occurred()) SWIG_fail
;
22916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22924 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22925 PyObject
*resultobj
;
22926 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22927 PyObject
* obj0
= 0 ;
22928 char *kwnames
[] = {
22929 (char *) "self", NULL
22932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
22933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22937 (arg1
)->ClearAll();
22939 wxPyEndAllowThreads(__tstate
);
22940 if (PyErr_Occurred()) SWIG_fail
;
22942 Py_INCREF(Py_None
); resultobj
= Py_None
;
22949 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22950 PyObject
*resultobj
;
22951 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22953 PyObject
* obj0
= 0 ;
22954 PyObject
* obj1
= 0 ;
22955 char *kwnames
[] = {
22956 (char *) "self",(char *) "item", NULL
22959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22962 arg2
= (long)SWIG_As_long(obj1
);
22963 if (PyErr_Occurred()) SWIG_fail
;
22965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22966 (arg1
)->EditLabel(arg2
);
22968 wxPyEndAllowThreads(__tstate
);
22969 if (PyErr_Occurred()) SWIG_fail
;
22971 Py_INCREF(Py_None
); resultobj
= Py_None
;
22978 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22979 PyObject
*resultobj
;
22980 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22983 PyObject
* obj0
= 0 ;
22984 PyObject
* obj1
= 0 ;
22985 char *kwnames
[] = {
22986 (char *) "self",(char *) "item", NULL
22989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22992 arg2
= (long)SWIG_As_long(obj1
);
22993 if (PyErr_Occurred()) SWIG_fail
;
22995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22996 result
= (bool)(arg1
)->EnsureVisible(arg2
);
22998 wxPyEndAllowThreads(__tstate
);
22999 if (PyErr_Occurred()) SWIG_fail
;
23002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23010 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23011 PyObject
*resultobj
;
23012 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23014 wxString
*arg3
= 0 ;
23015 bool arg4
= (bool) False
;
23017 bool temp3
= False
;
23018 PyObject
* obj0
= 0 ;
23019 PyObject
* obj1
= 0 ;
23020 PyObject
* obj2
= 0 ;
23021 PyObject
* obj3
= 0 ;
23022 char *kwnames
[] = {
23023 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
23026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23029 arg2
= (long)SWIG_As_long(obj1
);
23030 if (PyErr_Occurred()) SWIG_fail
;
23032 arg3
= wxString_in_helper(obj2
);
23033 if (arg3
== NULL
) SWIG_fail
;
23037 arg4
= (bool)SWIG_As_bool(obj3
);
23038 if (PyErr_Occurred()) SWIG_fail
;
23041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23042 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
23044 wxPyEndAllowThreads(__tstate
);
23045 if (PyErr_Occurred()) SWIG_fail
;
23047 resultobj
= SWIG_From_long((long)result
);
23062 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23063 PyObject
*resultobj
;
23064 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23068 PyObject
* obj0
= 0 ;
23069 PyObject
* obj1
= 0 ;
23070 PyObject
* obj2
= 0 ;
23071 char *kwnames
[] = {
23072 (char *) "self",(char *) "start",(char *) "data", NULL
23075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23078 arg2
= (long)SWIG_As_long(obj1
);
23079 if (PyErr_Occurred()) SWIG_fail
;
23080 arg3
= (long)SWIG_As_long(obj2
);
23081 if (PyErr_Occurred()) SWIG_fail
;
23083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23084 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
23086 wxPyEndAllowThreads(__tstate
);
23087 if (PyErr_Occurred()) SWIG_fail
;
23089 resultobj
= SWIG_From_long((long)result
);
23096 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23097 PyObject
*resultobj
;
23098 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23100 wxPoint
*arg3
= 0 ;
23104 PyObject
* obj0
= 0 ;
23105 PyObject
* obj1
= 0 ;
23106 PyObject
* obj2
= 0 ;
23107 PyObject
* obj3
= 0 ;
23108 char *kwnames
[] = {
23109 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
23112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23115 arg2
= (long)SWIG_As_long(obj1
);
23116 if (PyErr_Occurred()) SWIG_fail
;
23119 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23121 arg4
= (int)SWIG_As_int(obj3
);
23122 if (PyErr_Occurred()) SWIG_fail
;
23124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23125 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
23127 wxPyEndAllowThreads(__tstate
);
23128 if (PyErr_Occurred()) SWIG_fail
;
23130 resultobj
= SWIG_From_long((long)result
);
23137 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23138 PyObject
*resultobj
;
23139 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23140 wxPoint
*arg2
= 0 ;
23146 PyObject
* obj0
= 0 ;
23147 PyObject
* obj1
= 0 ;
23148 char *kwnames
[] = {
23149 (char *) "self",(char *) "point", NULL
23152 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
23154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23158 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23162 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
23164 wxPyEndAllowThreads(__tstate
);
23165 if (PyErr_Occurred()) SWIG_fail
;
23167 resultobj
= SWIG_From_long((long)result
);
23168 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23169 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23176 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23177 PyObject
*resultobj
;
23178 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23179 wxListItem
*arg2
= 0 ;
23181 PyObject
* obj0
= 0 ;
23182 PyObject
* obj1
= 0 ;
23183 char *kwnames
[] = {
23184 (char *) "self",(char *) "info", NULL
23187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23190 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
23191 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23193 if (arg2
== NULL
) {
23194 PyErr_SetString(PyExc_TypeError
,"null reference");
23198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23199 result
= (long)(arg1
)->InsertItem(*arg2
);
23201 wxPyEndAllowThreads(__tstate
);
23202 if (PyErr_Occurred()) SWIG_fail
;
23204 resultobj
= SWIG_From_long((long)result
);
23211 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23212 PyObject
*resultobj
;
23213 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23215 wxString
*arg3
= 0 ;
23217 bool temp3
= False
;
23218 PyObject
* obj0
= 0 ;
23219 PyObject
* obj1
= 0 ;
23220 PyObject
* obj2
= 0 ;
23221 char *kwnames
[] = {
23222 (char *) "self",(char *) "index",(char *) "label", NULL
23225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23228 arg2
= (long)SWIG_As_long(obj1
);
23229 if (PyErr_Occurred()) SWIG_fail
;
23231 arg3
= wxString_in_helper(obj2
);
23232 if (arg3
== NULL
) SWIG_fail
;
23236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23237 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
23239 wxPyEndAllowThreads(__tstate
);
23240 if (PyErr_Occurred()) SWIG_fail
;
23242 resultobj
= SWIG_From_long((long)result
);
23257 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23258 PyObject
*resultobj
;
23259 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23263 PyObject
* obj0
= 0 ;
23264 PyObject
* obj1
= 0 ;
23265 PyObject
* obj2
= 0 ;
23266 char *kwnames
[] = {
23267 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
23270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23273 arg2
= (long)SWIG_As_long(obj1
);
23274 if (PyErr_Occurred()) SWIG_fail
;
23275 arg3
= (int)SWIG_As_int(obj2
);
23276 if (PyErr_Occurred()) SWIG_fail
;
23278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23279 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
23281 wxPyEndAllowThreads(__tstate
);
23282 if (PyErr_Occurred()) SWIG_fail
;
23284 resultobj
= SWIG_From_long((long)result
);
23291 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23292 PyObject
*resultobj
;
23293 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23295 wxString
*arg3
= 0 ;
23298 bool temp3
= False
;
23299 PyObject
* obj0
= 0 ;
23300 PyObject
* obj1
= 0 ;
23301 PyObject
* obj2
= 0 ;
23302 PyObject
* obj3
= 0 ;
23303 char *kwnames
[] = {
23304 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
23307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23310 arg2
= (long)SWIG_As_long(obj1
);
23311 if (PyErr_Occurred()) SWIG_fail
;
23313 arg3
= wxString_in_helper(obj2
);
23314 if (arg3
== NULL
) SWIG_fail
;
23317 arg4
= (int)SWIG_As_int(obj3
);
23318 if (PyErr_Occurred()) SWIG_fail
;
23320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23321 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
23323 wxPyEndAllowThreads(__tstate
);
23324 if (PyErr_Occurred()) SWIG_fail
;
23326 resultobj
= SWIG_From_long((long)result
);
23341 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23342 PyObject
*resultobj
;
23343 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23345 wxListItem
*arg3
= 0 ;
23347 PyObject
* obj0
= 0 ;
23348 PyObject
* obj1
= 0 ;
23349 PyObject
* obj2
= 0 ;
23350 char *kwnames
[] = {
23351 (char *) "self",(char *) "col",(char *) "info", NULL
23354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23357 arg2
= (long)SWIG_As_long(obj1
);
23358 if (PyErr_Occurred()) SWIG_fail
;
23359 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
23360 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23362 if (arg3
== NULL
) {
23363 PyErr_SetString(PyExc_TypeError
,"null reference");
23367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23368 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
23370 wxPyEndAllowThreads(__tstate
);
23371 if (PyErr_Occurred()) SWIG_fail
;
23373 resultobj
= SWIG_From_long((long)result
);
23380 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23381 PyObject
*resultobj
;
23382 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23384 wxString
*arg3
= 0 ;
23385 int arg4
= (int) wxLIST_FORMAT_LEFT
;
23386 int arg5
= (int) -1 ;
23388 bool temp3
= False
;
23389 PyObject
* obj0
= 0 ;
23390 PyObject
* obj1
= 0 ;
23391 PyObject
* obj2
= 0 ;
23392 PyObject
* obj3
= 0 ;
23393 PyObject
* obj4
= 0 ;
23394 char *kwnames
[] = {
23395 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
23398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23401 arg2
= (long)SWIG_As_long(obj1
);
23402 if (PyErr_Occurred()) SWIG_fail
;
23404 arg3
= wxString_in_helper(obj2
);
23405 if (arg3
== NULL
) SWIG_fail
;
23409 arg4
= (int)SWIG_As_int(obj3
);
23410 if (PyErr_Occurred()) SWIG_fail
;
23413 arg5
= (int)SWIG_As_int(obj4
);
23414 if (PyErr_Occurred()) SWIG_fail
;
23417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23418 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
23420 wxPyEndAllowThreads(__tstate
);
23421 if (PyErr_Occurred()) SWIG_fail
;
23423 resultobj
= SWIG_From_long((long)result
);
23438 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23439 PyObject
*resultobj
;
23440 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23442 PyObject
* obj0
= 0 ;
23443 PyObject
* obj1
= 0 ;
23444 char *kwnames
[] = {
23445 (char *) "self",(char *) "count", NULL
23448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
23449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23451 arg2
= (long)SWIG_As_long(obj1
);
23452 if (PyErr_Occurred()) SWIG_fail
;
23454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23455 (arg1
)->SetItemCount(arg2
);
23457 wxPyEndAllowThreads(__tstate
);
23458 if (PyErr_Occurred()) SWIG_fail
;
23460 Py_INCREF(Py_None
); resultobj
= Py_None
;
23467 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23468 PyObject
*resultobj
;
23469 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23473 PyObject
* obj0
= 0 ;
23474 PyObject
* obj1
= 0 ;
23475 PyObject
* obj2
= 0 ;
23476 char *kwnames
[] = {
23477 (char *) "self",(char *) "dx",(char *) "dy", NULL
23480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23483 arg2
= (int)SWIG_As_int(obj1
);
23484 if (PyErr_Occurred()) SWIG_fail
;
23485 arg3
= (int)SWIG_As_int(obj2
);
23486 if (PyErr_Occurred()) SWIG_fail
;
23488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23489 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
23491 wxPyEndAllowThreads(__tstate
);
23492 if (PyErr_Occurred()) SWIG_fail
;
23495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23503 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23504 PyObject
*resultobj
;
23505 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23507 wxColour
*arg3
= 0 ;
23509 PyObject
* obj0
= 0 ;
23510 PyObject
* obj1
= 0 ;
23511 PyObject
* obj2
= 0 ;
23512 char *kwnames
[] = {
23513 (char *) "self",(char *) "item",(char *) "col", NULL
23516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23519 arg2
= (long)SWIG_As_long(obj1
);
23520 if (PyErr_Occurred()) SWIG_fail
;
23523 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23527 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
23529 wxPyEndAllowThreads(__tstate
);
23530 if (PyErr_Occurred()) SWIG_fail
;
23532 Py_INCREF(Py_None
); resultobj
= Py_None
;
23539 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23540 PyObject
*resultobj
;
23541 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23544 PyObject
* obj0
= 0 ;
23545 PyObject
* obj1
= 0 ;
23546 char *kwnames
[] = {
23547 (char *) "self",(char *) "item", NULL
23550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23553 arg2
= (long)SWIG_As_long(obj1
);
23554 if (PyErr_Occurred()) SWIG_fail
;
23556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23557 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
23559 wxPyEndAllowThreads(__tstate
);
23560 if (PyErr_Occurred()) SWIG_fail
;
23563 wxColour
* resultptr
;
23564 resultptr
= new wxColour((wxColour
&) result
);
23565 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23573 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23574 PyObject
*resultobj
;
23575 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23577 wxColour
*arg3
= 0 ;
23579 PyObject
* obj0
= 0 ;
23580 PyObject
* obj1
= 0 ;
23581 PyObject
* obj2
= 0 ;
23582 char *kwnames
[] = {
23583 (char *) "self",(char *) "item",(char *) "col", NULL
23586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23589 arg2
= (long)SWIG_As_long(obj1
);
23590 if (PyErr_Occurred()) SWIG_fail
;
23593 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23597 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
23599 wxPyEndAllowThreads(__tstate
);
23600 if (PyErr_Occurred()) SWIG_fail
;
23602 Py_INCREF(Py_None
); resultobj
= Py_None
;
23609 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23610 PyObject
*resultobj
;
23611 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23614 PyObject
* obj0
= 0 ;
23615 PyObject
* obj1
= 0 ;
23616 char *kwnames
[] = {
23617 (char *) "self",(char *) "item", NULL
23620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23623 arg2
= (long)SWIG_As_long(obj1
);
23624 if (PyErr_Occurred()) SWIG_fail
;
23626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23627 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
23629 wxPyEndAllowThreads(__tstate
);
23630 if (PyErr_Occurred()) SWIG_fail
;
23633 wxColour
* resultptr
;
23634 resultptr
= new wxColour((wxColour
&) result
);
23635 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23643 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23644 PyObject
*resultobj
;
23645 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23646 PyObject
*arg2
= (PyObject
*) 0 ;
23648 PyObject
* obj0
= 0 ;
23649 PyObject
* obj1
= 0 ;
23650 char *kwnames
[] = {
23651 (char *) "self",(char *) "func", NULL
23654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
23655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23660 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
23662 wxPyEndAllowThreads(__tstate
);
23663 if (PyErr_Occurred()) SWIG_fail
;
23666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23674 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23675 PyObject
*resultobj
;
23676 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23678 PyObject
* obj0
= 0 ;
23679 char *kwnames
[] = {
23680 (char *) "self", NULL
23683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
23684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23688 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
23690 wxPyEndAllowThreads(__tstate
);
23691 if (PyErr_Occurred()) SWIG_fail
;
23694 resultobj
= wxPyMake_wxObject(result
, 0);
23702 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23703 PyObject
*resultobj
;
23704 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
23705 wxVisualAttributes result
;
23706 PyObject
* obj0
= 0 ;
23707 char *kwnames
[] = {
23708 (char *) "variant", NULL
23711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
23713 arg1
= (int)SWIG_As_int(obj0
);
23714 if (PyErr_Occurred()) SWIG_fail
;
23717 if (!wxPyCheckForApp()) SWIG_fail
;
23718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23719 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
23721 wxPyEndAllowThreads(__tstate
);
23722 if (PyErr_Occurred()) SWIG_fail
;
23725 wxVisualAttributes
* resultptr
;
23726 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
23727 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
23735 static PyObject
* ListCtrl_swigregister(PyObject
*, PyObject
*args
) {
23737 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23738 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
23740 return Py_BuildValue((char *)"");
23742 static PyObject
*_wrap_new_ListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23743 PyObject
*resultobj
;
23744 wxWindow
*arg1
= (wxWindow
*) 0 ;
23745 int arg2
= (int) -1 ;
23746 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23747 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23748 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23749 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23750 long arg5
= (long) wxLC_REPORT
;
23751 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23752 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23753 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
23754 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23755 wxListView
*result
;
23758 bool temp7
= False
;
23759 PyObject
* obj0
= 0 ;
23760 PyObject
* obj1
= 0 ;
23761 PyObject
* obj2
= 0 ;
23762 PyObject
* obj3
= 0 ;
23763 PyObject
* obj4
= 0 ;
23764 PyObject
* obj5
= 0 ;
23765 PyObject
* obj6
= 0 ;
23766 char *kwnames
[] = {
23767 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23774 arg2
= (int)SWIG_As_int(obj1
);
23775 if (PyErr_Occurred()) SWIG_fail
;
23780 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23786 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23790 arg5
= (long)SWIG_As_long(obj4
);
23791 if (PyErr_Occurred()) SWIG_fail
;
23794 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
23795 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23797 if (arg6
== NULL
) {
23798 PyErr_SetString(PyExc_TypeError
,"null reference");
23804 arg7
= wxString_in_helper(obj6
);
23805 if (arg7
== NULL
) SWIG_fail
;
23810 if (!wxPyCheckForApp()) SWIG_fail
;
23811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23812 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23814 wxPyEndAllowThreads(__tstate
);
23815 if (PyErr_Occurred()) SWIG_fail
;
23817 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
23832 static PyObject
*_wrap_new_PreListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23833 PyObject
*resultobj
;
23834 wxListView
*result
;
23835 char *kwnames
[] = {
23839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
23841 if (!wxPyCheckForApp()) SWIG_fail
;
23842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23843 result
= (wxListView
*)new wxListView();
23845 wxPyEndAllowThreads(__tstate
);
23846 if (PyErr_Occurred()) SWIG_fail
;
23848 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
23855 static PyObject
*_wrap_ListView_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23856 PyObject
*resultobj
;
23857 wxListView
*arg1
= (wxListView
*) 0 ;
23858 wxWindow
*arg2
= (wxWindow
*) 0 ;
23859 int arg3
= (int) -1 ;
23860 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23861 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23862 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23863 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23864 long arg6
= (long) wxLC_REPORT
;
23865 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23866 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23867 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
23868 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23872 bool temp8
= False
;
23873 PyObject
* obj0
= 0 ;
23874 PyObject
* obj1
= 0 ;
23875 PyObject
* obj2
= 0 ;
23876 PyObject
* obj3
= 0 ;
23877 PyObject
* obj4
= 0 ;
23878 PyObject
* obj5
= 0 ;
23879 PyObject
* obj6
= 0 ;
23880 PyObject
* obj7
= 0 ;
23881 char *kwnames
[] = {
23882 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23888 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23891 arg3
= (int)SWIG_As_int(obj2
);
23892 if (PyErr_Occurred()) SWIG_fail
;
23897 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23903 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23907 arg6
= (long)SWIG_As_long(obj5
);
23908 if (PyErr_Occurred()) SWIG_fail
;
23911 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
23912 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23914 if (arg7
== NULL
) {
23915 PyErr_SetString(PyExc_TypeError
,"null reference");
23921 arg8
= wxString_in_helper(obj7
);
23922 if (arg8
== NULL
) SWIG_fail
;
23927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23928 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23930 wxPyEndAllowThreads(__tstate
);
23931 if (PyErr_Occurred()) SWIG_fail
;
23934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23950 static PyObject
*_wrap_ListView_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23951 PyObject
*resultobj
;
23952 wxListView
*arg1
= (wxListView
*) 0 ;
23954 bool arg3
= (bool) True
;
23955 PyObject
* obj0
= 0 ;
23956 PyObject
* obj1
= 0 ;
23957 PyObject
* obj2
= 0 ;
23958 char *kwnames
[] = {
23959 (char *) "self",(char *) "n",(char *) "on", NULL
23962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23965 arg2
= (long)SWIG_As_long(obj1
);
23966 if (PyErr_Occurred()) SWIG_fail
;
23968 arg3
= (bool)SWIG_As_bool(obj2
);
23969 if (PyErr_Occurred()) SWIG_fail
;
23972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23973 (arg1
)->Select(arg2
,arg3
);
23975 wxPyEndAllowThreads(__tstate
);
23976 if (PyErr_Occurred()) SWIG_fail
;
23978 Py_INCREF(Py_None
); resultobj
= Py_None
;
23985 static PyObject
*_wrap_ListView_Focus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23986 PyObject
*resultobj
;
23987 wxListView
*arg1
= (wxListView
*) 0 ;
23989 PyObject
* obj0
= 0 ;
23990 PyObject
* obj1
= 0 ;
23991 char *kwnames
[] = {
23992 (char *) "self",(char *) "index", NULL
23995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
23996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23998 arg2
= (long)SWIG_As_long(obj1
);
23999 if (PyErr_Occurred()) SWIG_fail
;
24001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24002 (arg1
)->Focus(arg2
);
24004 wxPyEndAllowThreads(__tstate
);
24005 if (PyErr_Occurred()) SWIG_fail
;
24007 Py_INCREF(Py_None
); resultobj
= Py_None
;
24014 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24015 PyObject
*resultobj
;
24016 wxListView
*arg1
= (wxListView
*) 0 ;
24018 PyObject
* obj0
= 0 ;
24019 char *kwnames
[] = {
24020 (char *) "self", NULL
24023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
24024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24028 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
24030 wxPyEndAllowThreads(__tstate
);
24031 if (PyErr_Occurred()) SWIG_fail
;
24033 resultobj
= SWIG_From_long((long)result
);
24040 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24041 PyObject
*resultobj
;
24042 wxListView
*arg1
= (wxListView
*) 0 ;
24045 PyObject
* obj0
= 0 ;
24046 PyObject
* obj1
= 0 ;
24047 char *kwnames
[] = {
24048 (char *) "self",(char *) "item", NULL
24051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
24052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24054 arg2
= (long)SWIG_As_long(obj1
);
24055 if (PyErr_Occurred()) SWIG_fail
;
24057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24058 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
24060 wxPyEndAllowThreads(__tstate
);
24061 if (PyErr_Occurred()) SWIG_fail
;
24063 resultobj
= SWIG_From_long((long)result
);
24070 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24071 PyObject
*resultobj
;
24072 wxListView
*arg1
= (wxListView
*) 0 ;
24074 PyObject
* obj0
= 0 ;
24075 char *kwnames
[] = {
24076 (char *) "self", NULL
24079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
24080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24084 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
24086 wxPyEndAllowThreads(__tstate
);
24087 if (PyErr_Occurred()) SWIG_fail
;
24089 resultobj
= SWIG_From_long((long)result
);
24096 static PyObject
*_wrap_ListView_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24097 PyObject
*resultobj
;
24098 wxListView
*arg1
= (wxListView
*) 0 ;
24101 PyObject
* obj0
= 0 ;
24102 PyObject
* obj1
= 0 ;
24103 char *kwnames
[] = {
24104 (char *) "self",(char *) "index", NULL
24107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
24108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24110 arg2
= (long)SWIG_As_long(obj1
);
24111 if (PyErr_Occurred()) SWIG_fail
;
24113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24114 result
= (bool)(arg1
)->IsSelected(arg2
);
24116 wxPyEndAllowThreads(__tstate
);
24117 if (PyErr_Occurred()) SWIG_fail
;
24120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24128 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24129 PyObject
*resultobj
;
24130 wxListView
*arg1
= (wxListView
*) 0 ;
24133 PyObject
* obj0
= 0 ;
24134 PyObject
* obj1
= 0 ;
24135 PyObject
* obj2
= 0 ;
24136 char *kwnames
[] = {
24137 (char *) "self",(char *) "col",(char *) "image", NULL
24140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24143 arg2
= (int)SWIG_As_int(obj1
);
24144 if (PyErr_Occurred()) SWIG_fail
;
24145 arg3
= (int)SWIG_As_int(obj2
);
24146 if (PyErr_Occurred()) SWIG_fail
;
24148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24149 (arg1
)->SetColumnImage(arg2
,arg3
);
24151 wxPyEndAllowThreads(__tstate
);
24152 if (PyErr_Occurred()) SWIG_fail
;
24154 Py_INCREF(Py_None
); resultobj
= Py_None
;
24161 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24162 PyObject
*resultobj
;
24163 wxListView
*arg1
= (wxListView
*) 0 ;
24165 PyObject
* obj0
= 0 ;
24166 PyObject
* obj1
= 0 ;
24167 char *kwnames
[] = {
24168 (char *) "self",(char *) "col", NULL
24171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
24172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24174 arg2
= (int)SWIG_As_int(obj1
);
24175 if (PyErr_Occurred()) SWIG_fail
;
24177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24178 (arg1
)->ClearColumnImage(arg2
);
24180 wxPyEndAllowThreads(__tstate
);
24181 if (PyErr_Occurred()) SWIG_fail
;
24183 Py_INCREF(Py_None
); resultobj
= Py_None
;
24190 static PyObject
* ListView_swigregister(PyObject
*, PyObject
*args
) {
24192 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24193 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
24195 return Py_BuildValue((char *)"");
24197 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
24198 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
24203 static PyObject
*_wrap_TreeCtrlNameStr_get() {
24208 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
24210 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
24217 static PyObject
*_wrap_new_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24218 PyObject
*resultobj
;
24219 wxTreeItemId
*result
;
24220 char *kwnames
[] = {
24224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
24226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24227 result
= (wxTreeItemId
*)new wxTreeItemId();
24229 wxPyEndAllowThreads(__tstate
);
24230 if (PyErr_Occurred()) SWIG_fail
;
24232 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
24239 static PyObject
*_wrap_delete_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24240 PyObject
*resultobj
;
24241 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24242 PyObject
* obj0
= 0 ;
24243 char *kwnames
[] = {
24244 (char *) "self", NULL
24247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
24248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24254 wxPyEndAllowThreads(__tstate
);
24255 if (PyErr_Occurred()) SWIG_fail
;
24257 Py_INCREF(Py_None
); resultobj
= Py_None
;
24264 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24265 PyObject
*resultobj
;
24266 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24268 PyObject
* obj0
= 0 ;
24269 char *kwnames
[] = {
24270 (char *) "self", NULL
24273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
24274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24278 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
24280 wxPyEndAllowThreads(__tstate
);
24281 if (PyErr_Occurred()) SWIG_fail
;
24284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24292 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24293 PyObject
*resultobj
;
24294 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24295 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24297 PyObject
* obj0
= 0 ;
24298 PyObject
* obj1
= 0 ;
24299 char *kwnames
[] = {
24300 (char *) "self",(char *) "other", NULL
24303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24306 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24310 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
24312 wxPyEndAllowThreads(__tstate
);
24313 if (PyErr_Occurred()) SWIG_fail
;
24316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24324 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24325 PyObject
*resultobj
;
24326 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24327 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24329 PyObject
* obj0
= 0 ;
24330 PyObject
* obj1
= 0 ;
24331 char *kwnames
[] = {
24332 (char *) "self",(char *) "other", NULL
24335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24338 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24342 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
24344 wxPyEndAllowThreads(__tstate
);
24345 if (PyErr_Occurred()) SWIG_fail
;
24348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24356 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24357 PyObject
*resultobj
;
24358 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24359 void *arg2
= (void *) 0 ;
24360 PyObject
* obj0
= 0 ;
24361 PyObject
* obj1
= 0 ;
24362 char *kwnames
[] = {
24363 (char *) "self",(char *) "m_pItem", NULL
24366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24369 if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24370 if (arg1
) (arg1
)->m_pItem
= arg2
;
24372 Py_INCREF(Py_None
); resultobj
= Py_None
;
24379 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24380 PyObject
*resultobj
;
24381 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24383 PyObject
* obj0
= 0 ;
24384 char *kwnames
[] = {
24385 (char *) "self", NULL
24388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
24389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24391 result
= (void *) ((arg1
)->m_pItem
);
24393 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
24400 static PyObject
* TreeItemId_swigregister(PyObject
*, PyObject
*args
) {
24402 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24403 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
24405 return Py_BuildValue((char *)"");
24407 static PyObject
*_wrap_new_TreeItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24408 PyObject
*resultobj
;
24409 PyObject
*arg1
= (PyObject
*) NULL
;
24410 wxPyTreeItemData
*result
;
24411 PyObject
* obj0
= 0 ;
24412 char *kwnames
[] = {
24413 (char *) "obj", NULL
24416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
24421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24422 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
24424 wxPyEndAllowThreads(__tstate
);
24425 if (PyErr_Occurred()) SWIG_fail
;
24427 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
24434 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24435 PyObject
*resultobj
;
24436 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24438 PyObject
* obj0
= 0 ;
24439 char *kwnames
[] = {
24440 (char *) "self", NULL
24443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
24444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24448 result
= (PyObject
*)(arg1
)->GetData();
24450 wxPyEndAllowThreads(__tstate
);
24451 if (PyErr_Occurred()) SWIG_fail
;
24453 resultobj
= result
;
24460 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24461 PyObject
*resultobj
;
24462 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24463 PyObject
*arg2
= (PyObject
*) 0 ;
24464 PyObject
* obj0
= 0 ;
24465 PyObject
* obj1
= 0 ;
24466 char *kwnames
[] = {
24467 (char *) "self",(char *) "obj", NULL
24470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24476 (arg1
)->SetData(arg2
);
24478 wxPyEndAllowThreads(__tstate
);
24479 if (PyErr_Occurred()) SWIG_fail
;
24481 Py_INCREF(Py_None
); resultobj
= Py_None
;
24488 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24489 PyObject
*resultobj
;
24490 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24491 wxTreeItemId
*result
;
24492 PyObject
* obj0
= 0 ;
24493 char *kwnames
[] = {
24494 (char *) "self", NULL
24497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
24498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24503 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
24504 result
= (wxTreeItemId
*) &_result_ref
;
24507 wxPyEndAllowThreads(__tstate
);
24508 if (PyErr_Occurred()) SWIG_fail
;
24510 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
24517 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24518 PyObject
*resultobj
;
24519 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24520 wxTreeItemId
*arg2
= 0 ;
24521 PyObject
* obj0
= 0 ;
24522 PyObject
* obj1
= 0 ;
24523 char *kwnames
[] = {
24524 (char *) "self",(char *) "id", NULL
24527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24530 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24531 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24533 if (arg2
== NULL
) {
24534 PyErr_SetString(PyExc_TypeError
,"null reference");
24538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24539 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
24541 wxPyEndAllowThreads(__tstate
);
24542 if (PyErr_Occurred()) SWIG_fail
;
24544 Py_INCREF(Py_None
); resultobj
= Py_None
;
24551 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24552 PyObject
*resultobj
;
24553 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24554 PyObject
* obj0
= 0 ;
24555 char *kwnames
[] = {
24556 (char *) "self", NULL
24559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
24560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24564 wxPyTreeItemData_Destroy(arg1
);
24566 wxPyEndAllowThreads(__tstate
);
24567 if (PyErr_Occurred()) SWIG_fail
;
24569 Py_INCREF(Py_None
); resultobj
= Py_None
;
24576 static PyObject
* TreeItemData_swigregister(PyObject
*, PyObject
*args
) {
24578 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24579 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
24581 return Py_BuildValue((char *)"");
24583 static PyObject
*_wrap_new_TreeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24584 PyObject
*resultobj
;
24585 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
24586 int arg2
= (int) 0 ;
24587 wxTreeEvent
*result
;
24588 PyObject
* obj0
= 0 ;
24589 PyObject
* obj1
= 0 ;
24590 char *kwnames
[] = {
24591 (char *) "commandType",(char *) "id", NULL
24594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24596 arg1
= (wxEventType
)SWIG_As_int(obj0
);
24597 if (PyErr_Occurred()) SWIG_fail
;
24600 arg2
= (int)SWIG_As_int(obj1
);
24601 if (PyErr_Occurred()) SWIG_fail
;
24604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24605 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
24607 wxPyEndAllowThreads(__tstate
);
24608 if (PyErr_Occurred()) SWIG_fail
;
24610 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
24617 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24618 PyObject
*resultobj
;
24619 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24620 wxTreeItemId result
;
24621 PyObject
* obj0
= 0 ;
24622 char *kwnames
[] = {
24623 (char *) "self", NULL
24626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
24627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24631 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
24633 wxPyEndAllowThreads(__tstate
);
24634 if (PyErr_Occurred()) SWIG_fail
;
24637 wxTreeItemId
* resultptr
;
24638 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24639 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24647 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24648 PyObject
*resultobj
;
24649 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24650 wxTreeItemId
*arg2
= 0 ;
24651 PyObject
* obj0
= 0 ;
24652 PyObject
* obj1
= 0 ;
24653 char *kwnames
[] = {
24654 (char *) "self",(char *) "item", NULL
24657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24660 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24661 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24663 if (arg2
== NULL
) {
24664 PyErr_SetString(PyExc_TypeError
,"null reference");
24668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24669 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
24671 wxPyEndAllowThreads(__tstate
);
24672 if (PyErr_Occurred()) SWIG_fail
;
24674 Py_INCREF(Py_None
); resultobj
= Py_None
;
24681 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24682 PyObject
*resultobj
;
24683 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24684 wxTreeItemId result
;
24685 PyObject
* obj0
= 0 ;
24686 char *kwnames
[] = {
24687 (char *) "self", NULL
24690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
24691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24695 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
24697 wxPyEndAllowThreads(__tstate
);
24698 if (PyErr_Occurred()) SWIG_fail
;
24701 wxTreeItemId
* resultptr
;
24702 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24703 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24711 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24712 PyObject
*resultobj
;
24713 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24714 wxTreeItemId
*arg2
= 0 ;
24715 PyObject
* obj0
= 0 ;
24716 PyObject
* obj1
= 0 ;
24717 char *kwnames
[] = {
24718 (char *) "self",(char *) "item", NULL
24721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24724 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24725 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24727 if (arg2
== NULL
) {
24728 PyErr_SetString(PyExc_TypeError
,"null reference");
24732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24733 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
24735 wxPyEndAllowThreads(__tstate
);
24736 if (PyErr_Occurred()) SWIG_fail
;
24738 Py_INCREF(Py_None
); resultobj
= Py_None
;
24745 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24746 PyObject
*resultobj
;
24747 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24749 PyObject
* obj0
= 0 ;
24750 char *kwnames
[] = {
24751 (char *) "self", NULL
24754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
24755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24759 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
24761 wxPyEndAllowThreads(__tstate
);
24762 if (PyErr_Occurred()) SWIG_fail
;
24765 wxPoint
* resultptr
;
24766 resultptr
= new wxPoint((wxPoint
&) result
);
24767 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24775 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24776 PyObject
*resultobj
;
24777 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24778 wxPoint
*arg2
= 0 ;
24780 PyObject
* obj0
= 0 ;
24781 PyObject
* obj1
= 0 ;
24782 char *kwnames
[] = {
24783 (char *) "self",(char *) "pt", NULL
24786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
24787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24791 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24795 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
24797 wxPyEndAllowThreads(__tstate
);
24798 if (PyErr_Occurred()) SWIG_fail
;
24800 Py_INCREF(Py_None
); resultobj
= Py_None
;
24807 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24808 PyObject
*resultobj
;
24809 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24810 wxKeyEvent
*result
;
24811 PyObject
* obj0
= 0 ;
24812 char *kwnames
[] = {
24813 (char *) "self", NULL
24816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
24817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24822 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
24823 result
= (wxKeyEvent
*) &_result_ref
;
24826 wxPyEndAllowThreads(__tstate
);
24827 if (PyErr_Occurred()) SWIG_fail
;
24829 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
24836 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24837 PyObject
*resultobj
;
24838 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24840 PyObject
* obj0
= 0 ;
24841 char *kwnames
[] = {
24842 (char *) "self", NULL
24845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24850 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
24852 wxPyEndAllowThreads(__tstate
);
24853 if (PyErr_Occurred()) SWIG_fail
;
24855 resultobj
= SWIG_From_int((int)result
);
24862 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24863 PyObject
*resultobj
;
24864 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24865 wxKeyEvent
*arg2
= 0 ;
24866 PyObject
* obj0
= 0 ;
24867 PyObject
* obj1
= 0 ;
24868 char *kwnames
[] = {
24869 (char *) "self",(char *) "evt", NULL
24872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24875 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
24876 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24878 if (arg2
== NULL
) {
24879 PyErr_SetString(PyExc_TypeError
,"null reference");
24883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24884 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
24886 wxPyEndAllowThreads(__tstate
);
24887 if (PyErr_Occurred()) SWIG_fail
;
24889 Py_INCREF(Py_None
); resultobj
= Py_None
;
24896 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24897 PyObject
*resultobj
;
24898 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24900 PyObject
* obj0
= 0 ;
24901 char *kwnames
[] = {
24902 (char *) "self", NULL
24905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
24906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24911 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
24912 result
= (wxString
*) &_result_ref
;
24915 wxPyEndAllowThreads(__tstate
);
24916 if (PyErr_Occurred()) SWIG_fail
;
24920 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24922 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24931 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24932 PyObject
*resultobj
;
24933 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24934 wxString
*arg2
= 0 ;
24935 bool temp2
= False
;
24936 PyObject
* obj0
= 0 ;
24937 PyObject
* obj1
= 0 ;
24938 char *kwnames
[] = {
24939 (char *) "self",(char *) "label", NULL
24942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
24943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24946 arg2
= wxString_in_helper(obj1
);
24947 if (arg2
== NULL
) SWIG_fail
;
24951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24952 (arg1
)->SetLabel((wxString
const &)*arg2
);
24954 wxPyEndAllowThreads(__tstate
);
24955 if (PyErr_Occurred()) SWIG_fail
;
24957 Py_INCREF(Py_None
); resultobj
= Py_None
;
24972 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24973 PyObject
*resultobj
;
24974 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24976 PyObject
* obj0
= 0 ;
24977 char *kwnames
[] = {
24978 (char *) "self", NULL
24981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
24982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24986 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
24988 wxPyEndAllowThreads(__tstate
);
24989 if (PyErr_Occurred()) SWIG_fail
;
24992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25000 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25001 PyObject
*resultobj
;
25002 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25004 PyObject
* obj0
= 0 ;
25005 PyObject
* obj1
= 0 ;
25006 char *kwnames
[] = {
25007 (char *) "self",(char *) "editCancelled", NULL
25010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
25011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25013 arg2
= (bool)SWIG_As_bool(obj1
);
25014 if (PyErr_Occurred()) SWIG_fail
;
25016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25017 (arg1
)->SetEditCanceled(arg2
);
25019 wxPyEndAllowThreads(__tstate
);
25020 if (PyErr_Occurred()) SWIG_fail
;
25022 Py_INCREF(Py_None
); resultobj
= Py_None
;
25029 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25030 PyObject
*resultobj
;
25031 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25032 wxString
*arg2
= 0 ;
25033 bool temp2
= False
;
25034 PyObject
* obj0
= 0 ;
25035 PyObject
* obj1
= 0 ;
25036 char *kwnames
[] = {
25037 (char *) "self",(char *) "toolTip", NULL
25040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
25041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25044 arg2
= wxString_in_helper(obj1
);
25045 if (arg2
== NULL
) SWIG_fail
;
25049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25050 (arg1
)->SetToolTip((wxString
const &)*arg2
);
25052 wxPyEndAllowThreads(__tstate
);
25053 if (PyErr_Occurred()) SWIG_fail
;
25055 Py_INCREF(Py_None
); resultobj
= Py_None
;
25070 static PyObject
* TreeEvent_swigregister(PyObject
*, PyObject
*args
) {
25072 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25073 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
25075 return Py_BuildValue((char *)"");
25077 static PyObject
*_wrap_new_TreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25078 PyObject
*resultobj
;
25079 wxWindow
*arg1
= (wxWindow
*) 0 ;
25080 int arg2
= (int) -1 ;
25081 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25082 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25083 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25084 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25085 long arg5
= (long) wxTR_DEFAULT_STYLE
;
25086 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
25087 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
25088 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
25089 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25090 wxPyTreeCtrl
*result
;
25093 bool temp7
= False
;
25094 PyObject
* obj0
= 0 ;
25095 PyObject
* obj1
= 0 ;
25096 PyObject
* obj2
= 0 ;
25097 PyObject
* obj3
= 0 ;
25098 PyObject
* obj4
= 0 ;
25099 PyObject
* obj5
= 0 ;
25100 PyObject
* obj6
= 0 ;
25101 char *kwnames
[] = {
25102 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25109 arg2
= (int)SWIG_As_int(obj1
);
25110 if (PyErr_Occurred()) SWIG_fail
;
25115 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25121 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25125 arg5
= (long)SWIG_As_long(obj4
);
25126 if (PyErr_Occurred()) SWIG_fail
;
25129 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
25130 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25132 if (arg6
== NULL
) {
25133 PyErr_SetString(PyExc_TypeError
,"null reference");
25139 arg7
= wxString_in_helper(obj6
);
25140 if (arg7
== NULL
) SWIG_fail
;
25145 if (!wxPyCheckForApp()) SWIG_fail
;
25146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25147 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
25149 wxPyEndAllowThreads(__tstate
);
25150 if (PyErr_Occurred()) SWIG_fail
;
25152 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
25167 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25168 PyObject
*resultobj
;
25169 wxPyTreeCtrl
*result
;
25170 char *kwnames
[] = {
25174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
25176 if (!wxPyCheckForApp()) SWIG_fail
;
25177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25178 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
25180 wxPyEndAllowThreads(__tstate
);
25181 if (PyErr_Occurred()) SWIG_fail
;
25183 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
25190 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25191 PyObject
*resultobj
;
25192 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25193 wxWindow
*arg2
= (wxWindow
*) 0 ;
25194 int arg3
= (int) -1 ;
25195 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25196 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25197 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25198 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25199 long arg6
= (long) wxTR_DEFAULT_STYLE
;
25200 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
25201 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
25202 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
25203 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
25207 bool temp8
= False
;
25208 PyObject
* obj0
= 0 ;
25209 PyObject
* obj1
= 0 ;
25210 PyObject
* obj2
= 0 ;
25211 PyObject
* obj3
= 0 ;
25212 PyObject
* obj4
= 0 ;
25213 PyObject
* obj5
= 0 ;
25214 PyObject
* obj6
= 0 ;
25215 PyObject
* obj7
= 0 ;
25216 char *kwnames
[] = {
25217 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
25221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25223 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25226 arg3
= (int)SWIG_As_int(obj2
);
25227 if (PyErr_Occurred()) SWIG_fail
;
25232 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25238 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25242 arg6
= (long)SWIG_As_long(obj5
);
25243 if (PyErr_Occurred()) SWIG_fail
;
25246 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
25247 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25249 if (arg7
== NULL
) {
25250 PyErr_SetString(PyExc_TypeError
,"null reference");
25256 arg8
= wxString_in_helper(obj7
);
25257 if (arg8
== NULL
) SWIG_fail
;
25262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25263 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
25265 wxPyEndAllowThreads(__tstate
);
25266 if (PyErr_Occurred()) SWIG_fail
;
25269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25285 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25286 PyObject
*resultobj
;
25287 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25288 PyObject
*arg2
= (PyObject
*) 0 ;
25289 PyObject
*arg3
= (PyObject
*) 0 ;
25290 PyObject
* obj0
= 0 ;
25291 PyObject
* obj1
= 0 ;
25292 PyObject
* obj2
= 0 ;
25293 char *kwnames
[] = {
25294 (char *) "self",(char *) "self",(char *) "_class", NULL
25297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25304 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25306 wxPyEndAllowThreads(__tstate
);
25307 if (PyErr_Occurred()) SWIG_fail
;
25309 Py_INCREF(Py_None
); resultobj
= Py_None
;
25316 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25317 PyObject
*resultobj
;
25318 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25320 PyObject
* obj0
= 0 ;
25321 char *kwnames
[] = {
25322 (char *) "self", NULL
25325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
25326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25330 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
25332 wxPyEndAllowThreads(__tstate
);
25333 if (PyErr_Occurred()) SWIG_fail
;
25335 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25342 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25343 PyObject
*resultobj
;
25344 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25345 unsigned int result
;
25346 PyObject
* obj0
= 0 ;
25347 char *kwnames
[] = {
25348 (char *) "self", NULL
25351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
25352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25356 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
25358 wxPyEndAllowThreads(__tstate
);
25359 if (PyErr_Occurred()) SWIG_fail
;
25361 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
25368 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25369 PyObject
*resultobj
;
25370 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25371 unsigned int arg2
;
25372 PyObject
* obj0
= 0 ;
25373 PyObject
* obj1
= 0 ;
25374 char *kwnames
[] = {
25375 (char *) "self",(char *) "indent", NULL
25378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
25379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25381 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
25382 if (PyErr_Occurred()) SWIG_fail
;
25384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25385 (arg1
)->SetIndent(arg2
);
25387 wxPyEndAllowThreads(__tstate
);
25388 if (PyErr_Occurred()) SWIG_fail
;
25390 Py_INCREF(Py_None
); resultobj
= Py_None
;
25397 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25398 PyObject
*resultobj
;
25399 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25400 unsigned int result
;
25401 PyObject
* obj0
= 0 ;
25402 char *kwnames
[] = {
25403 (char *) "self", NULL
25406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
25407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25411 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
25413 wxPyEndAllowThreads(__tstate
);
25414 if (PyErr_Occurred()) SWIG_fail
;
25416 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
25423 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25424 PyObject
*resultobj
;
25425 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25426 unsigned int arg2
;
25427 PyObject
* obj0
= 0 ;
25428 PyObject
* obj1
= 0 ;
25429 char *kwnames
[] = {
25430 (char *) "self",(char *) "spacing", NULL
25433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
25434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25436 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
25437 if (PyErr_Occurred()) SWIG_fail
;
25439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25440 (arg1
)->SetSpacing(arg2
);
25442 wxPyEndAllowThreads(__tstate
);
25443 if (PyErr_Occurred()) SWIG_fail
;
25445 Py_INCREF(Py_None
); resultobj
= Py_None
;
25452 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25453 PyObject
*resultobj
;
25454 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25455 wxImageList
*result
;
25456 PyObject
* obj0
= 0 ;
25457 char *kwnames
[] = {
25458 (char *) "self", NULL
25461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
25462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25466 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
25468 wxPyEndAllowThreads(__tstate
);
25469 if (PyErr_Occurred()) SWIG_fail
;
25472 resultobj
= wxPyMake_wxObject(result
, 0);
25480 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25481 PyObject
*resultobj
;
25482 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25483 wxImageList
*result
;
25484 PyObject
* obj0
= 0 ;
25485 char *kwnames
[] = {
25486 (char *) "self", NULL
25489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
25490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25494 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
25496 wxPyEndAllowThreads(__tstate
);
25497 if (PyErr_Occurred()) SWIG_fail
;
25500 resultobj
= wxPyMake_wxObject(result
, 0);
25508 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25509 PyObject
*resultobj
;
25510 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25511 wxImageList
*arg2
= (wxImageList
*) 0 ;
25512 PyObject
* obj0
= 0 ;
25513 PyObject
* obj1
= 0 ;
25514 char *kwnames
[] = {
25515 (char *) "self",(char *) "imageList", NULL
25518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25521 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25525 (arg1
)->SetImageList(arg2
);
25527 wxPyEndAllowThreads(__tstate
);
25528 if (PyErr_Occurred()) SWIG_fail
;
25530 Py_INCREF(Py_None
); resultobj
= Py_None
;
25537 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25538 PyObject
*resultobj
;
25539 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25540 wxImageList
*arg2
= (wxImageList
*) 0 ;
25541 PyObject
* obj0
= 0 ;
25542 PyObject
* obj1
= 0 ;
25543 char *kwnames
[] = {
25544 (char *) "self",(char *) "imageList", NULL
25547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25550 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25554 (arg1
)->SetStateImageList(arg2
);
25556 wxPyEndAllowThreads(__tstate
);
25557 if (PyErr_Occurred()) SWIG_fail
;
25559 Py_INCREF(Py_None
); resultobj
= Py_None
;
25566 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25567 PyObject
*resultobj
;
25568 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25569 wxImageList
*arg2
= (wxImageList
*) 0 ;
25570 PyObject
* obj0
= 0 ;
25571 PyObject
* obj1
= 0 ;
25572 char *kwnames
[] = {
25573 (char *) "self",(char *) "imageList", NULL
25576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25579 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25580 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25583 (arg1
)->AssignImageList(arg2
);
25585 wxPyEndAllowThreads(__tstate
);
25586 if (PyErr_Occurred()) SWIG_fail
;
25588 Py_INCREF(Py_None
); resultobj
= Py_None
;
25595 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25596 PyObject
*resultobj
;
25597 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25598 wxImageList
*arg2
= (wxImageList
*) 0 ;
25599 PyObject
* obj0
= 0 ;
25600 PyObject
* obj1
= 0 ;
25601 char *kwnames
[] = {
25602 (char *) "self",(char *) "imageList", NULL
25605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25608 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25609 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25612 (arg1
)->AssignStateImageList(arg2
);
25614 wxPyEndAllowThreads(__tstate
);
25615 if (PyErr_Occurred()) SWIG_fail
;
25617 Py_INCREF(Py_None
); resultobj
= Py_None
;
25624 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25625 PyObject
*resultobj
;
25626 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25627 wxTreeItemId
*arg2
= 0 ;
25629 PyObject
* obj0
= 0 ;
25630 PyObject
* obj1
= 0 ;
25631 char *kwnames
[] = {
25632 (char *) "self",(char *) "item", NULL
25635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
25636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25638 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25639 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25641 if (arg2
== NULL
) {
25642 PyErr_SetString(PyExc_TypeError
,"null reference");
25646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25647 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
25649 wxPyEndAllowThreads(__tstate
);
25650 if (PyErr_Occurred()) SWIG_fail
;
25654 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25656 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25665 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25666 PyObject
*resultobj
;
25667 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25668 wxTreeItemId
*arg2
= 0 ;
25669 int arg3
= (int) wxTreeItemIcon_Normal
;
25671 PyObject
* obj0
= 0 ;
25672 PyObject
* obj1
= 0 ;
25673 PyObject
* obj2
= 0 ;
25674 char *kwnames
[] = {
25675 (char *) "self",(char *) "item",(char *) "which", NULL
25678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25681 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25682 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25684 if (arg2
== NULL
) {
25685 PyErr_SetString(PyExc_TypeError
,"null reference");
25689 arg3
= (int)SWIG_As_int(obj2
);
25690 if (PyErr_Occurred()) SWIG_fail
;
25693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25694 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
25696 wxPyEndAllowThreads(__tstate
);
25697 if (PyErr_Occurred()) SWIG_fail
;
25699 resultobj
= SWIG_From_int((int)result
);
25706 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25707 PyObject
*resultobj
;
25708 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25709 wxTreeItemId
*arg2
= 0 ;
25710 wxPyTreeItemData
*result
;
25711 PyObject
* obj0
= 0 ;
25712 PyObject
* obj1
= 0 ;
25713 char *kwnames
[] = {
25714 (char *) "self",(char *) "item", NULL
25717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
25718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25720 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25721 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25723 if (arg2
== NULL
) {
25724 PyErr_SetString(PyExc_TypeError
,"null reference");
25728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25729 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
25731 wxPyEndAllowThreads(__tstate
);
25732 if (PyErr_Occurred()) SWIG_fail
;
25734 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
25741 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25742 PyObject
*resultobj
;
25743 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25744 wxTreeItemId
*arg2
= 0 ;
25746 PyObject
* obj0
= 0 ;
25747 PyObject
* obj1
= 0 ;
25748 char *kwnames
[] = {
25749 (char *) "self",(char *) "item", NULL
25752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
25753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25755 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25756 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25758 if (arg2
== NULL
) {
25759 PyErr_SetString(PyExc_TypeError
,"null reference");
25763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25764 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
25766 wxPyEndAllowThreads(__tstate
);
25767 if (PyErr_Occurred()) SWIG_fail
;
25769 resultobj
= result
;
25776 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25777 PyObject
*resultobj
;
25778 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25779 wxTreeItemId
*arg2
= 0 ;
25781 PyObject
* obj0
= 0 ;
25782 PyObject
* obj1
= 0 ;
25783 char *kwnames
[] = {
25784 (char *) "self",(char *) "item", NULL
25787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25790 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25791 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25793 if (arg2
== NULL
) {
25794 PyErr_SetString(PyExc_TypeError
,"null reference");
25798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25799 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
25801 wxPyEndAllowThreads(__tstate
);
25802 if (PyErr_Occurred()) SWIG_fail
;
25805 wxColour
* resultptr
;
25806 resultptr
= new wxColour((wxColour
&) result
);
25807 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25815 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25816 PyObject
*resultobj
;
25817 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25818 wxTreeItemId
*arg2
= 0 ;
25820 PyObject
* obj0
= 0 ;
25821 PyObject
* obj1
= 0 ;
25822 char *kwnames
[] = {
25823 (char *) "self",(char *) "item", NULL
25826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25829 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25830 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25832 if (arg2
== NULL
) {
25833 PyErr_SetString(PyExc_TypeError
,"null reference");
25837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25838 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
25840 wxPyEndAllowThreads(__tstate
);
25841 if (PyErr_Occurred()) SWIG_fail
;
25844 wxColour
* resultptr
;
25845 resultptr
= new wxColour((wxColour
&) result
);
25846 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25854 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25855 PyObject
*resultobj
;
25856 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25857 wxTreeItemId
*arg2
= 0 ;
25859 PyObject
* obj0
= 0 ;
25860 PyObject
* obj1
= 0 ;
25861 char *kwnames
[] = {
25862 (char *) "self",(char *) "item", NULL
25865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
25866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25868 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25869 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25871 if (arg2
== NULL
) {
25872 PyErr_SetString(PyExc_TypeError
,"null reference");
25876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25877 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
25879 wxPyEndAllowThreads(__tstate
);
25880 if (PyErr_Occurred()) SWIG_fail
;
25883 wxFont
* resultptr
;
25884 resultptr
= new wxFont((wxFont
&) result
);
25885 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
25893 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25894 PyObject
*resultobj
;
25895 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25896 wxTreeItemId
*arg2
= 0 ;
25897 wxString
*arg3
= 0 ;
25898 bool temp3
= False
;
25899 PyObject
* obj0
= 0 ;
25900 PyObject
* obj1
= 0 ;
25901 PyObject
* obj2
= 0 ;
25902 char *kwnames
[] = {
25903 (char *) "self",(char *) "item",(char *) "text", NULL
25906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25909 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25910 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25912 if (arg2
== NULL
) {
25913 PyErr_SetString(PyExc_TypeError
,"null reference");
25917 arg3
= wxString_in_helper(obj2
);
25918 if (arg3
== NULL
) SWIG_fail
;
25922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25923 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
25925 wxPyEndAllowThreads(__tstate
);
25926 if (PyErr_Occurred()) SWIG_fail
;
25928 Py_INCREF(Py_None
); resultobj
= Py_None
;
25943 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25944 PyObject
*resultobj
;
25945 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25946 wxTreeItemId
*arg2
= 0 ;
25948 int arg4
= (int) wxTreeItemIcon_Normal
;
25949 PyObject
* obj0
= 0 ;
25950 PyObject
* obj1
= 0 ;
25951 PyObject
* obj2
= 0 ;
25952 PyObject
* obj3
= 0 ;
25953 char *kwnames
[] = {
25954 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
25957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25960 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25961 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25963 if (arg2
== NULL
) {
25964 PyErr_SetString(PyExc_TypeError
,"null reference");
25967 arg3
= (int)SWIG_As_int(obj2
);
25968 if (PyErr_Occurred()) SWIG_fail
;
25970 arg4
= (int)SWIG_As_int(obj3
);
25971 if (PyErr_Occurred()) SWIG_fail
;
25974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25975 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
25977 wxPyEndAllowThreads(__tstate
);
25978 if (PyErr_Occurred()) SWIG_fail
;
25980 Py_INCREF(Py_None
); resultobj
= Py_None
;
25987 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25988 PyObject
*resultobj
;
25989 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25990 wxTreeItemId
*arg2
= 0 ;
25991 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
25992 PyObject
* obj0
= 0 ;
25993 PyObject
* obj1
= 0 ;
25994 PyObject
* obj2
= 0 ;
25995 char *kwnames
[] = {
25996 (char *) "self",(char *) "item",(char *) "data", NULL
25999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26002 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26003 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26005 if (arg2
== NULL
) {
26006 PyErr_SetString(PyExc_TypeError
,"null reference");
26009 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
,
26010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26013 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26015 wxPyEndAllowThreads(__tstate
);
26016 if (PyErr_Occurred()) SWIG_fail
;
26018 Py_INCREF(Py_None
); resultobj
= Py_None
;
26025 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26026 PyObject
*resultobj
;
26027 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26028 wxTreeItemId
*arg2
= 0 ;
26029 PyObject
*arg3
= (PyObject
*) 0 ;
26030 PyObject
* obj0
= 0 ;
26031 PyObject
* obj1
= 0 ;
26032 PyObject
* obj2
= 0 ;
26033 char *kwnames
[] = {
26034 (char *) "self",(char *) "item",(char *) "obj", NULL
26037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26040 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26041 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26043 if (arg2
== NULL
) {
26044 PyErr_SetString(PyExc_TypeError
,"null reference");
26049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26050 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26052 wxPyEndAllowThreads(__tstate
);
26053 if (PyErr_Occurred()) SWIG_fail
;
26055 Py_INCREF(Py_None
); resultobj
= Py_None
;
26062 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26063 PyObject
*resultobj
;
26064 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26065 wxTreeItemId
*arg2
= 0 ;
26066 bool arg3
= (bool) True
;
26067 PyObject
* obj0
= 0 ;
26068 PyObject
* obj1
= 0 ;
26069 PyObject
* obj2
= 0 ;
26070 char *kwnames
[] = {
26071 (char *) "self",(char *) "item",(char *) "has", NULL
26074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26077 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26078 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26080 if (arg2
== NULL
) {
26081 PyErr_SetString(PyExc_TypeError
,"null reference");
26085 arg3
= (bool)SWIG_As_bool(obj2
);
26086 if (PyErr_Occurred()) SWIG_fail
;
26089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26090 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
26092 wxPyEndAllowThreads(__tstate
);
26093 if (PyErr_Occurred()) SWIG_fail
;
26095 Py_INCREF(Py_None
); resultobj
= Py_None
;
26102 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26103 PyObject
*resultobj
;
26104 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26105 wxTreeItemId
*arg2
= 0 ;
26106 bool arg3
= (bool) True
;
26107 PyObject
* obj0
= 0 ;
26108 PyObject
* obj1
= 0 ;
26109 PyObject
* obj2
= 0 ;
26110 char *kwnames
[] = {
26111 (char *) "self",(char *) "item",(char *) "bold", NULL
26114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26117 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26118 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26120 if (arg2
== NULL
) {
26121 PyErr_SetString(PyExc_TypeError
,"null reference");
26125 arg3
= (bool)SWIG_As_bool(obj2
);
26126 if (PyErr_Occurred()) SWIG_fail
;
26129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26130 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
26132 wxPyEndAllowThreads(__tstate
);
26133 if (PyErr_Occurred()) SWIG_fail
;
26135 Py_INCREF(Py_None
); resultobj
= Py_None
;
26142 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26143 PyObject
*resultobj
;
26144 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26145 wxTreeItemId
*arg2
= 0 ;
26146 wxColour
*arg3
= 0 ;
26148 PyObject
* obj0
= 0 ;
26149 PyObject
* obj1
= 0 ;
26150 PyObject
* obj2
= 0 ;
26151 char *kwnames
[] = {
26152 (char *) "self",(char *) "item",(char *) "col", NULL
26155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26158 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26159 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26161 if (arg2
== NULL
) {
26162 PyErr_SetString(PyExc_TypeError
,"null reference");
26167 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26171 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
26173 wxPyEndAllowThreads(__tstate
);
26174 if (PyErr_Occurred()) SWIG_fail
;
26176 Py_INCREF(Py_None
); resultobj
= Py_None
;
26183 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26184 PyObject
*resultobj
;
26185 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26186 wxTreeItemId
*arg2
= 0 ;
26187 wxColour
*arg3
= 0 ;
26189 PyObject
* obj0
= 0 ;
26190 PyObject
* obj1
= 0 ;
26191 PyObject
* obj2
= 0 ;
26192 char *kwnames
[] = {
26193 (char *) "self",(char *) "item",(char *) "col", NULL
26196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26199 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26200 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26202 if (arg2
== NULL
) {
26203 PyErr_SetString(PyExc_TypeError
,"null reference");
26208 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26212 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
26214 wxPyEndAllowThreads(__tstate
);
26215 if (PyErr_Occurred()) SWIG_fail
;
26217 Py_INCREF(Py_None
); resultobj
= Py_None
;
26224 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26225 PyObject
*resultobj
;
26226 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26227 wxTreeItemId
*arg2
= 0 ;
26229 PyObject
* obj0
= 0 ;
26230 PyObject
* obj1
= 0 ;
26231 PyObject
* obj2
= 0 ;
26232 char *kwnames
[] = {
26233 (char *) "self",(char *) "item",(char *) "font", NULL
26236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26239 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26240 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26242 if (arg2
== NULL
) {
26243 PyErr_SetString(PyExc_TypeError
,"null reference");
26246 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
26247 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26249 if (arg3
== NULL
) {
26250 PyErr_SetString(PyExc_TypeError
,"null reference");
26254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26255 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
26257 wxPyEndAllowThreads(__tstate
);
26258 if (PyErr_Occurred()) SWIG_fail
;
26260 Py_INCREF(Py_None
); resultobj
= Py_None
;
26267 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26268 PyObject
*resultobj
;
26269 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26270 wxTreeItemId
*arg2
= 0 ;
26272 PyObject
* obj0
= 0 ;
26273 PyObject
* obj1
= 0 ;
26274 char *kwnames
[] = {
26275 (char *) "self",(char *) "item", NULL
26278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26281 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26282 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26284 if (arg2
== NULL
) {
26285 PyErr_SetString(PyExc_TypeError
,"null reference");
26289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26290 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
26292 wxPyEndAllowThreads(__tstate
);
26293 if (PyErr_Occurred()) SWIG_fail
;
26296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26304 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26305 PyObject
*resultobj
;
26306 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26307 wxTreeItemId
*arg2
= 0 ;
26309 PyObject
* obj0
= 0 ;
26310 PyObject
* obj1
= 0 ;
26311 char *kwnames
[] = {
26312 (char *) "self",(char *) "item", NULL
26315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26318 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26319 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26321 if (arg2
== NULL
) {
26322 PyErr_SetString(PyExc_TypeError
,"null reference");
26326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26327 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
26329 wxPyEndAllowThreads(__tstate
);
26330 if (PyErr_Occurred()) SWIG_fail
;
26333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26341 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26342 PyObject
*resultobj
;
26343 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26344 wxTreeItemId
*arg2
= 0 ;
26346 PyObject
* obj0
= 0 ;
26347 PyObject
* obj1
= 0 ;
26348 char *kwnames
[] = {
26349 (char *) "self",(char *) "item", NULL
26352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
26353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26355 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26356 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26358 if (arg2
== NULL
) {
26359 PyErr_SetString(PyExc_TypeError
,"null reference");
26363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26364 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
26366 wxPyEndAllowThreads(__tstate
);
26367 if (PyErr_Occurred()) SWIG_fail
;
26370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26378 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26379 PyObject
*resultobj
;
26380 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26381 wxTreeItemId
*arg2
= 0 ;
26383 PyObject
* obj0
= 0 ;
26384 PyObject
* obj1
= 0 ;
26385 char *kwnames
[] = {
26386 (char *) "self",(char *) "item", NULL
26389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26392 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26393 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26395 if (arg2
== NULL
) {
26396 PyErr_SetString(PyExc_TypeError
,"null reference");
26400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26401 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
26403 wxPyEndAllowThreads(__tstate
);
26404 if (PyErr_Occurred()) SWIG_fail
;
26407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26415 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26416 PyObject
*resultobj
;
26417 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26418 wxTreeItemId
*arg2
= 0 ;
26420 PyObject
* obj0
= 0 ;
26421 PyObject
* obj1
= 0 ;
26422 char *kwnames
[] = {
26423 (char *) "self",(char *) "item", NULL
26426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
26427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26429 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26430 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26432 if (arg2
== NULL
) {
26433 PyErr_SetString(PyExc_TypeError
,"null reference");
26437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26438 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
26440 wxPyEndAllowThreads(__tstate
);
26441 if (PyErr_Occurred()) SWIG_fail
;
26444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26452 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26453 PyObject
*resultobj
;
26454 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26455 wxTreeItemId
*arg2
= 0 ;
26456 bool arg3
= (bool) True
;
26458 PyObject
* obj0
= 0 ;
26459 PyObject
* obj1
= 0 ;
26460 PyObject
* obj2
= 0 ;
26461 char *kwnames
[] = {
26462 (char *) "self",(char *) "item",(char *) "recursively", NULL
26465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26468 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26469 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26471 if (arg2
== NULL
) {
26472 PyErr_SetString(PyExc_TypeError
,"null reference");
26476 arg3
= (bool)SWIG_As_bool(obj2
);
26477 if (PyErr_Occurred()) SWIG_fail
;
26480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26481 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
26483 wxPyEndAllowThreads(__tstate
);
26484 if (PyErr_Occurred()) SWIG_fail
;
26486 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
26493 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26494 PyObject
*resultobj
;
26495 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26496 wxTreeItemId result
;
26497 PyObject
* obj0
= 0 ;
26498 char *kwnames
[] = {
26499 (char *) "self", NULL
26502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
26503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26507 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
26509 wxPyEndAllowThreads(__tstate
);
26510 if (PyErr_Occurred()) SWIG_fail
;
26513 wxTreeItemId
* resultptr
;
26514 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26515 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26523 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26524 PyObject
*resultobj
;
26525 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26526 wxTreeItemId result
;
26527 PyObject
* obj0
= 0 ;
26528 char *kwnames
[] = {
26529 (char *) "self", NULL
26532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
26533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26537 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
26539 wxPyEndAllowThreads(__tstate
);
26540 if (PyErr_Occurred()) SWIG_fail
;
26543 wxTreeItemId
* resultptr
;
26544 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26545 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26553 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26554 PyObject
*resultobj
;
26555 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26557 PyObject
* obj0
= 0 ;
26558 char *kwnames
[] = {
26559 (char *) "self", NULL
26562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
26563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26567 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
26569 wxPyEndAllowThreads(__tstate
);
26570 if (PyErr_Occurred()) SWIG_fail
;
26572 resultobj
= result
;
26579 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26580 PyObject
*resultobj
;
26581 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26582 wxTreeItemId
*arg2
= 0 ;
26583 wxTreeItemId result
;
26584 PyObject
* obj0
= 0 ;
26585 PyObject
* obj1
= 0 ;
26586 char *kwnames
[] = {
26587 (char *) "self",(char *) "item", NULL
26590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26593 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26594 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26596 if (arg2
== NULL
) {
26597 PyErr_SetString(PyExc_TypeError
,"null reference");
26601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26602 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
26604 wxPyEndAllowThreads(__tstate
);
26605 if (PyErr_Occurred()) SWIG_fail
;
26608 wxTreeItemId
* resultptr
;
26609 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26610 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26618 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26619 PyObject
*resultobj
;
26620 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26621 wxTreeItemId
*arg2
= 0 ;
26623 PyObject
* obj0
= 0 ;
26624 PyObject
* obj1
= 0 ;
26625 char *kwnames
[] = {
26626 (char *) "self",(char *) "item", NULL
26629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
26630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26632 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26633 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26635 if (arg2
== NULL
) {
26636 PyErr_SetString(PyExc_TypeError
,"null reference");
26640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26641 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
26643 wxPyEndAllowThreads(__tstate
);
26644 if (PyErr_Occurred()) SWIG_fail
;
26646 resultobj
= result
;
26653 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26654 PyObject
*resultobj
;
26655 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26656 wxTreeItemId
*arg2
= 0 ;
26657 void *arg3
= (void *) 0 ;
26659 PyObject
* obj0
= 0 ;
26660 PyObject
* obj1
= 0 ;
26661 PyObject
* obj2
= 0 ;
26662 char *kwnames
[] = {
26663 (char *) "self",(char *) "item",(char *) "cookie", NULL
26666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26669 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26670 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26672 if (arg2
== NULL
) {
26673 PyErr_SetString(PyExc_TypeError
,"null reference");
26676 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26679 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26681 wxPyEndAllowThreads(__tstate
);
26682 if (PyErr_Occurred()) SWIG_fail
;
26684 resultobj
= result
;
26691 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26692 PyObject
*resultobj
;
26693 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26694 wxTreeItemId
*arg2
= 0 ;
26695 wxTreeItemId result
;
26696 PyObject
* obj0
= 0 ;
26697 PyObject
* obj1
= 0 ;
26698 char *kwnames
[] = {
26699 (char *) "self",(char *) "item", NULL
26702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
26703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26705 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26706 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26708 if (arg2
== NULL
) {
26709 PyErr_SetString(PyExc_TypeError
,"null reference");
26713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26714 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
26716 wxPyEndAllowThreads(__tstate
);
26717 if (PyErr_Occurred()) SWIG_fail
;
26720 wxTreeItemId
* resultptr
;
26721 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26722 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26730 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26731 PyObject
*resultobj
;
26732 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26733 wxTreeItemId
*arg2
= 0 ;
26734 wxTreeItemId result
;
26735 PyObject
* obj0
= 0 ;
26736 PyObject
* obj1
= 0 ;
26737 char *kwnames
[] = {
26738 (char *) "self",(char *) "item", NULL
26741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
26742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26744 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26745 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26747 if (arg2
== NULL
) {
26748 PyErr_SetString(PyExc_TypeError
,"null reference");
26752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26753 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
26755 wxPyEndAllowThreads(__tstate
);
26756 if (PyErr_Occurred()) SWIG_fail
;
26759 wxTreeItemId
* resultptr
;
26760 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26761 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26769 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26770 PyObject
*resultobj
;
26771 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26772 wxTreeItemId
*arg2
= 0 ;
26773 wxTreeItemId result
;
26774 PyObject
* obj0
= 0 ;
26775 PyObject
* obj1
= 0 ;
26776 char *kwnames
[] = {
26777 (char *) "self",(char *) "item", NULL
26780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
26781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26783 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26784 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26786 if (arg2
== NULL
) {
26787 PyErr_SetString(PyExc_TypeError
,"null reference");
26791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26792 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
26794 wxPyEndAllowThreads(__tstate
);
26795 if (PyErr_Occurred()) SWIG_fail
;
26798 wxTreeItemId
* resultptr
;
26799 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26800 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26808 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26809 PyObject
*resultobj
;
26810 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26811 wxTreeItemId result
;
26812 PyObject
* obj0
= 0 ;
26813 char *kwnames
[] = {
26814 (char *) "self", NULL
26817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
26818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26822 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
26824 wxPyEndAllowThreads(__tstate
);
26825 if (PyErr_Occurred()) SWIG_fail
;
26828 wxTreeItemId
* resultptr
;
26829 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26830 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26838 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26839 PyObject
*resultobj
;
26840 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26841 wxTreeItemId
*arg2
= 0 ;
26842 wxTreeItemId result
;
26843 PyObject
* obj0
= 0 ;
26844 PyObject
* obj1
= 0 ;
26845 char *kwnames
[] = {
26846 (char *) "self",(char *) "item", NULL
26849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26852 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26853 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26855 if (arg2
== NULL
) {
26856 PyErr_SetString(PyExc_TypeError
,"null reference");
26860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26861 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
26863 wxPyEndAllowThreads(__tstate
);
26864 if (PyErr_Occurred()) SWIG_fail
;
26867 wxTreeItemId
* resultptr
;
26868 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26869 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26877 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26878 PyObject
*resultobj
;
26879 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26880 wxTreeItemId
*arg2
= 0 ;
26881 wxTreeItemId result
;
26882 PyObject
* obj0
= 0 ;
26883 PyObject
* obj1
= 0 ;
26884 char *kwnames
[] = {
26885 (char *) "self",(char *) "item", NULL
26888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26891 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26892 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26894 if (arg2
== NULL
) {
26895 PyErr_SetString(PyExc_TypeError
,"null reference");
26899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26900 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
26902 wxPyEndAllowThreads(__tstate
);
26903 if (PyErr_Occurred()) SWIG_fail
;
26906 wxTreeItemId
* resultptr
;
26907 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26908 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26916 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26917 PyObject
*resultobj
;
26918 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26919 wxString
*arg2
= 0 ;
26920 int arg3
= (int) -1 ;
26921 int arg4
= (int) -1 ;
26922 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
26923 wxTreeItemId result
;
26924 bool temp2
= False
;
26925 PyObject
* obj0
= 0 ;
26926 PyObject
* obj1
= 0 ;
26927 PyObject
* obj2
= 0 ;
26928 PyObject
* obj3
= 0 ;
26929 PyObject
* obj4
= 0 ;
26930 char *kwnames
[] = {
26931 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26938 arg2
= wxString_in_helper(obj1
);
26939 if (arg2
== NULL
) SWIG_fail
;
26943 arg3
= (int)SWIG_As_int(obj2
);
26944 if (PyErr_Occurred()) SWIG_fail
;
26947 arg4
= (int)SWIG_As_int(obj3
);
26948 if (PyErr_Occurred()) SWIG_fail
;
26951 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
,
26952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26956 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
26958 wxPyEndAllowThreads(__tstate
);
26959 if (PyErr_Occurred()) SWIG_fail
;
26962 wxTreeItemId
* resultptr
;
26963 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26964 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26980 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26981 PyObject
*resultobj
;
26982 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26983 wxTreeItemId
*arg2
= 0 ;
26984 wxString
*arg3
= 0 ;
26985 int arg4
= (int) -1 ;
26986 int arg5
= (int) -1 ;
26987 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
26988 wxTreeItemId result
;
26989 bool temp3
= False
;
26990 PyObject
* obj0
= 0 ;
26991 PyObject
* obj1
= 0 ;
26992 PyObject
* obj2
= 0 ;
26993 PyObject
* obj3
= 0 ;
26994 PyObject
* obj4
= 0 ;
26995 PyObject
* obj5
= 0 ;
26996 char *kwnames
[] = {
26997 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27003 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27004 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27006 if (arg2
== NULL
) {
27007 PyErr_SetString(PyExc_TypeError
,"null reference");
27011 arg3
= wxString_in_helper(obj2
);
27012 if (arg3
== NULL
) SWIG_fail
;
27016 arg4
= (int)SWIG_As_int(obj3
);
27017 if (PyErr_Occurred()) SWIG_fail
;
27020 arg5
= (int)SWIG_As_int(obj4
);
27021 if (PyErr_Occurred()) SWIG_fail
;
27024 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
27025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27029 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
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);
27053 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27054 PyObject
*resultobj
;
27055 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27056 wxTreeItemId
*arg2
= 0 ;
27057 wxTreeItemId
*arg3
= 0 ;
27058 wxString
*arg4
= 0 ;
27059 int arg5
= (int) -1 ;
27060 int arg6
= (int) -1 ;
27061 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
27062 wxTreeItemId result
;
27063 bool temp4
= False
;
27064 PyObject
* obj0
= 0 ;
27065 PyObject
* obj1
= 0 ;
27066 PyObject
* obj2
= 0 ;
27067 PyObject
* obj3
= 0 ;
27068 PyObject
* obj4
= 0 ;
27069 PyObject
* obj5
= 0 ;
27070 PyObject
* obj6
= 0 ;
27071 char *kwnames
[] = {
27072 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27078 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27079 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27081 if (arg2
== NULL
) {
27082 PyErr_SetString(PyExc_TypeError
,"null reference");
27085 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
,
27086 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27088 if (arg3
== NULL
) {
27089 PyErr_SetString(PyExc_TypeError
,"null reference");
27093 arg4
= wxString_in_helper(obj3
);
27094 if (arg4
== NULL
) SWIG_fail
;
27098 arg5
= (int)SWIG_As_int(obj4
);
27099 if (PyErr_Occurred()) SWIG_fail
;
27102 arg6
= (int)SWIG_As_int(obj5
);
27103 if (PyErr_Occurred()) SWIG_fail
;
27106 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
27107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27111 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
27113 wxPyEndAllowThreads(__tstate
);
27114 if (PyErr_Occurred()) SWIG_fail
;
27117 wxTreeItemId
* resultptr
;
27118 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27119 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27135 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27136 PyObject
*resultobj
;
27137 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27138 wxTreeItemId
*arg2
= 0 ;
27140 wxString
*arg4
= 0 ;
27141 int arg5
= (int) -1 ;
27142 int arg6
= (int) -1 ;
27143 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
27144 wxTreeItemId result
;
27145 bool temp4
= False
;
27146 PyObject
* obj0
= 0 ;
27147 PyObject
* obj1
= 0 ;
27148 PyObject
* obj2
= 0 ;
27149 PyObject
* obj3
= 0 ;
27150 PyObject
* obj4
= 0 ;
27151 PyObject
* obj5
= 0 ;
27152 PyObject
* obj6
= 0 ;
27153 char *kwnames
[] = {
27154 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27160 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27161 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27163 if (arg2
== NULL
) {
27164 PyErr_SetString(PyExc_TypeError
,"null reference");
27167 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
27168 if (PyErr_Occurred()) SWIG_fail
;
27170 arg4
= wxString_in_helper(obj3
);
27171 if (arg4
== NULL
) SWIG_fail
;
27175 arg5
= (int)SWIG_As_int(obj4
);
27176 if (PyErr_Occurred()) SWIG_fail
;
27179 arg6
= (int)SWIG_As_int(obj5
);
27180 if (PyErr_Occurred()) SWIG_fail
;
27183 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
27184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27188 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
27190 wxPyEndAllowThreads(__tstate
);
27191 if (PyErr_Occurred()) SWIG_fail
;
27194 wxTreeItemId
* resultptr
;
27195 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27196 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27212 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27213 PyObject
*resultobj
;
27214 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27215 wxTreeItemId
*arg2
= 0 ;
27216 wxString
*arg3
= 0 ;
27217 int arg4
= (int) -1 ;
27218 int arg5
= (int) -1 ;
27219 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
27220 wxTreeItemId result
;
27221 bool temp3
= False
;
27222 PyObject
* obj0
= 0 ;
27223 PyObject
* obj1
= 0 ;
27224 PyObject
* obj2
= 0 ;
27225 PyObject
* obj3
= 0 ;
27226 PyObject
* obj4
= 0 ;
27227 PyObject
* obj5
= 0 ;
27228 char *kwnames
[] = {
27229 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27235 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27236 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27238 if (arg2
== NULL
) {
27239 PyErr_SetString(PyExc_TypeError
,"null reference");
27243 arg3
= wxString_in_helper(obj2
);
27244 if (arg3
== NULL
) SWIG_fail
;
27248 arg4
= (int)SWIG_As_int(obj3
);
27249 if (PyErr_Occurred()) SWIG_fail
;
27252 arg5
= (int)SWIG_As_int(obj4
);
27253 if (PyErr_Occurred()) SWIG_fail
;
27256 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
27257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27261 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
27263 wxPyEndAllowThreads(__tstate
);
27264 if (PyErr_Occurred()) SWIG_fail
;
27267 wxTreeItemId
* resultptr
;
27268 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27269 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27285 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27286 PyObject
*resultobj
;
27287 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27288 wxTreeItemId
*arg2
= 0 ;
27289 PyObject
* obj0
= 0 ;
27290 PyObject
* obj1
= 0 ;
27291 char *kwnames
[] = {
27292 (char *) "self",(char *) "item", NULL
27295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
27296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27298 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27299 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27301 if (arg2
== NULL
) {
27302 PyErr_SetString(PyExc_TypeError
,"null reference");
27306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27307 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
27309 wxPyEndAllowThreads(__tstate
);
27310 if (PyErr_Occurred()) SWIG_fail
;
27312 Py_INCREF(Py_None
); resultobj
= Py_None
;
27319 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27320 PyObject
*resultobj
;
27321 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27322 wxTreeItemId
*arg2
= 0 ;
27323 PyObject
* obj0
= 0 ;
27324 PyObject
* obj1
= 0 ;
27325 char *kwnames
[] = {
27326 (char *) "self",(char *) "item", NULL
27329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
27330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27332 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27333 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27335 if (arg2
== NULL
) {
27336 PyErr_SetString(PyExc_TypeError
,"null reference");
27340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27341 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
27343 wxPyEndAllowThreads(__tstate
);
27344 if (PyErr_Occurred()) SWIG_fail
;
27346 Py_INCREF(Py_None
); resultobj
= Py_None
;
27353 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27354 PyObject
*resultobj
;
27355 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27356 PyObject
* obj0
= 0 ;
27357 char *kwnames
[] = {
27358 (char *) "self", NULL
27361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
27362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27366 (arg1
)->DeleteAllItems();
27368 wxPyEndAllowThreads(__tstate
);
27369 if (PyErr_Occurred()) SWIG_fail
;
27371 Py_INCREF(Py_None
); resultobj
= Py_None
;
27378 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27379 PyObject
*resultobj
;
27380 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27381 wxTreeItemId
*arg2
= 0 ;
27382 PyObject
* obj0
= 0 ;
27383 PyObject
* obj1
= 0 ;
27384 char *kwnames
[] = {
27385 (char *) "self",(char *) "item", NULL
27388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
27389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27391 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27392 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27394 if (arg2
== NULL
) {
27395 PyErr_SetString(PyExc_TypeError
,"null reference");
27399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27400 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
27402 wxPyEndAllowThreads(__tstate
);
27403 if (PyErr_Occurred()) SWIG_fail
;
27405 Py_INCREF(Py_None
); resultobj
= Py_None
;
27412 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27413 PyObject
*resultobj
;
27414 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27415 wxTreeItemId
*arg2
= 0 ;
27416 PyObject
* obj0
= 0 ;
27417 PyObject
* obj1
= 0 ;
27418 char *kwnames
[] = {
27419 (char *) "self",(char *) "item", NULL
27422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
27423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27425 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27426 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27428 if (arg2
== NULL
) {
27429 PyErr_SetString(PyExc_TypeError
,"null reference");
27433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27434 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
27436 wxPyEndAllowThreads(__tstate
);
27437 if (PyErr_Occurred()) SWIG_fail
;
27439 Py_INCREF(Py_None
); resultobj
= Py_None
;
27446 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27447 PyObject
*resultobj
;
27448 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27449 wxTreeItemId
*arg2
= 0 ;
27450 PyObject
* obj0
= 0 ;
27451 PyObject
* obj1
= 0 ;
27452 char *kwnames
[] = {
27453 (char *) "self",(char *) "item", NULL
27456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
27457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27459 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27460 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27462 if (arg2
== NULL
) {
27463 PyErr_SetString(PyExc_TypeError
,"null reference");
27467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27468 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
27470 wxPyEndAllowThreads(__tstate
);
27471 if (PyErr_Occurred()) SWIG_fail
;
27473 Py_INCREF(Py_None
); resultobj
= Py_None
;
27480 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27481 PyObject
*resultobj
;
27482 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27483 wxTreeItemId
*arg2
= 0 ;
27484 PyObject
* obj0
= 0 ;
27485 PyObject
* obj1
= 0 ;
27486 char *kwnames
[] = {
27487 (char *) "self",(char *) "item", NULL
27490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
27491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27493 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27494 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27496 if (arg2
== NULL
) {
27497 PyErr_SetString(PyExc_TypeError
,"null reference");
27501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27502 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
27504 wxPyEndAllowThreads(__tstate
);
27505 if (PyErr_Occurred()) SWIG_fail
;
27507 Py_INCREF(Py_None
); resultobj
= Py_None
;
27514 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27515 PyObject
*resultobj
;
27516 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27517 PyObject
* obj0
= 0 ;
27518 char *kwnames
[] = {
27519 (char *) "self", NULL
27522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
27523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27527 (arg1
)->Unselect();
27529 wxPyEndAllowThreads(__tstate
);
27530 if (PyErr_Occurred()) SWIG_fail
;
27532 Py_INCREF(Py_None
); resultobj
= Py_None
;
27539 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27540 PyObject
*resultobj
;
27541 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27542 wxTreeItemId
*arg2
= 0 ;
27543 PyObject
* obj0
= 0 ;
27544 PyObject
* obj1
= 0 ;
27545 char *kwnames
[] = {
27546 (char *) "self",(char *) "item", NULL
27549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27552 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27553 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27555 if (arg2
== NULL
) {
27556 PyErr_SetString(PyExc_TypeError
,"null reference");
27560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27561 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
27563 wxPyEndAllowThreads(__tstate
);
27564 if (PyErr_Occurred()) SWIG_fail
;
27566 Py_INCREF(Py_None
); resultobj
= Py_None
;
27573 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27574 PyObject
*resultobj
;
27575 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27576 PyObject
* obj0
= 0 ;
27577 char *kwnames
[] = {
27578 (char *) "self", NULL
27581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
27582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27586 (arg1
)->UnselectAll();
27588 wxPyEndAllowThreads(__tstate
);
27589 if (PyErr_Occurred()) SWIG_fail
;
27591 Py_INCREF(Py_None
); resultobj
= Py_None
;
27598 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27599 PyObject
*resultobj
;
27600 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27601 wxTreeItemId
*arg2
= 0 ;
27602 bool arg3
= (bool) True
;
27603 PyObject
* obj0
= 0 ;
27604 PyObject
* obj1
= 0 ;
27605 PyObject
* obj2
= 0 ;
27606 char *kwnames
[] = {
27607 (char *) "self",(char *) "item",(char *) "select", NULL
27610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27613 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27614 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27616 if (arg2
== NULL
) {
27617 PyErr_SetString(PyExc_TypeError
,"null reference");
27621 arg3
= (bool)SWIG_As_bool(obj2
);
27622 if (PyErr_Occurred()) SWIG_fail
;
27625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27626 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
27628 wxPyEndAllowThreads(__tstate
);
27629 if (PyErr_Occurred()) SWIG_fail
;
27631 Py_INCREF(Py_None
); resultobj
= Py_None
;
27638 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27639 PyObject
*resultobj
;
27640 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27641 wxTreeItemId
*arg2
= 0 ;
27642 PyObject
* obj0
= 0 ;
27643 PyObject
* obj1
= 0 ;
27644 char *kwnames
[] = {
27645 (char *) "self",(char *) "item", NULL
27648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27651 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27652 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27654 if (arg2
== NULL
) {
27655 PyErr_SetString(PyExc_TypeError
,"null reference");
27659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27660 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
27662 wxPyEndAllowThreads(__tstate
);
27663 if (PyErr_Occurred()) SWIG_fail
;
27665 Py_INCREF(Py_None
); resultobj
= Py_None
;
27672 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27673 PyObject
*resultobj
;
27674 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27675 wxTreeItemId
*arg2
= 0 ;
27676 PyObject
* obj0
= 0 ;
27677 PyObject
* obj1
= 0 ;
27678 char *kwnames
[] = {
27679 (char *) "self",(char *) "item", NULL
27682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
27683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27685 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27686 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27688 if (arg2
== NULL
) {
27689 PyErr_SetString(PyExc_TypeError
,"null reference");
27693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27694 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
27696 wxPyEndAllowThreads(__tstate
);
27697 if (PyErr_Occurred()) SWIG_fail
;
27699 Py_INCREF(Py_None
); resultobj
= Py_None
;
27706 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27707 PyObject
*resultobj
;
27708 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27709 wxTreeItemId
*arg2
= 0 ;
27710 PyObject
* obj0
= 0 ;
27711 PyObject
* obj1
= 0 ;
27712 char *kwnames
[] = {
27713 (char *) "self",(char *) "item", NULL
27716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
27717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27719 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27720 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27722 if (arg2
== NULL
) {
27723 PyErr_SetString(PyExc_TypeError
,"null reference");
27727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27728 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
27730 wxPyEndAllowThreads(__tstate
);
27731 if (PyErr_Occurred()) SWIG_fail
;
27733 Py_INCREF(Py_None
); resultobj
= Py_None
;
27740 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27741 PyObject
*resultobj
;
27742 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27743 wxTreeItemId
*arg2
= 0 ;
27744 PyObject
* obj0
= 0 ;
27745 PyObject
* obj1
= 0 ;
27746 char *kwnames
[] = {
27747 (char *) "self",(char *) "item", NULL
27750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27753 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27754 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27756 if (arg2
== NULL
) {
27757 PyErr_SetString(PyExc_TypeError
,"null reference");
27761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27762 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
27764 wxPyEndAllowThreads(__tstate
);
27765 if (PyErr_Occurred()) SWIG_fail
;
27767 Py_INCREF(Py_None
); resultobj
= Py_None
;
27774 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27775 PyObject
*resultobj
;
27776 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27777 wxTextCtrl
*result
;
27778 PyObject
* obj0
= 0 ;
27779 char *kwnames
[] = {
27780 (char *) "self", NULL
27783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
27784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27788 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
27790 wxPyEndAllowThreads(__tstate
);
27791 if (PyErr_Occurred()) SWIG_fail
;
27794 resultobj
= wxPyMake_wxObject(result
, 0);
27802 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27803 PyObject
*resultobj
;
27804 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27805 wxTreeItemId
*arg2
= 0 ;
27806 PyObject
* obj0
= 0 ;
27807 PyObject
* obj1
= 0 ;
27808 char *kwnames
[] = {
27809 (char *) "self",(char *) "item", NULL
27812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
27813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27815 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27816 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27818 if (arg2
== NULL
) {
27819 PyErr_SetString(PyExc_TypeError
,"null reference");
27823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27824 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
27826 wxPyEndAllowThreads(__tstate
);
27827 if (PyErr_Occurred()) SWIG_fail
;
27829 Py_INCREF(Py_None
); resultobj
= Py_None
;
27836 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27837 PyObject
*resultobj
;
27838 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27839 wxPoint
*arg2
= 0 ;
27841 wxTreeItemId result
;
27845 PyObject
* obj0
= 0 ;
27846 PyObject
* obj1
= 0 ;
27847 char *kwnames
[] = {
27848 (char *) "self",(char *) "point", NULL
27851 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
27853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27857 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27861 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
27863 wxPyEndAllowThreads(__tstate
);
27864 if (PyErr_Occurred()) SWIG_fail
;
27867 wxTreeItemId
* resultptr
;
27868 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27869 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27871 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27872 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27879 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27880 PyObject
*resultobj
;
27881 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27882 wxTreeItemId
*arg2
= 0 ;
27883 bool arg3
= (bool) False
;
27885 PyObject
* obj0
= 0 ;
27886 PyObject
* obj1
= 0 ;
27887 PyObject
* obj2
= 0 ;
27888 char *kwnames
[] = {
27889 (char *) "self",(char *) "item",(char *) "textOnly", NULL
27892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27895 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27896 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27898 if (arg2
== NULL
) {
27899 PyErr_SetString(PyExc_TypeError
,"null reference");
27903 arg3
= (bool)SWIG_As_bool(obj2
);
27904 if (PyErr_Occurred()) SWIG_fail
;
27907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27908 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
27910 wxPyEndAllowThreads(__tstate
);
27911 if (PyErr_Occurred()) SWIG_fail
;
27913 resultobj
= result
;
27920 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27921 PyObject
*resultobj
;
27922 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
27923 wxVisualAttributes result
;
27924 PyObject
* obj0
= 0 ;
27925 char *kwnames
[] = {
27926 (char *) "variant", NULL
27929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
27931 arg1
= (int)SWIG_As_int(obj0
);
27932 if (PyErr_Occurred()) SWIG_fail
;
27935 if (!wxPyCheckForApp()) SWIG_fail
;
27936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27937 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
27939 wxPyEndAllowThreads(__tstate
);
27940 if (PyErr_Occurred()) SWIG_fail
;
27943 wxVisualAttributes
* resultptr
;
27944 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
27945 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
27953 static PyObject
* TreeCtrl_swigregister(PyObject
*, PyObject
*args
) {
27955 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27956 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
27958 return Py_BuildValue((char *)"");
27960 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
27961 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
27966 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
27971 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
27973 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
27980 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27981 PyObject
*resultobj
;
27982 wxWindow
*arg1
= (wxWindow
*) 0 ;
27983 int arg2
= (int) (int)-1 ;
27984 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
27985 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
27986 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27987 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27988 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27989 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27990 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
27991 wxString
const &arg7_defvalue
= wxPyEmptyString
;
27992 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27993 int arg8
= (int) 0 ;
27994 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
27995 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
27996 wxGenericDirCtrl
*result
;
27997 bool temp3
= False
;
28000 bool temp7
= False
;
28001 bool temp9
= False
;
28002 PyObject
* obj0
= 0 ;
28003 PyObject
* obj1
= 0 ;
28004 PyObject
* obj2
= 0 ;
28005 PyObject
* obj3
= 0 ;
28006 PyObject
* obj4
= 0 ;
28007 PyObject
* obj5
= 0 ;
28008 PyObject
* obj6
= 0 ;
28009 PyObject
* obj7
= 0 ;
28010 PyObject
* obj8
= 0 ;
28011 char *kwnames
[] = {
28012 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
28016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28019 arg2
= (int)SWIG_As_int(obj1
);
28020 if (PyErr_Occurred()) SWIG_fail
;
28024 arg3
= wxString_in_helper(obj2
);
28025 if (arg3
== NULL
) SWIG_fail
;
28032 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28038 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28042 arg6
= (long)SWIG_As_long(obj5
);
28043 if (PyErr_Occurred()) SWIG_fail
;
28047 arg7
= wxString_in_helper(obj6
);
28048 if (arg7
== NULL
) SWIG_fail
;
28053 arg8
= (int)SWIG_As_int(obj7
);
28054 if (PyErr_Occurred()) SWIG_fail
;
28058 arg9
= wxString_in_helper(obj8
);
28059 if (arg9
== NULL
) SWIG_fail
;
28064 if (!wxPyCheckForApp()) SWIG_fail
;
28065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28066 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
28068 wxPyEndAllowThreads(__tstate
);
28069 if (PyErr_Occurred()) SWIG_fail
;
28071 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
28102 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28103 PyObject
*resultobj
;
28104 wxGenericDirCtrl
*result
;
28105 char *kwnames
[] = {
28109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
28111 if (!wxPyCheckForApp()) SWIG_fail
;
28112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28113 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
28115 wxPyEndAllowThreads(__tstate
);
28116 if (PyErr_Occurred()) SWIG_fail
;
28118 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
28125 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28126 PyObject
*resultobj
;
28127 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28128 wxWindow
*arg2
= (wxWindow
*) 0 ;
28129 int arg3
= (int) (int)-1 ;
28130 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
28131 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28132 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
28133 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
28134 wxSize
const &arg6_defvalue
= wxDefaultSize
;
28135 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
28136 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
28137 wxString
const &arg8_defvalue
= wxPyEmptyString
;
28138 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28139 int arg9
= (int) 0 ;
28140 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
28141 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
28143 bool temp4
= False
;
28146 bool temp8
= False
;
28147 bool temp10
= False
;
28148 PyObject
* obj0
= 0 ;
28149 PyObject
* obj1
= 0 ;
28150 PyObject
* obj2
= 0 ;
28151 PyObject
* obj3
= 0 ;
28152 PyObject
* obj4
= 0 ;
28153 PyObject
* obj5
= 0 ;
28154 PyObject
* obj6
= 0 ;
28155 PyObject
* obj7
= 0 ;
28156 PyObject
* obj8
= 0 ;
28157 PyObject
* obj9
= 0 ;
28158 char *kwnames
[] = {
28159 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
28163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28165 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28168 arg3
= (int)SWIG_As_int(obj2
);
28169 if (PyErr_Occurred()) SWIG_fail
;
28173 arg4
= wxString_in_helper(obj3
);
28174 if (arg4
== NULL
) SWIG_fail
;
28181 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
28187 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
28191 arg7
= (long)SWIG_As_long(obj6
);
28192 if (PyErr_Occurred()) SWIG_fail
;
28196 arg8
= wxString_in_helper(obj7
);
28197 if (arg8
== NULL
) SWIG_fail
;
28202 arg9
= (int)SWIG_As_int(obj8
);
28203 if (PyErr_Occurred()) SWIG_fail
;
28207 arg10
= wxString_in_helper(obj9
);
28208 if (arg10
== NULL
) SWIG_fail
;
28213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28214 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
28216 wxPyEndAllowThreads(__tstate
);
28217 if (PyErr_Occurred()) SWIG_fail
;
28220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28252 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28253 PyObject
*resultobj
;
28254 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28255 wxString
*arg2
= 0 ;
28257 bool temp2
= False
;
28258 PyObject
* obj0
= 0 ;
28259 PyObject
* obj1
= 0 ;
28260 char *kwnames
[] = {
28261 (char *) "self",(char *) "path", NULL
28264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28268 arg2
= wxString_in_helper(obj1
);
28269 if (arg2
== NULL
) SWIG_fail
;
28273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28274 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
28276 wxPyEndAllowThreads(__tstate
);
28277 if (PyErr_Occurred()) SWIG_fail
;
28280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28296 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28297 PyObject
*resultobj
;
28298 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28300 PyObject
* obj0
= 0 ;
28301 char *kwnames
[] = {
28302 (char *) "self", NULL
28305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
28306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28310 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
28312 wxPyEndAllowThreads(__tstate
);
28313 if (PyErr_Occurred()) SWIG_fail
;
28317 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28319 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28328 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28329 PyObject
*resultobj
;
28330 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28331 wxString
*arg2
= 0 ;
28332 bool temp2
= False
;
28333 PyObject
* obj0
= 0 ;
28334 PyObject
* obj1
= 0 ;
28335 char *kwnames
[] = {
28336 (char *) "self",(char *) "path", NULL
28339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28343 arg2
= wxString_in_helper(obj1
);
28344 if (arg2
== NULL
) SWIG_fail
;
28348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28349 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
28351 wxPyEndAllowThreads(__tstate
);
28352 if (PyErr_Occurred()) SWIG_fail
;
28354 Py_INCREF(Py_None
); resultobj
= Py_None
;
28369 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28370 PyObject
*resultobj
;
28371 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28373 PyObject
* obj0
= 0 ;
28374 char *kwnames
[] = {
28375 (char *) "self", NULL
28378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
28379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28383 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
28385 wxPyEndAllowThreads(__tstate
);
28386 if (PyErr_Occurred()) SWIG_fail
;
28390 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28392 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28401 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28402 PyObject
*resultobj
;
28403 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28405 PyObject
* obj0
= 0 ;
28406 char *kwnames
[] = {
28407 (char *) "self", NULL
28410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
28411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28415 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
28417 wxPyEndAllowThreads(__tstate
);
28418 if (PyErr_Occurred()) SWIG_fail
;
28422 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28424 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28433 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28434 PyObject
*resultobj
;
28435 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28436 wxString
*arg2
= 0 ;
28437 bool temp2
= False
;
28438 PyObject
* obj0
= 0 ;
28439 PyObject
* obj1
= 0 ;
28440 char *kwnames
[] = {
28441 (char *) "self",(char *) "path", NULL
28444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28448 arg2
= wxString_in_helper(obj1
);
28449 if (arg2
== NULL
) SWIG_fail
;
28453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28454 (arg1
)->SetPath((wxString
const &)*arg2
);
28456 wxPyEndAllowThreads(__tstate
);
28457 if (PyErr_Occurred()) SWIG_fail
;
28459 Py_INCREF(Py_None
); resultobj
= Py_None
;
28474 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28475 PyObject
*resultobj
;
28476 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28478 PyObject
* obj0
= 0 ;
28479 PyObject
* obj1
= 0 ;
28480 char *kwnames
[] = {
28481 (char *) "self",(char *) "show", NULL
28484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
28485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28487 arg2
= (bool)SWIG_As_bool(obj1
);
28488 if (PyErr_Occurred()) SWIG_fail
;
28490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28491 (arg1
)->ShowHidden(arg2
);
28493 wxPyEndAllowThreads(__tstate
);
28494 if (PyErr_Occurred()) SWIG_fail
;
28496 Py_INCREF(Py_None
); resultobj
= Py_None
;
28503 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28504 PyObject
*resultobj
;
28505 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28507 PyObject
* obj0
= 0 ;
28508 char *kwnames
[] = {
28509 (char *) "self", NULL
28512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
28513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28517 result
= (bool)(arg1
)->GetShowHidden();
28519 wxPyEndAllowThreads(__tstate
);
28520 if (PyErr_Occurred()) SWIG_fail
;
28523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28531 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28532 PyObject
*resultobj
;
28533 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28535 PyObject
* obj0
= 0 ;
28536 char *kwnames
[] = {
28537 (char *) "self", NULL
28540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
28541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28545 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
28547 wxPyEndAllowThreads(__tstate
);
28548 if (PyErr_Occurred()) SWIG_fail
;
28552 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28554 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28563 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28564 PyObject
*resultobj
;
28565 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28566 wxString
*arg2
= 0 ;
28567 bool temp2
= False
;
28568 PyObject
* obj0
= 0 ;
28569 PyObject
* obj1
= 0 ;
28570 char *kwnames
[] = {
28571 (char *) "self",(char *) "filter", NULL
28574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
28575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28578 arg2
= wxString_in_helper(obj1
);
28579 if (arg2
== NULL
) SWIG_fail
;
28583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28584 (arg1
)->SetFilter((wxString
const &)*arg2
);
28586 wxPyEndAllowThreads(__tstate
);
28587 if (PyErr_Occurred()) SWIG_fail
;
28589 Py_INCREF(Py_None
); resultobj
= Py_None
;
28604 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28605 PyObject
*resultobj
;
28606 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28608 PyObject
* obj0
= 0 ;
28609 char *kwnames
[] = {
28610 (char *) "self", NULL
28613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
28614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28618 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
28620 wxPyEndAllowThreads(__tstate
);
28621 if (PyErr_Occurred()) SWIG_fail
;
28623 resultobj
= SWIG_From_int((int)result
);
28630 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28631 PyObject
*resultobj
;
28632 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28634 PyObject
* obj0
= 0 ;
28635 PyObject
* obj1
= 0 ;
28636 char *kwnames
[] = {
28637 (char *) "self",(char *) "n", NULL
28640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
28641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28643 arg2
= (int)SWIG_As_int(obj1
);
28644 if (PyErr_Occurred()) SWIG_fail
;
28646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28647 (arg1
)->SetFilterIndex(arg2
);
28649 wxPyEndAllowThreads(__tstate
);
28650 if (PyErr_Occurred()) SWIG_fail
;
28652 Py_INCREF(Py_None
); resultobj
= Py_None
;
28659 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28660 PyObject
*resultobj
;
28661 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28662 wxTreeItemId result
;
28663 PyObject
* obj0
= 0 ;
28664 char *kwnames
[] = {
28665 (char *) "self", NULL
28668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
28669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28673 result
= (arg1
)->GetRootId();
28675 wxPyEndAllowThreads(__tstate
);
28676 if (PyErr_Occurred()) SWIG_fail
;
28679 wxTreeItemId
* resultptr
;
28680 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28681 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28689 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28690 PyObject
*resultobj
;
28691 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28692 wxPyTreeCtrl
*result
;
28693 PyObject
* obj0
= 0 ;
28694 char *kwnames
[] = {
28695 (char *) "self", NULL
28698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
28699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28703 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
28705 wxPyEndAllowThreads(__tstate
);
28706 if (PyErr_Occurred()) SWIG_fail
;
28709 resultobj
= wxPyMake_wxObject(result
, 0);
28717 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28718 PyObject
*resultobj
;
28719 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28720 wxDirFilterListCtrl
*result
;
28721 PyObject
* obj0
= 0 ;
28722 char *kwnames
[] = {
28723 (char *) "self", NULL
28726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
28727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28731 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
28733 wxPyEndAllowThreads(__tstate
);
28734 if (PyErr_Occurred()) SWIG_fail
;
28736 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
28743 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28744 PyObject
*resultobj
;
28745 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28746 wxTreeItemId arg2
;
28747 wxString
*arg3
= 0 ;
28749 wxTreeItemId result
;
28750 wxTreeItemId
*argp2
;
28751 bool temp3
= False
;
28754 PyObject
* obj0
= 0 ;
28755 PyObject
* obj1
= 0 ;
28756 PyObject
* obj2
= 0 ;
28757 char *kwnames
[] = {
28758 (char *) "self",(char *) "parentId",(char *) "path", NULL
28761 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
28762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28765 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
,
28766 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
28769 arg3
= wxString_in_helper(obj2
);
28770 if (arg3
== NULL
) SWIG_fail
;
28774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28775 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
28777 wxPyEndAllowThreads(__tstate
);
28778 if (PyErr_Occurred()) SWIG_fail
;
28781 wxTreeItemId
* resultptr
;
28782 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28783 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28785 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
28786 SWIG_From_bool((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, 0)));
28801 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28802 PyObject
*resultobj
;
28803 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28804 PyObject
* obj0
= 0 ;
28805 char *kwnames
[] = {
28806 (char *) "self", NULL
28809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
28810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28814 (arg1
)->DoResize();
28816 wxPyEndAllowThreads(__tstate
);
28817 if (PyErr_Occurred()) SWIG_fail
;
28819 Py_INCREF(Py_None
); resultobj
= Py_None
;
28826 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28827 PyObject
*resultobj
;
28828 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28829 PyObject
* obj0
= 0 ;
28830 char *kwnames
[] = {
28831 (char *) "self", NULL
28834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
28835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28839 (arg1
)->ReCreateTree();
28841 wxPyEndAllowThreads(__tstate
);
28842 if (PyErr_Occurred()) SWIG_fail
;
28844 Py_INCREF(Py_None
); resultobj
= Py_None
;
28851 static PyObject
* GenericDirCtrl_swigregister(PyObject
*, PyObject
*args
) {
28853 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28854 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
28856 return Py_BuildValue((char *)"");
28858 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28859 PyObject
*resultobj
;
28860 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28861 int arg2
= (int) (int)-1 ;
28862 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28863 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28864 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28865 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28866 long arg5
= (long) 0 ;
28867 wxDirFilterListCtrl
*result
;
28870 PyObject
* obj0
= 0 ;
28871 PyObject
* obj1
= 0 ;
28872 PyObject
* obj2
= 0 ;
28873 PyObject
* obj3
= 0 ;
28874 PyObject
* obj4
= 0 ;
28875 char *kwnames
[] = {
28876 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28883 arg2
= (int)SWIG_As_int(obj1
);
28884 if (PyErr_Occurred()) SWIG_fail
;
28889 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28895 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28899 arg5
= (long)SWIG_As_long(obj4
);
28900 if (PyErr_Occurred()) SWIG_fail
;
28903 if (!wxPyCheckForApp()) SWIG_fail
;
28904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28905 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
28907 wxPyEndAllowThreads(__tstate
);
28908 if (PyErr_Occurred()) SWIG_fail
;
28910 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
28917 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28918 PyObject
*resultobj
;
28919 wxDirFilterListCtrl
*result
;
28920 char *kwnames
[] = {
28924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
28926 if (!wxPyCheckForApp()) SWIG_fail
;
28927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28928 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
28930 wxPyEndAllowThreads(__tstate
);
28931 if (PyErr_Occurred()) SWIG_fail
;
28933 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
28940 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28941 PyObject
*resultobj
;
28942 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
28943 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
28944 int arg3
= (int) (int)-1 ;
28945 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28946 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28947 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28948 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28949 long arg6
= (long) 0 ;
28953 PyObject
* obj0
= 0 ;
28954 PyObject
* obj1
= 0 ;
28955 PyObject
* obj2
= 0 ;
28956 PyObject
* obj3
= 0 ;
28957 PyObject
* obj4
= 0 ;
28958 PyObject
* obj5
= 0 ;
28959 char *kwnames
[] = {
28960 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
28965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28966 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
,
28967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28969 arg3
= (int)SWIG_As_int(obj2
);
28970 if (PyErr_Occurred()) SWIG_fail
;
28975 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28981 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28985 arg6
= (long)SWIG_As_long(obj5
);
28986 if (PyErr_Occurred()) SWIG_fail
;
28989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28990 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
28992 wxPyEndAllowThreads(__tstate
);
28993 if (PyErr_Occurred()) SWIG_fail
;
28996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29004 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29005 PyObject
*resultobj
;
29006 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
29007 wxString
*arg2
= 0 ;
29009 bool temp2
= False
;
29010 PyObject
* obj0
= 0 ;
29011 PyObject
* obj1
= 0 ;
29012 PyObject
* obj2
= 0 ;
29013 char *kwnames
[] = {
29014 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
29017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
29019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29021 arg2
= wxString_in_helper(obj1
);
29022 if (arg2
== NULL
) SWIG_fail
;
29025 arg3
= (int)SWIG_As_int(obj2
);
29026 if (PyErr_Occurred()) SWIG_fail
;
29028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29029 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
29031 wxPyEndAllowThreads(__tstate
);
29032 if (PyErr_Occurred()) SWIG_fail
;
29034 Py_INCREF(Py_None
); resultobj
= Py_None
;
29049 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*, PyObject
*args
) {
29051 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29052 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
29054 return Py_BuildValue((char *)"");
29056 static PyObject
*_wrap_new_PyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29057 PyObject
*resultobj
;
29058 wxWindow
*arg1
= (wxWindow
*) 0 ;
29059 int arg2
= (int) (int)-1 ;
29060 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29061 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29062 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29063 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29064 long arg5
= (long) 0 ;
29065 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
29066 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
29067 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
29068 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29069 wxPyControl
*result
;
29072 bool temp7
= False
;
29073 PyObject
* obj0
= 0 ;
29074 PyObject
* obj1
= 0 ;
29075 PyObject
* obj2
= 0 ;
29076 PyObject
* obj3
= 0 ;
29077 PyObject
* obj4
= 0 ;
29078 PyObject
* obj5
= 0 ;
29079 PyObject
* obj6
= 0 ;
29080 char *kwnames
[] = {
29081 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
29085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29088 arg2
= (int)SWIG_As_int(obj1
);
29089 if (PyErr_Occurred()) SWIG_fail
;
29094 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29100 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29104 arg5
= (long)SWIG_As_long(obj4
);
29105 if (PyErr_Occurred()) SWIG_fail
;
29108 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
29109 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29111 if (arg6
== NULL
) {
29112 PyErr_SetString(PyExc_TypeError
,"null reference");
29118 arg7
= wxString_in_helper(obj6
);
29119 if (arg7
== NULL
) SWIG_fail
;
29124 if (!wxPyCheckForApp()) SWIG_fail
;
29125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29126 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
29128 wxPyEndAllowThreads(__tstate
);
29129 if (PyErr_Occurred()) SWIG_fail
;
29131 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
29146 static PyObject
*_wrap_new_PrePyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29147 PyObject
*resultobj
;
29148 wxPyControl
*result
;
29149 char *kwnames
[] = {
29153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
29155 if (!wxPyCheckForApp()) SWIG_fail
;
29156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29157 result
= (wxPyControl
*)new wxPyControl();
29159 wxPyEndAllowThreads(__tstate
);
29160 if (PyErr_Occurred()) SWIG_fail
;
29162 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
29169 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29170 PyObject
*resultobj
;
29171 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29172 PyObject
*arg2
= (PyObject
*) 0 ;
29173 PyObject
*arg3
= (PyObject
*) 0 ;
29174 PyObject
* obj0
= 0 ;
29175 PyObject
* obj1
= 0 ;
29176 PyObject
* obj2
= 0 ;
29177 char *kwnames
[] = {
29178 (char *) "self",(char *) "self",(char *) "_class", NULL
29181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29188 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29190 wxPyEndAllowThreads(__tstate
);
29191 if (PyErr_Occurred()) SWIG_fail
;
29193 Py_INCREF(Py_None
); resultobj
= Py_None
;
29200 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29201 PyObject
*resultobj
;
29202 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29205 PyObject
* obj0
= 0 ;
29206 PyObject
* obj1
= 0 ;
29207 char *kwnames
[] = {
29208 (char *) "self",(char *) "size", NULL
29211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
29212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29216 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29220 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
29222 wxPyEndAllowThreads(__tstate
);
29223 if (PyErr_Occurred()) SWIG_fail
;
29225 Py_INCREF(Py_None
); resultobj
= Py_None
;
29232 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29233 PyObject
*resultobj
;
29234 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29239 PyObject
* obj0
= 0 ;
29240 PyObject
* obj1
= 0 ;
29241 PyObject
* obj2
= 0 ;
29242 PyObject
* obj3
= 0 ;
29243 PyObject
* obj4
= 0 ;
29244 char *kwnames
[] = {
29245 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29251 arg2
= (int)SWIG_As_int(obj1
);
29252 if (PyErr_Occurred()) SWIG_fail
;
29253 arg3
= (int)SWIG_As_int(obj2
);
29254 if (PyErr_Occurred()) SWIG_fail
;
29255 arg4
= (int)SWIG_As_int(obj3
);
29256 if (PyErr_Occurred()) SWIG_fail
;
29257 arg5
= (int)SWIG_As_int(obj4
);
29258 if (PyErr_Occurred()) SWIG_fail
;
29260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29261 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
29263 wxPyEndAllowThreads(__tstate
);
29264 if (PyErr_Occurred()) SWIG_fail
;
29266 Py_INCREF(Py_None
); resultobj
= Py_None
;
29273 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29274 PyObject
*resultobj
;
29275 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29280 int arg6
= (int) wxSIZE_AUTO
;
29281 PyObject
* obj0
= 0 ;
29282 PyObject
* obj1
= 0 ;
29283 PyObject
* obj2
= 0 ;
29284 PyObject
* obj3
= 0 ;
29285 PyObject
* obj4
= 0 ;
29286 PyObject
* obj5
= 0 ;
29287 char *kwnames
[] = {
29288 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
29291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29294 arg2
= (int)SWIG_As_int(obj1
);
29295 if (PyErr_Occurred()) SWIG_fail
;
29296 arg3
= (int)SWIG_As_int(obj2
);
29297 if (PyErr_Occurred()) SWIG_fail
;
29298 arg4
= (int)SWIG_As_int(obj3
);
29299 if (PyErr_Occurred()) SWIG_fail
;
29300 arg5
= (int)SWIG_As_int(obj4
);
29301 if (PyErr_Occurred()) SWIG_fail
;
29303 arg6
= (int)SWIG_As_int(obj5
);
29304 if (PyErr_Occurred()) SWIG_fail
;
29307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29308 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
29310 wxPyEndAllowThreads(__tstate
);
29311 if (PyErr_Occurred()) SWIG_fail
;
29313 Py_INCREF(Py_None
); resultobj
= Py_None
;
29320 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29321 PyObject
*resultobj
;
29322 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29325 PyObject
* obj0
= 0 ;
29326 PyObject
* obj1
= 0 ;
29327 PyObject
* obj2
= 0 ;
29328 char *kwnames
[] = {
29329 (char *) "self",(char *) "width",(char *) "height", NULL
29332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29335 arg2
= (int)SWIG_As_int(obj1
);
29336 if (PyErr_Occurred()) SWIG_fail
;
29337 arg3
= (int)SWIG_As_int(obj2
);
29338 if (PyErr_Occurred()) SWIG_fail
;
29340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29341 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
29343 wxPyEndAllowThreads(__tstate
);
29344 if (PyErr_Occurred()) SWIG_fail
;
29346 Py_INCREF(Py_None
); resultobj
= Py_None
;
29353 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29354 PyObject
*resultobj
;
29355 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29358 PyObject
* obj0
= 0 ;
29359 PyObject
* obj1
= 0 ;
29360 PyObject
* obj2
= 0 ;
29361 char *kwnames
[] = {
29362 (char *) "self",(char *) "x",(char *) "y", NULL
29365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29368 arg2
= (int)SWIG_As_int(obj1
);
29369 if (PyErr_Occurred()) SWIG_fail
;
29370 arg3
= (int)SWIG_As_int(obj2
);
29371 if (PyErr_Occurred()) SWIG_fail
;
29373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29374 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
29376 wxPyEndAllowThreads(__tstate
);
29377 if (PyErr_Occurred()) SWIG_fail
;
29379 Py_INCREF(Py_None
); resultobj
= Py_None
;
29386 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29387 PyObject
*resultobj
;
29388 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29389 int *arg2
= (int *) 0 ;
29390 int *arg3
= (int *) 0 ;
29395 PyObject
* obj0
= 0 ;
29396 char *kwnames
[] = {
29397 (char *) "self", NULL
29400 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
29401 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
29403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29407 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
29409 wxPyEndAllowThreads(__tstate
);
29410 if (PyErr_Occurred()) SWIG_fail
;
29412 Py_INCREF(Py_None
); resultobj
= Py_None
;
29413 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
29414 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
29415 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29416 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29423 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29424 PyObject
*resultobj
;
29425 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29426 int *arg2
= (int *) 0 ;
29427 int *arg3
= (int *) 0 ;
29432 PyObject
* obj0
= 0 ;
29433 char *kwnames
[] = {
29434 (char *) "self", NULL
29437 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
29438 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
29440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29444 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
29446 wxPyEndAllowThreads(__tstate
);
29447 if (PyErr_Occurred()) SWIG_fail
;
29449 Py_INCREF(Py_None
); resultobj
= Py_None
;
29450 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
29451 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
29452 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29453 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29460 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29461 PyObject
*resultobj
;
29462 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29463 int *arg2
= (int *) 0 ;
29464 int *arg3
= (int *) 0 ;
29469 PyObject
* obj0
= 0 ;
29470 char *kwnames
[] = {
29471 (char *) "self", NULL
29474 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
29475 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
29477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29481 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
29483 wxPyEndAllowThreads(__tstate
);
29484 if (PyErr_Occurred()) SWIG_fail
;
29486 Py_INCREF(Py_None
); resultobj
= Py_None
;
29487 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
29488 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
29489 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29490 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29497 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29498 PyObject
*resultobj
;
29499 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29501 PyObject
* obj0
= 0 ;
29502 char *kwnames
[] = {
29503 (char *) "self", NULL
29506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
29507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29511 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
29513 wxPyEndAllowThreads(__tstate
);
29514 if (PyErr_Occurred()) SWIG_fail
;
29517 wxSize
* resultptr
;
29518 resultptr
= new wxSize((wxSize
&) result
);
29519 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29527 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29528 PyObject
*resultobj
;
29529 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29531 PyObject
* obj0
= 0 ;
29532 char *kwnames
[] = {
29533 (char *) "self", NULL
29536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
29537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29541 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
29543 wxPyEndAllowThreads(__tstate
);
29544 if (PyErr_Occurred()) SWIG_fail
;
29547 wxSize
* resultptr
;
29548 resultptr
= new wxSize((wxSize
&) result
);
29549 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29557 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29558 PyObject
*resultobj
;
29559 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29560 PyObject
* obj0
= 0 ;
29561 char *kwnames
[] = {
29562 (char *) "self", NULL
29565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
29566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29570 (arg1
)->base_InitDialog();
29572 wxPyEndAllowThreads(__tstate
);
29573 if (PyErr_Occurred()) SWIG_fail
;
29575 Py_INCREF(Py_None
); resultobj
= Py_None
;
29582 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29583 PyObject
*resultobj
;
29584 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29586 PyObject
* obj0
= 0 ;
29587 char *kwnames
[] = {
29588 (char *) "self", NULL
29591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
29592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29596 result
= (bool)(arg1
)->base_TransferDataToWindow();
29598 wxPyEndAllowThreads(__tstate
);
29599 if (PyErr_Occurred()) SWIG_fail
;
29602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29610 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29611 PyObject
*resultobj
;
29612 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29614 PyObject
* obj0
= 0 ;
29615 char *kwnames
[] = {
29616 (char *) "self", NULL
29619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
29620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29624 result
= (bool)(arg1
)->base_TransferDataFromWindow();
29626 wxPyEndAllowThreads(__tstate
);
29627 if (PyErr_Occurred()) SWIG_fail
;
29630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29638 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29639 PyObject
*resultobj
;
29640 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29642 PyObject
* obj0
= 0 ;
29643 char *kwnames
[] = {
29644 (char *) "self", NULL
29647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
29648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29652 result
= (bool)(arg1
)->base_Validate();
29654 wxPyEndAllowThreads(__tstate
);
29655 if (PyErr_Occurred()) SWIG_fail
;
29658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29666 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29667 PyObject
*resultobj
;
29668 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29670 PyObject
* obj0
= 0 ;
29671 char *kwnames
[] = {
29672 (char *) "self", NULL
29675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
29676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29680 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
29682 wxPyEndAllowThreads(__tstate
);
29683 if (PyErr_Occurred()) SWIG_fail
;
29686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29694 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29695 PyObject
*resultobj
;
29696 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29698 PyObject
* obj0
= 0 ;
29699 char *kwnames
[] = {
29700 (char *) "self", NULL
29703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
29704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29708 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
29710 wxPyEndAllowThreads(__tstate
);
29711 if (PyErr_Occurred()) SWIG_fail
;
29714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29722 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29723 PyObject
*resultobj
;
29724 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29726 PyObject
* obj0
= 0 ;
29727 char *kwnames
[] = {
29728 (char *) "self", NULL
29731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
29732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29736 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
29738 wxPyEndAllowThreads(__tstate
);
29739 if (PyErr_Occurred()) SWIG_fail
;
29742 wxSize
* resultptr
;
29743 resultptr
= new wxSize((wxSize
&) result
);
29744 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29752 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29753 PyObject
*resultobj
;
29754 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29755 wxWindow
*arg2
= (wxWindow
*) 0 ;
29756 PyObject
* obj0
= 0 ;
29757 PyObject
* obj1
= 0 ;
29758 char *kwnames
[] = {
29759 (char *) "self",(char *) "child", NULL
29762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29765 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29769 (arg1
)->base_AddChild(arg2
);
29771 wxPyEndAllowThreads(__tstate
);
29772 if (PyErr_Occurred()) SWIG_fail
;
29774 Py_INCREF(Py_None
); resultobj
= Py_None
;
29781 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29782 PyObject
*resultobj
;
29783 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29784 wxWindow
*arg2
= (wxWindow
*) 0 ;
29785 PyObject
* obj0
= 0 ;
29786 PyObject
* obj1
= 0 ;
29787 char *kwnames
[] = {
29788 (char *) "self",(char *) "child", NULL
29791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29794 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29798 (arg1
)->base_RemoveChild(arg2
);
29800 wxPyEndAllowThreads(__tstate
);
29801 if (PyErr_Occurred()) SWIG_fail
;
29803 Py_INCREF(Py_None
); resultobj
= Py_None
;
29810 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29811 PyObject
*resultobj
;
29812 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29814 PyObject
* obj0
= 0 ;
29815 char *kwnames
[] = {
29816 (char *) "self", NULL
29819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
29820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29824 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
29826 wxPyEndAllowThreads(__tstate
);
29827 if (PyErr_Occurred()) SWIG_fail
;
29830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29838 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29839 PyObject
*resultobj
;
29840 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29841 wxColour
*arg2
= 0 ;
29843 PyObject
* obj0
= 0 ;
29844 PyObject
* obj1
= 0 ;
29845 char *kwnames
[] = {
29846 (char *) "self",(char *) "c", NULL
29849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
29850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29854 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29858 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
29860 wxPyEndAllowThreads(__tstate
);
29861 if (PyErr_Occurred()) SWIG_fail
;
29863 Py_INCREF(Py_None
); resultobj
= Py_None
;
29870 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29871 PyObject
*resultobj
;
29872 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29873 wxVisualAttributes result
;
29874 PyObject
* obj0
= 0 ;
29875 char *kwnames
[] = {
29876 (char *) "self", NULL
29879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29884 result
= (arg1
)->base_GetDefaultAttributes();
29886 wxPyEndAllowThreads(__tstate
);
29887 if (PyErr_Occurred()) SWIG_fail
;
29890 wxVisualAttributes
* resultptr
;
29891 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
29892 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29900 static PyObject
* PyControl_swigregister(PyObject
*, PyObject
*args
) {
29902 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29903 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
29905 return Py_BuildValue((char *)"");
29907 static PyObject
*_wrap_new_HelpEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29908 PyObject
*resultobj
;
29909 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
29910 int arg2
= (int) 0 ;
29911 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29912 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29913 wxHelpEvent
*result
;
29915 PyObject
* obj0
= 0 ;
29916 PyObject
* obj1
= 0 ;
29917 PyObject
* obj2
= 0 ;
29918 char *kwnames
[] = {
29919 (char *) "type",(char *) "winid",(char *) "pt", NULL
29922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29924 arg1
= (wxEventType
)SWIG_As_int(obj0
);
29925 if (PyErr_Occurred()) SWIG_fail
;
29928 arg2
= (int)SWIG_As_int(obj1
);
29929 if (PyErr_Occurred()) SWIG_fail
;
29934 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29939 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
29941 wxPyEndAllowThreads(__tstate
);
29942 if (PyErr_Occurred()) SWIG_fail
;
29944 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
29951 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29952 PyObject
*resultobj
;
29953 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29955 PyObject
* obj0
= 0 ;
29956 char *kwnames
[] = {
29957 (char *) "self", NULL
29960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
29961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29965 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
29967 wxPyEndAllowThreads(__tstate
);
29968 if (PyErr_Occurred()) SWIG_fail
;
29971 wxPoint
* resultptr
;
29972 resultptr
= new wxPoint((wxPoint
&) result
);
29973 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29981 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29982 PyObject
*resultobj
;
29983 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29984 wxPoint
*arg2
= 0 ;
29986 PyObject
* obj0
= 0 ;
29987 PyObject
* obj1
= 0 ;
29988 char *kwnames
[] = {
29989 (char *) "self",(char *) "pos", NULL
29992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
29993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29997 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30001 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
30003 wxPyEndAllowThreads(__tstate
);
30004 if (PyErr_Occurred()) SWIG_fail
;
30006 Py_INCREF(Py_None
); resultobj
= Py_None
;
30013 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30014 PyObject
*resultobj
;
30015 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30017 PyObject
* obj0
= 0 ;
30018 char *kwnames
[] = {
30019 (char *) "self", NULL
30022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
30023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30028 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
30029 result
= (wxString
*) &_result_ref
;
30032 wxPyEndAllowThreads(__tstate
);
30033 if (PyErr_Occurred()) SWIG_fail
;
30037 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30039 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30048 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30049 PyObject
*resultobj
;
30050 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30051 wxString
*arg2
= 0 ;
30052 bool temp2
= False
;
30053 PyObject
* obj0
= 0 ;
30054 PyObject
* obj1
= 0 ;
30055 char *kwnames
[] = {
30056 (char *) "self",(char *) "link", NULL
30059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
30060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30063 arg2
= wxString_in_helper(obj1
);
30064 if (arg2
== NULL
) SWIG_fail
;
30068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30069 (arg1
)->SetLink((wxString
const &)*arg2
);
30071 wxPyEndAllowThreads(__tstate
);
30072 if (PyErr_Occurred()) SWIG_fail
;
30074 Py_INCREF(Py_None
); resultobj
= Py_None
;
30089 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30090 PyObject
*resultobj
;
30091 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30093 PyObject
* obj0
= 0 ;
30094 char *kwnames
[] = {
30095 (char *) "self", NULL
30098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
30099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30104 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
30105 result
= (wxString
*) &_result_ref
;
30108 wxPyEndAllowThreads(__tstate
);
30109 if (PyErr_Occurred()) SWIG_fail
;
30113 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30115 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30124 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30125 PyObject
*resultobj
;
30126 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30127 wxString
*arg2
= 0 ;
30128 bool temp2
= False
;
30129 PyObject
* obj0
= 0 ;
30130 PyObject
* obj1
= 0 ;
30131 char *kwnames
[] = {
30132 (char *) "self",(char *) "target", NULL
30135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
30136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30139 arg2
= wxString_in_helper(obj1
);
30140 if (arg2
== NULL
) SWIG_fail
;
30144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30145 (arg1
)->SetTarget((wxString
const &)*arg2
);
30147 wxPyEndAllowThreads(__tstate
);
30148 if (PyErr_Occurred()) SWIG_fail
;
30150 Py_INCREF(Py_None
); resultobj
= Py_None
;
30165 static PyObject
* HelpEvent_swigregister(PyObject
*, PyObject
*args
) {
30167 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30168 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
30170 return Py_BuildValue((char *)"");
30172 static PyObject
*_wrap_new_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30173 PyObject
*resultobj
;
30174 wxWindow
*arg1
= (wxWindow
*) NULL
;
30175 bool arg2
= (bool) True
;
30176 wxContextHelp
*result
;
30177 PyObject
* obj0
= 0 ;
30178 PyObject
* obj1
= 0 ;
30179 char *kwnames
[] = {
30180 (char *) "window",(char *) "doNow", NULL
30183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30189 arg2
= (bool)SWIG_As_bool(obj1
);
30190 if (PyErr_Occurred()) SWIG_fail
;
30193 if (!wxPyCheckForApp()) SWIG_fail
;
30194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30195 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
30197 wxPyEndAllowThreads(__tstate
);
30198 if (PyErr_Occurred()) SWIG_fail
;
30200 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
30207 static PyObject
*_wrap_delete_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30208 PyObject
*resultobj
;
30209 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30210 PyObject
* obj0
= 0 ;
30211 char *kwnames
[] = {
30212 (char *) "self", NULL
30215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
30216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30222 wxPyEndAllowThreads(__tstate
);
30223 if (PyErr_Occurred()) SWIG_fail
;
30225 Py_INCREF(Py_None
); resultobj
= Py_None
;
30232 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30233 PyObject
*resultobj
;
30234 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30235 wxWindow
*arg2
= (wxWindow
*) NULL
;
30237 PyObject
* obj0
= 0 ;
30238 PyObject
* obj1
= 0 ;
30239 char *kwnames
[] = {
30240 (char *) "self",(char *) "window", NULL
30243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30247 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30252 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
30254 wxPyEndAllowThreads(__tstate
);
30255 if (PyErr_Occurred()) SWIG_fail
;
30258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30266 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30267 PyObject
*resultobj
;
30268 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30270 PyObject
* obj0
= 0 ;
30271 char *kwnames
[] = {
30272 (char *) "self", NULL
30275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
30276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30280 result
= (bool)(arg1
)->EndContextHelp();
30282 wxPyEndAllowThreads(__tstate
);
30283 if (PyErr_Occurred()) SWIG_fail
;
30286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30294 static PyObject
* ContextHelp_swigregister(PyObject
*, PyObject
*args
) {
30296 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30297 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
30299 return Py_BuildValue((char *)"");
30301 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30302 PyObject
*resultobj
;
30303 wxWindow
*arg1
= (wxWindow
*) 0 ;
30304 int arg2
= (int) wxID_CONTEXT_HELP
;
30305 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30306 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30307 wxSize
const &arg4_defvalue
= wxDefaultSize
;
30308 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
30309 long arg5
= (long) wxBU_AUTODRAW
;
30310 wxContextHelpButton
*result
;
30313 PyObject
* obj0
= 0 ;
30314 PyObject
* obj1
= 0 ;
30315 PyObject
* obj2
= 0 ;
30316 PyObject
* obj3
= 0 ;
30317 PyObject
* obj4
= 0 ;
30318 char *kwnames
[] = {
30319 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
30322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30326 arg2
= (int)SWIG_As_int(obj1
);
30327 if (PyErr_Occurred()) SWIG_fail
;
30332 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30338 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
30342 arg5
= (long)SWIG_As_long(obj4
);
30343 if (PyErr_Occurred()) SWIG_fail
;
30346 if (!wxPyCheckForApp()) SWIG_fail
;
30347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30348 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
30350 wxPyEndAllowThreads(__tstate
);
30351 if (PyErr_Occurred()) SWIG_fail
;
30353 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
30360 static PyObject
* ContextHelpButton_swigregister(PyObject
*, PyObject
*args
) {
30362 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30363 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
30365 return Py_BuildValue((char *)"");
30367 static PyObject
*_wrap_HelpProvider_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30368 PyObject
*resultobj
;
30369 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30370 wxHelpProvider
*result
;
30371 PyObject
* obj0
= 0 ;
30372 char *kwnames
[] = {
30373 (char *) "helpProvider", NULL
30376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
30377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30381 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
30383 wxPyEndAllowThreads(__tstate
);
30384 if (PyErr_Occurred()) SWIG_fail
;
30386 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30393 static PyObject
*_wrap_HelpProvider_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30394 PyObject
*resultobj
;
30395 wxHelpProvider
*result
;
30396 char *kwnames
[] = {
30400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
30402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30403 result
= (wxHelpProvider
*)wxHelpProvider::Get();
30405 wxPyEndAllowThreads(__tstate
);
30406 if (PyErr_Occurred()) SWIG_fail
;
30408 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30415 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30416 PyObject
*resultobj
;
30417 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30418 wxWindow
*arg2
= (wxWindow
*) 0 ;
30420 PyObject
* obj0
= 0 ;
30421 PyObject
* obj1
= 0 ;
30422 char *kwnames
[] = {
30423 (char *) "self",(char *) "window", NULL
30426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
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 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
30435 wxPyEndAllowThreads(__tstate
);
30436 if (PyErr_Occurred()) SWIG_fail
;
30440 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30442 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30451 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30452 PyObject
*resultobj
;
30453 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30454 wxWindow
*arg2
= (wxWindow
*) 0 ;
30456 PyObject
* obj0
= 0 ;
30457 PyObject
* obj1
= 0 ;
30458 char *kwnames
[] = {
30459 (char *) "self",(char *) "window", NULL
30462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30465 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30469 result
= (bool)(arg1
)->ShowHelp(arg2
);
30471 wxPyEndAllowThreads(__tstate
);
30472 if (PyErr_Occurred()) SWIG_fail
;
30475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30483 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30484 PyObject
*resultobj
;
30485 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30486 wxWindow
*arg2
= (wxWindow
*) 0 ;
30487 wxString
*arg3
= 0 ;
30488 bool temp3
= False
;
30489 PyObject
* obj0
= 0 ;
30490 PyObject
* obj1
= 0 ;
30491 PyObject
* obj2
= 0 ;
30492 char *kwnames
[] = {
30493 (char *) "self",(char *) "window",(char *) "text", NULL
30496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30499 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30502 arg3
= wxString_in_helper(obj2
);
30503 if (arg3
== NULL
) SWIG_fail
;
30507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30508 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30510 wxPyEndAllowThreads(__tstate
);
30511 if (PyErr_Occurred()) SWIG_fail
;
30513 Py_INCREF(Py_None
); resultobj
= Py_None
;
30528 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30529 PyObject
*resultobj
;
30530 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30532 wxString
*arg3
= 0 ;
30533 bool temp3
= False
;
30534 PyObject
* obj0
= 0 ;
30535 PyObject
* obj1
= 0 ;
30536 PyObject
* obj2
= 0 ;
30537 char *kwnames
[] = {
30538 (char *) "self",(char *) "id",(char *) "text", NULL
30541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30544 arg2
= (int)SWIG_As_int(obj1
);
30545 if (PyErr_Occurred()) SWIG_fail
;
30547 arg3
= wxString_in_helper(obj2
);
30548 if (arg3
== NULL
) SWIG_fail
;
30552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30553 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30555 wxPyEndAllowThreads(__tstate
);
30556 if (PyErr_Occurred()) SWIG_fail
;
30558 Py_INCREF(Py_None
); resultobj
= Py_None
;
30573 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30574 PyObject
*resultobj
;
30575 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30576 wxWindow
*arg2
= (wxWindow
*) 0 ;
30577 PyObject
* obj0
= 0 ;
30578 PyObject
* obj1
= 0 ;
30579 char *kwnames
[] = {
30580 (char *) "self",(char *) "window", NULL
30583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30586 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30590 (arg1
)->RemoveHelp(arg2
);
30592 wxPyEndAllowThreads(__tstate
);
30593 if (PyErr_Occurred()) SWIG_fail
;
30595 Py_INCREF(Py_None
); resultobj
= Py_None
;
30602 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30603 PyObject
*resultobj
;
30604 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30605 PyObject
* obj0
= 0 ;
30606 char *kwnames
[] = {
30607 (char *) "self", NULL
30610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
30611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30615 wxHelpProvider_Destroy(arg1
);
30617 wxPyEndAllowThreads(__tstate
);
30618 if (PyErr_Occurred()) SWIG_fail
;
30620 Py_INCREF(Py_None
); resultobj
= Py_None
;
30627 static PyObject
* HelpProvider_swigregister(PyObject
*, PyObject
*args
) {
30629 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30630 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
30632 return Py_BuildValue((char *)"");
30634 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30635 PyObject
*resultobj
;
30636 wxSimpleHelpProvider
*result
;
30637 char *kwnames
[] = {
30641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
30643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30644 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
30646 wxPyEndAllowThreads(__tstate
);
30647 if (PyErr_Occurred()) SWIG_fail
;
30649 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
30656 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*, PyObject
*args
) {
30658 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30659 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
30661 return Py_BuildValue((char *)"");
30663 static PyObject
*_wrap_new_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30664 PyObject
*resultobj
;
30665 wxBitmap
*arg1
= 0 ;
30666 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30667 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30668 wxGenericDragImage
*result
;
30669 PyObject
* obj0
= 0 ;
30670 PyObject
* obj1
= 0 ;
30671 char *kwnames
[] = {
30672 (char *) "image",(char *) "cursor", NULL
30675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
30676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
30677 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30679 if (arg1
== NULL
) {
30680 PyErr_SetString(PyExc_TypeError
,"null reference");
30684 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30685 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30687 if (arg2
== NULL
) {
30688 PyErr_SetString(PyExc_TypeError
,"null reference");
30693 if (!wxPyCheckForApp()) SWIG_fail
;
30694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30695 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
30697 wxPyEndAllowThreads(__tstate
);
30698 if (PyErr_Occurred()) SWIG_fail
;
30700 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30707 static PyObject
*_wrap_new_DragIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30708 PyObject
*resultobj
;
30710 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30711 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30712 wxGenericDragImage
*result
;
30713 PyObject
* obj0
= 0 ;
30714 PyObject
* obj1
= 0 ;
30715 char *kwnames
[] = {
30716 (char *) "image",(char *) "cursor", NULL
30719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
30720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
30721 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30723 if (arg1
== NULL
) {
30724 PyErr_SetString(PyExc_TypeError
,"null reference");
30728 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30729 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30731 if (arg2
== NULL
) {
30732 PyErr_SetString(PyExc_TypeError
,"null reference");
30737 if (!wxPyCheckForApp()) SWIG_fail
;
30738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30739 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
30741 wxPyEndAllowThreads(__tstate
);
30742 if (PyErr_Occurred()) SWIG_fail
;
30744 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30751 static PyObject
*_wrap_new_DragString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30752 PyObject
*resultobj
;
30753 wxString
*arg1
= 0 ;
30754 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30755 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30756 wxGenericDragImage
*result
;
30757 bool temp1
= False
;
30758 PyObject
* obj0
= 0 ;
30759 PyObject
* obj1
= 0 ;
30760 char *kwnames
[] = {
30761 (char *) "str",(char *) "cursor", NULL
30764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
30766 arg1
= wxString_in_helper(obj0
);
30767 if (arg1
== NULL
) SWIG_fail
;
30771 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30772 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30774 if (arg2
== NULL
) {
30775 PyErr_SetString(PyExc_TypeError
,"null reference");
30780 if (!wxPyCheckForApp()) SWIG_fail
;
30781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30782 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
30784 wxPyEndAllowThreads(__tstate
);
30785 if (PyErr_Occurred()) SWIG_fail
;
30787 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30802 static PyObject
*_wrap_new_DragTreeItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30803 PyObject
*resultobj
;
30804 wxPyTreeCtrl
*arg1
= 0 ;
30805 wxTreeItemId
*arg2
= 0 ;
30806 wxGenericDragImage
*result
;
30807 PyObject
* obj0
= 0 ;
30808 PyObject
* obj1
= 0 ;
30809 char *kwnames
[] = {
30810 (char *) "treeCtrl",(char *) "id", NULL
30813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
30815 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30817 if (arg1
== NULL
) {
30818 PyErr_SetString(PyExc_TypeError
,"null reference");
30821 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
30822 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30824 if (arg2
== NULL
) {
30825 PyErr_SetString(PyExc_TypeError
,"null reference");
30829 if (!wxPyCheckForApp()) SWIG_fail
;
30830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30831 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
30833 wxPyEndAllowThreads(__tstate
);
30834 if (PyErr_Occurred()) SWIG_fail
;
30836 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30843 static PyObject
*_wrap_new_DragListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30844 PyObject
*resultobj
;
30845 wxPyListCtrl
*arg1
= 0 ;
30847 wxGenericDragImage
*result
;
30848 PyObject
* obj0
= 0 ;
30849 PyObject
* obj1
= 0 ;
30850 char *kwnames
[] = {
30851 (char *) "listCtrl",(char *) "id", NULL
30854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
30856 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30858 if (arg1
== NULL
) {
30859 PyErr_SetString(PyExc_TypeError
,"null reference");
30862 arg2
= (long)SWIG_As_long(obj1
);
30863 if (PyErr_Occurred()) SWIG_fail
;
30865 if (!wxPyCheckForApp()) SWIG_fail
;
30866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30867 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
30869 wxPyEndAllowThreads(__tstate
);
30870 if (PyErr_Occurred()) SWIG_fail
;
30872 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30879 static PyObject
*_wrap_delete_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30880 PyObject
*resultobj
;
30881 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30882 PyObject
* obj0
= 0 ;
30883 char *kwnames
[] = {
30884 (char *) "self", NULL
30887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
30888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30894 wxPyEndAllowThreads(__tstate
);
30895 if (PyErr_Occurred()) SWIG_fail
;
30897 Py_INCREF(Py_None
); resultobj
= Py_None
;
30904 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30905 PyObject
*resultobj
;
30906 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30907 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
30908 PyObject
* obj0
= 0 ;
30909 PyObject
* obj1
= 0 ;
30910 char *kwnames
[] = {
30911 (char *) "self",(char *) "bitmap", NULL
30914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
30915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30917 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
30918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30921 (arg1
)->SetBackingBitmap(arg2
);
30923 wxPyEndAllowThreads(__tstate
);
30924 if (PyErr_Occurred()) SWIG_fail
;
30926 Py_INCREF(Py_None
); resultobj
= Py_None
;
30933 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30934 PyObject
*resultobj
;
30935 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30936 wxPoint
*arg2
= 0 ;
30937 wxWindow
*arg3
= (wxWindow
*) 0 ;
30938 bool arg4
= (bool) False
;
30939 wxRect
*arg5
= (wxRect
*) NULL
;
30942 PyObject
* obj0
= 0 ;
30943 PyObject
* obj1
= 0 ;
30944 PyObject
* obj2
= 0 ;
30945 PyObject
* obj3
= 0 ;
30946 PyObject
* obj4
= 0 ;
30947 char *kwnames
[] = {
30948 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
30951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30956 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30958 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
30959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30961 arg4
= (bool)SWIG_As_bool(obj3
);
30962 if (PyErr_Occurred()) SWIG_fail
;
30965 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
,
30966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30970 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
30972 wxPyEndAllowThreads(__tstate
);
30973 if (PyErr_Occurred()) SWIG_fail
;
30976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30984 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30985 PyObject
*resultobj
;
30986 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30987 wxPoint
*arg2
= 0 ;
30988 wxWindow
*arg3
= (wxWindow
*) 0 ;
30989 wxWindow
*arg4
= (wxWindow
*) 0 ;
30992 PyObject
* obj0
= 0 ;
30993 PyObject
* obj1
= 0 ;
30994 PyObject
* obj2
= 0 ;
30995 PyObject
* obj3
= 0 ;
30996 char *kwnames
[] = {
30997 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
31000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31005 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31007 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
31008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31009 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
31010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31013 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
31015 wxPyEndAllowThreads(__tstate
);
31016 if (PyErr_Occurred()) SWIG_fail
;
31019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31027 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31028 PyObject
*resultobj
;
31029 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31031 PyObject
* obj0
= 0 ;
31032 char *kwnames
[] = {
31033 (char *) "self", NULL
31036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
31037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31041 result
= (bool)(arg1
)->EndDrag();
31043 wxPyEndAllowThreads(__tstate
);
31044 if (PyErr_Occurred()) SWIG_fail
;
31047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31055 static PyObject
*_wrap_DragImage_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31056 PyObject
*resultobj
;
31057 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31058 wxPoint
*arg2
= 0 ;
31061 PyObject
* obj0
= 0 ;
31062 PyObject
* obj1
= 0 ;
31063 char *kwnames
[] = {
31064 (char *) "self",(char *) "pt", NULL
31067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
31068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31072 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31076 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
31078 wxPyEndAllowThreads(__tstate
);
31079 if (PyErr_Occurred()) SWIG_fail
;
31082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31090 static PyObject
*_wrap_DragImage_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31091 PyObject
*resultobj
;
31092 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31094 PyObject
* obj0
= 0 ;
31095 char *kwnames
[] = {
31096 (char *) "self", NULL
31099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
31100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31104 result
= (bool)(arg1
)->Show();
31106 wxPyEndAllowThreads(__tstate
);
31107 if (PyErr_Occurred()) SWIG_fail
;
31110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31118 static PyObject
*_wrap_DragImage_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31119 PyObject
*resultobj
;
31120 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31122 PyObject
* obj0
= 0 ;
31123 char *kwnames
[] = {
31124 (char *) "self", NULL
31127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
31128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31132 result
= (bool)(arg1
)->Hide();
31134 wxPyEndAllowThreads(__tstate
);
31135 if (PyErr_Occurred()) SWIG_fail
;
31138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31146 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31147 PyObject
*resultobj
;
31148 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31149 wxPoint
*arg2
= 0 ;
31152 PyObject
* obj0
= 0 ;
31153 PyObject
* obj1
= 0 ;
31154 char *kwnames
[] = {
31155 (char *) "self",(char *) "pos", NULL
31158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
31159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31163 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31167 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
31169 wxPyEndAllowThreads(__tstate
);
31170 if (PyErr_Occurred()) SWIG_fail
;
31173 wxRect
* resultptr
;
31174 resultptr
= new wxRect((wxRect
&) result
);
31175 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
31183 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31184 PyObject
*resultobj
;
31185 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31187 wxPoint
*arg3
= 0 ;
31190 PyObject
* obj0
= 0 ;
31191 PyObject
* obj1
= 0 ;
31192 PyObject
* obj2
= 0 ;
31193 char *kwnames
[] = {
31194 (char *) "self",(char *) "dc",(char *) "pos", NULL
31197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31200 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31201 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31203 if (arg2
== NULL
) {
31204 PyErr_SetString(PyExc_TypeError
,"null reference");
31209 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31213 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
31215 wxPyEndAllowThreads(__tstate
);
31216 if (PyErr_Occurred()) SWIG_fail
;
31219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31227 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31228 PyObject
*resultobj
;
31229 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31231 wxMemoryDC
*arg3
= 0 ;
31237 PyObject
* obj0
= 0 ;
31238 PyObject
* obj1
= 0 ;
31239 PyObject
* obj2
= 0 ;
31240 PyObject
* obj3
= 0 ;
31241 PyObject
* obj4
= 0 ;
31242 char *kwnames
[] = {
31243 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
31246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31249 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31250 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31252 if (arg2
== NULL
) {
31253 PyErr_SetString(PyExc_TypeError
,"null reference");
31256 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
,
31257 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31259 if (arg3
== NULL
) {
31260 PyErr_SetString(PyExc_TypeError
,"null reference");
31265 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31269 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
31272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31273 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
31275 wxPyEndAllowThreads(__tstate
);
31276 if (PyErr_Occurred()) SWIG_fail
;
31279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31287 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31288 PyObject
*resultobj
;
31289 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31290 wxPoint
*arg2
= 0 ;
31291 wxPoint
*arg3
= 0 ;
31297 PyObject
* obj0
= 0 ;
31298 PyObject
* obj1
= 0 ;
31299 PyObject
* obj2
= 0 ;
31300 PyObject
* obj3
= 0 ;
31301 PyObject
* obj4
= 0 ;
31302 char *kwnames
[] = {
31303 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
31306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31311 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31315 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31317 arg4
= (bool)SWIG_As_bool(obj3
);
31318 if (PyErr_Occurred()) SWIG_fail
;
31319 arg5
= (bool)SWIG_As_bool(obj4
);
31320 if (PyErr_Occurred()) SWIG_fail
;
31322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31323 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
31325 wxPyEndAllowThreads(__tstate
);
31326 if (PyErr_Occurred()) SWIG_fail
;
31329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31337 static PyObject
* DragImage_swigregister(PyObject
*, PyObject
*args
) {
31339 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31340 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
31342 return Py_BuildValue((char *)"");
31344 static PyMethodDef SwigMethods
[] = {
31345 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31346 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31347 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31348 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31349 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31350 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31351 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
31352 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31353 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31354 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31355 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31356 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31357 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31358 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31359 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31360 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31361 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31362 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31363 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31364 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31365 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31366 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
31367 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31368 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31369 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31370 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31371 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31372 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31373 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31374 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31375 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31376 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31377 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31378 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
31379 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31380 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31381 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31382 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31383 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31384 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31385 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31386 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
31387 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31388 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31389 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31390 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31391 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31392 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31393 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31394 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31395 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31396 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31397 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31398 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31399 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31400 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31401 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31402 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31403 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31404 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31405 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31406 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31407 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
31408 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31409 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31410 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31411 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31412 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31413 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31414 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31415 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31416 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31417 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31418 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31419 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31420 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31421 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
31422 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31423 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31424 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31425 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31426 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
31427 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31428 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31429 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31430 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31431 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31432 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31433 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
31434 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31435 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31436 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31437 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31438 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
31439 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31440 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31441 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31442 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31443 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31444 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31445 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31446 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
31447 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31448 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31449 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31450 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31451 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31452 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31453 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31454 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31455 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31456 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31457 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31458 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31459 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31460 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31461 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31462 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31463 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31464 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31465 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31466 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31467 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31468 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31469 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
31470 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31471 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31472 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31473 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31474 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31475 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31476 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31477 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31478 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
31479 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31480 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31481 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31482 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31483 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31484 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31485 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31486 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31487 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31488 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31489 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31490 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31491 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31492 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31493 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31494 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31495 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31496 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31497 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31498 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31499 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31500 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31501 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31502 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31503 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31504 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31505 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31506 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31507 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31508 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31509 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
31510 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31511 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31512 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31513 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31514 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31515 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31516 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31517 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31518 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31519 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31520 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31521 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31522 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31523 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31524 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31525 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31526 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31527 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31528 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31529 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31530 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31531 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31532 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31533 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31534 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31535 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31536 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31537 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31538 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31539 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31540 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31541 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31542 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31543 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31544 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31545 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31546 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31547 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31548 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31549 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31550 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31551 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31552 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31553 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31554 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31555 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31556 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31557 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31558 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31559 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31560 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31561 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31562 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31563 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31564 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31565 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
31566 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31567 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31568 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31569 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31570 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
31571 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31572 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31573 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31574 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31575 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31576 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31577 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31578 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31579 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31580 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31581 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31582 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
31583 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31584 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31585 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31586 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31587 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31588 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31589 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31590 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31591 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31592 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31593 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31594 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31595 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
31596 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31597 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31598 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31599 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31600 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31601 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31602 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31603 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31604 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31605 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31606 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31607 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
31608 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31609 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31610 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31611 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
31612 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31613 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31614 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31615 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31616 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31617 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31618 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31619 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31620 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31621 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31622 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31623 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31624 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31625 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31626 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31627 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31628 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31629 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
31630 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31631 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31632 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31633 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31634 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31635 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31636 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
31637 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31638 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31639 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31640 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31641 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31642 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31643 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31644 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31645 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31646 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31647 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31648 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31649 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31650 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31651 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31652 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31653 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31654 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31655 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31656 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31657 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31658 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31659 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31660 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31661 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31662 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
31663 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31664 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31665 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31666 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31667 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31668 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31669 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31670 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
31671 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31672 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31673 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31674 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31675 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31676 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31677 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31678 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31679 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31680 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31681 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31682 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31683 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31684 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31685 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31686 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31687 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31688 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31689 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31690 { (char *)"BookCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31691 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
, NULL
},
31692 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31693 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31694 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31695 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31696 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31697 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
, NULL
},
31698 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31699 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31700 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31701 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31702 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31703 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31704 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31705 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31706 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31707 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
31708 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31709 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
31710 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31711 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31712 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31713 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31714 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
31715 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31716 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
31717 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31718 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31719 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31720 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31721 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
, NULL
},
31722 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31723 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31724 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31725 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31726 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
, NULL
},
31727 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31728 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31729 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31730 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31731 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31732 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31733 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31734 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31735 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31736 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31737 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31738 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31739 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31740 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31741 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31742 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31743 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31744 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31745 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31746 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31747 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31748 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31749 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31750 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31751 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31752 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31753 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31754 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31755 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31756 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
31757 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31758 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31759 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31760 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31761 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31762 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31763 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31764 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31765 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31766 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31767 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31768 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31769 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31770 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31771 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31772 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31773 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31774 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31775 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31776 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31777 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31778 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31779 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31780 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31781 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31782 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31783 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31784 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31785 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31786 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31787 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31788 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31789 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31790 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31791 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31792 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31793 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31794 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31795 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31796 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31797 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31798 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31799 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31800 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31801 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
31802 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31803 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31804 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31805 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31806 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31807 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
31808 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31809 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31810 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31811 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31812 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31813 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31814 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31815 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31816 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31817 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31818 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31819 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
31820 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31821 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31822 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31823 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31824 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31825 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31826 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31827 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31828 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31829 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31830 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31831 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31832 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31833 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31834 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31835 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31836 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31837 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31838 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31839 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31840 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31841 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31842 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31843 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31844 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31845 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31846 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31847 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31848 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31849 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31850 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31851 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31852 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31853 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31854 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31855 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31856 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31857 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31858 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31859 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31860 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31861 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31862 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31863 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31864 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31865 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31866 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31867 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31868 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31869 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31870 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31871 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
31872 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31873 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31874 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31875 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31876 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31877 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31878 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31879 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31880 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31881 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31882 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31883 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31884 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31885 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31886 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31887 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31888 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31889 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31890 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31891 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31892 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31893 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31894 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31895 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31896 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31897 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31898 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
31899 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31900 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31901 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31902 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31903 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31904 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31905 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31906 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31907 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31908 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31909 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31910 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31911 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31912 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31913 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31914 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31915 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31916 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31917 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31918 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31919 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31920 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31921 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31922 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31923 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31924 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31925 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31926 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31927 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31928 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31929 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31930 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31931 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31932 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31933 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31934 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31935 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31936 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31937 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31938 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31939 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31940 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31941 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31942 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31943 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31944 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31945 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31946 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31947 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31948 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31949 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31950 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31951 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31952 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31953 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31954 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31955 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31956 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31957 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31958 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31959 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31960 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31961 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31962 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31963 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31964 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31965 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31966 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31967 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31968 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31969 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
31970 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31971 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31972 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31973 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31974 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31975 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31976 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31977 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31978 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31979 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31980 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31981 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
31982 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31983 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31984 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31985 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31986 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31987 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31988 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31989 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
31990 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31991 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31992 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31993 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31994 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31995 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31996 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
31997 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31998 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31999 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32000 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32001 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32002 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32003 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32004 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32005 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32006 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32007 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32008 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32009 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32010 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32011 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32012 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
32013 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32014 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32015 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32016 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32017 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32018 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32019 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32020 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32021 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32022 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32023 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32024 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32025 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32026 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32027 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32028 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32029 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32030 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32031 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32032 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32033 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32034 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32035 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32036 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32037 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32038 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32039 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32040 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32041 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32042 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32043 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32044 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32045 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32046 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32047 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32048 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32049 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32050 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32051 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32052 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32053 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32054 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32055 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32056 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32057 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32058 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32059 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32060 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32061 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32062 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32063 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32064 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32065 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32066 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32067 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32068 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32069 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32070 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32071 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32072 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32073 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32074 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32075 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32076 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32077 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32078 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32079 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32080 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32081 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32082 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32083 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32084 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32085 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32086 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32087 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
32088 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32089 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32090 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32091 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32092 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32093 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32094 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32095 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32096 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32097 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32098 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32099 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32100 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32101 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32102 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32103 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32104 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32105 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32106 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32107 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32108 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32109 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
32110 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32111 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32112 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32113 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32114 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
32115 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32116 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32117 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32118 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32119 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32120 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32121 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32122 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32123 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32124 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32125 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32126 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32127 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32128 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32129 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32130 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32131 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32132 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32133 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32134 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32135 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32136 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32137 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32138 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32139 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32140 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
32141 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32142 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32143 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32144 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32145 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32146 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32147 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32148 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
32149 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32150 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32151 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32152 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32153 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
32154 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32155 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
32156 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32157 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32158 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32159 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32160 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32161 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32162 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32163 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32164 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
32165 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32166 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
32167 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32168 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32169 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32170 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32171 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32172 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32173 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32174 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32175 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32176 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32177 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32178 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32179 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32180 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32181 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32182 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32183 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32184 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
32185 { NULL
, NULL
, 0, NULL
}
32189 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32191 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
32192 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32194 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
32195 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32197 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
32198 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
32200 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
32201 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32203 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
32204 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32206 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
32207 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
32209 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
32210 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32212 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
32213 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
32215 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
32216 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
32218 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
32219 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
32221 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32222 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32224 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32225 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32227 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32228 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32230 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32231 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32233 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32234 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32236 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
32237 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32239 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32240 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32242 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32243 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32245 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32246 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32248 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
32249 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32251 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
32252 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32254 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32255 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32257 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32258 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32260 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
32261 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
32263 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
32264 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32266 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
32267 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32269 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
32270 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
32272 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32273 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32275 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32276 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32278 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32279 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32281 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32282 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32284 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32285 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32287 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32288 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32290 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32291 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32293 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32294 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32296 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32297 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32299 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32300 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32302 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32303 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32305 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32306 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32308 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32309 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32311 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32312 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32314 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32315 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32317 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32318 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32320 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32321 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32323 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32324 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32326 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32327 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32329 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32330 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32332 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32333 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32335 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32336 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32338 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32339 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32341 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32342 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32344 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32345 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32347 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
32348 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32350 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
32351 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
32353 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
32354 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32356 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
32357 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32359 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
32360 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
32362 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
32363 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32365 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
32366 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32368 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
32369 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
32371 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
32372 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32374 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
32375 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32377 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
32378 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32380 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
32381 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
32383 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
32384 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
32386 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
32387 return (void *)((wxControl
*) ((wxComboBox
*) x
));
32389 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
32390 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
32392 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
32393 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
32395 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
32396 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
32398 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
32399 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
32401 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
32402 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32404 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
32405 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
32407 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
32408 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
32410 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
32411 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
32413 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
32414 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
32416 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
32417 return (void *)((wxControl
*) ((wxGauge
*) x
));
32419 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
32420 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
32422 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
32423 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
32425 static void *_p_wxButtonTo_p_wxControl(void *x
) {
32426 return (void *)((wxControl
*) ((wxButton
*) x
));
32428 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
32429 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
32431 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
32432 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32434 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
32435 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
32437 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
32438 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
32440 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
32441 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
32443 static void *_p_wxListbookTo_p_wxControl(void *x
) {
32444 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
32446 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
32447 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
32449 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
32450 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
32452 static void *_p_wxListViewTo_p_wxControl(void *x
) {
32453 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
32455 static void *_p_wxSliderTo_p_wxControl(void *x
) {
32456 return (void *)((wxControl
*) ((wxSlider
*) x
));
32458 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
32459 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
32461 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
32462 return (void *)((wxControl
*) ((wxPyControl
*) x
));
32464 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
32465 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
32467 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
32468 return (void *)((wxControl
*) ((wxStaticText
*) x
));
32470 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
32471 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
32473 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
32474 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32476 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
32477 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32479 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
32480 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32482 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
32483 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
32485 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
32486 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32488 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
32489 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32491 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
32492 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32494 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
32495 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
32497 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32498 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32500 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32501 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32503 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32504 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32506 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
32507 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32509 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32510 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32512 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
32513 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
32515 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
32516 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
32518 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32519 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32521 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32522 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32524 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
32525 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
32527 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
32528 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
32530 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
32531 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
32533 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
32534 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32536 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
32537 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
32539 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32540 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32542 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
32543 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
32545 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
32546 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
32548 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32549 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32551 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
32552 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
32554 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
32555 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
32557 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
32558 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32560 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
32561 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32563 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
32564 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32566 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
32567 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
32569 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
32570 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32572 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
32573 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32575 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
32576 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32578 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
32579 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32581 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
32582 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
32584 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
32585 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32587 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
32588 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
32590 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
32591 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
32593 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
32594 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
32596 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
32597 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
32599 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
32600 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
32602 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
32603 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
32605 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
32606 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32608 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
32609 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32611 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
32612 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
32614 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
32615 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
32617 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
32618 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
32620 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
32621 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
32623 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
32624 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
32626 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
32627 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32629 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
32630 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32632 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
32633 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
32635 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32636 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32638 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32639 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32641 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32642 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32644 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32645 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32647 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32648 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32650 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
32651 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32653 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
32654 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32656 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32657 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32659 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32660 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32662 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32663 return (void *)((wxObject
*) ((wxSizer
*) x
));
32665 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32666 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32668 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
32669 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32671 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
32672 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32674 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32675 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32677 static void *_p_wxEventTo_p_wxObject(void *x
) {
32678 return (void *)((wxObject
*) ((wxEvent
*) x
));
32680 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32681 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32683 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32684 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32686 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32687 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32689 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
32690 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
32692 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
32693 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
32695 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
32696 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32698 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32699 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32701 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32702 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32704 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32705 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32707 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32708 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32710 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32711 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32713 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32714 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32716 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
32717 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
32719 static void *_p_wxControlTo_p_wxObject(void *x
) {
32720 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32722 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
32723 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
32725 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
32726 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
32728 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
32729 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
32731 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
32732 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
32734 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
32735 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
32737 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32738 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32740 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
32741 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32743 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32744 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32746 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32747 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32749 static void *_p_wxListViewTo_p_wxObject(void *x
) {
32750 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32752 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
32753 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
32755 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
32756 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32758 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32759 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32761 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32762 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32764 static void *_p_wxListbookTo_p_wxObject(void *x
) {
32765 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32767 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32768 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32770 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
32771 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
32773 static void *_p_wxSliderTo_p_wxObject(void *x
) {
32774 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
32776 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32777 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32779 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32780 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32782 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32783 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32785 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32786 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32788 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32789 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32791 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32792 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32794 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32795 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32797 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32798 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32800 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32801 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32803 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
32804 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
32806 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
32807 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
32809 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32810 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32812 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32813 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32815 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32816 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32818 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32819 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32821 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32822 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32824 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32825 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32827 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32828 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32830 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32831 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32833 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32834 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32836 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32837 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32839 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32840 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32842 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32843 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32845 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32846 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32848 static void *_p_wxListEventTo_p_wxObject(void *x
) {
32849 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
32851 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
32852 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32854 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
32855 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32857 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
32858 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
32860 static void *_p_wxButtonTo_p_wxObject(void *x
) {
32861 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
32863 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
32864 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32866 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
32867 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
32869 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
32870 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32872 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32873 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32875 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
32876 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
32878 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
32879 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
32881 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
32882 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
32884 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
32885 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
32887 static void *_p_wxListItemTo_p_wxObject(void *x
) {
32888 return (void *)((wxObject
*) ((wxListItem
*) x
));
32890 static void *_p_wxImageTo_p_wxObject(void *x
) {
32891 return (void *)((wxObject
*) ((wxImage
*) x
));
32893 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
32894 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
32896 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32897 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32899 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
32900 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32902 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
32903 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
32905 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
32906 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
32908 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
32909 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32911 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
32912 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32914 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32915 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32917 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32918 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32920 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32921 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32923 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32924 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32926 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32927 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32929 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32930 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32932 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32933 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32935 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32936 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32938 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32939 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32941 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32942 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32944 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32945 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32947 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32948 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32950 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32951 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32953 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
32954 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32956 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32957 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32959 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32960 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32962 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
32963 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
32965 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32966 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32968 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32969 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32971 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32972 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32974 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32975 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32977 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
32978 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
32980 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
32981 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32983 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32984 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32986 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32987 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32989 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
32990 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
32992 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
32993 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
32995 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32996 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32998 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
32999 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
33001 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
33002 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
33004 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
33005 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
33007 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
33008 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
33010 static void *_p_wxControlTo_p_wxWindow(void *x
) {
33011 return (void *)((wxWindow
*) ((wxControl
*) x
));
33013 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
33014 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
33016 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
33017 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33019 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
33020 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
33022 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
33023 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
33025 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
33026 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
33028 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
33029 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
33031 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
33032 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
33034 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
33035 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
33037 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
33038 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
33040 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
33041 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
33043 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
33044 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
33046 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
33047 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
33049 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
33050 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
33052 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
33053 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
33055 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
33056 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
33058 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
33059 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
33061 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
33062 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
33064 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
33065 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
33067 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
33068 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
33070 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
33071 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
33073 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
33074 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
33076 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
33077 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
33079 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
33080 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
33082 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
33083 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
33085 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
33086 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
33088 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
33089 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
33091 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
33092 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
33094 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
33095 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
33097 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
33098 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33100 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
33101 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
33103 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
33104 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
33106 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
33107 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
33109 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
33110 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33112 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
33113 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33115 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
33116 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33118 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
33119 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
33121 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
33122 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
33124 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
33125 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
33127 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
33128 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33130 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
33131 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
33133 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
33134 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
33136 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
33137 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
33139 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
33140 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33142 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
33143 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33145 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
33146 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33148 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
33149 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
33151 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
33152 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
33154 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
33155 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
33157 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
33158 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
33160 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}};
33161 static swig_type_info _swigt__p_wxBookCtrlEvent
[] = {{"_p_wxBookCtrlEvent", 0, "wxBookCtrlEvent *", 0, 0, 0, 0},{"_p_wxBookCtrlEvent", 0, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxBookCtrlEvent
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxBookCtrlEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33162 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}};
33163 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}};
33164 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}};
33165 static swig_type_info _swigt__p_wxEvent
[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_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_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}};
33166 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}};
33167 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}};
33168 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}};
33169 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}};
33170 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}};
33171 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}};
33172 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}};
33173 static swig_type_info _swigt__p_wxControl
[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_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_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_wxBitmapButton", _p_wxBitmapButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxControl
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_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}};
33174 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}};
33175 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}};
33176 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}};
33177 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}};
33178 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}};
33179 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}};
33180 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice
, 0, 0, 0, 0, 0},{"_p_wxChoice", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33181 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}};
33182 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}};
33183 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}};
33184 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}};
33185 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}};
33186 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}};
33187 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}};
33188 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}};
33189 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}};
33190 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}};
33191 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}};
33192 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxNotifyEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33193 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}};
33194 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}};
33195 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}};
33196 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}};
33197 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}};
33198 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}};
33199 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}};
33200 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}};
33201 static swig_type_info _swigt__p_wxEvtHandler
[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_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_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_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxEvtHandler
, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_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}};
33202 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}};
33203 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}};
33204 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}};
33205 static swig_type_info _swigt__p_wxBookCtrl
[] = {{"_p_wxBookCtrl", 0, "wxBookCtrl *", 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxBookCtrl
, 0, 0, 0, 0, 0},{"_p_wxBookCtrl", 0, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxBookCtrl
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33206 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}};
33207 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}};
33208 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}};
33209 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}};
33210 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}};
33211 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}};
33212 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}};
33213 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}};
33214 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}};
33215 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}};
33216 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}};
33217 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}};
33218 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}};
33219 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}};
33220 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}};
33221 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}};
33222 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}};
33223 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}};
33224 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}};
33225 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}};
33226 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}};
33227 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}};
33228 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}};
33229 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_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_wxPyEvent", _p_wxPyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_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_wxListbookEvent", _p_wxListbookEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33230 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}};
33231 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}};
33232 static swig_type_info _swigt__p_wxWindow
[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_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_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_wxButton", _p_wxButtonTo_p_wxWindow
, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_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_wxTextCtrl", _p_wxTextCtrlTo_p_wxWindow
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33233 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}};
33234 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}};
33235 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}};
33236 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}};
33237 static swig_type_info _swigt__p_wxCommandEvent
[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33238 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}};
33239 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33240 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}};
33241 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}};
33242 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}};
33243 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}};
33244 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}};
33246 static swig_type_info
*swig_types_initial
[] = {
33247 _swigt__p_wxTextUrlEvent
,
33248 _swigt__p_wxBookCtrlEvent
,
33250 _swigt__p_wxCheckBox
,
33251 _swigt__p_wxPyTreeCtrl
,
33253 _swigt__p_wxGenericDirCtrl
,
33255 _swigt__p_wxPyTreeItemData
,
33256 _swigt__p_wxItemContainer
,
33257 _swigt__p_wxPyListCtrl
,
33258 _swigt__p_wxDirFilterListCtrl
,
33259 _swigt__p_wxStaticLine
,
33260 _swigt__p_wxControl
,
33261 _swigt__p_wxPyControl
,
33263 _swigt__p_wxToolBarBase
,
33265 _swigt__p_wxToggleButton
,
33266 _swigt__p_wxRadioButton
,
33267 _swigt__p_wxChoice
,
33268 _swigt__p_wxMemoryDC
,
33269 _swigt__p_wxListItemAttr
,
33274 _swigt__p_wxListView
,
33276 _swigt__p_wxVisualAttributes
,
33277 _swigt__p_wxTextCtrl
,
33278 _swigt__p_wxNotebook
,
33279 _swigt__p_wxNotifyEvent
,
33280 _swigt__p_wxArrayString
,
33281 _swigt__p_wxListbook
,
33282 _swigt__p_wxStaticBitmap
,
33283 _swigt__p_wxSlider
,
33284 _swigt__p_wxStaticBox
,
33285 _swigt__p_wxArrayInt
,
33286 _swigt__p_wxContextHelp
,
33288 _swigt__p_wxEvtHandler
,
33289 _swigt__p_wxListEvent
,
33290 _swigt__p_wxCheckListBox
,
33291 _swigt__p_wxListBox
,
33292 _swigt__p_wxBookCtrl
,
33293 _swigt__p_wxSpinButton
,
33294 _swigt__p_wxButton
,
33295 _swigt__p_wxBitmapButton
,
33297 _swigt__p_wxContextHelpButton
,
33298 _swigt__p_wxRadioBox
,
33299 _swigt__p_wxScrollBar
,
33301 _swigt__p_wxTreeItemId
,
33302 _swigt__p_wxComboBox
,
33303 _swigt__p_wxHelpEvent
,
33304 _swigt__p_wxListItem
,
33305 _swigt__p_wxNotebookSizer
,
33306 _swigt__p_wxSpinEvent
,
33307 _swigt__p_wxGenericDragImage
,
33308 _swigt__p_wxSpinCtrl
,
33309 _swigt__p_wxImageList
,
33310 _swigt__p_wxHelpProvider
,
33311 _swigt__p_wxTextAttr
,
33312 _swigt__p_wxSimpleHelpProvider
,
33314 _swigt__p_wxListbookEvent
,
33315 _swigt__p_wxNotebookEvent
,
33316 _swigt__p_wxObject
,
33317 _swigt__p_wxCursor
,
33318 _swigt__p_wxKeyEvent
,
33319 _swigt__p_wxWindow
,
33320 _swigt__p_wxString
,
33321 _swigt__p_wxBitmap
,
33322 _swigt__p_wxTreeEvent
,
33323 _swigt__p_wxMouseEvent
,
33324 _swigt__p_wxCommandEvent
,
33325 _swigt__p_wxStaticText
,
33326 _swigt__p_wxControlWithItems
,
33327 _swigt__p_wxToolBarToolBase
,
33328 _swigt__p_wxColour
,
33329 _swigt__p_wxToolBar
,
33330 _swigt__p_wxBookCtrlSizer
,
33331 _swigt__p_wxValidator
,
33336 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33338 static swig_const_info swig_const_table
[] = {
33339 {0, 0, 0, 0.0, 0, 0}};
33348 SWIGEXPORT(void) SWIG_init(void) {
33349 static PyObject
*SWIG_globals
= 0;
33350 static int typeinit
= 0;
33353 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
33354 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33355 d
= PyModule_GetDict(m
);
33358 for (i
= 0; swig_types_initial
[i
]; i
++) {
33359 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
33363 SWIG_InstallConstants(d
,swig_const_table
);
33365 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
33366 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
33367 PyDict_SetItemString(d
,"BU_LEFT", SWIG_From_int((int)wxBU_LEFT
));
33368 PyDict_SetItemString(d
,"BU_TOP", SWIG_From_int((int)wxBU_TOP
));
33369 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_From_int((int)wxBU_RIGHT
));
33370 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_From_int((int)wxBU_BOTTOM
));
33371 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_From_int((int)wxBU_EXACTFIT
));
33372 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_From_int((int)wxBU_AUTODRAW
));
33373 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
33374 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_From_int((int)wxCHK_2STATE
));
33375 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_From_int((int)wxCHK_3STATE
));
33376 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
33377 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_From_int((int)wxCHK_UNCHECKED
));
33378 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_From_int((int)wxCHK_CHECKED
));
33379 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_From_int((int)wxCHK_UNDETERMINED
));
33380 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
33381 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
33382 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
33383 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_From_int((int)wxGA_HORIZONTAL
));
33384 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_From_int((int)wxGA_VERTICAL
));
33385 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_From_int((int)wxGA_SMOOTH
));
33386 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_From_int((int)wxGA_PROGRESSBAR
));
33387 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
33388 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
33389 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
33390 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
33391 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
33392 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_From_int((int)wxTE_NO_VSCROLL
));
33393 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_From_int((int)wxTE_AUTO_SCROLL
));
33394 PyDict_SetItemString(d
,"TE_READONLY", SWIG_From_int((int)wxTE_READONLY
));
33395 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_From_int((int)wxTE_MULTILINE
));
33396 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_From_int((int)wxTE_PROCESS_TAB
));
33397 PyDict_SetItemString(d
,"TE_LEFT", SWIG_From_int((int)wxTE_LEFT
));
33398 PyDict_SetItemString(d
,"TE_CENTER", SWIG_From_int((int)wxTE_CENTER
));
33399 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_From_int((int)wxTE_RIGHT
));
33400 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_From_int((int)wxTE_CENTRE
));
33401 PyDict_SetItemString(d
,"TE_RICH", SWIG_From_int((int)wxTE_RICH
));
33402 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_From_int((int)wxTE_PROCESS_ENTER
));
33403 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_From_int((int)wxTE_PASSWORD
));
33404 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_From_int((int)wxTE_AUTO_URL
));
33405 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_From_int((int)wxTE_NOHIDESEL
));
33406 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_From_int((int)wxTE_DONTWRAP
));
33407 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_From_int((int)wxTE_LINEWRAP
));
33408 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_From_int((int)wxTE_WORDWRAP
));
33409 PyDict_SetItemString(d
,"TE_RICH2", SWIG_From_int((int)wxTE_RICH2
));
33410 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)wxTEXT_ALIGNMENT_DEFAULT
));
33411 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)wxTEXT_ALIGNMENT_LEFT
));
33412 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)wxTEXT_ALIGNMENT_CENTRE
));
33413 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)wxTEXT_ALIGNMENT_CENTER
));
33414 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)wxTEXT_ALIGNMENT_RIGHT
));
33415 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
33416 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)wxTEXT_ATTR_TEXT_COLOUR
));
33417 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
33418 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)wxTEXT_ATTR_FONT_FACE
));
33419 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)wxTEXT_ATTR_FONT_SIZE
));
33420 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)wxTEXT_ATTR_FONT_WEIGHT
));
33421 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)wxTEXT_ATTR_FONT_ITALIC
));
33422 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)wxTEXT_ATTR_FONT_UNDERLINE
));
33423 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_From_int((int)wxTEXT_ATTR_FONT
));
33424 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)wxTEXT_ATTR_ALIGNMENT
));
33425 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)wxTEXT_ATTR_LEFT_INDENT
));
33426 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)wxTEXT_ATTR_RIGHT_INDENT
));
33427 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_From_int((int)wxTEXT_ATTR_TABS
));
33428 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_From_int((int)wxTE_HT_UNKNOWN
));
33429 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_From_int((int)wxTE_HT_BEFORE
));
33430 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_From_int((int)wxTE_HT_ON_TEXT
));
33431 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_From_int((int)wxTE_HT_BELOW
));
33432 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_From_int((int)wxTE_HT_BEYOND
));
33433 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
33434 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
33435 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
33436 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
33437 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
33438 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
33439 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
33440 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_From_int((int)wxSP_HORIZONTAL
));
33441 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_From_int((int)wxSP_VERTICAL
));
33442 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_From_int((int)wxSP_ARROW_KEYS
));
33443 PyDict_SetItemString(d
,"SP_WRAP", SWIG_From_int((int)wxSP_WRAP
));
33444 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
33445 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
33446 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
33447 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
33448 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
33449 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
33450 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
33451 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_From_int((int)wxNB_FIXEDWIDTH
));
33452 PyDict_SetItemString(d
,"NB_TOP", SWIG_From_int((int)wxNB_TOP
));
33453 PyDict_SetItemString(d
,"NB_LEFT", SWIG_From_int((int)wxNB_LEFT
));
33454 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_From_int((int)wxNB_RIGHT
));
33455 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_From_int((int)wxNB_BOTTOM
));
33456 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_From_int((int)wxNB_MULTILINE
));
33457 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_From_int((int)wxNB_HITTEST_NOWHERE
));
33458 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_From_int((int)wxNB_HITTEST_ONICON
));
33459 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_From_int((int)wxNB_HITTEST_ONLABEL
));
33460 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_From_int((int)wxNB_HITTEST_ONITEM
));
33461 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
33462 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
33463 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_From_int((int)wxLB_DEFAULT
));
33464 PyDict_SetItemString(d
,"LB_TOP", SWIG_From_int((int)wxLB_TOP
));
33465 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_From_int((int)wxLB_BOTTOM
));
33466 PyDict_SetItemString(d
,"LB_LEFT", SWIG_From_int((int)wxLB_LEFT
));
33467 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_From_int((int)wxLB_RIGHT
));
33468 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_From_int((int)wxLB_ALIGN_MASK
));
33469 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
33470 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
33471 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_From_int((int)wxTOOL_STYLE_BUTTON
));
33472 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)wxTOOL_STYLE_SEPARATOR
));
33473 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_From_int((int)wxTOOL_STYLE_CONTROL
));
33474 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_From_int((int)wxTB_HORIZONTAL
));
33475 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_From_int((int)wxTB_VERTICAL
));
33476 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_From_int((int)wxTB_3DBUTTONS
));
33477 PyDict_SetItemString(d
,"TB_FLAT", SWIG_From_int((int)wxTB_FLAT
));
33478 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_From_int((int)wxTB_DOCKABLE
));
33479 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_From_int((int)wxTB_NOICONS
));
33480 PyDict_SetItemString(d
,"TB_TEXT", SWIG_From_int((int)wxTB_TEXT
));
33481 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_From_int((int)wxTB_NODIVIDER
));
33482 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_From_int((int)wxTB_NOALIGN
));
33483 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_From_int((int)wxTB_HORZ_LAYOUT
));
33484 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_From_int((int)wxTB_HORZ_TEXT
));
33485 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
33486 PyDict_SetItemString(d
,"LC_VRULES", SWIG_From_int((int)wxLC_VRULES
));
33487 PyDict_SetItemString(d
,"LC_HRULES", SWIG_From_int((int)wxLC_HRULES
));
33488 PyDict_SetItemString(d
,"LC_ICON", SWIG_From_int((int)wxLC_ICON
));
33489 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_From_int((int)wxLC_SMALL_ICON
));
33490 PyDict_SetItemString(d
,"LC_LIST", SWIG_From_int((int)wxLC_LIST
));
33491 PyDict_SetItemString(d
,"LC_REPORT", SWIG_From_int((int)wxLC_REPORT
));
33492 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_From_int((int)wxLC_ALIGN_TOP
));
33493 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_From_int((int)wxLC_ALIGN_LEFT
));
33494 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_From_int((int)wxLC_AUTOARRANGE
));
33495 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_From_int((int)wxLC_VIRTUAL
));
33496 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_From_int((int)wxLC_EDIT_LABELS
));
33497 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_From_int((int)wxLC_NO_HEADER
));
33498 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_From_int((int)wxLC_NO_SORT_HEADER
));
33499 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_From_int((int)wxLC_SINGLE_SEL
));
33500 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_From_int((int)wxLC_SORT_ASCENDING
));
33501 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_From_int((int)wxLC_SORT_DESCENDING
));
33502 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_From_int((int)wxLC_MASK_TYPE
));
33503 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_From_int((int)wxLC_MASK_ALIGN
));
33504 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_From_int((int)wxLC_MASK_SORT
));
33505 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_From_int((int)wxLIST_MASK_STATE
));
33506 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_From_int((int)wxLIST_MASK_TEXT
));
33507 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_From_int((int)wxLIST_MASK_IMAGE
));
33508 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_From_int((int)wxLIST_MASK_DATA
));
33509 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_From_int((int)wxLIST_SET_ITEM
));
33510 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_From_int((int)wxLIST_MASK_WIDTH
));
33511 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_From_int((int)wxLIST_MASK_FORMAT
));
33512 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_From_int((int)wxLIST_STATE_DONTCARE
));
33513 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_From_int((int)wxLIST_STATE_DROPHILITED
));
33514 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_From_int((int)wxLIST_STATE_FOCUSED
));
33515 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_From_int((int)wxLIST_STATE_SELECTED
));
33516 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_From_int((int)wxLIST_STATE_CUT
));
33517 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_From_int((int)wxLIST_STATE_DISABLED
));
33518 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_From_int((int)wxLIST_STATE_FILTERED
));
33519 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_From_int((int)wxLIST_STATE_INUSE
));
33520 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_From_int((int)wxLIST_STATE_PICKED
));
33521 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_From_int((int)wxLIST_STATE_SOURCE
));
33522 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_From_int((int)wxLIST_HITTEST_ABOVE
));
33523 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_From_int((int)wxLIST_HITTEST_BELOW
));
33524 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)wxLIST_HITTEST_NOWHERE
));
33525 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)wxLIST_HITTEST_ONITEMICON
));
33526 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)wxLIST_HITTEST_ONITEMLABEL
));
33527 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)wxLIST_HITTEST_ONITEMRIGHT
));
33528 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)wxLIST_HITTEST_ONITEMSTATEICON
));
33529 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)wxLIST_HITTEST_TOLEFT
));
33530 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)wxLIST_HITTEST_TORIGHT
));
33531 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_From_int((int)wxLIST_HITTEST_ONITEM
));
33532 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_From_int((int)wxLIST_NEXT_ABOVE
));
33533 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_From_int((int)wxLIST_NEXT_ALL
));
33534 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_From_int((int)wxLIST_NEXT_BELOW
));
33535 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_From_int((int)wxLIST_NEXT_LEFT
));
33536 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_From_int((int)wxLIST_NEXT_RIGHT
));
33537 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)wxLIST_ALIGN_DEFAULT
));
33538 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_From_int((int)wxLIST_ALIGN_LEFT
));
33539 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_From_int((int)wxLIST_ALIGN_TOP
));
33540 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)wxLIST_ALIGN_SNAP_TO_GRID
));
33541 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_From_int((int)wxLIST_FORMAT_LEFT
));
33542 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_From_int((int)wxLIST_FORMAT_RIGHT
));
33543 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_From_int((int)wxLIST_FORMAT_CENTRE
));
33544 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_From_int((int)wxLIST_FORMAT_CENTER
));
33545 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_From_int((int)wxLIST_AUTOSIZE
));
33546 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)wxLIST_AUTOSIZE_USEHEADER
));
33547 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_From_int((int)wxLIST_RECT_BOUNDS
));
33548 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_From_int((int)wxLIST_RECT_ICON
));
33549 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_From_int((int)wxLIST_RECT_LABEL
));
33550 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_From_int((int)wxLIST_FIND_UP
));
33551 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_From_int((int)wxLIST_FIND_DOWN
));
33552 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_From_int((int)wxLIST_FIND_LEFT
));
33553 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_From_int((int)wxLIST_FIND_RIGHT
));
33554 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
33555 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
33556 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
33557 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
33558 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
33559 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
33560 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
33561 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
33562 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
33563 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
33564 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
33565 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
33566 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
33567 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
33568 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
33569 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
33570 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
33571 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
33572 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
33573 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
33574 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
33575 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
33577 // Map renamed classes back to their common name for OOR
33578 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
33580 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
33581 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_From_int((int)wxTR_NO_BUTTONS
));
33582 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_From_int((int)wxTR_HAS_BUTTONS
));
33583 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_From_int((int)wxTR_NO_LINES
));
33584 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_From_int((int)wxTR_LINES_AT_ROOT
));
33585 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_From_int((int)wxTR_SINGLE
));
33586 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_From_int((int)wxTR_MULTIPLE
));
33587 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_From_int((int)wxTR_EXTENDED
));
33588 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
33589 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_From_int((int)wxTR_EDIT_LABELS
));
33590 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_From_int((int)wxTR_HIDE_ROOT
));
33591 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_From_int((int)wxTR_ROW_LINES
));
33592 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)wxTR_FULL_ROW_HIGHLIGHT
));
33593 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_From_int((int)wxTR_DEFAULT_STYLE
));
33594 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_From_int((int)wxTR_TWIST_BUTTONS
));
33595 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_From_int((int)wxTR_MAC_BUTTONS
));
33596 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_From_int((int)wxTR_AQUA_BUTTONS
));
33597 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_From_int((int)wxTreeItemIcon_Normal
));
33598 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_From_int((int)wxTreeItemIcon_Selected
));
33599 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_From_int((int)wxTreeItemIcon_Expanded
));
33600 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)wxTreeItemIcon_SelectedExpanded
));
33601 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_From_int((int)wxTreeItemIcon_Max
));
33602 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_From_int((int)wxTREE_HITTEST_ABOVE
));
33603 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_From_int((int)wxTREE_HITTEST_BELOW
));
33604 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)wxTREE_HITTEST_NOWHERE
));
33605 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)wxTREE_HITTEST_ONITEMBUTTON
));
33606 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)wxTREE_HITTEST_ONITEMICON
));
33607 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)wxTREE_HITTEST_ONITEMINDENT
));
33608 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)wxTREE_HITTEST_ONITEMLABEL
));
33609 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)wxTREE_HITTEST_ONITEMRIGHT
));
33610 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)wxTREE_HITTEST_ONITEMSTATEICON
));
33611 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)wxTREE_HITTEST_TOLEFT
));
33612 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)wxTREE_HITTEST_TORIGHT
));
33613 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)wxTREE_HITTEST_ONITEMUPPERPART
));
33614 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)wxTREE_HITTEST_ONITEMLOWERPART
));
33615 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_From_int((int)wxTREE_HITTEST_ONITEM
));
33616 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
33617 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
33618 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
33619 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
33620 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
33621 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
33622 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
33623 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
33624 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
33625 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
33626 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
33627 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
33628 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
33629 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
33630 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
33631 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
33632 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
33633 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
33634 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
33635 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
33637 // Map renamed classes back to their common name for OOR
33638 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
33639 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
33641 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
33642 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)wxDIRCTRL_DIR_ONLY
));
33643 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)wxDIRCTRL_SELECT_FIRST
));
33644 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)wxDIRCTRL_SHOW_FILTERS
));
33645 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)wxDIRCTRL_3D_INTERNAL
));
33646 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)wxDIRCTRL_EDIT_LABELS
));
33647 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)wxFRAME_EX_CONTEXTHELP
));
33648 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)wxDIALOG_EX_CONTEXTHELP
));
33649 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
33650 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
33652 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");