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
);
669 #include <wx/slider.h>
672 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
673 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
676 // implement dummy items for platforms that don't have this class
678 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
680 class wxToggleButton
: public wxControl
683 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
684 const wxPoint
&, const wxSize
&, long,
685 const wxValidator
&, const wxString
&)
686 { wxPyRaiseNotImplemented(); }
689 { wxPyRaiseNotImplemented(); }
693 static const wxString
wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME
);
695 SWIGSTATICINLINE(PyObject
* )
696 SWIG_From_unsigned_SS_long(unsigned long value
)
698 return (value
> LONG_MAX
) ?
699 PyLong_FromUnsignedLong(value
)
700 : PyInt_FromLong(swig_numeric_cast(value
,long));
703 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
704 PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
705 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
707 Py_INCREF(udata
->m_obj
);
714 void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
715 self
->SetClientData(new wxPyUserData(clientData
));
717 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
){
718 wxPyUserData
* udata
= NULL
;
719 if (clientData
&& clientData
!= Py_None
)
720 udata
= new wxPyUserData(clientData
);
721 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
722 shortHelp
, longHelp
, udata
);
724 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
){
725 wxPyUserData
* udata
= NULL
;
726 if (clientData
&& clientData
!= Py_None
)
727 udata
= new wxPyUserData(clientData
);
728 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
729 shortHelp
, longHelp
, udata
);
731 PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
732 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
734 Py_INCREF(udata
->m_obj
);
741 void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
742 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
745 #include <wx/listctrl.h>
747 static const wxString
wxPyListCtrlNameStr(_T("wxListCtrl"));
748 void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
749 // Python aware sorting function for wxPyListCtrl
750 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
752 PyObject
* func
= (PyObject
*)funcPtr
;
753 bool blocked
= wxPyBeginBlockThreads();
755 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
756 PyObject
* result
= PyEval_CallObject(func
, args
);
759 retval
= PyInt_AsLong(result
);
763 wxPyEndBlockThreads(blocked
);
767 // C++ Version of a Python aware class
768 class wxPyListCtrl
: public wxListCtrl
{
769 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
771 wxPyListCtrl() : wxListCtrl() {}
772 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
776 const wxValidator
& validator
,
777 const wxString
& name
) :
778 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
780 bool Create(wxWindow
* parent
, wxWindowID id
,
784 const wxValidator
& validator
,
785 const wxString
& name
) {
786 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
789 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
790 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
791 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
796 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
798 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
799 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
800 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
802 wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
804 item
.SetMask( wxLIST_MASK_STATE
|
812 if (self
->GetColumn(col
, item
))
813 return new wxListItem(item
);
817 wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
){
818 wxListItem
* info
= new wxListItem
;
819 info
->m_itemId
= itemId
;
821 info
->m_mask
= 0xFFFF;
822 self
->GetItem(*info
);
825 wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
827 self
->GetItemPosition(item
, pos
);
830 wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
){
832 self
->GetItemRect(item
, rect
, code
);
836 bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
837 if (!PyCallable_Check(func
))
839 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
841 wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
845 return (wxWindow
*)self
->m_mainWin
;
849 #include <wx/treectrl.h>
850 #include "wx/wxPython/pytree.h"
852 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
853 bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : False
; }
854 bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : True
; }
855 void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
856 // C++ version of Python aware wxTreeCtrl
857 class wxPyTreeCtrl
: public wxTreeCtrl
{
858 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
860 wxPyTreeCtrl() : wxTreeCtrl() {}
861 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
865 const wxValidator
& validator
,
866 const wxString
& name
) :
867 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
869 bool Create(wxWindow
*parent
, wxWindowID id
,
873 const wxValidator
& validator
,
874 const wxString
& name
) {
875 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
879 int OnCompareItems(const wxTreeItemId
& item1
,
880 const wxTreeItemId
& item2
) {
883 bool blocked
= wxPyBeginBlockThreads();
884 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
885 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), False
);
886 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), False
);
887 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
891 wxPyEndBlockThreads(blocked
);
893 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
899 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
903 #if UINT_MAX < LONG_MAX
904 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
905 #define SWIG_From_unsigned_SS_int SWIG_From_long
908 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
909 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
914 SWIGSTATICINLINE(int)
915 SWIG_CheckUnsignedLongInRange(unsigned long value
,
916 unsigned long max_value
,
919 if (value
> max_value
) {
921 PyErr_Format(PyExc_OverflowError
,
922 "value %ld is greater than '%s' minimum %ld",
923 value
, errmsg
, max_value
);
931 #if UINT_MAX != ULONG_MAX
932 SWIGSTATICINLINE(int)
933 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
935 const char* errmsg
= val
? "unsigned int" : 0;
937 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
938 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
939 if (val
) *val
= swig_numeric_cast(v
, unsigned int);
946 PyErr_SetString(PyExc_TypeError
, "an unsigned int is expected");
951 SWIGSTATICINLINE(unsigned int)
952 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
954 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
959 SWIGSTATICINLINE(unsigned int)
960 SWIG_As_unsigned_SS_int(PyObject
* obj
)
963 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
965 this is needed to make valgrind/purify happier. the other
966 solution is throw an exception, but since this code should work
969 memset((void*)&v
, 0, sizeof(unsigned int));
975 SWIGSTATICINLINE(int)
976 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
978 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
981 wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
982 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
984 data
= new wxPyTreeItemData();
985 data
->SetId(item
); // set the id
986 self
->SetItemData(item
, data
);
990 PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
991 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
993 data
= new wxPyTreeItemData();
994 data
->SetId(item
); // set the id
995 self
->SetItemData(item
, data
);
997 return data
->GetData();
999 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
1000 data
->SetId(item
); // set the id
1001 self
->SetItemData(item
, data
);
1003 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
1004 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
1006 data
= new wxPyTreeItemData(obj
);
1007 data
->SetId(item
); // set the id
1008 self
->SetItemData(item
, data
);
1012 PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
1013 bool blocked
= wxPyBeginBlockThreads();
1014 PyObject
* rval
= PyList_New(0);
1015 wxArrayTreeItemIds array
;
1017 num
= self
->GetSelections(array
);
1018 for (x
=0; x
< num
; x
++) {
1019 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
1020 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), True
);
1021 PyList_Append(rval
, item
);
1024 wxPyEndBlockThreads(blocked
);
1027 PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
1029 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
1030 bool blocked
= wxPyBeginBlockThreads();
1031 PyObject
* tup
= PyTuple_New(2);
1032 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
1033 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
1034 wxPyEndBlockThreads(blocked
);
1037 PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
1038 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
1039 bool blocked
= wxPyBeginBlockThreads();
1040 PyObject
* tup
= PyTuple_New(2);
1041 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
1042 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
1043 wxPyEndBlockThreads(blocked
);
1046 PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
){
1048 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
1049 bool blocked
= wxPyBeginBlockThreads();
1050 wxRect
* r
= new wxRect(rect
);
1051 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), True
);
1052 wxPyEndBlockThreads(blocked
);
1058 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
1060 SWIGSTATICINLINE(PyObject
*)
1061 SWIG_From_bool(bool value
)
1063 PyObject
*obj
= value
? Py_True
: Py_False
;
1069 // C++ version of Python aware wxControl
1070 class wxPyControl
: public wxControl
1072 DECLARE_DYNAMIC_CLASS(wxPyControl
)
1074 wxPyControl() : wxControl() {}
1075 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
1076 const wxPoint
& pos
= wxDefaultPosition
,
1077 const wxSize
& size
= wxDefaultSize
,
1079 const wxValidator
& validator
=wxDefaultValidator
,
1080 const wxString
& name
= wxPyControlNameStr
)
1081 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
1083 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
1085 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1086 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1087 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1088 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1090 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1091 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1092 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1094 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1095 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1097 DEC_PYCALLBACK__(InitDialog
);
1098 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1099 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1100 DEC_PYCALLBACK_BOOL_(Validate
);
1102 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1103 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1104 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1106 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1107 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1109 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1110 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1111 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1116 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
1118 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
1119 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
1120 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
1121 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
1123 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
1124 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
1125 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
1127 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
1128 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
1130 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
1131 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
1132 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
1133 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
1135 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
1136 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
1137 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
1139 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
1140 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
1142 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
1143 IMP_PYCALLBACK__COLOUR(wxPyControl
, wxControl
, ApplyParentThemeBackground
);
1144 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
1148 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
1150 #include <wx/generic/dragimgg.h>
1155 static int _wrap_ButtonNameStr_set(PyObject
*) {
1156 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
1161 static PyObject
*_wrap_ButtonNameStr_get() {
1166 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1168 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1175 static PyObject
*_wrap_new_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1176 PyObject
*resultobj
;
1177 wxWindow
*arg1
= (wxWindow
*) 0 ;
1178 int arg2
= (int) -1 ;
1179 wxString
const &arg3_defvalue
= wxPyEmptyString
;
1180 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
1181 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1182 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1183 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1184 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1185 long arg6
= (long) 0 ;
1186 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1187 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1188 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1189 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1191 bool temp3
= False
;
1194 bool temp8
= False
;
1195 PyObject
* obj0
= 0 ;
1196 PyObject
* obj1
= 0 ;
1197 PyObject
* obj2
= 0 ;
1198 PyObject
* obj3
= 0 ;
1199 PyObject
* obj4
= 0 ;
1200 PyObject
* obj5
= 0 ;
1201 PyObject
* obj6
= 0 ;
1202 PyObject
* obj7
= 0 ;
1204 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1211 arg2
= (int)SWIG_As_int(obj1
);
1212 if (PyErr_Occurred()) SWIG_fail
;
1216 arg3
= wxString_in_helper(obj2
);
1217 if (arg3
== NULL
) SWIG_fail
;
1224 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1230 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1234 arg6
= (long)SWIG_As_long(obj5
);
1235 if (PyErr_Occurred()) SWIG_fail
;
1238 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1239 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1242 PyErr_SetString(PyExc_TypeError
,"null reference");
1248 arg8
= wxString_in_helper(obj7
);
1249 if (arg8
== NULL
) SWIG_fail
;
1254 if (!wxPyCheckForApp()) SWIG_fail
;
1255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1256 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1258 wxPyEndAllowThreads(__tstate
);
1259 if (PyErr_Occurred()) SWIG_fail
;
1261 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
1284 static PyObject
*_wrap_new_PreButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1285 PyObject
*resultobj
;
1291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
1293 if (!wxPyCheckForApp()) SWIG_fail
;
1294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1295 result
= (wxButton
*)new wxButton();
1297 wxPyEndAllowThreads(__tstate
);
1298 if (PyErr_Occurred()) SWIG_fail
;
1300 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
1307 static PyObject
*_wrap_Button_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1308 PyObject
*resultobj
;
1309 wxButton
*arg1
= (wxButton
*) 0 ;
1310 wxWindow
*arg2
= (wxWindow
*) 0 ;
1311 int arg3
= (int) -1 ;
1312 wxString
const &arg4_defvalue
= wxPyEmptyString
;
1313 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
1314 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1315 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1316 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1317 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1318 long arg7
= (long) 0 ;
1319 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1320 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1321 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1322 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1324 bool temp4
= False
;
1327 bool temp9
= False
;
1328 PyObject
* obj0
= 0 ;
1329 PyObject
* obj1
= 0 ;
1330 PyObject
* obj2
= 0 ;
1331 PyObject
* obj3
= 0 ;
1332 PyObject
* obj4
= 0 ;
1333 PyObject
* obj5
= 0 ;
1334 PyObject
* obj6
= 0 ;
1335 PyObject
* obj7
= 0 ;
1336 PyObject
* obj8
= 0 ;
1338 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1344 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1347 arg3
= (int)SWIG_As_int(obj2
);
1348 if (PyErr_Occurred()) SWIG_fail
;
1352 arg4
= wxString_in_helper(obj3
);
1353 if (arg4
== NULL
) SWIG_fail
;
1360 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1366 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1370 arg7
= (long)SWIG_As_long(obj6
);
1371 if (PyErr_Occurred()) SWIG_fail
;
1374 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1375 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1378 PyErr_SetString(PyExc_TypeError
,"null reference");
1384 arg9
= wxString_in_helper(obj8
);
1385 if (arg9
== NULL
) SWIG_fail
;
1390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1391 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1393 wxPyEndAllowThreads(__tstate
);
1394 if (PyErr_Occurred()) SWIG_fail
;
1397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1421 static PyObject
*_wrap_Button_SetDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1422 PyObject
*resultobj
;
1423 wxButton
*arg1
= (wxButton
*) 0 ;
1424 PyObject
* obj0
= 0 ;
1426 (char *) "self", NULL
1429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1434 (arg1
)->SetDefault();
1436 wxPyEndAllowThreads(__tstate
);
1437 if (PyErr_Occurred()) SWIG_fail
;
1439 Py_INCREF(Py_None
); resultobj
= Py_None
;
1446 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1447 PyObject
*resultobj
;
1453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1456 result
= wxButton::GetDefaultSize();
1458 wxPyEndAllowThreads(__tstate
);
1459 if (PyErr_Occurred()) SWIG_fail
;
1463 resultptr
= new wxSize((wxSize
&) result
);
1464 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
1472 static PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1473 PyObject
*resultobj
;
1474 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
1475 wxVisualAttributes result
;
1476 PyObject
* obj0
= 0 ;
1478 (char *) "variant", NULL
1481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
1483 arg1
= (int)SWIG_As_int(obj0
);
1484 if (PyErr_Occurred()) SWIG_fail
;
1487 if (!wxPyCheckForApp()) SWIG_fail
;
1488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1489 result
= wxButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
1491 wxPyEndAllowThreads(__tstate
);
1492 if (PyErr_Occurred()) SWIG_fail
;
1495 wxVisualAttributes
* resultptr
;
1496 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
1497 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
1505 static PyObject
* Button_swigregister(PyObject
*, PyObject
*args
) {
1507 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1508 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1510 return Py_BuildValue((char *)"");
1512 static PyObject
*_wrap_new_BitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1513 PyObject
*resultobj
;
1514 wxWindow
*arg1
= (wxWindow
*) 0 ;
1515 int arg2
= (int) -1 ;
1516 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
1517 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
1518 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1519 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1520 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1521 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1522 long arg6
= (long) wxBU_AUTODRAW
;
1523 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1524 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1525 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1526 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1527 wxBitmapButton
*result
;
1530 bool temp8
= False
;
1531 PyObject
* obj0
= 0 ;
1532 PyObject
* obj1
= 0 ;
1533 PyObject
* obj2
= 0 ;
1534 PyObject
* obj3
= 0 ;
1535 PyObject
* obj4
= 0 ;
1536 PyObject
* obj5
= 0 ;
1537 PyObject
* obj6
= 0 ;
1538 PyObject
* obj7
= 0 ;
1540 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1547 arg2
= (int)SWIG_As_int(obj1
);
1548 if (PyErr_Occurred()) SWIG_fail
;
1551 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
1552 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1555 PyErr_SetString(PyExc_TypeError
,"null reference");
1562 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1568 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1572 arg6
= (long)SWIG_As_long(obj5
);
1573 if (PyErr_Occurred()) SWIG_fail
;
1576 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1577 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1580 PyErr_SetString(PyExc_TypeError
,"null reference");
1586 arg8
= wxString_in_helper(obj7
);
1587 if (arg8
== NULL
) SWIG_fail
;
1592 if (!wxPyCheckForApp()) SWIG_fail
;
1593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1594 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1596 wxPyEndAllowThreads(__tstate
);
1597 if (PyErr_Occurred()) SWIG_fail
;
1599 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
1614 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1615 PyObject
*resultobj
;
1616 wxBitmapButton
*result
;
1621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1623 if (!wxPyCheckForApp()) SWIG_fail
;
1624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1625 result
= (wxBitmapButton
*)new wxBitmapButton();
1627 wxPyEndAllowThreads(__tstate
);
1628 if (PyErr_Occurred()) SWIG_fail
;
1630 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
1637 static PyObject
*_wrap_BitmapButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1638 PyObject
*resultobj
;
1639 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1640 wxWindow
*arg2
= (wxWindow
*) 0 ;
1641 int arg3
= (int) -1 ;
1642 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
1643 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
1644 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1645 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1646 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1647 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1648 long arg7
= (long) wxBU_AUTODRAW
;
1649 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1650 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1651 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1652 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1656 bool temp9
= False
;
1657 PyObject
* obj0
= 0 ;
1658 PyObject
* obj1
= 0 ;
1659 PyObject
* obj2
= 0 ;
1660 PyObject
* obj3
= 0 ;
1661 PyObject
* obj4
= 0 ;
1662 PyObject
* obj5
= 0 ;
1663 PyObject
* obj6
= 0 ;
1664 PyObject
* obj7
= 0 ;
1665 PyObject
* obj8
= 0 ;
1667 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1673 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1676 arg3
= (int)SWIG_As_int(obj2
);
1677 if (PyErr_Occurred()) SWIG_fail
;
1680 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
1681 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1684 PyErr_SetString(PyExc_TypeError
,"null reference");
1691 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1697 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1701 arg7
= (long)SWIG_As_long(obj6
);
1702 if (PyErr_Occurred()) SWIG_fail
;
1705 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1706 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1709 PyErr_SetString(PyExc_TypeError
,"null reference");
1715 arg9
= wxString_in_helper(obj8
);
1716 if (arg9
== NULL
) SWIG_fail
;
1721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1722 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1724 wxPyEndAllowThreads(__tstate
);
1725 if (PyErr_Occurred()) SWIG_fail
;
1728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1744 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1745 PyObject
*resultobj
;
1746 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1748 PyObject
* obj0
= 0 ;
1750 (char *) "self", NULL
1753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1758 result
= (arg1
)->GetBitmapLabel();
1760 wxPyEndAllowThreads(__tstate
);
1761 if (PyErr_Occurred()) SWIG_fail
;
1764 wxBitmap
* resultptr
;
1765 resultptr
= new wxBitmap((wxBitmap
&) result
);
1766 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1774 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1775 PyObject
*resultobj
;
1776 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1778 PyObject
* obj0
= 0 ;
1780 (char *) "self", NULL
1783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1788 result
= (arg1
)->GetBitmapDisabled();
1790 wxPyEndAllowThreads(__tstate
);
1791 if (PyErr_Occurred()) SWIG_fail
;
1794 wxBitmap
* resultptr
;
1795 resultptr
= new wxBitmap((wxBitmap
&) result
);
1796 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1804 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1805 PyObject
*resultobj
;
1806 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1808 PyObject
* obj0
= 0 ;
1810 (char *) "self", NULL
1813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1818 result
= (arg1
)->GetBitmapFocus();
1820 wxPyEndAllowThreads(__tstate
);
1821 if (PyErr_Occurred()) SWIG_fail
;
1824 wxBitmap
* resultptr
;
1825 resultptr
= new wxBitmap((wxBitmap
&) result
);
1826 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1834 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1835 PyObject
*resultobj
;
1836 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1838 PyObject
* obj0
= 0 ;
1840 (char *) "self", NULL
1843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1848 result
= (arg1
)->GetBitmapSelected();
1850 wxPyEndAllowThreads(__tstate
);
1851 if (PyErr_Occurred()) SWIG_fail
;
1854 wxBitmap
* resultptr
;
1855 resultptr
= new wxBitmap((wxBitmap
&) result
);
1856 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1864 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1865 PyObject
*resultobj
;
1866 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1867 wxBitmap
*arg2
= 0 ;
1868 PyObject
* obj0
= 0 ;
1869 PyObject
* obj1
= 0 ;
1871 (char *) "self",(char *) "bitmap", NULL
1874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1877 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1878 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1881 PyErr_SetString(PyExc_TypeError
,"null reference");
1885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1886 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1888 wxPyEndAllowThreads(__tstate
);
1889 if (PyErr_Occurred()) SWIG_fail
;
1891 Py_INCREF(Py_None
); resultobj
= Py_None
;
1898 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1899 PyObject
*resultobj
;
1900 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1901 wxBitmap
*arg2
= 0 ;
1902 PyObject
* obj0
= 0 ;
1903 PyObject
* obj1
= 0 ;
1905 (char *) "self",(char *) "bitmap", NULL
1908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1911 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1912 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1915 PyErr_SetString(PyExc_TypeError
,"null reference");
1919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1920 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1922 wxPyEndAllowThreads(__tstate
);
1923 if (PyErr_Occurred()) SWIG_fail
;
1925 Py_INCREF(Py_None
); resultobj
= Py_None
;
1932 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1933 PyObject
*resultobj
;
1934 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1935 wxBitmap
*arg2
= 0 ;
1936 PyObject
* obj0
= 0 ;
1937 PyObject
* obj1
= 0 ;
1939 (char *) "self",(char *) "bitmap", NULL
1942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1945 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1946 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1949 PyErr_SetString(PyExc_TypeError
,"null reference");
1953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1954 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1956 wxPyEndAllowThreads(__tstate
);
1957 if (PyErr_Occurred()) SWIG_fail
;
1959 Py_INCREF(Py_None
); resultobj
= Py_None
;
1966 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1967 PyObject
*resultobj
;
1968 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1969 wxBitmap
*arg2
= 0 ;
1970 PyObject
* obj0
= 0 ;
1971 PyObject
* obj1
= 0 ;
1973 (char *) "self",(char *) "bitmap", NULL
1976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1979 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1980 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1983 PyErr_SetString(PyExc_TypeError
,"null reference");
1987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1988 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1990 wxPyEndAllowThreads(__tstate
);
1991 if (PyErr_Occurred()) SWIG_fail
;
1993 Py_INCREF(Py_None
); resultobj
= Py_None
;
2000 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2001 PyObject
*resultobj
;
2002 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2005 PyObject
* obj0
= 0 ;
2006 PyObject
* obj1
= 0 ;
2007 PyObject
* obj2
= 0 ;
2009 (char *) "self",(char *) "x",(char *) "y", NULL
2012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
2014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2015 arg2
= (int)SWIG_As_int(obj1
);
2016 if (PyErr_Occurred()) SWIG_fail
;
2017 arg3
= (int)SWIG_As_int(obj2
);
2018 if (PyErr_Occurred()) SWIG_fail
;
2020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2021 (arg1
)->SetMargins(arg2
,arg3
);
2023 wxPyEndAllowThreads(__tstate
);
2024 if (PyErr_Occurred()) SWIG_fail
;
2026 Py_INCREF(Py_None
); resultobj
= Py_None
;
2033 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2034 PyObject
*resultobj
;
2035 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2037 PyObject
* obj0
= 0 ;
2039 (char *) "self", NULL
2042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
2043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
2044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2047 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
2049 wxPyEndAllowThreads(__tstate
);
2050 if (PyErr_Occurred()) SWIG_fail
;
2052 resultobj
= SWIG_From_int((int)result
);
2059 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2060 PyObject
*resultobj
;
2061 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2063 PyObject
* obj0
= 0 ;
2065 (char *) "self", NULL
2068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
2069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
2070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2073 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
2075 wxPyEndAllowThreads(__tstate
);
2076 if (PyErr_Occurred()) SWIG_fail
;
2078 resultobj
= SWIG_From_int((int)result
);
2085 static PyObject
* BitmapButton_swigregister(PyObject
*, PyObject
*args
) {
2087 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2088 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
2090 return Py_BuildValue((char *)"");
2092 static int _wrap_CheckBoxNameStr_set(PyObject
*) {
2093 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
2098 static PyObject
*_wrap_CheckBoxNameStr_get() {
2103 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
2105 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
2112 static PyObject
*_wrap_new_CheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2113 PyObject
*resultobj
;
2114 wxWindow
*arg1
= (wxWindow
*) 0 ;
2115 int arg2
= (int) -1 ;
2116 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2117 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2118 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2119 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2120 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2121 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2122 long arg6
= (long) 0 ;
2123 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2124 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2125 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
2126 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2128 bool temp3
= False
;
2131 bool temp8
= False
;
2132 PyObject
* obj0
= 0 ;
2133 PyObject
* obj1
= 0 ;
2134 PyObject
* obj2
= 0 ;
2135 PyObject
* obj3
= 0 ;
2136 PyObject
* obj4
= 0 ;
2137 PyObject
* obj5
= 0 ;
2138 PyObject
* obj6
= 0 ;
2139 PyObject
* obj7
= 0 ;
2141 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2148 arg2
= (int)SWIG_As_int(obj1
);
2149 if (PyErr_Occurred()) SWIG_fail
;
2153 arg3
= wxString_in_helper(obj2
);
2154 if (arg3
== NULL
) SWIG_fail
;
2161 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2167 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2171 arg6
= (long)SWIG_As_long(obj5
);
2172 if (PyErr_Occurred()) SWIG_fail
;
2175 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2176 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2179 PyErr_SetString(PyExc_TypeError
,"null reference");
2185 arg8
= wxString_in_helper(obj7
);
2186 if (arg8
== NULL
) SWIG_fail
;
2191 if (!wxPyCheckForApp()) SWIG_fail
;
2192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2193 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2195 wxPyEndAllowThreads(__tstate
);
2196 if (PyErr_Occurred()) SWIG_fail
;
2198 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2221 static PyObject
*_wrap_new_PreCheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2222 PyObject
*resultobj
;
2228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
2230 if (!wxPyCheckForApp()) SWIG_fail
;
2231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2232 result
= (wxCheckBox
*)new wxCheckBox();
2234 wxPyEndAllowThreads(__tstate
);
2235 if (PyErr_Occurred()) SWIG_fail
;
2237 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2244 static PyObject
*_wrap_CheckBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2245 PyObject
*resultobj
;
2246 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2247 wxWindow
*arg2
= (wxWindow
*) 0 ;
2248 int arg3
= (int) -1 ;
2249 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2250 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2251 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2252 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2253 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2254 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2255 long arg7
= (long) 0 ;
2256 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2257 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2258 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
2259 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2261 bool temp4
= False
;
2264 bool temp9
= False
;
2265 PyObject
* obj0
= 0 ;
2266 PyObject
* obj1
= 0 ;
2267 PyObject
* obj2
= 0 ;
2268 PyObject
* obj3
= 0 ;
2269 PyObject
* obj4
= 0 ;
2270 PyObject
* obj5
= 0 ;
2271 PyObject
* obj6
= 0 ;
2272 PyObject
* obj7
= 0 ;
2273 PyObject
* obj8
= 0 ;
2275 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2281 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2284 arg3
= (int)SWIG_As_int(obj2
);
2285 if (PyErr_Occurred()) SWIG_fail
;
2289 arg4
= wxString_in_helper(obj3
);
2290 if (arg4
== NULL
) SWIG_fail
;
2297 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2303 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2307 arg7
= (long)SWIG_As_long(obj6
);
2308 if (PyErr_Occurred()) SWIG_fail
;
2311 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2312 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2315 PyErr_SetString(PyExc_TypeError
,"null reference");
2321 arg9
= wxString_in_helper(obj8
);
2322 if (arg9
== NULL
) SWIG_fail
;
2327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2328 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2330 wxPyEndAllowThreads(__tstate
);
2331 if (PyErr_Occurred()) SWIG_fail
;
2334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2358 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2359 PyObject
*resultobj
;
2360 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2362 PyObject
* obj0
= 0 ;
2364 (char *) "self", NULL
2367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
2368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2372 result
= (bool)(arg1
)->GetValue();
2374 wxPyEndAllowThreads(__tstate
);
2375 if (PyErr_Occurred()) SWIG_fail
;
2378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2386 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2387 PyObject
*resultobj
;
2388 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2390 PyObject
* obj0
= 0 ;
2392 (char *) "self", NULL
2395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
2396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2400 result
= (bool)(arg1
)->IsChecked();
2402 wxPyEndAllowThreads(__tstate
);
2403 if (PyErr_Occurred()) SWIG_fail
;
2406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2414 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2415 PyObject
*resultobj
;
2416 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2418 PyObject
* obj0
= 0 ;
2419 PyObject
* obj1
= 0 ;
2421 (char *) "self",(char *) "state", NULL
2424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2427 arg2
= (bool)SWIG_As_bool(obj1
);
2428 if (PyErr_Occurred()) SWIG_fail
;
2430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2431 (arg1
)->SetValue(arg2
);
2433 wxPyEndAllowThreads(__tstate
);
2434 if (PyErr_Occurred()) SWIG_fail
;
2436 Py_INCREF(Py_None
); resultobj
= Py_None
;
2443 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2444 PyObject
*resultobj
;
2445 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2447 PyObject
* obj0
= 0 ;
2449 (char *) "self", NULL
2452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2457 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2459 wxPyEndAllowThreads(__tstate
);
2460 if (PyErr_Occurred()) SWIG_fail
;
2462 resultobj
= SWIG_From_int((int)result
);
2469 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2470 PyObject
*resultobj
;
2471 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2473 PyObject
* obj0
= 0 ;
2474 PyObject
* obj1
= 0 ;
2476 (char *) "self",(char *) "state", NULL
2479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2482 arg2
= (int)SWIG_As_int(obj1
);
2483 if (PyErr_Occurred()) SWIG_fail
;
2485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2486 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2488 wxPyEndAllowThreads(__tstate
);
2489 if (PyErr_Occurred()) SWIG_fail
;
2491 Py_INCREF(Py_None
); resultobj
= Py_None
;
2498 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2499 PyObject
*resultobj
;
2500 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2502 PyObject
* obj0
= 0 ;
2504 (char *) "self", NULL
2507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2512 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2514 wxPyEndAllowThreads(__tstate
);
2515 if (PyErr_Occurred()) SWIG_fail
;
2518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2526 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2527 PyObject
*resultobj
;
2528 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2530 PyObject
* obj0
= 0 ;
2532 (char *) "self", NULL
2535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2540 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2542 wxPyEndAllowThreads(__tstate
);
2543 if (PyErr_Occurred()) SWIG_fail
;
2546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2554 static PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2555 PyObject
*resultobj
;
2556 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2557 wxVisualAttributes result
;
2558 PyObject
* obj0
= 0 ;
2560 (char *) "variant", NULL
2563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2565 arg1
= (int)SWIG_As_int(obj0
);
2566 if (PyErr_Occurred()) SWIG_fail
;
2569 if (!wxPyCheckForApp()) SWIG_fail
;
2570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2571 result
= wxCheckBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2573 wxPyEndAllowThreads(__tstate
);
2574 if (PyErr_Occurred()) SWIG_fail
;
2577 wxVisualAttributes
* resultptr
;
2578 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2579 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2587 static PyObject
* CheckBox_swigregister(PyObject
*, PyObject
*args
) {
2589 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2590 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2592 return Py_BuildValue((char *)"");
2594 static int _wrap_ChoiceNameStr_set(PyObject
*) {
2595 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2600 static PyObject
*_wrap_ChoiceNameStr_get() {
2605 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2607 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2614 static PyObject
*_wrap_new_Choice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2615 PyObject
*resultobj
;
2616 wxWindow
*arg1
= (wxWindow
*) 0 ;
2617 int arg2
= (int) -1 ;
2618 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2619 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2620 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2621 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2622 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
2623 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
2624 long arg6
= (long) 0 ;
2625 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2626 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2627 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
2628 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2632 bool temp5
= False
;
2633 bool temp8
= False
;
2634 PyObject
* obj0
= 0 ;
2635 PyObject
* obj1
= 0 ;
2636 PyObject
* obj2
= 0 ;
2637 PyObject
* obj3
= 0 ;
2638 PyObject
* obj4
= 0 ;
2639 PyObject
* obj5
= 0 ;
2640 PyObject
* obj6
= 0 ;
2641 PyObject
* obj7
= 0 ;
2643 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2650 arg2
= (int)SWIG_As_int(obj1
);
2651 if (PyErr_Occurred()) SWIG_fail
;
2656 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2662 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2667 if (! PySequence_Check(obj4
)) {
2668 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2671 arg5
= new wxArrayString
;
2673 int i
, len
=PySequence_Length(obj4
);
2674 for (i
=0; i
<len
; i
++) {
2675 PyObject
* item
= PySequence_GetItem(obj4
, i
);
2677 PyObject
* str
= PyObject_Unicode(item
);
2679 PyObject
* str
= PyObject_Str(item
);
2681 if (PyErr_Occurred()) SWIG_fail
;
2682 arg5
->Add(Py2wxString(str
));
2689 arg6
= (long)SWIG_As_long(obj5
);
2690 if (PyErr_Occurred()) SWIG_fail
;
2693 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2694 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2697 PyErr_SetString(PyExc_TypeError
,"null reference");
2703 arg8
= wxString_in_helper(obj7
);
2704 if (arg8
== NULL
) SWIG_fail
;
2709 if (!wxPyCheckForApp()) SWIG_fail
;
2710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2711 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2713 wxPyEndAllowThreads(__tstate
);
2714 if (PyErr_Occurred()) SWIG_fail
;
2716 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2718 if (temp5
) delete arg5
;
2727 if (temp5
) delete arg5
;
2737 static PyObject
*_wrap_new_PreChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2738 PyObject
*resultobj
;
2744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2746 if (!wxPyCheckForApp()) SWIG_fail
;
2747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2748 result
= (wxChoice
*)new wxChoice();
2750 wxPyEndAllowThreads(__tstate
);
2751 if (PyErr_Occurred()) SWIG_fail
;
2753 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2760 static PyObject
*_wrap_Choice_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2761 PyObject
*resultobj
;
2762 wxChoice
*arg1
= (wxChoice
*) 0 ;
2763 wxWindow
*arg2
= (wxWindow
*) 0 ;
2764 int arg3
= (int) -1 ;
2765 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2766 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2767 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2768 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2769 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2770 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2771 long arg7
= (long) 0 ;
2772 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2773 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2774 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2775 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2779 bool temp6
= False
;
2780 bool temp9
= False
;
2781 PyObject
* obj0
= 0 ;
2782 PyObject
* obj1
= 0 ;
2783 PyObject
* obj2
= 0 ;
2784 PyObject
* obj3
= 0 ;
2785 PyObject
* obj4
= 0 ;
2786 PyObject
* obj5
= 0 ;
2787 PyObject
* obj6
= 0 ;
2788 PyObject
* obj7
= 0 ;
2789 PyObject
* obj8
= 0 ;
2791 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2797 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2800 arg3
= (int)SWIG_As_int(obj2
);
2801 if (PyErr_Occurred()) SWIG_fail
;
2806 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2812 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2817 if (! PySequence_Check(obj5
)) {
2818 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2821 arg6
= new wxArrayString
;
2823 int i
, len
=PySequence_Length(obj5
);
2824 for (i
=0; i
<len
; i
++) {
2825 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2827 PyObject
* str
= PyObject_Unicode(item
);
2829 PyObject
* str
= PyObject_Str(item
);
2831 if (PyErr_Occurred()) SWIG_fail
;
2832 arg6
->Add(Py2wxString(str
));
2839 arg7
= (long)SWIG_As_long(obj6
);
2840 if (PyErr_Occurred()) SWIG_fail
;
2843 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2844 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2847 PyErr_SetString(PyExc_TypeError
,"null reference");
2853 arg9
= wxString_in_helper(obj8
);
2854 if (arg9
== NULL
) SWIG_fail
;
2859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2860 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2862 wxPyEndAllowThreads(__tstate
);
2863 if (PyErr_Occurred()) SWIG_fail
;
2866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2869 if (temp6
) delete arg6
;
2878 if (temp6
) delete arg6
;
2888 static PyObject
*_wrap_Choice_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2889 PyObject
*resultobj
;
2890 wxChoice
*arg1
= (wxChoice
*) 0 ;
2892 PyObject
* obj0
= 0 ;
2893 PyObject
* obj1
= 0 ;
2895 (char *) "self",(char *) "n", NULL
2898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2901 arg2
= (int)SWIG_As_int(obj1
);
2902 if (PyErr_Occurred()) SWIG_fail
;
2904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2905 (arg1
)->SetSelection(arg2
);
2907 wxPyEndAllowThreads(__tstate
);
2908 if (PyErr_Occurred()) SWIG_fail
;
2910 Py_INCREF(Py_None
); resultobj
= Py_None
;
2917 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2918 PyObject
*resultobj
;
2919 wxChoice
*arg1
= (wxChoice
*) 0 ;
2920 wxString
*arg2
= 0 ;
2922 bool temp2
= False
;
2923 PyObject
* obj0
= 0 ;
2924 PyObject
* obj1
= 0 ;
2926 (char *) "self",(char *) "string", NULL
2929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2933 arg2
= wxString_in_helper(obj1
);
2934 if (arg2
== NULL
) SWIG_fail
;
2938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2939 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
2941 wxPyEndAllowThreads(__tstate
);
2942 if (PyErr_Occurred()) SWIG_fail
;
2945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2961 static PyObject
*_wrap_Choice_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2962 PyObject
*resultobj
;
2963 wxChoice
*arg1
= (wxChoice
*) 0 ;
2965 wxString
*arg3
= 0 ;
2966 bool temp3
= False
;
2967 PyObject
* obj0
= 0 ;
2968 PyObject
* obj1
= 0 ;
2969 PyObject
* obj2
= 0 ;
2971 (char *) "self",(char *) "n",(char *) "string", NULL
2974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2977 arg2
= (int)SWIG_As_int(obj1
);
2978 if (PyErr_Occurred()) SWIG_fail
;
2980 arg3
= wxString_in_helper(obj2
);
2981 if (arg3
== NULL
) SWIG_fail
;
2985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2986 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2988 wxPyEndAllowThreads(__tstate
);
2989 if (PyErr_Occurred()) SWIG_fail
;
2991 Py_INCREF(Py_None
); resultobj
= Py_None
;
3006 static PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3007 PyObject
*resultobj
;
3008 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
3009 wxVisualAttributes result
;
3010 PyObject
* obj0
= 0 ;
3012 (char *) "variant", NULL
3015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3017 arg1
= (int)SWIG_As_int(obj0
);
3018 if (PyErr_Occurred()) SWIG_fail
;
3021 if (!wxPyCheckForApp()) SWIG_fail
;
3022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3023 result
= wxChoice::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3025 wxPyEndAllowThreads(__tstate
);
3026 if (PyErr_Occurred()) SWIG_fail
;
3029 wxVisualAttributes
* resultptr
;
3030 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
3031 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3039 static PyObject
* Choice_swigregister(PyObject
*, PyObject
*args
) {
3041 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3042 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
3044 return Py_BuildValue((char *)"");
3046 static int _wrap_ComboBoxNameStr_set(PyObject
*) {
3047 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
3052 static PyObject
*_wrap_ComboBoxNameStr_get() {
3057 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
3059 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
3066 static PyObject
*_wrap_new_ComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3067 PyObject
*resultobj
;
3068 wxWindow
*arg1
= (wxWindow
*) 0 ;
3069 int arg2
= (int) -1 ;
3070 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3071 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3072 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3073 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3074 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3075 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3076 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
3077 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
3078 long arg7
= (long) 0 ;
3079 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3080 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3081 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
3082 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3084 bool temp3
= False
;
3087 bool temp6
= False
;
3088 bool temp9
= False
;
3089 PyObject
* obj0
= 0 ;
3090 PyObject
* obj1
= 0 ;
3091 PyObject
* obj2
= 0 ;
3092 PyObject
* obj3
= 0 ;
3093 PyObject
* obj4
= 0 ;
3094 PyObject
* obj5
= 0 ;
3095 PyObject
* obj6
= 0 ;
3096 PyObject
* obj7
= 0 ;
3097 PyObject
* obj8
= 0 ;
3099 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3106 arg2
= (int)SWIG_As_int(obj1
);
3107 if (PyErr_Occurred()) SWIG_fail
;
3111 arg3
= wxString_in_helper(obj2
);
3112 if (arg3
== NULL
) SWIG_fail
;
3119 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3125 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3130 if (! PySequence_Check(obj5
)) {
3131 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3134 arg6
= new wxArrayString
;
3136 int i
, len
=PySequence_Length(obj5
);
3137 for (i
=0; i
<len
; i
++) {
3138 PyObject
* item
= PySequence_GetItem(obj5
, i
);
3140 PyObject
* str
= PyObject_Unicode(item
);
3142 PyObject
* str
= PyObject_Str(item
);
3144 if (PyErr_Occurred()) SWIG_fail
;
3145 arg6
->Add(Py2wxString(str
));
3152 arg7
= (long)SWIG_As_long(obj6
);
3153 if (PyErr_Occurred()) SWIG_fail
;
3156 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
3157 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3160 PyErr_SetString(PyExc_TypeError
,"null reference");
3166 arg9
= wxString_in_helper(obj8
);
3167 if (arg9
== NULL
) SWIG_fail
;
3172 if (!wxPyCheckForApp()) SWIG_fail
;
3173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3174 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
);
3176 wxPyEndAllowThreads(__tstate
);
3177 if (PyErr_Occurred()) SWIG_fail
;
3179 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
3185 if (temp6
) delete arg6
;
3198 if (temp6
) delete arg6
;
3208 static PyObject
*_wrap_new_PreComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3209 PyObject
*resultobj
;
3215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
3217 if (!wxPyCheckForApp()) SWIG_fail
;
3218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3219 result
= (wxComboBox
*)new wxComboBox();
3221 wxPyEndAllowThreads(__tstate
);
3222 if (PyErr_Occurred()) SWIG_fail
;
3224 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
3231 static PyObject
*_wrap_ComboBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3232 PyObject
*resultobj
;
3233 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3234 wxWindow
*arg2
= (wxWindow
*) 0 ;
3235 int arg3
= (int) -1 ;
3236 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3237 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3238 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3239 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3240 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3241 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3242 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
3243 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
3244 long arg8
= (long) 0 ;
3245 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
3246 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
3247 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
3248 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
3250 bool temp4
= False
;
3253 bool temp7
= False
;
3254 bool temp10
= False
;
3255 PyObject
* obj0
= 0 ;
3256 PyObject
* obj1
= 0 ;
3257 PyObject
* obj2
= 0 ;
3258 PyObject
* obj3
= 0 ;
3259 PyObject
* obj4
= 0 ;
3260 PyObject
* obj5
= 0 ;
3261 PyObject
* obj6
= 0 ;
3262 PyObject
* obj7
= 0 ;
3263 PyObject
* obj8
= 0 ;
3264 PyObject
* obj9
= 0 ;
3266 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
3270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3272 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3275 arg3
= (int)SWIG_As_int(obj2
);
3276 if (PyErr_Occurred()) SWIG_fail
;
3280 arg4
= wxString_in_helper(obj3
);
3281 if (arg4
== NULL
) SWIG_fail
;
3288 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3294 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3299 if (! PySequence_Check(obj6
)) {
3300 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3303 arg7
= new wxArrayString
;
3305 int i
, len
=PySequence_Length(obj6
);
3306 for (i
=0; i
<len
; i
++) {
3307 PyObject
* item
= PySequence_GetItem(obj6
, i
);
3309 PyObject
* str
= PyObject_Unicode(item
);
3311 PyObject
* str
= PyObject_Str(item
);
3313 if (PyErr_Occurred()) SWIG_fail
;
3314 arg7
->Add(Py2wxString(str
));
3321 arg8
= (long)SWIG_As_long(obj7
);
3322 if (PyErr_Occurred()) SWIG_fail
;
3325 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
3326 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3329 PyErr_SetString(PyExc_TypeError
,"null reference");
3335 arg10
= wxString_in_helper(obj9
);
3336 if (arg10
== NULL
) SWIG_fail
;
3341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3342 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
);
3344 wxPyEndAllowThreads(__tstate
);
3345 if (PyErr_Occurred()) SWIG_fail
;
3348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3355 if (temp7
) delete arg7
;
3368 if (temp7
) delete arg7
;
3378 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3379 PyObject
*resultobj
;
3380 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3382 PyObject
* obj0
= 0 ;
3384 (char *) "self", NULL
3387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
3388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3392 result
= ((wxComboBox
const *)arg1
)->GetValue();
3394 wxPyEndAllowThreads(__tstate
);
3395 if (PyErr_Occurred()) SWIG_fail
;
3399 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3401 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3410 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3411 PyObject
*resultobj
;
3412 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3413 wxString
*arg2
= 0 ;
3414 bool temp2
= False
;
3415 PyObject
* obj0
= 0 ;
3416 PyObject
* obj1
= 0 ;
3418 (char *) "self",(char *) "value", NULL
3421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3425 arg2
= wxString_in_helper(obj1
);
3426 if (arg2
== NULL
) SWIG_fail
;
3430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3431 (arg1
)->SetValue((wxString
const &)*arg2
);
3433 wxPyEndAllowThreads(__tstate
);
3434 if (PyErr_Occurred()) SWIG_fail
;
3436 Py_INCREF(Py_None
); resultobj
= Py_None
;
3451 static PyObject
*_wrap_ComboBox_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3452 PyObject
*resultobj
;
3453 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3454 PyObject
* obj0
= 0 ;
3456 (char *) "self", NULL
3459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
3460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3466 wxPyEndAllowThreads(__tstate
);
3467 if (PyErr_Occurred()) SWIG_fail
;
3469 Py_INCREF(Py_None
); resultobj
= Py_None
;
3476 static PyObject
*_wrap_ComboBox_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3477 PyObject
*resultobj
;
3478 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3479 PyObject
* obj0
= 0 ;
3481 (char *) "self", NULL
3484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3491 wxPyEndAllowThreads(__tstate
);
3492 if (PyErr_Occurred()) SWIG_fail
;
3494 Py_INCREF(Py_None
); resultobj
= Py_None
;
3501 static PyObject
*_wrap_ComboBox_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3502 PyObject
*resultobj
;
3503 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3504 PyObject
* obj0
= 0 ;
3506 (char *) "self", NULL
3509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3516 wxPyEndAllowThreads(__tstate
);
3517 if (PyErr_Occurred()) SWIG_fail
;
3519 Py_INCREF(Py_None
); resultobj
= Py_None
;
3526 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3527 PyObject
*resultobj
;
3528 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3530 PyObject
* obj0
= 0 ;
3531 PyObject
* obj1
= 0 ;
3533 (char *) "self",(char *) "pos", NULL
3536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3539 arg2
= (long)SWIG_As_long(obj1
);
3540 if (PyErr_Occurred()) SWIG_fail
;
3542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3543 (arg1
)->SetInsertionPoint(arg2
);
3545 wxPyEndAllowThreads(__tstate
);
3546 if (PyErr_Occurred()) SWIG_fail
;
3548 Py_INCREF(Py_None
); resultobj
= Py_None
;
3555 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3556 PyObject
*resultobj
;
3557 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3559 PyObject
* obj0
= 0 ;
3561 (char *) "self", NULL
3564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3569 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3571 wxPyEndAllowThreads(__tstate
);
3572 if (PyErr_Occurred()) SWIG_fail
;
3574 resultobj
= SWIG_From_long((long)result
);
3581 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3582 PyObject
*resultobj
;
3583 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3585 PyObject
* obj0
= 0 ;
3587 (char *) "self", NULL
3590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3595 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3597 wxPyEndAllowThreads(__tstate
);
3598 if (PyErr_Occurred()) SWIG_fail
;
3600 resultobj
= SWIG_From_long((long)result
);
3607 static PyObject
*_wrap_ComboBox_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3608 PyObject
*resultobj
;
3609 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3612 wxString
*arg4
= 0 ;
3613 bool temp4
= False
;
3614 PyObject
* obj0
= 0 ;
3615 PyObject
* obj1
= 0 ;
3616 PyObject
* obj2
= 0 ;
3617 PyObject
* obj3
= 0 ;
3619 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3625 arg2
= (long)SWIG_As_long(obj1
);
3626 if (PyErr_Occurred()) SWIG_fail
;
3627 arg3
= (long)SWIG_As_long(obj2
);
3628 if (PyErr_Occurred()) SWIG_fail
;
3630 arg4
= wxString_in_helper(obj3
);
3631 if (arg4
== NULL
) SWIG_fail
;
3635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3636 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3638 wxPyEndAllowThreads(__tstate
);
3639 if (PyErr_Occurred()) SWIG_fail
;
3641 Py_INCREF(Py_None
); resultobj
= Py_None
;
3656 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3657 PyObject
*resultobj
;
3658 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3660 PyObject
* obj0
= 0 ;
3661 PyObject
* obj1
= 0 ;
3663 (char *) "self",(char *) "n", NULL
3666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3669 arg2
= (int)SWIG_As_int(obj1
);
3670 if (PyErr_Occurred()) SWIG_fail
;
3672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3673 (arg1
)->SetSelection(arg2
);
3675 wxPyEndAllowThreads(__tstate
);
3676 if (PyErr_Occurred()) SWIG_fail
;
3678 Py_INCREF(Py_None
); resultobj
= Py_None
;
3685 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3686 PyObject
*resultobj
;
3687 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3690 PyObject
* obj0
= 0 ;
3691 PyObject
* obj1
= 0 ;
3692 PyObject
* obj2
= 0 ;
3694 (char *) "self",(char *) "from",(char *) "to", NULL
3697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3700 arg2
= (long)SWIG_As_long(obj1
);
3701 if (PyErr_Occurred()) SWIG_fail
;
3702 arg3
= (long)SWIG_As_long(obj2
);
3703 if (PyErr_Occurred()) SWIG_fail
;
3705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3706 (arg1
)->SetSelection(arg2
,arg3
);
3708 wxPyEndAllowThreads(__tstate
);
3709 if (PyErr_Occurred()) SWIG_fail
;
3711 Py_INCREF(Py_None
); resultobj
= Py_None
;
3718 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3719 PyObject
*resultobj
;
3720 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3721 wxString
*arg2
= 0 ;
3723 bool temp2
= False
;
3724 PyObject
* obj0
= 0 ;
3725 PyObject
* obj1
= 0 ;
3727 (char *) "self",(char *) "string", NULL
3730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3734 arg2
= wxString_in_helper(obj1
);
3735 if (arg2
== NULL
) SWIG_fail
;
3739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3740 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
3742 wxPyEndAllowThreads(__tstate
);
3743 if (PyErr_Occurred()) SWIG_fail
;
3746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3762 static PyObject
*_wrap_ComboBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3763 PyObject
*resultobj
;
3764 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3766 wxString
*arg3
= 0 ;
3767 bool temp3
= False
;
3768 PyObject
* obj0
= 0 ;
3769 PyObject
* obj1
= 0 ;
3770 PyObject
* obj2
= 0 ;
3772 (char *) "self",(char *) "n",(char *) "string", NULL
3775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3778 arg2
= (int)SWIG_As_int(obj1
);
3779 if (PyErr_Occurred()) SWIG_fail
;
3781 arg3
= wxString_in_helper(obj2
);
3782 if (arg3
== NULL
) SWIG_fail
;
3786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3787 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
3789 wxPyEndAllowThreads(__tstate
);
3790 if (PyErr_Occurred()) SWIG_fail
;
3792 Py_INCREF(Py_None
); resultobj
= Py_None
;
3807 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3808 PyObject
*resultobj
;
3809 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3811 PyObject
* obj0
= 0 ;
3812 PyObject
* obj1
= 0 ;
3814 (char *) "self",(char *) "editable", NULL
3817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3820 arg2
= (bool)SWIG_As_bool(obj1
);
3821 if (PyErr_Occurred()) SWIG_fail
;
3823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3824 (arg1
)->SetEditable(arg2
);
3826 wxPyEndAllowThreads(__tstate
);
3827 if (PyErr_Occurred()) SWIG_fail
;
3829 Py_INCREF(Py_None
); resultobj
= Py_None
;
3836 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3837 PyObject
*resultobj
;
3838 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3839 PyObject
* obj0
= 0 ;
3841 (char *) "self", NULL
3844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3849 (arg1
)->SetInsertionPointEnd();
3851 wxPyEndAllowThreads(__tstate
);
3852 if (PyErr_Occurred()) SWIG_fail
;
3854 Py_INCREF(Py_None
); resultobj
= Py_None
;
3861 static PyObject
*_wrap_ComboBox_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3862 PyObject
*resultobj
;
3863 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3866 PyObject
* obj0
= 0 ;
3867 PyObject
* obj1
= 0 ;
3868 PyObject
* obj2
= 0 ;
3870 (char *) "self",(char *) "from",(char *) "to", NULL
3873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3876 arg2
= (long)SWIG_As_long(obj1
);
3877 if (PyErr_Occurred()) SWIG_fail
;
3878 arg3
= (long)SWIG_As_long(obj2
);
3879 if (PyErr_Occurred()) SWIG_fail
;
3881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3882 (arg1
)->Remove(arg2
,arg3
);
3884 wxPyEndAllowThreads(__tstate
);
3885 if (PyErr_Occurred()) SWIG_fail
;
3887 Py_INCREF(Py_None
); resultobj
= Py_None
;
3894 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3895 PyObject
*resultobj
;
3896 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
3897 wxVisualAttributes result
;
3898 PyObject
* obj0
= 0 ;
3900 (char *) "variant", NULL
3903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3905 arg1
= (int)SWIG_As_int(obj0
);
3906 if (PyErr_Occurred()) SWIG_fail
;
3909 if (!wxPyCheckForApp()) SWIG_fail
;
3910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3911 result
= wxComboBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3913 wxPyEndAllowThreads(__tstate
);
3914 if (PyErr_Occurred()) SWIG_fail
;
3917 wxVisualAttributes
* resultptr
;
3918 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
3919 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3927 static PyObject
* ComboBox_swigregister(PyObject
*, PyObject
*args
) {
3929 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3930 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3932 return Py_BuildValue((char *)"");
3934 static int _wrap_GaugeNameStr_set(PyObject
*) {
3935 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3940 static PyObject
*_wrap_GaugeNameStr_get() {
3945 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3947 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3954 static PyObject
*_wrap_new_Gauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3955 PyObject
*resultobj
;
3956 wxWindow
*arg1
= (wxWindow
*) 0 ;
3957 int arg2
= (int) -1 ;
3958 int arg3
= (int) 100 ;
3959 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3960 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3961 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3962 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3963 long arg6
= (long) wxGA_HORIZONTAL
;
3964 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3965 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3966 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3967 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3971 bool temp8
= False
;
3972 PyObject
* obj0
= 0 ;
3973 PyObject
* obj1
= 0 ;
3974 PyObject
* obj2
= 0 ;
3975 PyObject
* obj3
= 0 ;
3976 PyObject
* obj4
= 0 ;
3977 PyObject
* obj5
= 0 ;
3978 PyObject
* obj6
= 0 ;
3979 PyObject
* obj7
= 0 ;
3981 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3988 arg2
= (int)SWIG_As_int(obj1
);
3989 if (PyErr_Occurred()) SWIG_fail
;
3992 arg3
= (int)SWIG_As_int(obj2
);
3993 if (PyErr_Occurred()) SWIG_fail
;
3998 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4004 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4008 arg6
= (long)SWIG_As_long(obj5
);
4009 if (PyErr_Occurred()) SWIG_fail
;
4012 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
4013 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4016 PyErr_SetString(PyExc_TypeError
,"null reference");
4022 arg8
= wxString_in_helper(obj7
);
4023 if (arg8
== NULL
) SWIG_fail
;
4028 if (!wxPyCheckForApp()) SWIG_fail
;
4029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4030 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4032 wxPyEndAllowThreads(__tstate
);
4033 if (PyErr_Occurred()) SWIG_fail
;
4035 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
4050 static PyObject
*_wrap_new_PreGauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4051 PyObject
*resultobj
;
4057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
4059 if (!wxPyCheckForApp()) SWIG_fail
;
4060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4061 result
= (wxGauge
*)new wxGauge();
4063 wxPyEndAllowThreads(__tstate
);
4064 if (PyErr_Occurred()) SWIG_fail
;
4066 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
4073 static PyObject
*_wrap_Gauge_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4074 PyObject
*resultobj
;
4075 wxGauge
*arg1
= (wxGauge
*) 0 ;
4076 wxWindow
*arg2
= (wxWindow
*) 0 ;
4077 int arg3
= (int) -1 ;
4078 int arg4
= (int) 100 ;
4079 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4080 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4081 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4082 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4083 long arg7
= (long) wxGA_HORIZONTAL
;
4084 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4085 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4086 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
4087 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4091 bool temp9
= False
;
4092 PyObject
* obj0
= 0 ;
4093 PyObject
* obj1
= 0 ;
4094 PyObject
* obj2
= 0 ;
4095 PyObject
* obj3
= 0 ;
4096 PyObject
* obj4
= 0 ;
4097 PyObject
* obj5
= 0 ;
4098 PyObject
* obj6
= 0 ;
4099 PyObject
* obj7
= 0 ;
4100 PyObject
* obj8
= 0 ;
4102 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4108 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4111 arg3
= (int)SWIG_As_int(obj2
);
4112 if (PyErr_Occurred()) SWIG_fail
;
4115 arg4
= (int)SWIG_As_int(obj3
);
4116 if (PyErr_Occurred()) SWIG_fail
;
4121 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4127 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4131 arg7
= (long)SWIG_As_long(obj6
);
4132 if (PyErr_Occurred()) SWIG_fail
;
4135 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
4136 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4139 PyErr_SetString(PyExc_TypeError
,"null reference");
4145 arg9
= wxString_in_helper(obj8
);
4146 if (arg9
== NULL
) SWIG_fail
;
4151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4152 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4154 wxPyEndAllowThreads(__tstate
);
4155 if (PyErr_Occurred()) SWIG_fail
;
4158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4174 static PyObject
*_wrap_Gauge_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4175 PyObject
*resultobj
;
4176 wxGauge
*arg1
= (wxGauge
*) 0 ;
4178 PyObject
* obj0
= 0 ;
4179 PyObject
* obj1
= 0 ;
4181 (char *) "self",(char *) "range", NULL
4184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
4185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4187 arg2
= (int)SWIG_As_int(obj1
);
4188 if (PyErr_Occurred()) SWIG_fail
;
4190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4191 (arg1
)->SetRange(arg2
);
4193 wxPyEndAllowThreads(__tstate
);
4194 if (PyErr_Occurred()) SWIG_fail
;
4196 Py_INCREF(Py_None
); resultobj
= Py_None
;
4203 static PyObject
*_wrap_Gauge_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4204 PyObject
*resultobj
;
4205 wxGauge
*arg1
= (wxGauge
*) 0 ;
4207 PyObject
* obj0
= 0 ;
4209 (char *) "self", NULL
4212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
4213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4217 result
= (int)((wxGauge
const *)arg1
)->GetRange();
4219 wxPyEndAllowThreads(__tstate
);
4220 if (PyErr_Occurred()) SWIG_fail
;
4222 resultobj
= SWIG_From_int((int)result
);
4229 static PyObject
*_wrap_Gauge_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4230 PyObject
*resultobj
;
4231 wxGauge
*arg1
= (wxGauge
*) 0 ;
4233 PyObject
* obj0
= 0 ;
4234 PyObject
* obj1
= 0 ;
4236 (char *) "self",(char *) "pos", NULL
4239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
4240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4242 arg2
= (int)SWIG_As_int(obj1
);
4243 if (PyErr_Occurred()) SWIG_fail
;
4245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4246 (arg1
)->SetValue(arg2
);
4248 wxPyEndAllowThreads(__tstate
);
4249 if (PyErr_Occurred()) SWIG_fail
;
4251 Py_INCREF(Py_None
); resultobj
= Py_None
;
4258 static PyObject
*_wrap_Gauge_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4259 PyObject
*resultobj
;
4260 wxGauge
*arg1
= (wxGauge
*) 0 ;
4262 PyObject
* obj0
= 0 ;
4264 (char *) "self", NULL
4267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
4268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4272 result
= (int)((wxGauge
const *)arg1
)->GetValue();
4274 wxPyEndAllowThreads(__tstate
);
4275 if (PyErr_Occurred()) SWIG_fail
;
4277 resultobj
= SWIG_From_int((int)result
);
4284 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4285 PyObject
*resultobj
;
4286 wxGauge
*arg1
= (wxGauge
*) 0 ;
4288 PyObject
* obj0
= 0 ;
4290 (char *) "self", NULL
4293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
4294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4298 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
4300 wxPyEndAllowThreads(__tstate
);
4301 if (PyErr_Occurred()) SWIG_fail
;
4304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4312 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4313 PyObject
*resultobj
;
4314 wxGauge
*arg1
= (wxGauge
*) 0 ;
4316 PyObject
* obj0
= 0 ;
4317 PyObject
* obj1
= 0 ;
4319 (char *) "self",(char *) "w", NULL
4322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4325 arg2
= (int)SWIG_As_int(obj1
);
4326 if (PyErr_Occurred()) SWIG_fail
;
4328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4329 (arg1
)->SetShadowWidth(arg2
);
4331 wxPyEndAllowThreads(__tstate
);
4332 if (PyErr_Occurred()) SWIG_fail
;
4334 Py_INCREF(Py_None
); resultobj
= Py_None
;
4341 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4342 PyObject
*resultobj
;
4343 wxGauge
*arg1
= (wxGauge
*) 0 ;
4345 PyObject
* obj0
= 0 ;
4347 (char *) "self", NULL
4350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
4351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4355 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
4357 wxPyEndAllowThreads(__tstate
);
4358 if (PyErr_Occurred()) SWIG_fail
;
4360 resultobj
= SWIG_From_int((int)result
);
4367 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4368 PyObject
*resultobj
;
4369 wxGauge
*arg1
= (wxGauge
*) 0 ;
4371 PyObject
* obj0
= 0 ;
4372 PyObject
* obj1
= 0 ;
4374 (char *) "self",(char *) "w", NULL
4377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
4378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4380 arg2
= (int)SWIG_As_int(obj1
);
4381 if (PyErr_Occurred()) SWIG_fail
;
4383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4384 (arg1
)->SetBezelFace(arg2
);
4386 wxPyEndAllowThreads(__tstate
);
4387 if (PyErr_Occurred()) SWIG_fail
;
4389 Py_INCREF(Py_None
); resultobj
= Py_None
;
4396 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4397 PyObject
*resultobj
;
4398 wxGauge
*arg1
= (wxGauge
*) 0 ;
4400 PyObject
* obj0
= 0 ;
4402 (char *) "self", NULL
4405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
4406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4410 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
4412 wxPyEndAllowThreads(__tstate
);
4413 if (PyErr_Occurred()) SWIG_fail
;
4415 resultobj
= SWIG_From_int((int)result
);
4422 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4423 PyObject
*resultobj
;
4424 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4425 wxVisualAttributes result
;
4426 PyObject
* obj0
= 0 ;
4428 (char *) "variant", NULL
4431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4433 arg1
= (int)SWIG_As_int(obj0
);
4434 if (PyErr_Occurred()) SWIG_fail
;
4437 if (!wxPyCheckForApp()) SWIG_fail
;
4438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4439 result
= wxGauge::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4441 wxPyEndAllowThreads(__tstate
);
4442 if (PyErr_Occurred()) SWIG_fail
;
4445 wxVisualAttributes
* resultptr
;
4446 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4447 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4455 static PyObject
* Gauge_swigregister(PyObject
*, PyObject
*args
) {
4457 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4458 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
4460 return Py_BuildValue((char *)"");
4462 static int _wrap_StaticBitmapNameStr_set(PyObject
*) {
4463 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
4468 static PyObject
*_wrap_StaticBitmapNameStr_get() {
4473 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4475 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4482 static int _wrap_StaticBoxNameStr_set(PyObject
*) {
4483 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
4488 static PyObject
*_wrap_StaticBoxNameStr_get() {
4493 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4495 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4502 static int _wrap_StaticTextNameStr_set(PyObject
*) {
4503 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
4508 static PyObject
*_wrap_StaticTextNameStr_get() {
4513 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4515 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4522 static PyObject
*_wrap_new_StaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4523 PyObject
*resultobj
;
4524 wxWindow
*arg1
= (wxWindow
*) 0 ;
4525 int arg2
= (int) -1 ;
4526 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4527 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4528 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4529 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4530 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4531 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4532 long arg6
= (long) 0 ;
4533 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
4534 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4535 wxStaticBox
*result
;
4536 bool temp3
= False
;
4539 bool temp7
= False
;
4540 PyObject
* obj0
= 0 ;
4541 PyObject
* obj1
= 0 ;
4542 PyObject
* obj2
= 0 ;
4543 PyObject
* obj3
= 0 ;
4544 PyObject
* obj4
= 0 ;
4545 PyObject
* obj5
= 0 ;
4546 PyObject
* obj6
= 0 ;
4548 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4555 arg2
= (int)SWIG_As_int(obj1
);
4556 if (PyErr_Occurred()) SWIG_fail
;
4560 arg3
= wxString_in_helper(obj2
);
4561 if (arg3
== NULL
) SWIG_fail
;
4568 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4574 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4578 arg6
= (long)SWIG_As_long(obj5
);
4579 if (PyErr_Occurred()) SWIG_fail
;
4583 arg7
= wxString_in_helper(obj6
);
4584 if (arg7
== NULL
) SWIG_fail
;
4589 if (!wxPyCheckForApp()) SWIG_fail
;
4590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4591 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4593 wxPyEndAllowThreads(__tstate
);
4594 if (PyErr_Occurred()) SWIG_fail
;
4596 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
4619 static PyObject
*_wrap_new_PreStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4620 PyObject
*resultobj
;
4621 wxStaticBox
*result
;
4626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4628 if (!wxPyCheckForApp()) SWIG_fail
;
4629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4630 result
= (wxStaticBox
*)new wxStaticBox();
4632 wxPyEndAllowThreads(__tstate
);
4633 if (PyErr_Occurred()) SWIG_fail
;
4635 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
4642 static PyObject
*_wrap_StaticBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4643 PyObject
*resultobj
;
4644 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4645 wxWindow
*arg2
= (wxWindow
*) 0 ;
4646 int arg3
= (int) -1 ;
4647 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4648 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4649 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4650 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4651 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4652 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4653 long arg7
= (long) 0 ;
4654 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4655 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4657 bool temp4
= False
;
4660 bool temp8
= False
;
4661 PyObject
* obj0
= 0 ;
4662 PyObject
* obj1
= 0 ;
4663 PyObject
* obj2
= 0 ;
4664 PyObject
* obj3
= 0 ;
4665 PyObject
* obj4
= 0 ;
4666 PyObject
* obj5
= 0 ;
4667 PyObject
* obj6
= 0 ;
4668 PyObject
* obj7
= 0 ;
4670 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
4675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4676 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4679 arg3
= (int)SWIG_As_int(obj2
);
4680 if (PyErr_Occurred()) SWIG_fail
;
4684 arg4
= wxString_in_helper(obj3
);
4685 if (arg4
== NULL
) SWIG_fail
;
4692 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4698 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4702 arg7
= (long)SWIG_As_long(obj6
);
4703 if (PyErr_Occurred()) SWIG_fail
;
4707 arg8
= wxString_in_helper(obj7
);
4708 if (arg8
== NULL
) SWIG_fail
;
4713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4714 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4716 wxPyEndAllowThreads(__tstate
);
4717 if (PyErr_Occurred()) SWIG_fail
;
4720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4744 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4745 PyObject
*resultobj
;
4746 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4747 wxVisualAttributes result
;
4748 PyObject
* obj0
= 0 ;
4750 (char *) "variant", NULL
4753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4755 arg1
= (int)SWIG_As_int(obj0
);
4756 if (PyErr_Occurred()) SWIG_fail
;
4759 if (!wxPyCheckForApp()) SWIG_fail
;
4760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4761 result
= wxStaticBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4763 wxPyEndAllowThreads(__tstate
);
4764 if (PyErr_Occurred()) SWIG_fail
;
4767 wxVisualAttributes
* resultptr
;
4768 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4769 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4777 static PyObject
* StaticBox_swigregister(PyObject
*, PyObject
*args
) {
4779 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4780 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4782 return Py_BuildValue((char *)"");
4784 static PyObject
*_wrap_new_StaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4785 PyObject
*resultobj
;
4786 wxWindow
*arg1
= (wxWindow
*) 0 ;
4787 int arg2
= (int) -1 ;
4788 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4789 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4790 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4791 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4792 long arg5
= (long) wxLI_HORIZONTAL
;
4793 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4794 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4795 wxStaticLine
*result
;
4798 bool temp6
= False
;
4799 PyObject
* obj0
= 0 ;
4800 PyObject
* obj1
= 0 ;
4801 PyObject
* obj2
= 0 ;
4802 PyObject
* obj3
= 0 ;
4803 PyObject
* obj4
= 0 ;
4804 PyObject
* obj5
= 0 ;
4806 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4813 arg2
= (int)SWIG_As_int(obj1
);
4814 if (PyErr_Occurred()) SWIG_fail
;
4819 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4825 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4829 arg5
= (long)SWIG_As_long(obj4
);
4830 if (PyErr_Occurred()) SWIG_fail
;
4834 arg6
= wxString_in_helper(obj5
);
4835 if (arg6
== NULL
) SWIG_fail
;
4840 if (!wxPyCheckForApp()) SWIG_fail
;
4841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4842 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4844 wxPyEndAllowThreads(__tstate
);
4845 if (PyErr_Occurred()) SWIG_fail
;
4847 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4862 static PyObject
*_wrap_new_PreStaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4863 PyObject
*resultobj
;
4864 wxStaticLine
*result
;
4869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4871 if (!wxPyCheckForApp()) SWIG_fail
;
4872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4873 result
= (wxStaticLine
*)new wxStaticLine();
4875 wxPyEndAllowThreads(__tstate
);
4876 if (PyErr_Occurred()) SWIG_fail
;
4878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4885 static PyObject
*_wrap_StaticLine_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4886 PyObject
*resultobj
;
4887 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4888 wxWindow
*arg2
= (wxWindow
*) 0 ;
4889 int arg3
= (int) -1 ;
4890 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4891 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4892 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4893 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4894 long arg6
= (long) wxLI_HORIZONTAL
;
4895 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4896 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4900 bool temp7
= False
;
4901 PyObject
* obj0
= 0 ;
4902 PyObject
* obj1
= 0 ;
4903 PyObject
* obj2
= 0 ;
4904 PyObject
* obj3
= 0 ;
4905 PyObject
* obj4
= 0 ;
4906 PyObject
* obj5
= 0 ;
4907 PyObject
* obj6
= 0 ;
4909 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4915 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4918 arg3
= (int)SWIG_As_int(obj2
);
4919 if (PyErr_Occurred()) SWIG_fail
;
4924 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4930 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4934 arg6
= (long)SWIG_As_long(obj5
);
4935 if (PyErr_Occurred()) SWIG_fail
;
4939 arg7
= wxString_in_helper(obj6
);
4940 if (arg7
== NULL
) SWIG_fail
;
4945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4946 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4948 wxPyEndAllowThreads(__tstate
);
4949 if (PyErr_Occurred()) SWIG_fail
;
4952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4968 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4969 PyObject
*resultobj
;
4970 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4972 PyObject
* obj0
= 0 ;
4974 (char *) "self", NULL
4977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4982 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4984 wxPyEndAllowThreads(__tstate
);
4985 if (PyErr_Occurred()) SWIG_fail
;
4988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4996 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4997 PyObject
*resultobj
;
5003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
5005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5006 result
= (int)wxStaticLine::GetDefaultSize();
5008 wxPyEndAllowThreads(__tstate
);
5009 if (PyErr_Occurred()) SWIG_fail
;
5011 resultobj
= SWIG_From_int((int)result
);
5018 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5019 PyObject
*resultobj
;
5020 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5021 wxVisualAttributes result
;
5022 PyObject
* obj0
= 0 ;
5024 (char *) "variant", NULL
5027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5029 arg1
= (int)SWIG_As_int(obj0
);
5030 if (PyErr_Occurred()) SWIG_fail
;
5033 if (!wxPyCheckForApp()) SWIG_fail
;
5034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5035 result
= wxStaticLine::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5037 wxPyEndAllowThreads(__tstate
);
5038 if (PyErr_Occurred()) SWIG_fail
;
5041 wxVisualAttributes
* resultptr
;
5042 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5043 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5051 static PyObject
* StaticLine_swigregister(PyObject
*, PyObject
*args
) {
5053 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5054 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
5056 return Py_BuildValue((char *)"");
5058 static PyObject
*_wrap_new_StaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5059 PyObject
*resultobj
;
5060 wxWindow
*arg1
= (wxWindow
*) 0 ;
5061 int arg2
= (int) -1 ;
5062 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5063 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5064 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5065 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5066 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5067 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5068 long arg6
= (long) 0 ;
5069 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
5070 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5071 wxStaticText
*result
;
5072 bool temp3
= False
;
5075 bool temp7
= False
;
5076 PyObject
* obj0
= 0 ;
5077 PyObject
* obj1
= 0 ;
5078 PyObject
* obj2
= 0 ;
5079 PyObject
* obj3
= 0 ;
5080 PyObject
* obj4
= 0 ;
5081 PyObject
* obj5
= 0 ;
5082 PyObject
* obj6
= 0 ;
5084 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5091 arg2
= (int)SWIG_As_int(obj1
);
5092 if (PyErr_Occurred()) SWIG_fail
;
5096 arg3
= wxString_in_helper(obj2
);
5097 if (arg3
== NULL
) SWIG_fail
;
5104 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5110 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5114 arg6
= (long)SWIG_As_long(obj5
);
5115 if (PyErr_Occurred()) SWIG_fail
;
5119 arg7
= wxString_in_helper(obj6
);
5120 if (arg7
== NULL
) SWIG_fail
;
5125 if (!wxPyCheckForApp()) SWIG_fail
;
5126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5127 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5129 wxPyEndAllowThreads(__tstate
);
5130 if (PyErr_Occurred()) SWIG_fail
;
5132 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
5155 static PyObject
*_wrap_new_PreStaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5156 PyObject
*resultobj
;
5157 wxStaticText
*result
;
5162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
5164 if (!wxPyCheckForApp()) SWIG_fail
;
5165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5166 result
= (wxStaticText
*)new wxStaticText();
5168 wxPyEndAllowThreads(__tstate
);
5169 if (PyErr_Occurred()) SWIG_fail
;
5171 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
5178 static PyObject
*_wrap_StaticText_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5179 PyObject
*resultobj
;
5180 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
5181 wxWindow
*arg2
= (wxWindow
*) 0 ;
5182 int arg3
= (int) -1 ;
5183 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5184 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5185 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5186 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5187 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5188 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5189 long arg7
= (long) 0 ;
5190 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
5191 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5193 bool temp4
= False
;
5196 bool temp8
= False
;
5197 PyObject
* obj0
= 0 ;
5198 PyObject
* obj1
= 0 ;
5199 PyObject
* obj2
= 0 ;
5200 PyObject
* obj3
= 0 ;
5201 PyObject
* obj4
= 0 ;
5202 PyObject
* obj5
= 0 ;
5203 PyObject
* obj6
= 0 ;
5204 PyObject
* obj7
= 0 ;
5206 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticText
,
5211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5212 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5215 arg3
= (int)SWIG_As_int(obj2
);
5216 if (PyErr_Occurred()) SWIG_fail
;
5220 arg4
= wxString_in_helper(obj3
);
5221 if (arg4
== NULL
) SWIG_fail
;
5228 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5234 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5238 arg7
= (long)SWIG_As_long(obj6
);
5239 if (PyErr_Occurred()) SWIG_fail
;
5243 arg8
= wxString_in_helper(obj7
);
5244 if (arg8
== NULL
) SWIG_fail
;
5249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5250 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5252 wxPyEndAllowThreads(__tstate
);
5253 if (PyErr_Occurred()) SWIG_fail
;
5256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5280 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5281 PyObject
*resultobj
;
5282 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5283 wxVisualAttributes result
;
5284 PyObject
* obj0
= 0 ;
5286 (char *) "variant", NULL
5289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5291 arg1
= (int)SWIG_As_int(obj0
);
5292 if (PyErr_Occurred()) SWIG_fail
;
5295 if (!wxPyCheckForApp()) SWIG_fail
;
5296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5297 result
= wxStaticText::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5299 wxPyEndAllowThreads(__tstate
);
5300 if (PyErr_Occurred()) SWIG_fail
;
5303 wxVisualAttributes
* resultptr
;
5304 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5305 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5313 static PyObject
* StaticText_swigregister(PyObject
*, PyObject
*args
) {
5315 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5316 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
5318 return Py_BuildValue((char *)"");
5320 static PyObject
*_wrap_new_StaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5321 PyObject
*resultobj
;
5322 wxWindow
*arg1
= (wxWindow
*) 0 ;
5323 int arg2
= (int) -1 ;
5324 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
5325 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
5326 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5327 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5328 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5329 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5330 long arg6
= (long) 0 ;
5331 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
5332 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5333 wxStaticBitmap
*result
;
5336 bool temp7
= False
;
5337 PyObject
* obj0
= 0 ;
5338 PyObject
* obj1
= 0 ;
5339 PyObject
* obj2
= 0 ;
5340 PyObject
* obj3
= 0 ;
5341 PyObject
* obj4
= 0 ;
5342 PyObject
* obj5
= 0 ;
5343 PyObject
* obj6
= 0 ;
5345 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5352 arg2
= (int)SWIG_As_int(obj1
);
5353 if (PyErr_Occurred()) SWIG_fail
;
5356 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
5357 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5360 PyErr_SetString(PyExc_TypeError
,"null reference");
5367 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5373 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5377 arg6
= (long)SWIG_As_long(obj5
);
5378 if (PyErr_Occurred()) SWIG_fail
;
5382 arg7
= wxString_in_helper(obj6
);
5383 if (arg7
== NULL
) SWIG_fail
;
5388 if (!wxPyCheckForApp()) SWIG_fail
;
5389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5390 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5392 wxPyEndAllowThreads(__tstate
);
5393 if (PyErr_Occurred()) SWIG_fail
;
5395 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5410 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5411 PyObject
*resultobj
;
5412 wxStaticBitmap
*result
;
5417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
5419 if (!wxPyCheckForApp()) SWIG_fail
;
5420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5421 result
= (wxStaticBitmap
*)new wxStaticBitmap();
5423 wxPyEndAllowThreads(__tstate
);
5424 if (PyErr_Occurred()) SWIG_fail
;
5426 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5433 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5434 PyObject
*resultobj
;
5435 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5436 wxWindow
*arg2
= (wxWindow
*) 0 ;
5437 int arg3
= (int) -1 ;
5438 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
5439 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
5440 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5441 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5442 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5443 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5444 long arg7
= (long) 0 ;
5445 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
5446 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5450 bool temp8
= False
;
5451 PyObject
* obj0
= 0 ;
5452 PyObject
* obj1
= 0 ;
5453 PyObject
* obj2
= 0 ;
5454 PyObject
* obj3
= 0 ;
5455 PyObject
* obj4
= 0 ;
5456 PyObject
* obj5
= 0 ;
5457 PyObject
* obj6
= 0 ;
5458 PyObject
* obj7
= 0 ;
5460 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5466 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5469 arg3
= (int)SWIG_As_int(obj2
);
5470 if (PyErr_Occurred()) SWIG_fail
;
5473 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
5474 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5477 PyErr_SetString(PyExc_TypeError
,"null reference");
5484 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5490 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5494 arg7
= (long)SWIG_As_long(obj6
);
5495 if (PyErr_Occurred()) SWIG_fail
;
5499 arg8
= wxString_in_helper(obj7
);
5500 if (arg8
== NULL
) SWIG_fail
;
5505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5506 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5508 wxPyEndAllowThreads(__tstate
);
5509 if (PyErr_Occurred()) SWIG_fail
;
5512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5528 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5529 PyObject
*resultobj
;
5530 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5532 PyObject
* obj0
= 0 ;
5534 (char *) "self", NULL
5537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
5538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5542 result
= (arg1
)->GetBitmap();
5544 wxPyEndAllowThreads(__tstate
);
5545 if (PyErr_Occurred()) SWIG_fail
;
5548 wxBitmap
* resultptr
;
5549 resultptr
= new wxBitmap((wxBitmap
&) result
);
5550 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5558 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5559 PyObject
*resultobj
;
5560 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5561 wxBitmap
*arg2
= 0 ;
5562 PyObject
* obj0
= 0 ;
5563 PyObject
* obj1
= 0 ;
5565 (char *) "self",(char *) "bitmap", NULL
5568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5571 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5572 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5575 PyErr_SetString(PyExc_TypeError
,"null reference");
5579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5580 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
5582 wxPyEndAllowThreads(__tstate
);
5583 if (PyErr_Occurred()) SWIG_fail
;
5585 Py_INCREF(Py_None
); resultobj
= Py_None
;
5592 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5593 PyObject
*resultobj
;
5594 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5596 PyObject
* obj0
= 0 ;
5597 PyObject
* obj1
= 0 ;
5599 (char *) "self",(char *) "icon", NULL
5602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
5603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5605 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
5606 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5609 PyErr_SetString(PyExc_TypeError
,"null reference");
5613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5614 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5616 wxPyEndAllowThreads(__tstate
);
5617 if (PyErr_Occurred()) SWIG_fail
;
5619 Py_INCREF(Py_None
); resultobj
= Py_None
;
5626 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5627 PyObject
*resultobj
;
5628 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5629 wxVisualAttributes result
;
5630 PyObject
* obj0
= 0 ;
5632 (char *) "variant", NULL
5635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5637 arg1
= (int)SWIG_As_int(obj0
);
5638 if (PyErr_Occurred()) SWIG_fail
;
5641 if (!wxPyCheckForApp()) SWIG_fail
;
5642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5643 result
= wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5645 wxPyEndAllowThreads(__tstate
);
5646 if (PyErr_Occurred()) SWIG_fail
;
5649 wxVisualAttributes
* resultptr
;
5650 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5651 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5659 static PyObject
* StaticBitmap_swigregister(PyObject
*, PyObject
*args
) {
5661 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5662 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
5664 return Py_BuildValue((char *)"");
5666 static int _wrap_ListBoxNameStr_set(PyObject
*) {
5667 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
5672 static PyObject
*_wrap_ListBoxNameStr_get() {
5677 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5679 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5686 static PyObject
*_wrap_new_ListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5687 PyObject
*resultobj
;
5688 wxWindow
*arg1
= (wxWindow
*) 0 ;
5689 int arg2
= (int) -1 ;
5690 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5691 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5692 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5693 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5694 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5695 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5696 long arg6
= (long) 0 ;
5697 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5698 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5699 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5700 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5704 bool temp5
= False
;
5705 bool temp8
= False
;
5706 PyObject
* obj0
= 0 ;
5707 PyObject
* obj1
= 0 ;
5708 PyObject
* obj2
= 0 ;
5709 PyObject
* obj3
= 0 ;
5710 PyObject
* obj4
= 0 ;
5711 PyObject
* obj5
= 0 ;
5712 PyObject
* obj6
= 0 ;
5713 PyObject
* obj7
= 0 ;
5715 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5722 arg2
= (int)SWIG_As_int(obj1
);
5723 if (PyErr_Occurred()) SWIG_fail
;
5728 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5734 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5739 if (! PySequence_Check(obj4
)) {
5740 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5743 arg5
= new wxArrayString
;
5745 int i
, len
=PySequence_Length(obj4
);
5746 for (i
=0; i
<len
; i
++) {
5747 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5749 PyObject
* str
= PyObject_Unicode(item
);
5751 PyObject
* str
= PyObject_Str(item
);
5753 if (PyErr_Occurred()) SWIG_fail
;
5754 arg5
->Add(Py2wxString(str
));
5761 arg6
= (long)SWIG_As_long(obj5
);
5762 if (PyErr_Occurred()) SWIG_fail
;
5765 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
5766 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5769 PyErr_SetString(PyExc_TypeError
,"null reference");
5775 arg8
= wxString_in_helper(obj7
);
5776 if (arg8
== NULL
) SWIG_fail
;
5781 if (!wxPyCheckForApp()) SWIG_fail
;
5782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5783 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5785 wxPyEndAllowThreads(__tstate
);
5786 if (PyErr_Occurred()) SWIG_fail
;
5788 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5790 if (temp5
) delete arg5
;
5799 if (temp5
) delete arg5
;
5809 static PyObject
*_wrap_new_PreListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5810 PyObject
*resultobj
;
5816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5818 if (!wxPyCheckForApp()) SWIG_fail
;
5819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5820 result
= (wxListBox
*)new wxListBox();
5822 wxPyEndAllowThreads(__tstate
);
5823 if (PyErr_Occurred()) SWIG_fail
;
5825 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5832 static PyObject
*_wrap_ListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5833 PyObject
*resultobj
;
5834 wxListBox
*arg1
= (wxListBox
*) 0 ;
5835 wxWindow
*arg2
= (wxWindow
*) 0 ;
5836 int arg3
= (int) -1 ;
5837 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5838 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5839 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5840 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5841 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5842 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5843 long arg7
= (long) 0 ;
5844 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5845 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5846 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5847 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5851 bool temp6
= False
;
5852 bool temp9
= False
;
5853 PyObject
* obj0
= 0 ;
5854 PyObject
* obj1
= 0 ;
5855 PyObject
* obj2
= 0 ;
5856 PyObject
* obj3
= 0 ;
5857 PyObject
* obj4
= 0 ;
5858 PyObject
* obj5
= 0 ;
5859 PyObject
* obj6
= 0 ;
5860 PyObject
* obj7
= 0 ;
5861 PyObject
* obj8
= 0 ;
5863 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5869 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5872 arg3
= (int)SWIG_As_int(obj2
);
5873 if (PyErr_Occurred()) SWIG_fail
;
5878 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5884 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5889 if (! PySequence_Check(obj5
)) {
5890 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5893 arg6
= new wxArrayString
;
5895 int i
, len
=PySequence_Length(obj5
);
5896 for (i
=0; i
<len
; i
++) {
5897 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5899 PyObject
* str
= PyObject_Unicode(item
);
5901 PyObject
* str
= PyObject_Str(item
);
5903 if (PyErr_Occurred()) SWIG_fail
;
5904 arg6
->Add(Py2wxString(str
));
5911 arg7
= (long)SWIG_As_long(obj6
);
5912 if (PyErr_Occurred()) SWIG_fail
;
5915 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
5916 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5919 PyErr_SetString(PyExc_TypeError
,"null reference");
5925 arg9
= wxString_in_helper(obj8
);
5926 if (arg9
== NULL
) SWIG_fail
;
5931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5932 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5934 wxPyEndAllowThreads(__tstate
);
5935 if (PyErr_Occurred()) SWIG_fail
;
5938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5941 if (temp6
) delete arg6
;
5950 if (temp6
) delete arg6
;
5960 static PyObject
*_wrap_ListBox_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5961 PyObject
*resultobj
;
5962 wxListBox
*arg1
= (wxListBox
*) 0 ;
5963 wxString
*arg2
= 0 ;
5965 PyObject
*arg4
= (PyObject
*) NULL
;
5966 bool temp2
= False
;
5967 PyObject
* obj0
= 0 ;
5968 PyObject
* obj1
= 0 ;
5969 PyObject
* obj2
= 0 ;
5970 PyObject
* obj3
= 0 ;
5972 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5979 arg2
= wxString_in_helper(obj1
);
5980 if (arg2
== NULL
) SWIG_fail
;
5983 arg3
= (int)SWIG_As_int(obj2
);
5984 if (PyErr_Occurred()) SWIG_fail
;
5989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5990 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5992 wxPyEndAllowThreads(__tstate
);
5993 if (PyErr_Occurred()) SWIG_fail
;
5995 Py_INCREF(Py_None
); resultobj
= Py_None
;
6010 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6011 PyObject
*resultobj
;
6012 wxListBox
*arg1
= (wxListBox
*) 0 ;
6013 wxArrayString
*arg2
= 0 ;
6015 bool temp2
= False
;
6016 PyObject
* obj0
= 0 ;
6017 PyObject
* obj1
= 0 ;
6018 PyObject
* obj2
= 0 ;
6020 (char *) "self",(char *) "items",(char *) "pos", NULL
6023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6027 if (! PySequence_Check(obj1
)) {
6028 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6031 arg2
= new wxArrayString
;
6033 int i
, len
=PySequence_Length(obj1
);
6034 for (i
=0; i
<len
; i
++) {
6035 PyObject
* item
= PySequence_GetItem(obj1
, i
);
6037 PyObject
* str
= PyObject_Unicode(item
);
6039 PyObject
* str
= PyObject_Str(item
);
6041 if (PyErr_Occurred()) SWIG_fail
;
6042 arg2
->Add(Py2wxString(str
));
6047 arg3
= (int)SWIG_As_int(obj2
);
6048 if (PyErr_Occurred()) SWIG_fail
;
6050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6051 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
6053 wxPyEndAllowThreads(__tstate
);
6054 if (PyErr_Occurred()) SWIG_fail
;
6056 Py_INCREF(Py_None
); resultobj
= Py_None
;
6058 if (temp2
) delete arg2
;
6063 if (temp2
) delete arg2
;
6069 static PyObject
*_wrap_ListBox_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6070 PyObject
*resultobj
;
6071 wxListBox
*arg1
= (wxListBox
*) 0 ;
6072 wxArrayString
*arg2
= 0 ;
6073 bool temp2
= False
;
6074 PyObject
* obj0
= 0 ;
6075 PyObject
* obj1
= 0 ;
6077 (char *) "self",(char *) "items", NULL
6080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
6081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6084 if (! PySequence_Check(obj1
)) {
6085 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6088 arg2
= new wxArrayString
;
6090 int i
, len
=PySequence_Length(obj1
);
6091 for (i
=0; i
<len
; i
++) {
6092 PyObject
* item
= PySequence_GetItem(obj1
, i
);
6094 PyObject
* str
= PyObject_Unicode(item
);
6096 PyObject
* str
= PyObject_Str(item
);
6098 if (PyErr_Occurred()) SWIG_fail
;
6099 arg2
->Add(Py2wxString(str
));
6105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6106 (arg1
)->Set((wxArrayString
const &)*arg2
);
6108 wxPyEndAllowThreads(__tstate
);
6109 if (PyErr_Occurred()) SWIG_fail
;
6111 Py_INCREF(Py_None
); resultobj
= Py_None
;
6113 if (temp2
) delete arg2
;
6118 if (temp2
) delete arg2
;
6124 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6125 PyObject
*resultobj
;
6126 wxListBox
*arg1
= (wxListBox
*) 0 ;
6129 PyObject
* obj0
= 0 ;
6130 PyObject
* obj1
= 0 ;
6132 (char *) "self",(char *) "n", NULL
6135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
6136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6138 arg2
= (int)SWIG_As_int(obj1
);
6139 if (PyErr_Occurred()) SWIG_fail
;
6141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6142 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
6144 wxPyEndAllowThreads(__tstate
);
6145 if (PyErr_Occurred()) SWIG_fail
;
6148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6156 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6157 PyObject
*resultobj
;
6158 wxListBox
*arg1
= (wxListBox
*) 0 ;
6160 bool arg3
= (bool) True
;
6161 PyObject
* obj0
= 0 ;
6162 PyObject
* obj1
= 0 ;
6163 PyObject
* obj2
= 0 ;
6165 (char *) "self",(char *) "n",(char *) "select", NULL
6168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6171 arg2
= (int)SWIG_As_int(obj1
);
6172 if (PyErr_Occurred()) SWIG_fail
;
6174 arg3
= (bool)SWIG_As_bool(obj2
);
6175 if (PyErr_Occurred()) SWIG_fail
;
6178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6179 (arg1
)->SetSelection(arg2
,arg3
);
6181 wxPyEndAllowThreads(__tstate
);
6182 if (PyErr_Occurred()) SWIG_fail
;
6184 Py_INCREF(Py_None
); resultobj
= Py_None
;
6191 static PyObject
*_wrap_ListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6192 PyObject
*resultobj
;
6193 wxListBox
*arg1
= (wxListBox
*) 0 ;
6195 PyObject
* obj0
= 0 ;
6196 PyObject
* obj1
= 0 ;
6198 (char *) "self",(char *) "n", NULL
6201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
6202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6204 arg2
= (int)SWIG_As_int(obj1
);
6205 if (PyErr_Occurred()) SWIG_fail
;
6207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6208 (arg1
)->Select(arg2
);
6210 wxPyEndAllowThreads(__tstate
);
6211 if (PyErr_Occurred()) SWIG_fail
;
6213 Py_INCREF(Py_None
); resultobj
= Py_None
;
6220 static PyObject
*_wrap_ListBox_Deselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6221 PyObject
*resultobj
;
6222 wxListBox
*arg1
= (wxListBox
*) 0 ;
6224 PyObject
* obj0
= 0 ;
6225 PyObject
* obj1
= 0 ;
6227 (char *) "self",(char *) "n", NULL
6230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
6231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6233 arg2
= (int)SWIG_As_int(obj1
);
6234 if (PyErr_Occurred()) SWIG_fail
;
6236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6237 (arg1
)->Deselect(arg2
);
6239 wxPyEndAllowThreads(__tstate
);
6240 if (PyErr_Occurred()) SWIG_fail
;
6242 Py_INCREF(Py_None
); resultobj
= Py_None
;
6249 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6250 PyObject
*resultobj
;
6251 wxListBox
*arg1
= (wxListBox
*) 0 ;
6252 int arg2
= (int) -1 ;
6253 PyObject
* obj0
= 0 ;
6254 PyObject
* obj1
= 0 ;
6256 (char *) "self",(char *) "itemToLeaveSelected", NULL
6259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
6260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6263 arg2
= (int)SWIG_As_int(obj1
);
6264 if (PyErr_Occurred()) SWIG_fail
;
6267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6268 (arg1
)->DeselectAll(arg2
);
6270 wxPyEndAllowThreads(__tstate
);
6271 if (PyErr_Occurred()) SWIG_fail
;
6273 Py_INCREF(Py_None
); resultobj
= Py_None
;
6280 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6281 PyObject
*resultobj
;
6282 wxListBox
*arg1
= (wxListBox
*) 0 ;
6283 wxString
*arg2
= 0 ;
6284 bool arg3
= (bool) True
;
6286 bool temp2
= False
;
6287 PyObject
* obj0
= 0 ;
6288 PyObject
* obj1
= 0 ;
6289 PyObject
* obj2
= 0 ;
6291 (char *) "self",(char *) "s",(char *) "select", NULL
6294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6298 arg2
= wxString_in_helper(obj1
);
6299 if (arg2
== NULL
) SWIG_fail
;
6303 arg3
= (bool)SWIG_As_bool(obj2
);
6304 if (PyErr_Occurred()) SWIG_fail
;
6307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6308 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
6310 wxPyEndAllowThreads(__tstate
);
6311 if (PyErr_Occurred()) SWIG_fail
;
6314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6330 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6331 PyObject
*resultobj
;
6332 wxListBox
*arg1
= (wxListBox
*) 0 ;
6334 PyObject
* obj0
= 0 ;
6336 (char *) "self", NULL
6339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
6340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6344 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
6346 wxPyEndAllowThreads(__tstate
);
6347 if (PyErr_Occurred()) SWIG_fail
;
6356 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6357 PyObject
*resultobj
;
6358 wxListBox
*arg1
= (wxListBox
*) 0 ;
6360 PyObject
* obj0
= 0 ;
6361 PyObject
* obj1
= 0 ;
6363 (char *) "self",(char *) "n", NULL
6366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
6367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6369 arg2
= (int)SWIG_As_int(obj1
);
6370 if (PyErr_Occurred()) SWIG_fail
;
6372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6373 (arg1
)->SetFirstItem(arg2
);
6375 wxPyEndAllowThreads(__tstate
);
6376 if (PyErr_Occurred()) SWIG_fail
;
6378 Py_INCREF(Py_None
); resultobj
= Py_None
;
6385 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6386 PyObject
*resultobj
;
6387 wxListBox
*arg1
= (wxListBox
*) 0 ;
6388 wxString
*arg2
= 0 ;
6389 bool temp2
= False
;
6390 PyObject
* obj0
= 0 ;
6391 PyObject
* obj1
= 0 ;
6393 (char *) "self",(char *) "s", NULL
6396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
6397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6400 arg2
= wxString_in_helper(obj1
);
6401 if (arg2
== NULL
) SWIG_fail
;
6405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6406 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
6408 wxPyEndAllowThreads(__tstate
);
6409 if (PyErr_Occurred()) SWIG_fail
;
6411 Py_INCREF(Py_None
); resultobj
= Py_None
;
6426 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6427 PyObject
*resultobj
;
6428 wxListBox
*arg1
= (wxListBox
*) 0 ;
6430 PyObject
* obj0
= 0 ;
6431 PyObject
* obj1
= 0 ;
6433 (char *) "self",(char *) "n", NULL
6436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6439 arg2
= (int)SWIG_As_int(obj1
);
6440 if (PyErr_Occurred()) SWIG_fail
;
6442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6443 (arg1
)->EnsureVisible(arg2
);
6445 wxPyEndAllowThreads(__tstate
);
6446 if (PyErr_Occurred()) SWIG_fail
;
6448 Py_INCREF(Py_None
); resultobj
= Py_None
;
6455 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6456 PyObject
*resultobj
;
6457 wxListBox
*arg1
= (wxListBox
*) 0 ;
6458 wxString
*arg2
= 0 ;
6459 bool temp2
= False
;
6460 PyObject
* obj0
= 0 ;
6461 PyObject
* obj1
= 0 ;
6463 (char *) "self",(char *) "s", NULL
6466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6470 arg2
= wxString_in_helper(obj1
);
6471 if (arg2
== NULL
) SWIG_fail
;
6475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6476 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
6478 wxPyEndAllowThreads(__tstate
);
6479 if (PyErr_Occurred()) SWIG_fail
;
6481 Py_INCREF(Py_None
); resultobj
= Py_None
;
6496 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6497 PyObject
*resultobj
;
6498 wxListBox
*arg1
= (wxListBox
*) 0 ;
6500 PyObject
* obj0
= 0 ;
6502 (char *) "self", NULL
6505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
6506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6510 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
6512 wxPyEndAllowThreads(__tstate
);
6513 if (PyErr_Occurred()) SWIG_fail
;
6516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6524 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6525 PyObject
*resultobj
;
6526 wxListBox
*arg1
= (wxListBox
*) 0 ;
6528 wxColour
*arg3
= 0 ;
6530 PyObject
* obj0
= 0 ;
6531 PyObject
* obj1
= 0 ;
6532 PyObject
* obj2
= 0 ;
6534 (char *) "self",(char *) "item",(char *) "c", NULL
6537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6540 arg2
= (int)SWIG_As_int(obj1
);
6541 if (PyErr_Occurred()) SWIG_fail
;
6544 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6548 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6550 wxPyEndAllowThreads(__tstate
);
6551 if (PyErr_Occurred()) SWIG_fail
;
6553 Py_INCREF(Py_None
); resultobj
= Py_None
;
6560 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6561 PyObject
*resultobj
;
6562 wxListBox
*arg1
= (wxListBox
*) 0 ;
6564 wxColour
*arg3
= 0 ;
6566 PyObject
* obj0
= 0 ;
6567 PyObject
* obj1
= 0 ;
6568 PyObject
* obj2
= 0 ;
6570 (char *) "self",(char *) "item",(char *) "c", NULL
6573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6576 arg2
= (int)SWIG_As_int(obj1
);
6577 if (PyErr_Occurred()) SWIG_fail
;
6580 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6584 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6586 wxPyEndAllowThreads(__tstate
);
6587 if (PyErr_Occurred()) SWIG_fail
;
6589 Py_INCREF(Py_None
); resultobj
= Py_None
;
6596 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6597 PyObject
*resultobj
;
6598 wxListBox
*arg1
= (wxListBox
*) 0 ;
6601 PyObject
* obj0
= 0 ;
6602 PyObject
* obj1
= 0 ;
6603 PyObject
* obj2
= 0 ;
6605 (char *) "self",(char *) "item",(char *) "f", NULL
6608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6611 arg2
= (int)SWIG_As_int(obj1
);
6612 if (PyErr_Occurred()) SWIG_fail
;
6613 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6614 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6617 PyErr_SetString(PyExc_TypeError
,"null reference");
6621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6622 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
6624 wxPyEndAllowThreads(__tstate
);
6625 if (PyErr_Occurred()) SWIG_fail
;
6627 Py_INCREF(Py_None
); resultobj
= Py_None
;
6634 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6635 PyObject
*resultobj
;
6636 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6637 wxVisualAttributes result
;
6638 PyObject
* obj0
= 0 ;
6640 (char *) "variant", NULL
6643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6645 arg1
= (int)SWIG_As_int(obj0
);
6646 if (PyErr_Occurred()) SWIG_fail
;
6649 if (!wxPyCheckForApp()) SWIG_fail
;
6650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6651 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6653 wxPyEndAllowThreads(__tstate
);
6654 if (PyErr_Occurred()) SWIG_fail
;
6657 wxVisualAttributes
* resultptr
;
6658 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6659 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6667 static PyObject
* ListBox_swigregister(PyObject
*, PyObject
*args
) {
6669 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6670 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
6672 return Py_BuildValue((char *)"");
6674 static PyObject
*_wrap_new_CheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6675 PyObject
*resultobj
;
6676 wxWindow
*arg1
= (wxWindow
*) 0 ;
6677 int arg2
= (int) -1 ;
6678 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6679 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6680 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6681 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6682 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
6683 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
6684 long arg6
= (long) 0 ;
6685 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6686 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6687 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
6688 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6689 wxCheckListBox
*result
;
6692 bool temp5
= False
;
6693 bool temp8
= False
;
6694 PyObject
* obj0
= 0 ;
6695 PyObject
* obj1
= 0 ;
6696 PyObject
* obj2
= 0 ;
6697 PyObject
* obj3
= 0 ;
6698 PyObject
* obj4
= 0 ;
6699 PyObject
* obj5
= 0 ;
6700 PyObject
* obj6
= 0 ;
6701 PyObject
* obj7
= 0 ;
6703 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6710 arg2
= (int)SWIG_As_int(obj1
);
6711 if (PyErr_Occurred()) SWIG_fail
;
6716 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6722 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6727 if (! PySequence_Check(obj4
)) {
6728 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6731 arg5
= new wxArrayString
;
6733 int i
, len
=PySequence_Length(obj4
);
6734 for (i
=0; i
<len
; i
++) {
6735 PyObject
* item
= PySequence_GetItem(obj4
, i
);
6737 PyObject
* str
= PyObject_Unicode(item
);
6739 PyObject
* str
= PyObject_Str(item
);
6741 if (PyErr_Occurred()) SWIG_fail
;
6742 arg5
->Add(Py2wxString(str
));
6749 arg6
= (long)SWIG_As_long(obj5
);
6750 if (PyErr_Occurred()) SWIG_fail
;
6753 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
6754 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6757 PyErr_SetString(PyExc_TypeError
,"null reference");
6763 arg8
= wxString_in_helper(obj7
);
6764 if (arg8
== NULL
) SWIG_fail
;
6769 if (!wxPyCheckForApp()) SWIG_fail
;
6770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6771 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6773 wxPyEndAllowThreads(__tstate
);
6774 if (PyErr_Occurred()) SWIG_fail
;
6776 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6778 if (temp5
) delete arg5
;
6787 if (temp5
) delete arg5
;
6797 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6798 PyObject
*resultobj
;
6799 wxCheckListBox
*result
;
6804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
6806 if (!wxPyCheckForApp()) SWIG_fail
;
6807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6808 result
= (wxCheckListBox
*)new wxCheckListBox();
6810 wxPyEndAllowThreads(__tstate
);
6811 if (PyErr_Occurred()) SWIG_fail
;
6813 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6820 static PyObject
*_wrap_CheckListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6821 PyObject
*resultobj
;
6822 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6823 wxWindow
*arg2
= (wxWindow
*) 0 ;
6824 int arg3
= (int) -1 ;
6825 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6826 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6827 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6828 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6829 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
6830 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
6831 long arg7
= (long) 0 ;
6832 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6833 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6834 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
6835 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6839 bool temp6
= False
;
6840 bool temp9
= False
;
6841 PyObject
* obj0
= 0 ;
6842 PyObject
* obj1
= 0 ;
6843 PyObject
* obj2
= 0 ;
6844 PyObject
* obj3
= 0 ;
6845 PyObject
* obj4
= 0 ;
6846 PyObject
* obj5
= 0 ;
6847 PyObject
* obj6
= 0 ;
6848 PyObject
* obj7
= 0 ;
6849 PyObject
* obj8
= 0 ;
6851 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
6855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6857 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6860 arg3
= (int)SWIG_As_int(obj2
);
6861 if (PyErr_Occurred()) SWIG_fail
;
6866 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6872 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6877 if (! PySequence_Check(obj5
)) {
6878 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6881 arg6
= new wxArrayString
;
6883 int i
, len
=PySequence_Length(obj5
);
6884 for (i
=0; i
<len
; i
++) {
6885 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6887 PyObject
* str
= PyObject_Unicode(item
);
6889 PyObject
* str
= PyObject_Str(item
);
6891 if (PyErr_Occurred()) SWIG_fail
;
6892 arg6
->Add(Py2wxString(str
));
6899 arg7
= (long)SWIG_As_long(obj6
);
6900 if (PyErr_Occurred()) SWIG_fail
;
6903 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
6904 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6907 PyErr_SetString(PyExc_TypeError
,"null reference");
6913 arg9
= wxString_in_helper(obj8
);
6914 if (arg9
== NULL
) SWIG_fail
;
6919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6920 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6922 wxPyEndAllowThreads(__tstate
);
6923 if (PyErr_Occurred()) SWIG_fail
;
6926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6929 if (temp6
) delete arg6
;
6938 if (temp6
) delete arg6
;
6948 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6949 PyObject
*resultobj
;
6950 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6953 PyObject
* obj0
= 0 ;
6954 PyObject
* obj1
= 0 ;
6956 (char *) "self",(char *) "index", NULL
6959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
6960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6962 arg2
= (int)SWIG_As_int(obj1
);
6963 if (PyErr_Occurred()) SWIG_fail
;
6965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6966 result
= (bool)(arg1
)->IsChecked(arg2
);
6968 wxPyEndAllowThreads(__tstate
);
6969 if (PyErr_Occurred()) SWIG_fail
;
6972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6980 static PyObject
*_wrap_CheckListBox_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6981 PyObject
*resultobj
;
6982 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6984 int arg3
= (int) True
;
6985 PyObject
* obj0
= 0 ;
6986 PyObject
* obj1
= 0 ;
6987 PyObject
* obj2
= 0 ;
6989 (char *) "self",(char *) "index",(char *) "check", NULL
6992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6995 arg2
= (int)SWIG_As_int(obj1
);
6996 if (PyErr_Occurred()) SWIG_fail
;
6998 arg3
= (int)SWIG_As_int(obj2
);
6999 if (PyErr_Occurred()) SWIG_fail
;
7002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7003 (arg1
)->Check(arg2
,arg3
);
7005 wxPyEndAllowThreads(__tstate
);
7006 if (PyErr_Occurred()) SWIG_fail
;
7008 Py_INCREF(Py_None
); resultobj
= Py_None
;
7015 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7016 PyObject
*resultobj
;
7017 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
7021 PyObject
* obj0
= 0 ;
7022 PyObject
* obj1
= 0 ;
7024 (char *) "self",(char *) "pt", NULL
7027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
7028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
7029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7032 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7036 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
7038 wxPyEndAllowThreads(__tstate
);
7039 if (PyErr_Occurred()) SWIG_fail
;
7041 resultobj
= SWIG_From_int((int)result
);
7048 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7049 PyObject
*resultobj
;
7050 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
7054 PyObject
* obj0
= 0 ;
7055 PyObject
* obj1
= 0 ;
7056 PyObject
* obj2
= 0 ;
7058 (char *) "self",(char *) "x",(char *) "y", NULL
7061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
7063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7064 arg2
= (int)SWIG_As_int(obj1
);
7065 if (PyErr_Occurred()) SWIG_fail
;
7066 arg3
= (int)SWIG_As_int(obj2
);
7067 if (PyErr_Occurred()) SWIG_fail
;
7069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7070 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
7072 wxPyEndAllowThreads(__tstate
);
7073 if (PyErr_Occurred()) SWIG_fail
;
7075 resultobj
= SWIG_From_int((int)result
);
7082 static PyObject
* CheckListBox_swigregister(PyObject
*, PyObject
*args
) {
7084 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7085 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
7087 return Py_BuildValue((char *)"");
7089 static int _wrap_TextCtrlNameStr_set(PyObject
*) {
7090 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
7095 static PyObject
*_wrap_TextCtrlNameStr_get() {
7100 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
7102 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
7109 static PyObject
*_wrap_new_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7110 PyObject
*resultobj
;
7111 wxColour
const &arg1_defvalue
= wxNullColour
;
7112 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
7113 wxColour
const &arg2_defvalue
= wxNullColour
;
7114 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
7115 wxFont
const &arg3_defvalue
= wxNullFont
;
7116 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
7117 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
7121 PyObject
* obj0
= 0 ;
7122 PyObject
* obj1
= 0 ;
7123 PyObject
* obj2
= 0 ;
7124 PyObject
* obj3
= 0 ;
7126 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
7129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7133 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
7139 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7143 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
7144 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7147 PyErr_SetString(PyExc_TypeError
,"null reference");
7152 arg4
= (int)SWIG_As_int(obj3
);
7153 if (PyErr_Occurred()) SWIG_fail
;
7156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7157 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
7159 wxPyEndAllowThreads(__tstate
);
7160 if (PyErr_Occurred()) SWIG_fail
;
7162 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
7169 static PyObject
*_wrap_delete_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7170 PyObject
*resultobj
;
7171 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7172 PyObject
* obj0
= 0 ;
7174 (char *) "self", NULL
7177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
7178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7184 wxPyEndAllowThreads(__tstate
);
7185 if (PyErr_Occurred()) SWIG_fail
;
7187 Py_INCREF(Py_None
); resultobj
= Py_None
;
7194 static PyObject
*_wrap_TextAttr_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7195 PyObject
*resultobj
;
7196 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7197 PyObject
* obj0
= 0 ;
7199 (char *) "self", NULL
7202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
7203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7209 wxPyEndAllowThreads(__tstate
);
7210 if (PyErr_Occurred()) SWIG_fail
;
7212 Py_INCREF(Py_None
); resultobj
= Py_None
;
7219 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7220 PyObject
*resultobj
;
7221 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7222 wxColour
*arg2
= 0 ;
7224 PyObject
* obj0
= 0 ;
7225 PyObject
* obj1
= 0 ;
7227 (char *) "self",(char *) "colText", NULL
7230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7235 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7239 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
7241 wxPyEndAllowThreads(__tstate
);
7242 if (PyErr_Occurred()) SWIG_fail
;
7244 Py_INCREF(Py_None
); resultobj
= Py_None
;
7251 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7252 PyObject
*resultobj
;
7253 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7254 wxColour
*arg2
= 0 ;
7256 PyObject
* obj0
= 0 ;
7257 PyObject
* obj1
= 0 ;
7259 (char *) "self",(char *) "colBack", NULL
7262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7267 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7271 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
7273 wxPyEndAllowThreads(__tstate
);
7274 if (PyErr_Occurred()) SWIG_fail
;
7276 Py_INCREF(Py_None
); resultobj
= Py_None
;
7283 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7284 PyObject
*resultobj
;
7285 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7287 long arg3
= (long) wxTEXT_ATTR_FONT
;
7288 PyObject
* obj0
= 0 ;
7289 PyObject
* obj1
= 0 ;
7290 PyObject
* obj2
= 0 ;
7292 (char *) "self",(char *) "font",(char *) "flags", NULL
7295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7298 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7299 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7302 PyErr_SetString(PyExc_TypeError
,"null reference");
7306 arg3
= (long)SWIG_As_long(obj2
);
7307 if (PyErr_Occurred()) SWIG_fail
;
7310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7311 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
7313 wxPyEndAllowThreads(__tstate
);
7314 if (PyErr_Occurred()) SWIG_fail
;
7316 Py_INCREF(Py_None
); resultobj
= Py_None
;
7323 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7324 PyObject
*resultobj
;
7325 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7327 PyObject
* obj0
= 0 ;
7328 PyObject
* obj1
= 0 ;
7330 (char *) "self",(char *) "alignment", NULL
7333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7336 arg2
= (int)SWIG_As_int(obj1
);
7337 if (PyErr_Occurred()) SWIG_fail
;
7339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7340 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
7342 wxPyEndAllowThreads(__tstate
);
7343 if (PyErr_Occurred()) SWIG_fail
;
7345 Py_INCREF(Py_None
); resultobj
= Py_None
;
7352 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7353 PyObject
*resultobj
;
7354 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7355 wxArrayInt
*arg2
= 0 ;
7356 bool temp2
= False
;
7357 PyObject
* obj0
= 0 ;
7358 PyObject
* obj1
= 0 ;
7360 (char *) "self",(char *) "tabs", NULL
7363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
7364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7367 if (! PySequence_Check(obj1
)) {
7368 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
7371 arg2
= new wxArrayInt
;
7373 int i
, len
=PySequence_Length(obj1
);
7374 for (i
=0; i
<len
; i
++) {
7375 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7376 PyObject
* number
= PyNumber_Int(item
);
7377 arg2
->Add(PyInt_AS_LONG(number
));
7383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7384 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
7386 wxPyEndAllowThreads(__tstate
);
7387 if (PyErr_Occurred()) SWIG_fail
;
7389 Py_INCREF(Py_None
); resultobj
= Py_None
;
7391 if (temp2
) delete arg2
;
7396 if (temp2
) delete arg2
;
7402 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7403 PyObject
*resultobj
;
7404 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7406 int arg3
= (int) 0 ;
7407 PyObject
* obj0
= 0 ;
7408 PyObject
* obj1
= 0 ;
7409 PyObject
* obj2
= 0 ;
7411 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
7414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7417 arg2
= (int)SWIG_As_int(obj1
);
7418 if (PyErr_Occurred()) SWIG_fail
;
7420 arg3
= (int)SWIG_As_int(obj2
);
7421 if (PyErr_Occurred()) SWIG_fail
;
7424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7425 (arg1
)->SetLeftIndent(arg2
,arg3
);
7427 wxPyEndAllowThreads(__tstate
);
7428 if (PyErr_Occurred()) SWIG_fail
;
7430 Py_INCREF(Py_None
); resultobj
= Py_None
;
7437 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7438 PyObject
*resultobj
;
7439 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7441 PyObject
* obj0
= 0 ;
7442 PyObject
* obj1
= 0 ;
7444 (char *) "self",(char *) "indent", NULL
7447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
7448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7450 arg2
= (int)SWIG_As_int(obj1
);
7451 if (PyErr_Occurred()) SWIG_fail
;
7453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7454 (arg1
)->SetRightIndent(arg2
);
7456 wxPyEndAllowThreads(__tstate
);
7457 if (PyErr_Occurred()) SWIG_fail
;
7459 Py_INCREF(Py_None
); resultobj
= Py_None
;
7466 static PyObject
*_wrap_TextAttr_SetFlags(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 *) "flags", NULL
7476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",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
= (long)SWIG_As_long(obj1
);
7480 if (PyErr_Occurred()) SWIG_fail
;
7482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7483 (arg1
)->SetFlags(arg2
);
7485 wxPyEndAllowThreads(__tstate
);
7486 if (PyErr_Occurred()) SWIG_fail
;
7488 Py_INCREF(Py_None
); resultobj
= Py_None
;
7495 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7496 PyObject
*resultobj
;
7497 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7499 PyObject
* obj0
= 0 ;
7501 (char *) "self", NULL
7504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
7505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7509 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
7511 wxPyEndAllowThreads(__tstate
);
7512 if (PyErr_Occurred()) SWIG_fail
;
7515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7523 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7524 PyObject
*resultobj
;
7525 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7527 PyObject
* obj0
= 0 ;
7529 (char *) "self", NULL
7532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
7533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7537 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
7539 wxPyEndAllowThreads(__tstate
);
7540 if (PyErr_Occurred()) SWIG_fail
;
7543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7551 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7552 PyObject
*resultobj
;
7553 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7555 PyObject
* obj0
= 0 ;
7557 (char *) "self", NULL
7560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
7561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7565 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
7567 wxPyEndAllowThreads(__tstate
);
7568 if (PyErr_Occurred()) SWIG_fail
;
7571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7579 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7580 PyObject
*resultobj
;
7581 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7583 PyObject
* obj0
= 0 ;
7585 (char *) "self", NULL
7588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
7589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7593 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
7595 wxPyEndAllowThreads(__tstate
);
7596 if (PyErr_Occurred()) SWIG_fail
;
7599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7607 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7608 PyObject
*resultobj
;
7609 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7611 PyObject
* obj0
= 0 ;
7613 (char *) "self", NULL
7616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
7617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7621 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
7623 wxPyEndAllowThreads(__tstate
);
7624 if (PyErr_Occurred()) SWIG_fail
;
7627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7635 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7636 PyObject
*resultobj
;
7637 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7639 PyObject
* obj0
= 0 ;
7641 (char *) "self", NULL
7644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
7645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7649 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
7651 wxPyEndAllowThreads(__tstate
);
7652 if (PyErr_Occurred()) SWIG_fail
;
7655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7663 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7664 PyObject
*resultobj
;
7665 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7667 PyObject
* obj0
= 0 ;
7669 (char *) "self", NULL
7672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
7673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7677 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
7679 wxPyEndAllowThreads(__tstate
);
7680 if (PyErr_Occurred()) SWIG_fail
;
7683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7691 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7692 PyObject
*resultobj
;
7693 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7696 PyObject
* obj0
= 0 ;
7697 PyObject
* obj1
= 0 ;
7699 (char *) "self",(char *) "flag", NULL
7702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
7703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7705 arg2
= (long)SWIG_As_long(obj1
);
7706 if (PyErr_Occurred()) SWIG_fail
;
7708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7709 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
7711 wxPyEndAllowThreads(__tstate
);
7712 if (PyErr_Occurred()) SWIG_fail
;
7715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7723 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7724 PyObject
*resultobj
;
7725 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7727 PyObject
* obj0
= 0 ;
7729 (char *) "self", NULL
7732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
7733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7738 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
7739 result
= (wxColour
*) &_result_ref
;
7742 wxPyEndAllowThreads(__tstate
);
7743 if (PyErr_Occurred()) SWIG_fail
;
7745 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7752 static PyObject
*_wrap_TextAttr_GetBackgroundColour(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_GetBackgroundColour",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
)->GetBackgroundColour();
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_GetFont(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_GetFont",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 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7797 result
= (wxFont
*) &_result_ref
;
7800 wxPyEndAllowThreads(__tstate
);
7801 if (PyErr_Occurred()) SWIG_fail
;
7804 wxFont
* resultptr
= new wxFont(*result
);
7805 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
7813 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7814 PyObject
*resultobj
;
7815 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7817 PyObject
* obj0
= 0 ;
7819 (char *) "self", NULL
7822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
7823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7827 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7829 wxPyEndAllowThreads(__tstate
);
7830 if (PyErr_Occurred()) SWIG_fail
;
7832 resultobj
= SWIG_From_int((int)result
);
7839 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7840 PyObject
*resultobj
;
7841 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7843 PyObject
* obj0
= 0 ;
7845 (char *) "self", NULL
7848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
7849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7854 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7855 result
= (wxArrayInt
*) &_result_ref
;
7858 wxPyEndAllowThreads(__tstate
);
7859 if (PyErr_Occurred()) SWIG_fail
;
7862 resultobj
= PyList_New(0);
7864 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7865 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7866 PyList_Append(resultobj
, val
);
7876 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7877 PyObject
*resultobj
;
7878 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7880 PyObject
* obj0
= 0 ;
7882 (char *) "self", NULL
7885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7890 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7892 wxPyEndAllowThreads(__tstate
);
7893 if (PyErr_Occurred()) SWIG_fail
;
7895 resultobj
= SWIG_From_long((long)result
);
7902 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7903 PyObject
*resultobj
;
7904 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7906 PyObject
* obj0
= 0 ;
7908 (char *) "self", NULL
7911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftSubIndent",kwnames
,&obj0
)) goto fail
;
7912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7916 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
7918 wxPyEndAllowThreads(__tstate
);
7919 if (PyErr_Occurred()) SWIG_fail
;
7921 resultobj
= SWIG_From_long((long)result
);
7928 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7929 PyObject
*resultobj
;
7930 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7932 PyObject
* obj0
= 0 ;
7934 (char *) "self", NULL
7937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
7938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7942 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
7944 wxPyEndAllowThreads(__tstate
);
7945 if (PyErr_Occurred()) SWIG_fail
;
7947 resultobj
= SWIG_From_long((long)result
);
7954 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7955 PyObject
*resultobj
;
7956 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7958 PyObject
* obj0
= 0 ;
7960 (char *) "self", NULL
7963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
7964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7968 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
7970 wxPyEndAllowThreads(__tstate
);
7971 if (PyErr_Occurred()) SWIG_fail
;
7973 resultobj
= SWIG_From_long((long)result
);
7980 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7981 PyObject
*resultobj
;
7982 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7984 PyObject
* obj0
= 0 ;
7986 (char *) "self", NULL
7989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
7990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7994 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
7996 wxPyEndAllowThreads(__tstate
);
7997 if (PyErr_Occurred()) SWIG_fail
;
8000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8008 static PyObject
*_wrap_TextAttr_Combine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8009 PyObject
*resultobj
;
8010 wxTextAttr
*arg1
= 0 ;
8011 wxTextAttr
*arg2
= 0 ;
8012 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
8014 PyObject
* obj0
= 0 ;
8015 PyObject
* obj1
= 0 ;
8016 PyObject
* obj2
= 0 ;
8018 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
8021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
8023 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8026 PyErr_SetString(PyExc_TypeError
,"null reference");
8029 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
8030 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8033 PyErr_SetString(PyExc_TypeError
,"null reference");
8036 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextCtrl
,
8037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8040 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
8042 wxPyEndAllowThreads(__tstate
);
8043 if (PyErr_Occurred()) SWIG_fail
;
8046 wxTextAttr
* resultptr
;
8047 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
8048 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
8056 static PyObject
* TextAttr_swigregister(PyObject
*, PyObject
*args
) {
8058 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8059 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
8061 return Py_BuildValue((char *)"");
8063 static PyObject
*_wrap_new_TextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8064 PyObject
*resultobj
;
8065 wxWindow
*arg1
= (wxWindow
*) 0 ;
8066 int arg2
= (int) -1 ;
8067 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8068 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8069 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8070 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8071 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8072 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8073 long arg6
= (long) 0 ;
8074 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8075 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8076 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
8077 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8079 bool temp3
= False
;
8082 bool temp8
= False
;
8083 PyObject
* obj0
= 0 ;
8084 PyObject
* obj1
= 0 ;
8085 PyObject
* obj2
= 0 ;
8086 PyObject
* obj3
= 0 ;
8087 PyObject
* obj4
= 0 ;
8088 PyObject
* obj5
= 0 ;
8089 PyObject
* obj6
= 0 ;
8090 PyObject
* obj7
= 0 ;
8092 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
8096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8099 arg2
= (int)SWIG_As_int(obj1
);
8100 if (PyErr_Occurred()) SWIG_fail
;
8104 arg3
= wxString_in_helper(obj2
);
8105 if (arg3
== NULL
) SWIG_fail
;
8112 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8118 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8122 arg6
= (long)SWIG_As_long(obj5
);
8123 if (PyErr_Occurred()) SWIG_fail
;
8126 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
8127 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8130 PyErr_SetString(PyExc_TypeError
,"null reference");
8136 arg8
= wxString_in_helper(obj7
);
8137 if (arg8
== NULL
) SWIG_fail
;
8142 if (!wxPyCheckForApp()) SWIG_fail
;
8143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8144 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8146 wxPyEndAllowThreads(__tstate
);
8147 if (PyErr_Occurred()) SWIG_fail
;
8149 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
8172 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8173 PyObject
*resultobj
;
8179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
8181 if (!wxPyCheckForApp()) SWIG_fail
;
8182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8183 result
= (wxTextCtrl
*)new wxTextCtrl();
8185 wxPyEndAllowThreads(__tstate
);
8186 if (PyErr_Occurred()) SWIG_fail
;
8188 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
8195 static PyObject
*_wrap_TextCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8196 PyObject
*resultobj
;
8197 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8198 wxWindow
*arg2
= (wxWindow
*) 0 ;
8199 int arg3
= (int) -1 ;
8200 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8201 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8202 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8203 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8204 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8205 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8206 long arg7
= (long) 0 ;
8207 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8208 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8209 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
8210 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8212 bool temp4
= False
;
8215 bool temp9
= False
;
8216 PyObject
* obj0
= 0 ;
8217 PyObject
* obj1
= 0 ;
8218 PyObject
* obj2
= 0 ;
8219 PyObject
* obj3
= 0 ;
8220 PyObject
* obj4
= 0 ;
8221 PyObject
* obj5
= 0 ;
8222 PyObject
* obj6
= 0 ;
8223 PyObject
* obj7
= 0 ;
8224 PyObject
* obj8
= 0 ;
8226 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8232 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8235 arg3
= (int)SWIG_As_int(obj2
);
8236 if (PyErr_Occurred()) SWIG_fail
;
8240 arg4
= wxString_in_helper(obj3
);
8241 if (arg4
== NULL
) SWIG_fail
;
8248 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8254 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8258 arg7
= (long)SWIG_As_long(obj6
);
8259 if (PyErr_Occurred()) SWIG_fail
;
8262 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
8263 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8266 PyErr_SetString(PyExc_TypeError
,"null reference");
8272 arg9
= wxString_in_helper(obj8
);
8273 if (arg9
== NULL
) SWIG_fail
;
8278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8279 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8281 wxPyEndAllowThreads(__tstate
);
8282 if (PyErr_Occurred()) SWIG_fail
;
8285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8309 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8310 PyObject
*resultobj
;
8311 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8313 PyObject
* obj0
= 0 ;
8315 (char *) "self", NULL
8318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
8319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8323 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
8325 wxPyEndAllowThreads(__tstate
);
8326 if (PyErr_Occurred()) SWIG_fail
;
8330 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8332 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8341 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8342 PyObject
*resultobj
;
8343 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8344 wxString
*arg2
= 0 ;
8345 bool temp2
= False
;
8346 PyObject
* obj0
= 0 ;
8347 PyObject
* obj1
= 0 ;
8349 (char *) "self",(char *) "value", NULL
8352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
8353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8356 arg2
= wxString_in_helper(obj1
);
8357 if (arg2
== NULL
) SWIG_fail
;
8361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8362 (arg1
)->SetValue((wxString
const &)*arg2
);
8364 wxPyEndAllowThreads(__tstate
);
8365 if (PyErr_Occurred()) SWIG_fail
;
8367 Py_INCREF(Py_None
); resultobj
= Py_None
;
8382 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8383 PyObject
*resultobj
;
8384 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8388 PyObject
* obj0
= 0 ;
8389 PyObject
* obj1
= 0 ;
8390 PyObject
* obj2
= 0 ;
8392 (char *) "self",(char *) "from",(char *) "to", NULL
8395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8398 arg2
= (long)SWIG_As_long(obj1
);
8399 if (PyErr_Occurred()) SWIG_fail
;
8400 arg3
= (long)SWIG_As_long(obj2
);
8401 if (PyErr_Occurred()) SWIG_fail
;
8403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8404 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
8406 wxPyEndAllowThreads(__tstate
);
8407 if (PyErr_Occurred()) SWIG_fail
;
8411 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8413 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8422 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8423 PyObject
*resultobj
;
8424 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8427 PyObject
* obj0
= 0 ;
8428 PyObject
* obj1
= 0 ;
8430 (char *) "self",(char *) "lineNo", NULL
8433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8436 arg2
= (long)SWIG_As_long(obj1
);
8437 if (PyErr_Occurred()) SWIG_fail
;
8439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8440 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
8442 wxPyEndAllowThreads(__tstate
);
8443 if (PyErr_Occurred()) SWIG_fail
;
8445 resultobj
= SWIG_From_int((int)result
);
8452 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8453 PyObject
*resultobj
;
8454 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8457 PyObject
* obj0
= 0 ;
8458 PyObject
* obj1
= 0 ;
8460 (char *) "self",(char *) "lineNo", NULL
8463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
8464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8466 arg2
= (long)SWIG_As_long(obj1
);
8467 if (PyErr_Occurred()) SWIG_fail
;
8469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8470 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
8472 wxPyEndAllowThreads(__tstate
);
8473 if (PyErr_Occurred()) SWIG_fail
;
8477 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8479 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8488 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8489 PyObject
*resultobj
;
8490 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8492 PyObject
* obj0
= 0 ;
8494 (char *) "self", NULL
8497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
8498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8502 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
8504 wxPyEndAllowThreads(__tstate
);
8505 if (PyErr_Occurred()) SWIG_fail
;
8507 resultobj
= SWIG_From_int((int)result
);
8514 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8515 PyObject
*resultobj
;
8516 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8518 PyObject
* obj0
= 0 ;
8520 (char *) "self", NULL
8523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
8524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8528 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
8530 wxPyEndAllowThreads(__tstate
);
8531 if (PyErr_Occurred()) SWIG_fail
;
8534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8542 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8543 PyObject
*resultobj
;
8544 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8546 PyObject
* obj0
= 0 ;
8548 (char *) "self", NULL
8551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
8552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8556 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
8558 wxPyEndAllowThreads(__tstate
);
8559 if (PyErr_Occurred()) SWIG_fail
;
8562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8570 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8571 PyObject
*resultobj
;
8572 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8574 PyObject
* obj0
= 0 ;
8576 (char *) "self", NULL
8579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
8580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8584 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
8586 wxPyEndAllowThreads(__tstate
);
8587 if (PyErr_Occurred()) SWIG_fail
;
8590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8598 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8599 PyObject
*resultobj
;
8600 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8602 PyObject
* obj0
= 0 ;
8604 (char *) "self", NULL
8607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
8608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8612 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
8614 wxPyEndAllowThreads(__tstate
);
8615 if (PyErr_Occurred()) SWIG_fail
;
8618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8626 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8627 PyObject
*resultobj
;
8628 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8629 long *arg2
= (long *) 0 ;
8630 long *arg3
= (long *) 0 ;
8635 PyObject
* obj0
= 0 ;
8637 (char *) "self", NULL
8640 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
8641 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
8642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
8643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8647 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
8649 wxPyEndAllowThreads(__tstate
);
8650 if (PyErr_Occurred()) SWIG_fail
;
8652 Py_INCREF(Py_None
); resultobj
= Py_None
;
8653 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
8654 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
8655 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
8656 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
8663 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8664 PyObject
*resultobj
;
8665 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8667 PyObject
* obj0
= 0 ;
8669 (char *) "self", NULL
8672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
8673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8677 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
8679 wxPyEndAllowThreads(__tstate
);
8680 if (PyErr_Occurred()) SWIG_fail
;
8684 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8686 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8695 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8696 PyObject
*resultobj
;
8697 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8698 PyObject
* obj0
= 0 ;
8700 (char *) "self", NULL
8703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
8704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8710 wxPyEndAllowThreads(__tstate
);
8711 if (PyErr_Occurred()) SWIG_fail
;
8713 Py_INCREF(Py_None
); resultobj
= Py_None
;
8720 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8721 PyObject
*resultobj
;
8722 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8725 wxString
*arg4
= 0 ;
8726 bool temp4
= False
;
8727 PyObject
* obj0
= 0 ;
8728 PyObject
* obj1
= 0 ;
8729 PyObject
* obj2
= 0 ;
8730 PyObject
* obj3
= 0 ;
8732 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8738 arg2
= (long)SWIG_As_long(obj1
);
8739 if (PyErr_Occurred()) SWIG_fail
;
8740 arg3
= (long)SWIG_As_long(obj2
);
8741 if (PyErr_Occurred()) SWIG_fail
;
8743 arg4
= wxString_in_helper(obj3
);
8744 if (arg4
== NULL
) SWIG_fail
;
8748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8749 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
8751 wxPyEndAllowThreads(__tstate
);
8752 if (PyErr_Occurred()) SWIG_fail
;
8754 Py_INCREF(Py_None
); resultobj
= Py_None
;
8769 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8770 PyObject
*resultobj
;
8771 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8774 PyObject
* obj0
= 0 ;
8775 PyObject
* obj1
= 0 ;
8776 PyObject
* obj2
= 0 ;
8778 (char *) "self",(char *) "from",(char *) "to", NULL
8781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8784 arg2
= (long)SWIG_As_long(obj1
);
8785 if (PyErr_Occurred()) SWIG_fail
;
8786 arg3
= (long)SWIG_As_long(obj2
);
8787 if (PyErr_Occurred()) SWIG_fail
;
8789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8790 (arg1
)->Remove(arg2
,arg3
);
8792 wxPyEndAllowThreads(__tstate
);
8793 if (PyErr_Occurred()) SWIG_fail
;
8795 Py_INCREF(Py_None
); resultobj
= Py_None
;
8802 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8803 PyObject
*resultobj
;
8804 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8805 wxString
*arg2
= 0 ;
8807 bool temp2
= False
;
8808 PyObject
* obj0
= 0 ;
8809 PyObject
* obj1
= 0 ;
8811 (char *) "self",(char *) "file", NULL
8814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8818 arg2
= wxString_in_helper(obj1
);
8819 if (arg2
== NULL
) SWIG_fail
;
8823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8824 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
8826 wxPyEndAllowThreads(__tstate
);
8827 if (PyErr_Occurred()) SWIG_fail
;
8830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8846 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8847 PyObject
*resultobj
;
8848 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8849 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8850 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8852 bool temp2
= False
;
8853 PyObject
* obj0
= 0 ;
8854 PyObject
* obj1
= 0 ;
8856 (char *) "self",(char *) "file", NULL
8859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8864 arg2
= wxString_in_helper(obj1
);
8865 if (arg2
== NULL
) SWIG_fail
;
8870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8871 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8873 wxPyEndAllowThreads(__tstate
);
8874 if (PyErr_Occurred()) SWIG_fail
;
8877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8893 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8894 PyObject
*resultobj
;
8895 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8896 PyObject
* obj0
= 0 ;
8898 (char *) "self", NULL
8901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8906 (arg1
)->MarkDirty();
8908 wxPyEndAllowThreads(__tstate
);
8909 if (PyErr_Occurred()) SWIG_fail
;
8911 Py_INCREF(Py_None
); resultobj
= Py_None
;
8918 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8919 PyObject
*resultobj
;
8920 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8921 PyObject
* obj0
= 0 ;
8923 (char *) "self", NULL
8926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8931 (arg1
)->DiscardEdits();
8933 wxPyEndAllowThreads(__tstate
);
8934 if (PyErr_Occurred()) SWIG_fail
;
8936 Py_INCREF(Py_None
); resultobj
= Py_None
;
8943 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8944 PyObject
*resultobj
;
8945 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8946 unsigned long arg2
;
8947 PyObject
* obj0
= 0 ;
8948 PyObject
* obj1
= 0 ;
8950 (char *) "self",(char *) "len", NULL
8953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8956 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
8957 if (PyErr_Occurred()) SWIG_fail
;
8959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8960 (arg1
)->SetMaxLength(arg2
);
8962 wxPyEndAllowThreads(__tstate
);
8963 if (PyErr_Occurred()) SWIG_fail
;
8965 Py_INCREF(Py_None
); resultobj
= Py_None
;
8972 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8973 PyObject
*resultobj
;
8974 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8975 wxString
*arg2
= 0 ;
8976 bool temp2
= False
;
8977 PyObject
* obj0
= 0 ;
8978 PyObject
* obj1
= 0 ;
8980 (char *) "self",(char *) "text", NULL
8983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
8984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8987 arg2
= wxString_in_helper(obj1
);
8988 if (arg2
== NULL
) SWIG_fail
;
8992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8993 (arg1
)->WriteText((wxString
const &)*arg2
);
8995 wxPyEndAllowThreads(__tstate
);
8996 if (PyErr_Occurred()) SWIG_fail
;
8998 Py_INCREF(Py_None
); resultobj
= Py_None
;
9013 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9014 PyObject
*resultobj
;
9015 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9016 wxString
*arg2
= 0 ;
9017 bool temp2
= False
;
9018 PyObject
* obj0
= 0 ;
9019 PyObject
* obj1
= 0 ;
9021 (char *) "self",(char *) "text", NULL
9024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
9025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9028 arg2
= wxString_in_helper(obj1
);
9029 if (arg2
== NULL
) SWIG_fail
;
9033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9034 (arg1
)->AppendText((wxString
const &)*arg2
);
9036 wxPyEndAllowThreads(__tstate
);
9037 if (PyErr_Occurred()) SWIG_fail
;
9039 Py_INCREF(Py_None
); resultobj
= Py_None
;
9054 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9055 PyObject
*resultobj
;
9056 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9057 wxKeyEvent
*arg2
= 0 ;
9059 PyObject
* obj0
= 0 ;
9060 PyObject
* obj1
= 0 ;
9062 (char *) "self",(char *) "event", NULL
9065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
9066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9068 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
9069 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9072 PyErr_SetString(PyExc_TypeError
,"null reference");
9076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9077 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
9079 wxPyEndAllowThreads(__tstate
);
9080 if (PyErr_Occurred()) SWIG_fail
;
9083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9091 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9092 PyObject
*resultobj
;
9093 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9096 wxTextAttr
*arg4
= 0 ;
9098 PyObject
* obj0
= 0 ;
9099 PyObject
* obj1
= 0 ;
9100 PyObject
* obj2
= 0 ;
9101 PyObject
* obj3
= 0 ;
9103 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
9106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9109 arg2
= (long)SWIG_As_long(obj1
);
9110 if (PyErr_Occurred()) SWIG_fail
;
9111 arg3
= (long)SWIG_As_long(obj2
);
9112 if (PyErr_Occurred()) SWIG_fail
;
9113 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxTextAttr
,
9114 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9117 PyErr_SetString(PyExc_TypeError
,"null reference");
9121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9122 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
9124 wxPyEndAllowThreads(__tstate
);
9125 if (PyErr_Occurred()) SWIG_fail
;
9128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9136 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9137 PyObject
*resultobj
;
9138 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9140 wxTextAttr
*arg3
= 0 ;
9142 PyObject
* obj0
= 0 ;
9143 PyObject
* obj1
= 0 ;
9144 PyObject
* obj2
= 0 ;
9146 (char *) "self",(char *) "position",(char *) "style", NULL
9149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9152 arg2
= (long)SWIG_As_long(obj1
);
9153 if (PyErr_Occurred()) SWIG_fail
;
9154 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextAttr
,
9155 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9158 PyErr_SetString(PyExc_TypeError
,"null reference");
9162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9163 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
9165 wxPyEndAllowThreads(__tstate
);
9166 if (PyErr_Occurred()) SWIG_fail
;
9169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9177 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9178 PyObject
*resultobj
;
9179 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9180 wxTextAttr
*arg2
= 0 ;
9182 PyObject
* obj0
= 0 ;
9183 PyObject
* obj1
= 0 ;
9185 (char *) "self",(char *) "style", NULL
9188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
9189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9191 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
9192 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9195 PyErr_SetString(PyExc_TypeError
,"null reference");
9199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9200 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
9202 wxPyEndAllowThreads(__tstate
);
9203 if (PyErr_Occurred()) SWIG_fail
;
9206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9214 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9215 PyObject
*resultobj
;
9216 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9218 PyObject
* obj0
= 0 ;
9220 (char *) "self", NULL
9223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
9224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9229 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
9230 result
= (wxTextAttr
*) &_result_ref
;
9233 wxPyEndAllowThreads(__tstate
);
9234 if (PyErr_Occurred()) SWIG_fail
;
9236 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
9243 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9244 PyObject
*resultobj
;
9245 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9249 PyObject
* obj0
= 0 ;
9250 PyObject
* obj1
= 0 ;
9251 PyObject
* obj2
= 0 ;
9253 (char *) "self",(char *) "x",(char *) "y", NULL
9256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9259 arg2
= (long)SWIG_As_long(obj1
);
9260 if (PyErr_Occurred()) SWIG_fail
;
9261 arg3
= (long)SWIG_As_long(obj2
);
9262 if (PyErr_Occurred()) SWIG_fail
;
9264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9265 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
9267 wxPyEndAllowThreads(__tstate
);
9268 if (PyErr_Occurred()) SWIG_fail
;
9270 resultobj
= SWIG_From_long((long)result
);
9277 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9278 PyObject
*resultobj
;
9279 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9281 long *arg3
= (long *) 0 ;
9282 long *arg4
= (long *) 0 ;
9287 PyObject
* obj0
= 0 ;
9288 PyObject
* obj1
= 0 ;
9290 (char *) "self",(char *) "pos", NULL
9293 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
9294 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
9295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
9296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9298 arg2
= (long)SWIG_As_long(obj1
);
9299 if (PyErr_Occurred()) SWIG_fail
;
9301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9302 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
9304 wxPyEndAllowThreads(__tstate
);
9305 if (PyErr_Occurred()) SWIG_fail
;
9307 Py_INCREF(Py_None
); resultobj
= Py_None
;
9308 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
9309 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
9310 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
9311 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
9318 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9319 PyObject
*resultobj
;
9320 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9322 PyObject
* obj0
= 0 ;
9323 PyObject
* obj1
= 0 ;
9325 (char *) "self",(char *) "pos", NULL
9328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9331 arg2
= (long)SWIG_As_long(obj1
);
9332 if (PyErr_Occurred()) SWIG_fail
;
9334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9335 (arg1
)->ShowPosition(arg2
);
9337 wxPyEndAllowThreads(__tstate
);
9338 if (PyErr_Occurred()) SWIG_fail
;
9340 Py_INCREF(Py_None
); resultobj
= Py_None
;
9347 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9348 PyObject
*resultobj
;
9349 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9351 long *arg3
= (long *) 0 ;
9352 long *arg4
= (long *) 0 ;
9359 PyObject
* obj0
= 0 ;
9360 PyObject
* obj1
= 0 ;
9362 (char *) "self",(char *) "pt", NULL
9365 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
9366 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
9367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9372 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9376 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
9378 wxPyEndAllowThreads(__tstate
);
9379 if (PyErr_Occurred()) SWIG_fail
;
9381 resultobj
= SWIG_From_int((int)result
);
9382 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
9383 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
9384 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
9385 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
9392 static PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9393 PyObject
*resultobj
;
9394 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9396 long *arg3
= (long *) 0 ;
9401 PyObject
* obj0
= 0 ;
9402 PyObject
* obj1
= 0 ;
9404 (char *) "self",(char *) "pt", NULL
9407 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
9408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) goto fail
;
9409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9413 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9417 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
9419 wxPyEndAllowThreads(__tstate
);
9420 if (PyErr_Occurred()) SWIG_fail
;
9422 resultobj
= SWIG_From_int((int)result
);
9423 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
9424 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
9431 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9432 PyObject
*resultobj
;
9433 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9434 PyObject
* obj0
= 0 ;
9436 (char *) "self", NULL
9439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
9440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9446 wxPyEndAllowThreads(__tstate
);
9447 if (PyErr_Occurred()) SWIG_fail
;
9449 Py_INCREF(Py_None
); resultobj
= Py_None
;
9456 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9457 PyObject
*resultobj
;
9458 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9459 PyObject
* obj0
= 0 ;
9461 (char *) "self", NULL
9464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
9465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9471 wxPyEndAllowThreads(__tstate
);
9472 if (PyErr_Occurred()) SWIG_fail
;
9474 Py_INCREF(Py_None
); resultobj
= Py_None
;
9481 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9482 PyObject
*resultobj
;
9483 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9484 PyObject
* obj0
= 0 ;
9486 (char *) "self", NULL
9489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
9490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9496 wxPyEndAllowThreads(__tstate
);
9497 if (PyErr_Occurred()) SWIG_fail
;
9499 Py_INCREF(Py_None
); resultobj
= Py_None
;
9506 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9507 PyObject
*resultobj
;
9508 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9510 PyObject
* obj0
= 0 ;
9512 (char *) "self", NULL
9515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
9516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9520 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
9522 wxPyEndAllowThreads(__tstate
);
9523 if (PyErr_Occurred()) SWIG_fail
;
9526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9534 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9535 PyObject
*resultobj
;
9536 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9538 PyObject
* obj0
= 0 ;
9540 (char *) "self", NULL
9543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
9544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9548 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
9550 wxPyEndAllowThreads(__tstate
);
9551 if (PyErr_Occurred()) SWIG_fail
;
9554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9562 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9563 PyObject
*resultobj
;
9564 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9566 PyObject
* obj0
= 0 ;
9568 (char *) "self", NULL
9571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
9572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9576 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
9578 wxPyEndAllowThreads(__tstate
);
9579 if (PyErr_Occurred()) SWIG_fail
;
9582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9590 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9591 PyObject
*resultobj
;
9592 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9593 PyObject
* obj0
= 0 ;
9595 (char *) "self", NULL
9598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
9599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9605 wxPyEndAllowThreads(__tstate
);
9606 if (PyErr_Occurred()) SWIG_fail
;
9608 Py_INCREF(Py_None
); resultobj
= Py_None
;
9615 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9616 PyObject
*resultobj
;
9617 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9618 PyObject
* obj0
= 0 ;
9620 (char *) "self", NULL
9623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
9624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9630 wxPyEndAllowThreads(__tstate
);
9631 if (PyErr_Occurred()) SWIG_fail
;
9633 Py_INCREF(Py_None
); resultobj
= Py_None
;
9640 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9641 PyObject
*resultobj
;
9642 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9644 PyObject
* obj0
= 0 ;
9646 (char *) "self", NULL
9649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
9650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9654 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
9656 wxPyEndAllowThreads(__tstate
);
9657 if (PyErr_Occurred()) SWIG_fail
;
9660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9668 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9669 PyObject
*resultobj
;
9670 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9672 PyObject
* obj0
= 0 ;
9674 (char *) "self", NULL
9677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
9678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9682 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
9684 wxPyEndAllowThreads(__tstate
);
9685 if (PyErr_Occurred()) SWIG_fail
;
9688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9696 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9697 PyObject
*resultobj
;
9698 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9700 PyObject
* obj0
= 0 ;
9701 PyObject
* obj1
= 0 ;
9703 (char *) "self",(char *) "pos", NULL
9706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
9707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9709 arg2
= (long)SWIG_As_long(obj1
);
9710 if (PyErr_Occurred()) SWIG_fail
;
9712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9713 (arg1
)->SetInsertionPoint(arg2
);
9715 wxPyEndAllowThreads(__tstate
);
9716 if (PyErr_Occurred()) SWIG_fail
;
9718 Py_INCREF(Py_None
); resultobj
= Py_None
;
9725 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9726 PyObject
*resultobj
;
9727 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9728 PyObject
* obj0
= 0 ;
9730 (char *) "self", NULL
9733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
9734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9738 (arg1
)->SetInsertionPointEnd();
9740 wxPyEndAllowThreads(__tstate
);
9741 if (PyErr_Occurred()) SWIG_fail
;
9743 Py_INCREF(Py_None
); resultobj
= Py_None
;
9750 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9751 PyObject
*resultobj
;
9752 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9754 PyObject
* obj0
= 0 ;
9756 (char *) "self", NULL
9759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
9760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9764 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
9766 wxPyEndAllowThreads(__tstate
);
9767 if (PyErr_Occurred()) SWIG_fail
;
9769 resultobj
= SWIG_From_long((long)result
);
9776 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9777 PyObject
*resultobj
;
9778 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9780 PyObject
* obj0
= 0 ;
9782 (char *) "self", NULL
9785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
9786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9790 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
9792 wxPyEndAllowThreads(__tstate
);
9793 if (PyErr_Occurred()) SWIG_fail
;
9795 resultobj
= SWIG_From_long((long)result
);
9802 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9803 PyObject
*resultobj
;
9804 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9807 PyObject
* obj0
= 0 ;
9808 PyObject
* obj1
= 0 ;
9809 PyObject
* obj2
= 0 ;
9811 (char *) "self",(char *) "from",(char *) "to", NULL
9814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9817 arg2
= (long)SWIG_As_long(obj1
);
9818 if (PyErr_Occurred()) SWIG_fail
;
9819 arg3
= (long)SWIG_As_long(obj2
);
9820 if (PyErr_Occurred()) SWIG_fail
;
9822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9823 (arg1
)->SetSelection(arg2
,arg3
);
9825 wxPyEndAllowThreads(__tstate
);
9826 if (PyErr_Occurred()) SWIG_fail
;
9828 Py_INCREF(Py_None
); resultobj
= Py_None
;
9835 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9836 PyObject
*resultobj
;
9837 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9838 PyObject
* obj0
= 0 ;
9840 (char *) "self", NULL
9843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
9844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9848 (arg1
)->SelectAll();
9850 wxPyEndAllowThreads(__tstate
);
9851 if (PyErr_Occurred()) SWIG_fail
;
9853 Py_INCREF(Py_None
); resultobj
= Py_None
;
9860 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9861 PyObject
*resultobj
;
9862 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9864 PyObject
* obj0
= 0 ;
9865 PyObject
* obj1
= 0 ;
9867 (char *) "self",(char *) "editable", NULL
9870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
9871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9873 arg2
= (bool)SWIG_As_bool(obj1
);
9874 if (PyErr_Occurred()) SWIG_fail
;
9876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9877 (arg1
)->SetEditable(arg2
);
9879 wxPyEndAllowThreads(__tstate
);
9880 if (PyErr_Occurred()) SWIG_fail
;
9882 Py_INCREF(Py_None
); resultobj
= Py_None
;
9889 static PyObject
*_wrap_TextCtrl_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9890 PyObject
*resultobj
;
9891 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9892 wxString
*arg2
= 0 ;
9893 bool temp2
= False
;
9894 PyObject
* obj0
= 0 ;
9895 PyObject
* obj1
= 0 ;
9897 (char *) "self",(char *) "text", NULL
9900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9904 arg2
= wxString_in_helper(obj1
);
9905 if (arg2
== NULL
) SWIG_fail
;
9909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9910 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
9912 wxPyEndAllowThreads(__tstate
);
9913 if (PyErr_Occurred()) SWIG_fail
;
9915 Py_INCREF(Py_None
); resultobj
= Py_None
;
9930 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9931 PyObject
*resultobj
;
9932 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9936 PyObject
* obj0
= 0 ;
9937 PyObject
* obj1
= 0 ;
9938 PyObject
* obj2
= 0 ;
9940 (char *) "self",(char *) "from",(char *) "to", NULL
9943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9946 arg2
= (long)SWIG_As_long(obj1
);
9947 if (PyErr_Occurred()) SWIG_fail
;
9948 arg3
= (long)SWIG_As_long(obj2
);
9949 if (PyErr_Occurred()) SWIG_fail
;
9951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9952 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
9954 wxPyEndAllowThreads(__tstate
);
9955 if (PyErr_Occurred()) SWIG_fail
;
9959 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9961 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9970 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9971 PyObject
*resultobj
;
9972 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
9973 wxVisualAttributes result
;
9974 PyObject
* obj0
= 0 ;
9976 (char *) "variant", NULL
9979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
9981 arg1
= (int)SWIG_As_int(obj0
);
9982 if (PyErr_Occurred()) SWIG_fail
;
9985 if (!wxPyCheckForApp()) SWIG_fail
;
9986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9987 result
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
9989 wxPyEndAllowThreads(__tstate
);
9990 if (PyErr_Occurred()) SWIG_fail
;
9993 wxVisualAttributes
* resultptr
;
9994 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
9995 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10003 static PyObject
* TextCtrl_swigregister(PyObject
*, PyObject
*args
) {
10005 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10006 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
10008 return Py_BuildValue((char *)"");
10010 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10011 PyObject
*resultobj
;
10013 wxMouseEvent
*arg2
= 0 ;
10016 wxTextUrlEvent
*result
;
10017 PyObject
* obj0
= 0 ;
10018 PyObject
* obj1
= 0 ;
10019 PyObject
* obj2
= 0 ;
10020 PyObject
* obj3
= 0 ;
10021 char *kwnames
[] = {
10022 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
10025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10026 arg1
= (int)SWIG_As_int(obj0
);
10027 if (PyErr_Occurred()) SWIG_fail
;
10028 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
,
10029 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10031 if (arg2
== NULL
) {
10032 PyErr_SetString(PyExc_TypeError
,"null reference");
10035 arg3
= (long)SWIG_As_long(obj2
);
10036 if (PyErr_Occurred()) SWIG_fail
;
10037 arg4
= (long)SWIG_As_long(obj3
);
10038 if (PyErr_Occurred()) SWIG_fail
;
10040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10041 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
10043 wxPyEndAllowThreads(__tstate
);
10044 if (PyErr_Occurred()) SWIG_fail
;
10046 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
10053 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10054 PyObject
*resultobj
;
10055 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
10056 wxMouseEvent
*result
;
10057 PyObject
* obj0
= 0 ;
10058 char *kwnames
[] = {
10059 (char *) "self", NULL
10062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
10063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
10064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10068 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
10069 result
= (wxMouseEvent
*) &_result_ref
;
10072 wxPyEndAllowThreads(__tstate
);
10073 if (PyErr_Occurred()) SWIG_fail
;
10075 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
10082 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10083 PyObject
*resultobj
;
10084 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
10086 PyObject
* obj0
= 0 ;
10087 char *kwnames
[] = {
10088 (char *) "self", NULL
10091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",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();
10096 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
10098 wxPyEndAllowThreads(__tstate
);
10099 if (PyErr_Occurred()) SWIG_fail
;
10101 resultobj
= SWIG_From_long((long)result
);
10108 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10109 PyObject
*resultobj
;
10110 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
10112 PyObject
* obj0
= 0 ;
10113 char *kwnames
[] = {
10114 (char *) "self", NULL
10117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
10118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
10119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10122 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
10124 wxPyEndAllowThreads(__tstate
);
10125 if (PyErr_Occurred()) SWIG_fail
;
10127 resultobj
= SWIG_From_long((long)result
);
10134 static PyObject
* TextUrlEvent_swigregister(PyObject
*, PyObject
*args
) {
10136 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10137 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
10139 return Py_BuildValue((char *)"");
10141 static int _wrap_ScrollBarNameStr_set(PyObject
*) {
10142 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
10147 static PyObject
*_wrap_ScrollBarNameStr_get() {
10152 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
10154 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
10161 static PyObject
*_wrap_new_ScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10162 PyObject
*resultobj
;
10163 wxWindow
*arg1
= (wxWindow
*) 0 ;
10164 int arg2
= (int) -1 ;
10165 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10166 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10167 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10168 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10169 long arg5
= (long) wxSB_HORIZONTAL
;
10170 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
10171 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
10172 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
10173 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10174 wxScrollBar
*result
;
10177 bool temp7
= False
;
10178 PyObject
* obj0
= 0 ;
10179 PyObject
* obj1
= 0 ;
10180 PyObject
* obj2
= 0 ;
10181 PyObject
* obj3
= 0 ;
10182 PyObject
* obj4
= 0 ;
10183 PyObject
* obj5
= 0 ;
10184 PyObject
* obj6
= 0 ;
10185 char *kwnames
[] = {
10186 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10193 arg2
= (int)SWIG_As_int(obj1
);
10194 if (PyErr_Occurred()) SWIG_fail
;
10199 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10205 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10209 arg5
= (long)SWIG_As_long(obj4
);
10210 if (PyErr_Occurred()) SWIG_fail
;
10213 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
10214 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10216 if (arg6
== NULL
) {
10217 PyErr_SetString(PyExc_TypeError
,"null reference");
10223 arg7
= wxString_in_helper(obj6
);
10224 if (arg7
== NULL
) SWIG_fail
;
10229 if (!wxPyCheckForApp()) SWIG_fail
;
10230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10231 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
10233 wxPyEndAllowThreads(__tstate
);
10234 if (PyErr_Occurred()) SWIG_fail
;
10236 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10251 static PyObject
*_wrap_new_PreScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10252 PyObject
*resultobj
;
10253 wxScrollBar
*result
;
10254 char *kwnames
[] = {
10258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
10260 if (!wxPyCheckForApp()) SWIG_fail
;
10261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10262 result
= (wxScrollBar
*)new wxScrollBar();
10264 wxPyEndAllowThreads(__tstate
);
10265 if (PyErr_Occurred()) SWIG_fail
;
10267 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10274 static PyObject
*_wrap_ScrollBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10275 PyObject
*resultobj
;
10276 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10277 wxWindow
*arg2
= (wxWindow
*) 0 ;
10278 int arg3
= (int) -1 ;
10279 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10280 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10281 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10282 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10283 long arg6
= (long) wxSB_HORIZONTAL
;
10284 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10285 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10286 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
10287 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10291 bool temp8
= False
;
10292 PyObject
* obj0
= 0 ;
10293 PyObject
* obj1
= 0 ;
10294 PyObject
* obj2
= 0 ;
10295 PyObject
* obj3
= 0 ;
10296 PyObject
* obj4
= 0 ;
10297 PyObject
* obj5
= 0 ;
10298 PyObject
* obj6
= 0 ;
10299 PyObject
* obj7
= 0 ;
10300 char *kwnames
[] = {
10301 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
10305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10307 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10310 arg3
= (int)SWIG_As_int(obj2
);
10311 if (PyErr_Occurred()) SWIG_fail
;
10316 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10322 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10326 arg6
= (long)SWIG_As_long(obj5
);
10327 if (PyErr_Occurred()) SWIG_fail
;
10330 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
10331 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10333 if (arg7
== NULL
) {
10334 PyErr_SetString(PyExc_TypeError
,"null reference");
10340 arg8
= wxString_in_helper(obj7
);
10341 if (arg8
== NULL
) SWIG_fail
;
10346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10347 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10349 wxPyEndAllowThreads(__tstate
);
10350 if (PyErr_Occurred()) SWIG_fail
;
10353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10369 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10370 PyObject
*resultobj
;
10371 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10373 PyObject
* obj0
= 0 ;
10374 char *kwnames
[] = {
10375 (char *) "self", NULL
10378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
10379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10383 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
10385 wxPyEndAllowThreads(__tstate
);
10386 if (PyErr_Occurred()) SWIG_fail
;
10388 resultobj
= SWIG_From_int((int)result
);
10395 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10396 PyObject
*resultobj
;
10397 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10399 PyObject
* obj0
= 0 ;
10400 char *kwnames
[] = {
10401 (char *) "self", NULL
10404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
10405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10409 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
10411 wxPyEndAllowThreads(__tstate
);
10412 if (PyErr_Occurred()) SWIG_fail
;
10414 resultobj
= SWIG_From_int((int)result
);
10421 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10422 PyObject
*resultobj
;
10423 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10425 PyObject
* obj0
= 0 ;
10426 char *kwnames
[] = {
10427 (char *) "self", NULL
10430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
10431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10435 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
10437 wxPyEndAllowThreads(__tstate
);
10438 if (PyErr_Occurred()) SWIG_fail
;
10440 resultobj
= SWIG_From_int((int)result
);
10447 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10448 PyObject
*resultobj
;
10449 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10451 PyObject
* obj0
= 0 ;
10452 char *kwnames
[] = {
10453 (char *) "self", NULL
10456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
10457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10461 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
10463 wxPyEndAllowThreads(__tstate
);
10464 if (PyErr_Occurred()) SWIG_fail
;
10466 resultobj
= SWIG_From_int((int)result
);
10473 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10474 PyObject
*resultobj
;
10475 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10477 PyObject
* obj0
= 0 ;
10478 char *kwnames
[] = {
10479 (char *) "self", NULL
10482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
10483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10487 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
10489 wxPyEndAllowThreads(__tstate
);
10490 if (PyErr_Occurred()) SWIG_fail
;
10493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10501 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10502 PyObject
*resultobj
;
10503 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10505 PyObject
* obj0
= 0 ;
10506 PyObject
* obj1
= 0 ;
10507 char *kwnames
[] = {
10508 (char *) "self",(char *) "viewStart", NULL
10511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10514 arg2
= (int)SWIG_As_int(obj1
);
10515 if (PyErr_Occurred()) SWIG_fail
;
10517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10518 (arg1
)->SetThumbPosition(arg2
);
10520 wxPyEndAllowThreads(__tstate
);
10521 if (PyErr_Occurred()) SWIG_fail
;
10523 Py_INCREF(Py_None
); resultobj
= Py_None
;
10530 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10531 PyObject
*resultobj
;
10532 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10537 bool arg6
= (bool) True
;
10538 PyObject
* obj0
= 0 ;
10539 PyObject
* obj1
= 0 ;
10540 PyObject
* obj2
= 0 ;
10541 PyObject
* obj3
= 0 ;
10542 PyObject
* obj4
= 0 ;
10543 PyObject
* obj5
= 0 ;
10544 char *kwnames
[] = {
10545 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
10548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10551 arg2
= (int)SWIG_As_int(obj1
);
10552 if (PyErr_Occurred()) SWIG_fail
;
10553 arg3
= (int)SWIG_As_int(obj2
);
10554 if (PyErr_Occurred()) SWIG_fail
;
10555 arg4
= (int)SWIG_As_int(obj3
);
10556 if (PyErr_Occurred()) SWIG_fail
;
10557 arg5
= (int)SWIG_As_int(obj4
);
10558 if (PyErr_Occurred()) SWIG_fail
;
10560 arg6
= (bool)SWIG_As_bool(obj5
);
10561 if (PyErr_Occurred()) SWIG_fail
;
10564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10565 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
10567 wxPyEndAllowThreads(__tstate
);
10568 if (PyErr_Occurred()) SWIG_fail
;
10570 Py_INCREF(Py_None
); resultobj
= Py_None
;
10577 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10578 PyObject
*resultobj
;
10579 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10580 wxVisualAttributes result
;
10581 PyObject
* obj0
= 0 ;
10582 char *kwnames
[] = {
10583 (char *) "variant", NULL
10586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10588 arg1
= (int)SWIG_As_int(obj0
);
10589 if (PyErr_Occurred()) SWIG_fail
;
10592 if (!wxPyCheckForApp()) SWIG_fail
;
10593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10594 result
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10596 wxPyEndAllowThreads(__tstate
);
10597 if (PyErr_Occurred()) SWIG_fail
;
10600 wxVisualAttributes
* resultptr
;
10601 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10602 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10610 static PyObject
* ScrollBar_swigregister(PyObject
*, PyObject
*args
) {
10612 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10613 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
10615 return Py_BuildValue((char *)"");
10617 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*) {
10618 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
10623 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
10628 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10630 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10637 static int _wrap_SpinCtrlNameStr_set(PyObject
*) {
10638 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
10643 static PyObject
*_wrap_SpinCtrlNameStr_get() {
10648 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10650 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10657 static PyObject
*_wrap_new_SpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10658 PyObject
*resultobj
;
10659 wxWindow
*arg1
= (wxWindow
*) 0 ;
10660 int arg2
= (int) -1 ;
10661 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10662 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10663 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10664 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10665 long arg5
= (long) wxSP_HORIZONTAL
;
10666 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
10667 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10668 wxSpinButton
*result
;
10671 bool temp6
= False
;
10672 PyObject
* obj0
= 0 ;
10673 PyObject
* obj1
= 0 ;
10674 PyObject
* obj2
= 0 ;
10675 PyObject
* obj3
= 0 ;
10676 PyObject
* obj4
= 0 ;
10677 PyObject
* obj5
= 0 ;
10678 char *kwnames
[] = {
10679 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10686 arg2
= (int)SWIG_As_int(obj1
);
10687 if (PyErr_Occurred()) SWIG_fail
;
10692 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10698 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10702 arg5
= (long)SWIG_As_long(obj4
);
10703 if (PyErr_Occurred()) SWIG_fail
;
10707 arg6
= wxString_in_helper(obj5
);
10708 if (arg6
== NULL
) SWIG_fail
;
10713 if (!wxPyCheckForApp()) SWIG_fail
;
10714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10715 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10717 wxPyEndAllowThreads(__tstate
);
10718 if (PyErr_Occurred()) SWIG_fail
;
10720 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10735 static PyObject
*_wrap_new_PreSpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10736 PyObject
*resultobj
;
10737 wxSpinButton
*result
;
10738 char *kwnames
[] = {
10742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
10744 if (!wxPyCheckForApp()) SWIG_fail
;
10745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10746 result
= (wxSpinButton
*)new wxSpinButton();
10748 wxPyEndAllowThreads(__tstate
);
10749 if (PyErr_Occurred()) SWIG_fail
;
10751 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10758 static PyObject
*_wrap_SpinButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10759 PyObject
*resultobj
;
10760 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10761 wxWindow
*arg2
= (wxWindow
*) 0 ;
10762 int arg3
= (int) -1 ;
10763 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10764 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10765 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10766 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10767 long arg6
= (long) wxSP_HORIZONTAL
;
10768 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
10769 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10773 bool temp7
= False
;
10774 PyObject
* obj0
= 0 ;
10775 PyObject
* obj1
= 0 ;
10776 PyObject
* obj2
= 0 ;
10777 PyObject
* obj3
= 0 ;
10778 PyObject
* obj4
= 0 ;
10779 PyObject
* obj5
= 0 ;
10780 PyObject
* obj6
= 0 ;
10781 char *kwnames
[] = {
10782 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10788 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10791 arg3
= (int)SWIG_As_int(obj2
);
10792 if (PyErr_Occurred()) SWIG_fail
;
10797 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10803 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10807 arg6
= (long)SWIG_As_long(obj5
);
10808 if (PyErr_Occurred()) SWIG_fail
;
10812 arg7
= wxString_in_helper(obj6
);
10813 if (arg7
== NULL
) SWIG_fail
;
10818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10819 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10821 wxPyEndAllowThreads(__tstate
);
10822 if (PyErr_Occurred()) SWIG_fail
;
10825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10841 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10842 PyObject
*resultobj
;
10843 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10845 PyObject
* obj0
= 0 ;
10846 char *kwnames
[] = {
10847 (char *) "self", NULL
10850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
10851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10855 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
10857 wxPyEndAllowThreads(__tstate
);
10858 if (PyErr_Occurred()) SWIG_fail
;
10860 resultobj
= SWIG_From_int((int)result
);
10867 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10868 PyObject
*resultobj
;
10869 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10871 PyObject
* obj0
= 0 ;
10872 char *kwnames
[] = {
10873 (char *) "self", NULL
10876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
10877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10881 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
10883 wxPyEndAllowThreads(__tstate
);
10884 if (PyErr_Occurred()) SWIG_fail
;
10886 resultobj
= SWIG_From_int((int)result
);
10893 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10894 PyObject
*resultobj
;
10895 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10897 PyObject
* obj0
= 0 ;
10898 char *kwnames
[] = {
10899 (char *) "self", NULL
10902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
10903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10907 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
10909 wxPyEndAllowThreads(__tstate
);
10910 if (PyErr_Occurred()) SWIG_fail
;
10912 resultobj
= SWIG_From_int((int)result
);
10919 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10920 PyObject
*resultobj
;
10921 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10923 PyObject
* obj0
= 0 ;
10924 PyObject
* obj1
= 0 ;
10925 char *kwnames
[] = {
10926 (char *) "self",(char *) "val", NULL
10929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10932 arg2
= (int)SWIG_As_int(obj1
);
10933 if (PyErr_Occurred()) SWIG_fail
;
10935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10936 (arg1
)->SetValue(arg2
);
10938 wxPyEndAllowThreads(__tstate
);
10939 if (PyErr_Occurred()) SWIG_fail
;
10941 Py_INCREF(Py_None
); resultobj
= Py_None
;
10948 static PyObject
*_wrap_SpinButton_SetMin(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 *) "minVal", NULL
10958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",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
)->SetMin(arg2
);
10967 wxPyEndAllowThreads(__tstate
);
10968 if (PyErr_Occurred()) SWIG_fail
;
10970 Py_INCREF(Py_None
); resultobj
= Py_None
;
10977 static PyObject
*_wrap_SpinButton_SetMax(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 *) "maxVal", NULL
10987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",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
)->SetMax(arg2
);
10996 wxPyEndAllowThreads(__tstate
);
10997 if (PyErr_Occurred()) SWIG_fail
;
10999 Py_INCREF(Py_None
); resultobj
= Py_None
;
11006 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11007 PyObject
*resultobj
;
11008 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
11011 PyObject
* obj0
= 0 ;
11012 PyObject
* obj1
= 0 ;
11013 PyObject
* obj2
= 0 ;
11014 char *kwnames
[] = {
11015 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
11020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11021 arg2
= (int)SWIG_As_int(obj1
);
11022 if (PyErr_Occurred()) SWIG_fail
;
11023 arg3
= (int)SWIG_As_int(obj2
);
11024 if (PyErr_Occurred()) SWIG_fail
;
11026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11027 (arg1
)->SetRange(arg2
,arg3
);
11029 wxPyEndAllowThreads(__tstate
);
11030 if (PyErr_Occurred()) SWIG_fail
;
11032 Py_INCREF(Py_None
); resultobj
= Py_None
;
11039 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11040 PyObject
*resultobj
;
11041 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
11043 PyObject
* obj0
= 0 ;
11044 char *kwnames
[] = {
11045 (char *) "self", NULL
11048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
11049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
11050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11053 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
11055 wxPyEndAllowThreads(__tstate
);
11056 if (PyErr_Occurred()) SWIG_fail
;
11059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11067 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11068 PyObject
*resultobj
;
11069 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
11070 wxVisualAttributes result
;
11071 PyObject
* obj0
= 0 ;
11072 char *kwnames
[] = {
11073 (char *) "variant", NULL
11076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11078 arg1
= (int)SWIG_As_int(obj0
);
11079 if (PyErr_Occurred()) SWIG_fail
;
11082 if (!wxPyCheckForApp()) SWIG_fail
;
11083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11084 result
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11086 wxPyEndAllowThreads(__tstate
);
11087 if (PyErr_Occurred()) SWIG_fail
;
11090 wxVisualAttributes
* resultptr
;
11091 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
11092 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11100 static PyObject
* SpinButton_swigregister(PyObject
*, PyObject
*args
) {
11102 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11103 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
11105 return Py_BuildValue((char *)"");
11107 static PyObject
*_wrap_new_SpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11108 PyObject
*resultobj
;
11109 wxWindow
*arg1
= (wxWindow
*) 0 ;
11110 int arg2
= (int) -1 ;
11111 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11112 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11113 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11114 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11115 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11116 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11117 long arg6
= (long) wxSP_ARROW_KEYS
;
11118 int arg7
= (int) 0 ;
11119 int arg8
= (int) 100 ;
11120 int arg9
= (int) 0 ;
11121 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
11122 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11123 wxSpinCtrl
*result
;
11124 bool temp3
= False
;
11127 bool temp10
= False
;
11128 PyObject
* obj0
= 0 ;
11129 PyObject
* obj1
= 0 ;
11130 PyObject
* obj2
= 0 ;
11131 PyObject
* obj3
= 0 ;
11132 PyObject
* obj4
= 0 ;
11133 PyObject
* obj5
= 0 ;
11134 PyObject
* obj6
= 0 ;
11135 PyObject
* obj7
= 0 ;
11136 PyObject
* obj8
= 0 ;
11137 PyObject
* obj9
= 0 ;
11138 char *kwnames
[] = {
11139 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11146 arg2
= (int)SWIG_As_int(obj1
);
11147 if (PyErr_Occurred()) SWIG_fail
;
11151 arg3
= wxString_in_helper(obj2
);
11152 if (arg3
== NULL
) SWIG_fail
;
11159 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11165 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11169 arg6
= (long)SWIG_As_long(obj5
);
11170 if (PyErr_Occurred()) SWIG_fail
;
11173 arg7
= (int)SWIG_As_int(obj6
);
11174 if (PyErr_Occurred()) SWIG_fail
;
11177 arg8
= (int)SWIG_As_int(obj7
);
11178 if (PyErr_Occurred()) SWIG_fail
;
11181 arg9
= (int)SWIG_As_int(obj8
);
11182 if (PyErr_Occurred()) SWIG_fail
;
11186 arg10
= wxString_in_helper(obj9
);
11187 if (arg10
== NULL
) SWIG_fail
;
11192 if (!wxPyCheckForApp()) SWIG_fail
;
11193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11194 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
11196 wxPyEndAllowThreads(__tstate
);
11197 if (PyErr_Occurred()) SWIG_fail
;
11199 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11222 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11223 PyObject
*resultobj
;
11224 wxSpinCtrl
*result
;
11225 char *kwnames
[] = {
11229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
11231 if (!wxPyCheckForApp()) SWIG_fail
;
11232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11233 result
= (wxSpinCtrl
*)new wxSpinCtrl();
11235 wxPyEndAllowThreads(__tstate
);
11236 if (PyErr_Occurred()) SWIG_fail
;
11238 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11245 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11246 PyObject
*resultobj
;
11247 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11248 wxWindow
*arg2
= (wxWindow
*) 0 ;
11249 int arg3
= (int) -1 ;
11250 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11251 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11252 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11253 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11254 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11255 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11256 long arg7
= (long) wxSP_ARROW_KEYS
;
11257 int arg8
= (int) 0 ;
11258 int arg9
= (int) 100 ;
11259 int arg10
= (int) 0 ;
11260 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
11261 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11263 bool temp4
= False
;
11266 bool temp11
= False
;
11267 PyObject
* obj0
= 0 ;
11268 PyObject
* obj1
= 0 ;
11269 PyObject
* obj2
= 0 ;
11270 PyObject
* obj3
= 0 ;
11271 PyObject
* obj4
= 0 ;
11272 PyObject
* obj5
= 0 ;
11273 PyObject
* obj6
= 0 ;
11274 PyObject
* obj7
= 0 ;
11275 PyObject
* obj8
= 0 ;
11276 PyObject
* obj9
= 0 ;
11277 PyObject
* obj10
= 0 ;
11278 char *kwnames
[] = {
11279 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11285 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11288 arg3
= (int)SWIG_As_int(obj2
);
11289 if (PyErr_Occurred()) SWIG_fail
;
11293 arg4
= wxString_in_helper(obj3
);
11294 if (arg4
== NULL
) SWIG_fail
;
11301 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11307 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11311 arg7
= (long)SWIG_As_long(obj6
);
11312 if (PyErr_Occurred()) SWIG_fail
;
11315 arg8
= (int)SWIG_As_int(obj7
);
11316 if (PyErr_Occurred()) SWIG_fail
;
11319 arg9
= (int)SWIG_As_int(obj8
);
11320 if (PyErr_Occurred()) SWIG_fail
;
11323 arg10
= (int)SWIG_As_int(obj9
);
11324 if (PyErr_Occurred()) SWIG_fail
;
11328 arg11
= wxString_in_helper(obj10
);
11329 if (arg11
== NULL
) SWIG_fail
;
11334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11335 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
11337 wxPyEndAllowThreads(__tstate
);
11338 if (PyErr_Occurred()) SWIG_fail
;
11341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11365 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11366 PyObject
*resultobj
;
11367 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11369 PyObject
* obj0
= 0 ;
11370 char *kwnames
[] = {
11371 (char *) "self", NULL
11374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
11375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11379 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
11381 wxPyEndAllowThreads(__tstate
);
11382 if (PyErr_Occurred()) SWIG_fail
;
11384 resultobj
= SWIG_From_int((int)result
);
11391 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11392 PyObject
*resultobj
;
11393 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11395 PyObject
* obj0
= 0 ;
11396 PyObject
* obj1
= 0 ;
11397 char *kwnames
[] = {
11398 (char *) "self",(char *) "value", NULL
11401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11404 arg2
= (int)SWIG_As_int(obj1
);
11405 if (PyErr_Occurred()) SWIG_fail
;
11407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11408 (arg1
)->SetValue(arg2
);
11410 wxPyEndAllowThreads(__tstate
);
11411 if (PyErr_Occurred()) SWIG_fail
;
11413 Py_INCREF(Py_None
); resultobj
= Py_None
;
11420 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11421 PyObject
*resultobj
;
11422 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11423 wxString
*arg2
= 0 ;
11424 bool temp2
= False
;
11425 PyObject
* obj0
= 0 ;
11426 PyObject
* obj1
= 0 ;
11427 char *kwnames
[] = {
11428 (char *) "self",(char *) "text", NULL
11431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
11432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11435 arg2
= wxString_in_helper(obj1
);
11436 if (arg2
== NULL
) SWIG_fail
;
11440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11441 (arg1
)->SetValue((wxString
const &)*arg2
);
11443 wxPyEndAllowThreads(__tstate
);
11444 if (PyErr_Occurred()) SWIG_fail
;
11446 Py_INCREF(Py_None
); resultobj
= Py_None
;
11461 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11462 PyObject
*resultobj
;
11463 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11466 PyObject
* obj0
= 0 ;
11467 PyObject
* obj1
= 0 ;
11468 PyObject
* obj2
= 0 ;
11469 char *kwnames
[] = {
11470 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11476 arg2
= (int)SWIG_As_int(obj1
);
11477 if (PyErr_Occurred()) SWIG_fail
;
11478 arg3
= (int)SWIG_As_int(obj2
);
11479 if (PyErr_Occurred()) SWIG_fail
;
11481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11482 (arg1
)->SetRange(arg2
,arg3
);
11484 wxPyEndAllowThreads(__tstate
);
11485 if (PyErr_Occurred()) SWIG_fail
;
11487 Py_INCREF(Py_None
); resultobj
= Py_None
;
11494 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11495 PyObject
*resultobj
;
11496 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11498 PyObject
* obj0
= 0 ;
11499 char *kwnames
[] = {
11500 (char *) "self", NULL
11503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
11504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11508 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
11510 wxPyEndAllowThreads(__tstate
);
11511 if (PyErr_Occurred()) SWIG_fail
;
11513 resultobj
= SWIG_From_int((int)result
);
11520 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11521 PyObject
*resultobj
;
11522 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11524 PyObject
* obj0
= 0 ;
11525 char *kwnames
[] = {
11526 (char *) "self", NULL
11529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
11530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11534 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
11536 wxPyEndAllowThreads(__tstate
);
11537 if (PyErr_Occurred()) SWIG_fail
;
11539 resultobj
= SWIG_From_int((int)result
);
11546 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11547 PyObject
*resultobj
;
11548 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11551 PyObject
* obj0
= 0 ;
11552 PyObject
* obj1
= 0 ;
11553 PyObject
* obj2
= 0 ;
11554 char *kwnames
[] = {
11555 (char *) "self",(char *) "from",(char *) "to", NULL
11558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11561 arg2
= (long)SWIG_As_long(obj1
);
11562 if (PyErr_Occurred()) SWIG_fail
;
11563 arg3
= (long)SWIG_As_long(obj2
);
11564 if (PyErr_Occurred()) SWIG_fail
;
11566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11567 (arg1
)->SetSelection(arg2
,arg3
);
11569 wxPyEndAllowThreads(__tstate
);
11570 if (PyErr_Occurred()) SWIG_fail
;
11572 Py_INCREF(Py_None
); resultobj
= Py_None
;
11579 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11580 PyObject
*resultobj
;
11581 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
11582 wxVisualAttributes result
;
11583 PyObject
* obj0
= 0 ;
11584 char *kwnames
[] = {
11585 (char *) "variant", NULL
11588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11590 arg1
= (int)SWIG_As_int(obj0
);
11591 if (PyErr_Occurred()) SWIG_fail
;
11594 if (!wxPyCheckForApp()) SWIG_fail
;
11595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11596 result
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11598 wxPyEndAllowThreads(__tstate
);
11599 if (PyErr_Occurred()) SWIG_fail
;
11602 wxVisualAttributes
* resultptr
;
11603 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
11604 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11612 static PyObject
* SpinCtrl_swigregister(PyObject
*, PyObject
*args
) {
11614 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11615 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
11617 return Py_BuildValue((char *)"");
11619 static PyObject
*_wrap_new_SpinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11620 PyObject
*resultobj
;
11621 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11622 int arg2
= (int) 0 ;
11623 wxSpinEvent
*result
;
11624 PyObject
* obj0
= 0 ;
11625 PyObject
* obj1
= 0 ;
11626 char *kwnames
[] = {
11627 (char *) "commandType",(char *) "winid", NULL
11630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11632 arg1
= (wxEventType
)SWIG_As_int(obj0
);
11633 if (PyErr_Occurred()) SWIG_fail
;
11636 arg2
= (int)SWIG_As_int(obj1
);
11637 if (PyErr_Occurred()) SWIG_fail
;
11640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11641 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
11643 wxPyEndAllowThreads(__tstate
);
11644 if (PyErr_Occurred()) SWIG_fail
;
11646 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
11653 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11654 PyObject
*resultobj
;
11655 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11657 PyObject
* obj0
= 0 ;
11658 char *kwnames
[] = {
11659 (char *) "self", NULL
11662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11667 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
11669 wxPyEndAllowThreads(__tstate
);
11670 if (PyErr_Occurred()) SWIG_fail
;
11672 resultobj
= SWIG_From_int((int)result
);
11679 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11680 PyObject
*resultobj
;
11681 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11683 PyObject
* obj0
= 0 ;
11684 PyObject
* obj1
= 0 ;
11685 char *kwnames
[] = {
11686 (char *) "self",(char *) "pos", NULL
11689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11692 arg2
= (int)SWIG_As_int(obj1
);
11693 if (PyErr_Occurred()) SWIG_fail
;
11695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11696 (arg1
)->SetPosition(arg2
);
11698 wxPyEndAllowThreads(__tstate
);
11699 if (PyErr_Occurred()) SWIG_fail
;
11701 Py_INCREF(Py_None
); resultobj
= Py_None
;
11708 static PyObject
* SpinEvent_swigregister(PyObject
*, PyObject
*args
) {
11710 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11711 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
11713 return Py_BuildValue((char *)"");
11715 static int _wrap_RadioBoxNameStr_set(PyObject
*) {
11716 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
11721 static PyObject
*_wrap_RadioBoxNameStr_get() {
11726 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11728 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11735 static int _wrap_RadioButtonNameStr_set(PyObject
*) {
11736 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
11741 static PyObject
*_wrap_RadioButtonNameStr_get() {
11746 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11748 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11755 static PyObject
*_wrap_new_RadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11756 PyObject
*resultobj
;
11757 wxWindow
*arg1
= (wxWindow
*) 0 ;
11758 int arg2
= (int) -1 ;
11759 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11760 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11761 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11762 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11763 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11764 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11765 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
11766 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
11767 int arg7
= (int) 0 ;
11768 long arg8
= (long) wxRA_HORIZONTAL
;
11769 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11770 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11771 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
11772 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11773 wxRadioBox
*result
;
11774 bool temp3
= False
;
11777 bool temp6
= False
;
11778 bool temp10
= False
;
11779 PyObject
* obj0
= 0 ;
11780 PyObject
* obj1
= 0 ;
11781 PyObject
* obj2
= 0 ;
11782 PyObject
* obj3
= 0 ;
11783 PyObject
* obj4
= 0 ;
11784 PyObject
* obj5
= 0 ;
11785 PyObject
* obj6
= 0 ;
11786 PyObject
* obj7
= 0 ;
11787 PyObject
* obj8
= 0 ;
11788 PyObject
* obj9
= 0 ;
11789 char *kwnames
[] = {
11790 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11797 arg2
= (int)SWIG_As_int(obj1
);
11798 if (PyErr_Occurred()) SWIG_fail
;
11802 arg3
= wxString_in_helper(obj2
);
11803 if (arg3
== NULL
) SWIG_fail
;
11810 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11816 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11821 if (! PySequence_Check(obj5
)) {
11822 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11825 arg6
= new wxArrayString
;
11827 int i
, len
=PySequence_Length(obj5
);
11828 for (i
=0; i
<len
; i
++) {
11829 PyObject
* item
= PySequence_GetItem(obj5
, i
);
11831 PyObject
* str
= PyObject_Unicode(item
);
11833 PyObject
* str
= PyObject_Str(item
);
11835 if (PyErr_Occurred()) SWIG_fail
;
11836 arg6
->Add(Py2wxString(str
));
11843 arg7
= (int)SWIG_As_int(obj6
);
11844 if (PyErr_Occurred()) SWIG_fail
;
11847 arg8
= (long)SWIG_As_long(obj7
);
11848 if (PyErr_Occurred()) SWIG_fail
;
11851 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
11852 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11854 if (arg9
== NULL
) {
11855 PyErr_SetString(PyExc_TypeError
,"null reference");
11861 arg10
= wxString_in_helper(obj9
);
11862 if (arg10
== NULL
) SWIG_fail
;
11867 if (!wxPyCheckForApp()) SWIG_fail
;
11868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11869 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
);
11871 wxPyEndAllowThreads(__tstate
);
11872 if (PyErr_Occurred()) SWIG_fail
;
11874 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11880 if (temp6
) delete arg6
;
11893 if (temp6
) delete arg6
;
11903 static PyObject
*_wrap_new_PreRadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11904 PyObject
*resultobj
;
11905 wxRadioBox
*result
;
11906 char *kwnames
[] = {
11910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
11912 if (!wxPyCheckForApp()) SWIG_fail
;
11913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11914 result
= (wxRadioBox
*)new wxRadioBox();
11916 wxPyEndAllowThreads(__tstate
);
11917 if (PyErr_Occurred()) SWIG_fail
;
11919 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11926 static PyObject
*_wrap_RadioBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11927 PyObject
*resultobj
;
11928 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11929 wxWindow
*arg2
= (wxWindow
*) 0 ;
11930 int arg3
= (int) -1 ;
11931 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11932 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11933 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11934 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11935 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11936 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11937 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
11938 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
11939 int arg8
= (int) 0 ;
11940 long arg9
= (long) wxRA_HORIZONTAL
;
11941 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11942 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11943 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
11944 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11946 bool temp4
= False
;
11949 bool temp7
= False
;
11950 bool temp11
= False
;
11951 PyObject
* obj0
= 0 ;
11952 PyObject
* obj1
= 0 ;
11953 PyObject
* obj2
= 0 ;
11954 PyObject
* obj3
= 0 ;
11955 PyObject
* obj4
= 0 ;
11956 PyObject
* obj5
= 0 ;
11957 PyObject
* obj6
= 0 ;
11958 PyObject
* obj7
= 0 ;
11959 PyObject
* obj8
= 0 ;
11960 PyObject
* obj9
= 0 ;
11961 PyObject
* obj10
= 0 ;
11962 char *kwnames
[] = {
11963 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11969 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11972 arg3
= (int)SWIG_As_int(obj2
);
11973 if (PyErr_Occurred()) SWIG_fail
;
11977 arg4
= wxString_in_helper(obj3
);
11978 if (arg4
== NULL
) SWIG_fail
;
11985 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11991 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11996 if (! PySequence_Check(obj6
)) {
11997 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
12000 arg7
= new wxArrayString
;
12002 int i
, len
=PySequence_Length(obj6
);
12003 for (i
=0; i
<len
; i
++) {
12004 PyObject
* item
= PySequence_GetItem(obj6
, i
);
12006 PyObject
* str
= PyObject_Unicode(item
);
12008 PyObject
* str
= PyObject_Str(item
);
12010 if (PyErr_Occurred()) SWIG_fail
;
12011 arg7
->Add(Py2wxString(str
));
12018 arg8
= (int)SWIG_As_int(obj7
);
12019 if (PyErr_Occurred()) SWIG_fail
;
12022 arg9
= (long)SWIG_As_long(obj8
);
12023 if (PyErr_Occurred()) SWIG_fail
;
12026 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
12027 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12029 if (arg10
== NULL
) {
12030 PyErr_SetString(PyExc_TypeError
,"null reference");
12036 arg11
= wxString_in_helper(obj10
);
12037 if (arg11
== NULL
) SWIG_fail
;
12042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12043 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
);
12045 wxPyEndAllowThreads(__tstate
);
12046 if (PyErr_Occurred()) SWIG_fail
;
12049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12056 if (temp7
) delete arg7
;
12069 if (temp7
) delete arg7
;
12079 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12080 PyObject
*resultobj
;
12081 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12083 PyObject
* obj0
= 0 ;
12084 PyObject
* obj1
= 0 ;
12085 char *kwnames
[] = {
12086 (char *) "self",(char *) "n", NULL
12089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12092 arg2
= (int)SWIG_As_int(obj1
);
12093 if (PyErr_Occurred()) SWIG_fail
;
12095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12096 (arg1
)->SetSelection(arg2
);
12098 wxPyEndAllowThreads(__tstate
);
12099 if (PyErr_Occurred()) SWIG_fail
;
12101 Py_INCREF(Py_None
); resultobj
= Py_None
;
12108 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12109 PyObject
*resultobj
;
12110 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12112 PyObject
* obj0
= 0 ;
12113 char *kwnames
[] = {
12114 (char *) "self", NULL
12117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
12118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12122 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
12124 wxPyEndAllowThreads(__tstate
);
12125 if (PyErr_Occurred()) SWIG_fail
;
12127 resultobj
= SWIG_From_int((int)result
);
12134 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12135 PyObject
*resultobj
;
12136 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12138 PyObject
* obj0
= 0 ;
12139 char *kwnames
[] = {
12140 (char *) "self", NULL
12143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12148 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
12150 wxPyEndAllowThreads(__tstate
);
12151 if (PyErr_Occurred()) SWIG_fail
;
12155 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12157 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12166 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12167 PyObject
*resultobj
;
12168 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12169 wxString
*arg2
= 0 ;
12171 bool temp2
= False
;
12172 PyObject
* obj0
= 0 ;
12173 PyObject
* obj1
= 0 ;
12174 char *kwnames
[] = {
12175 (char *) "self",(char *) "s", NULL
12178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12182 arg2
= wxString_in_helper(obj1
);
12183 if (arg2
== NULL
) SWIG_fail
;
12187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12188 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
12190 wxPyEndAllowThreads(__tstate
);
12191 if (PyErr_Occurred()) SWIG_fail
;
12194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12210 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12211 PyObject
*resultobj
;
12212 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12214 PyObject
* obj0
= 0 ;
12215 char *kwnames
[] = {
12216 (char *) "self", NULL
12219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
12220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12224 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
12226 wxPyEndAllowThreads(__tstate
);
12227 if (PyErr_Occurred()) SWIG_fail
;
12229 resultobj
= SWIG_From_int((int)result
);
12236 static PyObject
*_wrap_RadioBox_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12237 PyObject
*resultobj
;
12238 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12239 wxString
*arg2
= 0 ;
12241 bool temp2
= False
;
12242 PyObject
* obj0
= 0 ;
12243 PyObject
* obj1
= 0 ;
12244 char *kwnames
[] = {
12245 (char *) "self",(char *) "s", NULL
12248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
12249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12252 arg2
= wxString_in_helper(obj1
);
12253 if (arg2
== NULL
) SWIG_fail
;
12257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12258 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
12260 wxPyEndAllowThreads(__tstate
);
12261 if (PyErr_Occurred()) SWIG_fail
;
12263 resultobj
= SWIG_From_int((int)result
);
12278 static PyObject
*_wrap_RadioBox_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12279 PyObject
*resultobj
;
12280 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12283 PyObject
* obj0
= 0 ;
12284 PyObject
* obj1
= 0 ;
12285 char *kwnames
[] = {
12286 (char *) "self",(char *) "n", NULL
12289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12292 arg2
= (int)SWIG_As_int(obj1
);
12293 if (PyErr_Occurred()) SWIG_fail
;
12295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12296 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
12298 wxPyEndAllowThreads(__tstate
);
12299 if (PyErr_Occurred()) SWIG_fail
;
12303 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12305 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12314 static PyObject
*_wrap_RadioBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12315 PyObject
*resultobj
;
12316 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12318 wxString
*arg3
= 0 ;
12319 bool temp3
= False
;
12320 PyObject
* obj0
= 0 ;
12321 PyObject
* obj1
= 0 ;
12322 PyObject
* obj2
= 0 ;
12323 char *kwnames
[] = {
12324 (char *) "self",(char *) "n",(char *) "label", NULL
12327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12330 arg2
= (int)SWIG_As_int(obj1
);
12331 if (PyErr_Occurred()) SWIG_fail
;
12333 arg3
= wxString_in_helper(obj2
);
12334 if (arg3
== NULL
) SWIG_fail
;
12338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12339 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
12341 wxPyEndAllowThreads(__tstate
);
12342 if (PyErr_Occurred()) SWIG_fail
;
12344 Py_INCREF(Py_None
); resultobj
= Py_None
;
12359 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12360 PyObject
*resultobj
;
12361 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12363 bool arg3
= (bool) True
;
12364 PyObject
* obj0
= 0 ;
12365 PyObject
* obj1
= 0 ;
12366 PyObject
* obj2
= 0 ;
12367 char *kwnames
[] = {
12368 (char *) "self",(char *) "n",(char *) "enable", NULL
12371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12374 arg2
= (int)SWIG_As_int(obj1
);
12375 if (PyErr_Occurred()) SWIG_fail
;
12377 arg3
= (bool)SWIG_As_bool(obj2
);
12378 if (PyErr_Occurred()) SWIG_fail
;
12381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12382 (arg1
)->Enable(arg2
,arg3
);
12384 wxPyEndAllowThreads(__tstate
);
12385 if (PyErr_Occurred()) SWIG_fail
;
12387 Py_INCREF(Py_None
); resultobj
= Py_None
;
12394 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12395 PyObject
*resultobj
;
12396 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12398 bool arg3
= (bool) True
;
12399 PyObject
* obj0
= 0 ;
12400 PyObject
* obj1
= 0 ;
12401 PyObject
* obj2
= 0 ;
12402 char *kwnames
[] = {
12403 (char *) "self",(char *) "n",(char *) "show", NULL
12406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12409 arg2
= (int)SWIG_As_int(obj1
);
12410 if (PyErr_Occurred()) SWIG_fail
;
12412 arg3
= (bool)SWIG_As_bool(obj2
);
12413 if (PyErr_Occurred()) SWIG_fail
;
12416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12417 (arg1
)->Show(arg2
,arg3
);
12419 wxPyEndAllowThreads(__tstate
);
12420 if (PyErr_Occurred()) SWIG_fail
;
12422 Py_INCREF(Py_None
); resultobj
= Py_None
;
12429 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12430 PyObject
*resultobj
;
12431 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12433 PyObject
* obj0
= 0 ;
12434 char *kwnames
[] = {
12435 (char *) "self", NULL
12438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
12439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12443 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
12445 wxPyEndAllowThreads(__tstate
);
12446 if (PyErr_Occurred()) SWIG_fail
;
12448 resultobj
= SWIG_From_int((int)result
);
12455 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12456 PyObject
*resultobj
;
12457 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12459 PyObject
* obj0
= 0 ;
12460 char *kwnames
[] = {
12461 (char *) "self", NULL
12464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
12465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12469 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
12471 wxPyEndAllowThreads(__tstate
);
12472 if (PyErr_Occurred()) SWIG_fail
;
12474 resultobj
= SWIG_From_int((int)result
);
12481 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12482 PyObject
*resultobj
;
12483 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12488 PyObject
* obj0
= 0 ;
12489 PyObject
* obj1
= 0 ;
12490 PyObject
* obj2
= 0 ;
12491 PyObject
* obj3
= 0 ;
12492 char *kwnames
[] = {
12493 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
12496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12499 arg2
= (int)SWIG_As_int(obj1
);
12500 if (PyErr_Occurred()) SWIG_fail
;
12501 arg3
= (int)SWIG_As_int(obj2
);
12502 if (PyErr_Occurred()) SWIG_fail
;
12503 arg4
= (long)SWIG_As_long(obj3
);
12504 if (PyErr_Occurred()) SWIG_fail
;
12506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12507 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
12509 wxPyEndAllowThreads(__tstate
);
12510 if (PyErr_Occurred()) SWIG_fail
;
12512 resultobj
= SWIG_From_int((int)result
);
12519 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12520 PyObject
*resultobj
;
12521 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12522 wxVisualAttributes result
;
12523 PyObject
* obj0
= 0 ;
12524 char *kwnames
[] = {
12525 (char *) "variant", NULL
12528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12530 arg1
= (int)SWIG_As_int(obj0
);
12531 if (PyErr_Occurred()) SWIG_fail
;
12534 if (!wxPyCheckForApp()) SWIG_fail
;
12535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12536 result
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12538 wxPyEndAllowThreads(__tstate
);
12539 if (PyErr_Occurred()) SWIG_fail
;
12542 wxVisualAttributes
* resultptr
;
12543 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12544 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12552 static PyObject
* RadioBox_swigregister(PyObject
*, PyObject
*args
) {
12554 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12555 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
12557 return Py_BuildValue((char *)"");
12559 static PyObject
*_wrap_new_RadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12560 PyObject
*resultobj
;
12561 wxWindow
*arg1
= (wxWindow
*) 0 ;
12562 int arg2
= (int) -1 ;
12563 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12564 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12565 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12566 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12567 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12568 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12569 long arg6
= (long) 0 ;
12570 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12571 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12572 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
12573 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12574 wxRadioButton
*result
;
12575 bool temp3
= False
;
12578 bool temp8
= False
;
12579 PyObject
* obj0
= 0 ;
12580 PyObject
* obj1
= 0 ;
12581 PyObject
* obj2
= 0 ;
12582 PyObject
* obj3
= 0 ;
12583 PyObject
* obj4
= 0 ;
12584 PyObject
* obj5
= 0 ;
12585 PyObject
* obj6
= 0 ;
12586 PyObject
* obj7
= 0 ;
12587 char *kwnames
[] = {
12588 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12595 arg2
= (int)SWIG_As_int(obj1
);
12596 if (PyErr_Occurred()) SWIG_fail
;
12600 arg3
= wxString_in_helper(obj2
);
12601 if (arg3
== NULL
) SWIG_fail
;
12608 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12614 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12618 arg6
= (long)SWIG_As_long(obj5
);
12619 if (PyErr_Occurred()) SWIG_fail
;
12622 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
12623 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12625 if (arg7
== NULL
) {
12626 PyErr_SetString(PyExc_TypeError
,"null reference");
12632 arg8
= wxString_in_helper(obj7
);
12633 if (arg8
== NULL
) SWIG_fail
;
12638 if (!wxPyCheckForApp()) SWIG_fail
;
12639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12640 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12642 wxPyEndAllowThreads(__tstate
);
12643 if (PyErr_Occurred()) SWIG_fail
;
12645 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12668 static PyObject
*_wrap_new_PreRadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12669 PyObject
*resultobj
;
12670 wxRadioButton
*result
;
12671 char *kwnames
[] = {
12675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
12677 if (!wxPyCheckForApp()) SWIG_fail
;
12678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12679 result
= (wxRadioButton
*)new wxRadioButton();
12681 wxPyEndAllowThreads(__tstate
);
12682 if (PyErr_Occurred()) SWIG_fail
;
12684 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12691 static PyObject
*_wrap_RadioButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12692 PyObject
*resultobj
;
12693 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12694 wxWindow
*arg2
= (wxWindow
*) 0 ;
12695 int arg3
= (int) -1 ;
12696 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12697 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12698 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12699 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12700 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12701 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12702 long arg7
= (long) 0 ;
12703 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
12704 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
12705 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
12706 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
12708 bool temp4
= False
;
12711 bool temp9
= False
;
12712 PyObject
* obj0
= 0 ;
12713 PyObject
* obj1
= 0 ;
12714 PyObject
* obj2
= 0 ;
12715 PyObject
* obj3
= 0 ;
12716 PyObject
* obj4
= 0 ;
12717 PyObject
* obj5
= 0 ;
12718 PyObject
* obj6
= 0 ;
12719 PyObject
* obj7
= 0 ;
12720 PyObject
* obj8
= 0 ;
12721 char *kwnames
[] = {
12722 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
12726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12728 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12731 arg3
= (int)SWIG_As_int(obj2
);
12732 if (PyErr_Occurred()) SWIG_fail
;
12736 arg4
= wxString_in_helper(obj3
);
12737 if (arg4
== NULL
) SWIG_fail
;
12744 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12750 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12754 arg7
= (long)SWIG_As_long(obj6
);
12755 if (PyErr_Occurred()) SWIG_fail
;
12758 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
12759 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12761 if (arg8
== NULL
) {
12762 PyErr_SetString(PyExc_TypeError
,"null reference");
12768 arg9
= wxString_in_helper(obj8
);
12769 if (arg9
== NULL
) SWIG_fail
;
12774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12775 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
12777 wxPyEndAllowThreads(__tstate
);
12778 if (PyErr_Occurred()) SWIG_fail
;
12781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12805 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12806 PyObject
*resultobj
;
12807 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12809 PyObject
* obj0
= 0 ;
12810 char *kwnames
[] = {
12811 (char *) "self", NULL
12814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
12815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12819 result
= (bool)(arg1
)->GetValue();
12821 wxPyEndAllowThreads(__tstate
);
12822 if (PyErr_Occurred()) SWIG_fail
;
12825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12833 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12834 PyObject
*resultobj
;
12835 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12837 PyObject
* obj0
= 0 ;
12838 PyObject
* obj1
= 0 ;
12839 char *kwnames
[] = {
12840 (char *) "self",(char *) "value", NULL
12843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12846 arg2
= (bool)SWIG_As_bool(obj1
);
12847 if (PyErr_Occurred()) SWIG_fail
;
12849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12850 (arg1
)->SetValue(arg2
);
12852 wxPyEndAllowThreads(__tstate
);
12853 if (PyErr_Occurred()) SWIG_fail
;
12855 Py_INCREF(Py_None
); resultobj
= Py_None
;
12862 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12863 PyObject
*resultobj
;
12864 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12865 wxVisualAttributes result
;
12866 PyObject
* obj0
= 0 ;
12867 char *kwnames
[] = {
12868 (char *) "variant", NULL
12871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12873 arg1
= (int)SWIG_As_int(obj0
);
12874 if (PyErr_Occurred()) SWIG_fail
;
12877 if (!wxPyCheckForApp()) SWIG_fail
;
12878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12879 result
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12881 wxPyEndAllowThreads(__tstate
);
12882 if (PyErr_Occurred()) SWIG_fail
;
12885 wxVisualAttributes
* resultptr
;
12886 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12887 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12895 static PyObject
* RadioButton_swigregister(PyObject
*, PyObject
*args
) {
12897 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12898 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
12900 return Py_BuildValue((char *)"");
12902 static int _wrap_SliderNameStr_set(PyObject
*) {
12903 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
12908 static PyObject
*_wrap_SliderNameStr_get() {
12913 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12915 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12922 static PyObject
*_wrap_new_Slider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12923 PyObject
*resultobj
;
12924 wxWindow
*arg1
= (wxWindow
*) 0 ;
12925 int arg2
= (int) -1 ;
12926 int arg3
= (int) 0 ;
12927 int arg4
= (int) 0 ;
12928 int arg5
= (int) 100 ;
12929 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12930 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12931 wxSize
const &arg7_defvalue
= wxDefaultSize
;
12932 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
12933 long arg8
= (long) wxSL_HORIZONTAL
;
12934 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
12935 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
12936 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
12937 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12941 bool temp10
= False
;
12942 PyObject
* obj0
= 0 ;
12943 PyObject
* obj1
= 0 ;
12944 PyObject
* obj2
= 0 ;
12945 PyObject
* obj3
= 0 ;
12946 PyObject
* obj4
= 0 ;
12947 PyObject
* obj5
= 0 ;
12948 PyObject
* obj6
= 0 ;
12949 PyObject
* obj7
= 0 ;
12950 PyObject
* obj8
= 0 ;
12951 PyObject
* obj9
= 0 ;
12952 char *kwnames
[] = {
12953 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12960 arg2
= (int)SWIG_As_int(obj1
);
12961 if (PyErr_Occurred()) SWIG_fail
;
12964 arg3
= (int)SWIG_As_int(obj2
);
12965 if (PyErr_Occurred()) SWIG_fail
;
12968 arg4
= (int)SWIG_As_int(obj3
);
12969 if (PyErr_Occurred()) SWIG_fail
;
12972 arg5
= (int)SWIG_As_int(obj4
);
12973 if (PyErr_Occurred()) SWIG_fail
;
12978 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12984 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
12988 arg8
= (long)SWIG_As_long(obj7
);
12989 if (PyErr_Occurred()) SWIG_fail
;
12992 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
12993 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12995 if (arg9
== NULL
) {
12996 PyErr_SetString(PyExc_TypeError
,"null reference");
13002 arg10
= wxString_in_helper(obj9
);
13003 if (arg10
== NULL
) SWIG_fail
;
13008 if (!wxPyCheckForApp()) SWIG_fail
;
13009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13010 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
13012 wxPyEndAllowThreads(__tstate
);
13013 if (PyErr_Occurred()) SWIG_fail
;
13015 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
13030 static PyObject
*_wrap_new_PreSlider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13031 PyObject
*resultobj
;
13033 char *kwnames
[] = {
13037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
13039 if (!wxPyCheckForApp()) SWIG_fail
;
13040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13041 result
= (wxSlider
*)new wxSlider();
13043 wxPyEndAllowThreads(__tstate
);
13044 if (PyErr_Occurred()) SWIG_fail
;
13046 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
13053 static PyObject
*_wrap_Slider_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13054 PyObject
*resultobj
;
13055 wxSlider
*arg1
= (wxSlider
*) 0 ;
13056 wxWindow
*arg2
= (wxWindow
*) 0 ;
13057 int arg3
= (int) -1 ;
13058 int arg4
= (int) 0 ;
13059 int arg5
= (int) 0 ;
13060 int arg6
= (int) 100 ;
13061 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
13062 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
13063 wxSize
const &arg8_defvalue
= wxDefaultSize
;
13064 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
13065 long arg9
= (long) wxSL_HORIZONTAL
;
13066 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
13067 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
13068 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
13069 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13073 bool temp11
= False
;
13074 PyObject
* obj0
= 0 ;
13075 PyObject
* obj1
= 0 ;
13076 PyObject
* obj2
= 0 ;
13077 PyObject
* obj3
= 0 ;
13078 PyObject
* obj4
= 0 ;
13079 PyObject
* obj5
= 0 ;
13080 PyObject
* obj6
= 0 ;
13081 PyObject
* obj7
= 0 ;
13082 PyObject
* obj8
= 0 ;
13083 PyObject
* obj9
= 0 ;
13084 PyObject
* obj10
= 0 ;
13085 char *kwnames
[] = {
13086 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13092 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13095 arg3
= (int)SWIG_As_int(obj2
);
13096 if (PyErr_Occurred()) SWIG_fail
;
13099 arg4
= (int)SWIG_As_int(obj3
);
13100 if (PyErr_Occurred()) SWIG_fail
;
13103 arg5
= (int)SWIG_As_int(obj4
);
13104 if (PyErr_Occurred()) SWIG_fail
;
13107 arg6
= (int)SWIG_As_int(obj5
);
13108 if (PyErr_Occurred()) SWIG_fail
;
13113 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
13119 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
13123 arg9
= (long)SWIG_As_long(obj8
);
13124 if (PyErr_Occurred()) SWIG_fail
;
13127 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
13128 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13130 if (arg10
== NULL
) {
13131 PyErr_SetString(PyExc_TypeError
,"null reference");
13137 arg11
= wxString_in_helper(obj10
);
13138 if (arg11
== NULL
) SWIG_fail
;
13143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13144 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
13146 wxPyEndAllowThreads(__tstate
);
13147 if (PyErr_Occurred()) SWIG_fail
;
13150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13166 static PyObject
*_wrap_Slider_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13167 PyObject
*resultobj
;
13168 wxSlider
*arg1
= (wxSlider
*) 0 ;
13170 PyObject
* obj0
= 0 ;
13171 char *kwnames
[] = {
13172 (char *) "self", NULL
13175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
13176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13180 result
= (int)((wxSlider
const *)arg1
)->GetValue();
13182 wxPyEndAllowThreads(__tstate
);
13183 if (PyErr_Occurred()) SWIG_fail
;
13185 resultobj
= SWIG_From_int((int)result
);
13192 static PyObject
*_wrap_Slider_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13193 PyObject
*resultobj
;
13194 wxSlider
*arg1
= (wxSlider
*) 0 ;
13196 PyObject
* obj0
= 0 ;
13197 PyObject
* obj1
= 0 ;
13198 char *kwnames
[] = {
13199 (char *) "self",(char *) "value", NULL
13202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13205 arg2
= (int)SWIG_As_int(obj1
);
13206 if (PyErr_Occurred()) SWIG_fail
;
13208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13209 (arg1
)->SetValue(arg2
);
13211 wxPyEndAllowThreads(__tstate
);
13212 if (PyErr_Occurred()) SWIG_fail
;
13214 Py_INCREF(Py_None
); resultobj
= Py_None
;
13221 static PyObject
*_wrap_Slider_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13222 PyObject
*resultobj
;
13223 wxSlider
*arg1
= (wxSlider
*) 0 ;
13226 PyObject
* obj0
= 0 ;
13227 PyObject
* obj1
= 0 ;
13228 PyObject
* obj2
= 0 ;
13229 char *kwnames
[] = {
13230 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
13233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13236 arg2
= (int)SWIG_As_int(obj1
);
13237 if (PyErr_Occurred()) SWIG_fail
;
13238 arg3
= (int)SWIG_As_int(obj2
);
13239 if (PyErr_Occurred()) SWIG_fail
;
13241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13242 (arg1
)->SetRange(arg2
,arg3
);
13244 wxPyEndAllowThreads(__tstate
);
13245 if (PyErr_Occurred()) SWIG_fail
;
13247 Py_INCREF(Py_None
); resultobj
= Py_None
;
13254 static PyObject
*_wrap_Slider_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13255 PyObject
*resultobj
;
13256 wxSlider
*arg1
= (wxSlider
*) 0 ;
13258 PyObject
* obj0
= 0 ;
13259 char *kwnames
[] = {
13260 (char *) "self", NULL
13263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
13264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13268 result
= (int)((wxSlider
const *)arg1
)->GetMin();
13270 wxPyEndAllowThreads(__tstate
);
13271 if (PyErr_Occurred()) SWIG_fail
;
13273 resultobj
= SWIG_From_int((int)result
);
13280 static PyObject
*_wrap_Slider_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13281 PyObject
*resultobj
;
13282 wxSlider
*arg1
= (wxSlider
*) 0 ;
13284 PyObject
* obj0
= 0 ;
13285 char *kwnames
[] = {
13286 (char *) "self", NULL
13289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
13290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13294 result
= (int)((wxSlider
const *)arg1
)->GetMax();
13296 wxPyEndAllowThreads(__tstate
);
13297 if (PyErr_Occurred()) SWIG_fail
;
13299 resultobj
= SWIG_From_int((int)result
);
13306 static PyObject
*_wrap_Slider_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13307 PyObject
*resultobj
;
13308 wxSlider
*arg1
= (wxSlider
*) 0 ;
13310 PyObject
* obj0
= 0 ;
13311 PyObject
* obj1
= 0 ;
13312 char *kwnames
[] = {
13313 (char *) "self",(char *) "minValue", NULL
13316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
13317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13319 arg2
= (int)SWIG_As_int(obj1
);
13320 if (PyErr_Occurred()) SWIG_fail
;
13322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13323 (arg1
)->SetMin(arg2
);
13325 wxPyEndAllowThreads(__tstate
);
13326 if (PyErr_Occurred()) SWIG_fail
;
13328 Py_INCREF(Py_None
); resultobj
= Py_None
;
13335 static PyObject
*_wrap_Slider_SetMax(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 *) "maxValue", NULL
13345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",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
)->SetMax(arg2
);
13354 wxPyEndAllowThreads(__tstate
);
13355 if (PyErr_Occurred()) SWIG_fail
;
13357 Py_INCREF(Py_None
); resultobj
= Py_None
;
13364 static PyObject
*_wrap_Slider_SetLineSize(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 *) "lineSize", NULL
13374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",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
)->SetLineSize(arg2
);
13383 wxPyEndAllowThreads(__tstate
);
13384 if (PyErr_Occurred()) SWIG_fail
;
13386 Py_INCREF(Py_None
); resultobj
= Py_None
;
13393 static PyObject
*_wrap_Slider_SetPageSize(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 *) "pageSize", NULL
13403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",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
)->SetPageSize(arg2
);
13412 wxPyEndAllowThreads(__tstate
);
13413 if (PyErr_Occurred()) SWIG_fail
;
13415 Py_INCREF(Py_None
); resultobj
= Py_None
;
13422 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13423 PyObject
*resultobj
;
13424 wxSlider
*arg1
= (wxSlider
*) 0 ;
13426 PyObject
* obj0
= 0 ;
13427 char *kwnames
[] = {
13428 (char *) "self", NULL
13431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
13432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13436 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
13438 wxPyEndAllowThreads(__tstate
);
13439 if (PyErr_Occurred()) SWIG_fail
;
13441 resultobj
= SWIG_From_int((int)result
);
13448 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13449 PyObject
*resultobj
;
13450 wxSlider
*arg1
= (wxSlider
*) 0 ;
13452 PyObject
* obj0
= 0 ;
13453 char *kwnames
[] = {
13454 (char *) "self", NULL
13457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
13458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13462 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
13464 wxPyEndAllowThreads(__tstate
);
13465 if (PyErr_Occurred()) SWIG_fail
;
13467 resultobj
= SWIG_From_int((int)result
);
13474 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13475 PyObject
*resultobj
;
13476 wxSlider
*arg1
= (wxSlider
*) 0 ;
13478 PyObject
* obj0
= 0 ;
13479 PyObject
* obj1
= 0 ;
13480 char *kwnames
[] = {
13481 (char *) "self",(char *) "lenPixels", NULL
13484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
13485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13487 arg2
= (int)SWIG_As_int(obj1
);
13488 if (PyErr_Occurred()) SWIG_fail
;
13490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13491 (arg1
)->SetThumbLength(arg2
);
13493 wxPyEndAllowThreads(__tstate
);
13494 if (PyErr_Occurred()) SWIG_fail
;
13496 Py_INCREF(Py_None
); resultobj
= Py_None
;
13503 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13504 PyObject
*resultobj
;
13505 wxSlider
*arg1
= (wxSlider
*) 0 ;
13507 PyObject
* obj0
= 0 ;
13508 char *kwnames
[] = {
13509 (char *) "self", NULL
13512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
13513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13517 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
13519 wxPyEndAllowThreads(__tstate
);
13520 if (PyErr_Occurred()) SWIG_fail
;
13522 resultobj
= SWIG_From_int((int)result
);
13529 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13530 PyObject
*resultobj
;
13531 wxSlider
*arg1
= (wxSlider
*) 0 ;
13533 int arg3
= (int) 1 ;
13534 PyObject
* obj0
= 0 ;
13535 PyObject
* obj1
= 0 ;
13536 PyObject
* obj2
= 0 ;
13537 char *kwnames
[] = {
13538 (char *) "self",(char *) "n",(char *) "pos", NULL
13541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13544 arg2
= (int)SWIG_As_int(obj1
);
13545 if (PyErr_Occurred()) SWIG_fail
;
13547 arg3
= (int)SWIG_As_int(obj2
);
13548 if (PyErr_Occurred()) SWIG_fail
;
13551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13552 (arg1
)->SetTickFreq(arg2
,arg3
);
13554 wxPyEndAllowThreads(__tstate
);
13555 if (PyErr_Occurred()) SWIG_fail
;
13557 Py_INCREF(Py_None
); resultobj
= Py_None
;
13564 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13565 PyObject
*resultobj
;
13566 wxSlider
*arg1
= (wxSlider
*) 0 ;
13568 PyObject
* obj0
= 0 ;
13569 char *kwnames
[] = {
13570 (char *) "self", NULL
13573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
13574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13578 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
13580 wxPyEndAllowThreads(__tstate
);
13581 if (PyErr_Occurred()) SWIG_fail
;
13583 resultobj
= SWIG_From_int((int)result
);
13590 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13591 PyObject
*resultobj
;
13592 wxSlider
*arg1
= (wxSlider
*) 0 ;
13593 PyObject
* obj0
= 0 ;
13594 char *kwnames
[] = {
13595 (char *) "self", NULL
13598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
13599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13603 (arg1
)->ClearTicks();
13605 wxPyEndAllowThreads(__tstate
);
13606 if (PyErr_Occurred()) SWIG_fail
;
13608 Py_INCREF(Py_None
); resultobj
= Py_None
;
13615 static PyObject
*_wrap_Slider_SetTick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13616 PyObject
*resultobj
;
13617 wxSlider
*arg1
= (wxSlider
*) 0 ;
13619 PyObject
* obj0
= 0 ;
13620 PyObject
* obj1
= 0 ;
13621 char *kwnames
[] = {
13622 (char *) "self",(char *) "tickPos", NULL
13625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
13626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13628 arg2
= (int)SWIG_As_int(obj1
);
13629 if (PyErr_Occurred()) SWIG_fail
;
13631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13632 (arg1
)->SetTick(arg2
);
13634 wxPyEndAllowThreads(__tstate
);
13635 if (PyErr_Occurred()) SWIG_fail
;
13637 Py_INCREF(Py_None
); resultobj
= Py_None
;
13644 static PyObject
*_wrap_Slider_ClearSel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13645 PyObject
*resultobj
;
13646 wxSlider
*arg1
= (wxSlider
*) 0 ;
13647 PyObject
* obj0
= 0 ;
13648 char *kwnames
[] = {
13649 (char *) "self", NULL
13652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
13653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13657 (arg1
)->ClearSel();
13659 wxPyEndAllowThreads(__tstate
);
13660 if (PyErr_Occurred()) SWIG_fail
;
13662 Py_INCREF(Py_None
); resultobj
= Py_None
;
13669 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13670 PyObject
*resultobj
;
13671 wxSlider
*arg1
= (wxSlider
*) 0 ;
13673 PyObject
* obj0
= 0 ;
13674 char *kwnames
[] = {
13675 (char *) "self", NULL
13678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
13679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13683 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
13685 wxPyEndAllowThreads(__tstate
);
13686 if (PyErr_Occurred()) SWIG_fail
;
13688 resultobj
= SWIG_From_int((int)result
);
13695 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13696 PyObject
*resultobj
;
13697 wxSlider
*arg1
= (wxSlider
*) 0 ;
13699 PyObject
* obj0
= 0 ;
13700 char *kwnames
[] = {
13701 (char *) "self", NULL
13704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
13705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13709 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
13711 wxPyEndAllowThreads(__tstate
);
13712 if (PyErr_Occurred()) SWIG_fail
;
13714 resultobj
= SWIG_From_int((int)result
);
13721 static PyObject
*_wrap_Slider_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13722 PyObject
*resultobj
;
13723 wxSlider
*arg1
= (wxSlider
*) 0 ;
13726 PyObject
* obj0
= 0 ;
13727 PyObject
* obj1
= 0 ;
13728 PyObject
* obj2
= 0 ;
13729 char *kwnames
[] = {
13730 (char *) "self",(char *) "min",(char *) "max", NULL
13733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13736 arg2
= (int)SWIG_As_int(obj1
);
13737 if (PyErr_Occurred()) SWIG_fail
;
13738 arg3
= (int)SWIG_As_int(obj2
);
13739 if (PyErr_Occurred()) SWIG_fail
;
13741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13742 (arg1
)->SetSelection(arg2
,arg3
);
13744 wxPyEndAllowThreads(__tstate
);
13745 if (PyErr_Occurred()) SWIG_fail
;
13747 Py_INCREF(Py_None
); resultobj
= Py_None
;
13754 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13755 PyObject
*resultobj
;
13756 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
13757 wxVisualAttributes result
;
13758 PyObject
* obj0
= 0 ;
13759 char *kwnames
[] = {
13760 (char *) "variant", NULL
13763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13765 arg1
= (int)SWIG_As_int(obj0
);
13766 if (PyErr_Occurred()) SWIG_fail
;
13769 if (!wxPyCheckForApp()) SWIG_fail
;
13770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13771 result
= wxSlider::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13773 wxPyEndAllowThreads(__tstate
);
13774 if (PyErr_Occurred()) SWIG_fail
;
13777 wxVisualAttributes
* resultptr
;
13778 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
13779 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13787 static PyObject
* Slider_swigregister(PyObject
*, PyObject
*args
) {
13789 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13790 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
13792 return Py_BuildValue((char *)"");
13794 static int _wrap_ToggleButtonNameStr_set(PyObject
*) {
13795 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
13800 static PyObject
*_wrap_ToggleButtonNameStr_get() {
13805 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13807 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13814 static PyObject
*_wrap_new_ToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13815 PyObject
*resultobj
;
13816 wxWindow
*arg1
= (wxWindow
*) 0 ;
13817 int arg2
= (int) -1 ;
13818 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13819 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13820 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13821 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13822 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13823 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13824 long arg6
= (long) 0 ;
13825 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
13826 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
13827 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
13828 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13829 wxToggleButton
*result
;
13830 bool temp3
= False
;
13833 bool temp8
= False
;
13834 PyObject
* obj0
= 0 ;
13835 PyObject
* obj1
= 0 ;
13836 PyObject
* obj2
= 0 ;
13837 PyObject
* obj3
= 0 ;
13838 PyObject
* obj4
= 0 ;
13839 PyObject
* obj5
= 0 ;
13840 PyObject
* obj6
= 0 ;
13841 PyObject
* obj7
= 0 ;
13842 char *kwnames
[] = {
13843 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
13847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13850 arg2
= (int)SWIG_As_int(obj1
);
13851 if (PyErr_Occurred()) SWIG_fail
;
13855 arg3
= wxString_in_helper(obj2
);
13856 if (arg3
== NULL
) SWIG_fail
;
13863 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13869 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13873 arg6
= (long)SWIG_As_long(obj5
);
13874 if (PyErr_Occurred()) SWIG_fail
;
13877 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
13878 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13880 if (arg7
== NULL
) {
13881 PyErr_SetString(PyExc_TypeError
,"null reference");
13887 arg8
= wxString_in_helper(obj7
);
13888 if (arg8
== NULL
) SWIG_fail
;
13893 if (!wxPyCheckForApp()) SWIG_fail
;
13894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13895 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
13897 wxPyEndAllowThreads(__tstate
);
13898 if (PyErr_Occurred()) SWIG_fail
;
13900 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13923 static PyObject
*_wrap_new_PreToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13924 PyObject
*resultobj
;
13925 wxToggleButton
*result
;
13926 char *kwnames
[] = {
13930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
13932 if (!wxPyCheckForApp()) SWIG_fail
;
13933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13934 result
= (wxToggleButton
*)new wxToggleButton();
13936 wxPyEndAllowThreads(__tstate
);
13937 if (PyErr_Occurred()) SWIG_fail
;
13939 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13946 static PyObject
*_wrap_ToggleButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13947 PyObject
*resultobj
;
13948 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13949 wxWindow
*arg2
= (wxWindow
*) 0 ;
13950 int arg3
= (int) -1 ;
13951 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13952 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13953 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13954 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13955 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13956 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13957 long arg7
= (long) 0 ;
13958 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
13959 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
13960 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
13961 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
13963 bool temp4
= False
;
13966 bool temp9
= False
;
13967 PyObject
* obj0
= 0 ;
13968 PyObject
* obj1
= 0 ;
13969 PyObject
* obj2
= 0 ;
13970 PyObject
* obj3
= 0 ;
13971 PyObject
* obj4
= 0 ;
13972 PyObject
* obj5
= 0 ;
13973 PyObject
* obj6
= 0 ;
13974 PyObject
* obj7
= 0 ;
13975 PyObject
* obj8
= 0 ;
13976 char *kwnames
[] = {
13977 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
13981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13983 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13986 arg3
= (int)SWIG_As_int(obj2
);
13987 if (PyErr_Occurred()) SWIG_fail
;
13991 arg4
= wxString_in_helper(obj3
);
13992 if (arg4
== NULL
) SWIG_fail
;
13999 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14005 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14009 arg7
= (long)SWIG_As_long(obj6
);
14010 if (PyErr_Occurred()) SWIG_fail
;
14013 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
14014 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14016 if (arg8
== NULL
) {
14017 PyErr_SetString(PyExc_TypeError
,"null reference");
14023 arg9
= wxString_in_helper(obj8
);
14024 if (arg9
== NULL
) SWIG_fail
;
14029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14030 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
14032 wxPyEndAllowThreads(__tstate
);
14033 if (PyErr_Occurred()) SWIG_fail
;
14036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14060 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14061 PyObject
*resultobj
;
14062 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14064 PyObject
* obj0
= 0 ;
14065 PyObject
* obj1
= 0 ;
14066 char *kwnames
[] = {
14067 (char *) "self",(char *) "value", NULL
14070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14073 arg2
= (bool)SWIG_As_bool(obj1
);
14074 if (PyErr_Occurred()) SWIG_fail
;
14076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14077 (arg1
)->SetValue(arg2
);
14079 wxPyEndAllowThreads(__tstate
);
14080 if (PyErr_Occurred()) SWIG_fail
;
14082 Py_INCREF(Py_None
); resultobj
= Py_None
;
14089 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14090 PyObject
*resultobj
;
14091 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14093 PyObject
* obj0
= 0 ;
14094 char *kwnames
[] = {
14095 (char *) "self", NULL
14098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
14099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14103 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
14105 wxPyEndAllowThreads(__tstate
);
14106 if (PyErr_Occurred()) SWIG_fail
;
14109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14117 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14118 PyObject
*resultobj
;
14119 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14120 wxString
*arg2
= 0 ;
14121 bool temp2
= False
;
14122 PyObject
* obj0
= 0 ;
14123 PyObject
* obj1
= 0 ;
14124 char *kwnames
[] = {
14125 (char *) "self",(char *) "label", NULL
14128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
14129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14132 arg2
= wxString_in_helper(obj1
);
14133 if (arg2
== NULL
) SWIG_fail
;
14137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14138 (arg1
)->SetLabel((wxString
const &)*arg2
);
14140 wxPyEndAllowThreads(__tstate
);
14141 if (PyErr_Occurred()) SWIG_fail
;
14143 Py_INCREF(Py_None
); resultobj
= Py_None
;
14158 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14159 PyObject
*resultobj
;
14160 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14161 wxVisualAttributes result
;
14162 PyObject
* obj0
= 0 ;
14163 char *kwnames
[] = {
14164 (char *) "variant", NULL
14167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14169 arg1
= (int)SWIG_As_int(obj0
);
14170 if (PyErr_Occurred()) SWIG_fail
;
14173 if (!wxPyCheckForApp()) SWIG_fail
;
14174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14175 result
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14177 wxPyEndAllowThreads(__tstate
);
14178 if (PyErr_Occurred()) SWIG_fail
;
14181 wxVisualAttributes
* resultptr
;
14182 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14183 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14191 static PyObject
* ToggleButton_swigregister(PyObject
*, PyObject
*args
) {
14193 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14194 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
14196 return Py_BuildValue((char *)"");
14198 static int _wrap_NOTEBOOK_NAME_set(PyObject
*) {
14199 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
14204 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
14209 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
14211 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
14218 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14219 PyObject
*resultobj
;
14220 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14222 PyObject
* obj0
= 0 ;
14223 char *kwnames
[] = {
14224 (char *) "self", NULL
14227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
14228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14232 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
14234 wxPyEndAllowThreads(__tstate
);
14235 if (PyErr_Occurred()) SWIG_fail
;
14237 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
14244 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14245 PyObject
*resultobj
;
14246 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14249 PyObject
* obj0
= 0 ;
14250 PyObject
* obj1
= 0 ;
14251 char *kwnames
[] = {
14252 (char *) "self",(char *) "n", NULL
14255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14258 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14259 if (PyErr_Occurred()) SWIG_fail
;
14261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14262 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
14264 wxPyEndAllowThreads(__tstate
);
14265 if (PyErr_Occurred()) SWIG_fail
;
14268 resultobj
= wxPyMake_wxObject(result
, 0);
14276 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14277 PyObject
*resultobj
;
14278 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14280 PyObject
* obj0
= 0 ;
14281 char *kwnames
[] = {
14282 (char *) "self", NULL
14285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
14286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14290 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
14292 wxPyEndAllowThreads(__tstate
);
14293 if (PyErr_Occurred()) SWIG_fail
;
14295 resultobj
= SWIG_From_int((int)result
);
14302 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14303 PyObject
*resultobj
;
14304 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14306 wxString
*arg3
= 0 ;
14308 bool temp3
= False
;
14309 PyObject
* obj0
= 0 ;
14310 PyObject
* obj1
= 0 ;
14311 PyObject
* obj2
= 0 ;
14312 char *kwnames
[] = {
14313 (char *) "self",(char *) "n",(char *) "strText", NULL
14316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14319 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14320 if (PyErr_Occurred()) SWIG_fail
;
14322 arg3
= wxString_in_helper(obj2
);
14323 if (arg3
== NULL
) SWIG_fail
;
14327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14328 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
14330 wxPyEndAllowThreads(__tstate
);
14331 if (PyErr_Occurred()) SWIG_fail
;
14334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14350 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14351 PyObject
*resultobj
;
14352 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14355 PyObject
* obj0
= 0 ;
14356 PyObject
* obj1
= 0 ;
14357 char *kwnames
[] = {
14358 (char *) "self",(char *) "n", NULL
14361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
14362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14364 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14365 if (PyErr_Occurred()) SWIG_fail
;
14367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14368 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
14370 wxPyEndAllowThreads(__tstate
);
14371 if (PyErr_Occurred()) SWIG_fail
;
14375 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14377 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14386 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14387 PyObject
*resultobj
;
14388 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14389 wxImageList
*arg2
= (wxImageList
*) 0 ;
14390 PyObject
* obj0
= 0 ;
14391 PyObject
* obj1
= 0 ;
14392 char *kwnames
[] = {
14393 (char *) "self",(char *) "imageList", NULL
14396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14399 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14403 (arg1
)->SetImageList(arg2
);
14405 wxPyEndAllowThreads(__tstate
);
14406 if (PyErr_Occurred()) SWIG_fail
;
14408 Py_INCREF(Py_None
); resultobj
= Py_None
;
14415 static PyObject
*_wrap_BookCtrl_AssignImageList(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_AssignImageList",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
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
14431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14432 (arg1
)->AssignImageList(arg2
);
14434 wxPyEndAllowThreads(__tstate
);
14435 if (PyErr_Occurred()) SWIG_fail
;
14437 Py_INCREF(Py_None
); resultobj
= Py_None
;
14444 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14445 PyObject
*resultobj
;
14446 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14447 wxImageList
*result
;
14448 PyObject
* obj0
= 0 ;
14449 char *kwnames
[] = {
14450 (char *) "self", NULL
14453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
14454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14458 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
14460 wxPyEndAllowThreads(__tstate
);
14461 if (PyErr_Occurred()) SWIG_fail
;
14464 resultobj
= wxPyMake_wxObject(result
, 0);
14472 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14473 PyObject
*resultobj
;
14474 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14477 PyObject
* obj0
= 0 ;
14478 PyObject
* obj1
= 0 ;
14479 char *kwnames
[] = {
14480 (char *) "self",(char *) "n", NULL
14483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
14484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14486 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14487 if (PyErr_Occurred()) SWIG_fail
;
14489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14490 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
14492 wxPyEndAllowThreads(__tstate
);
14493 if (PyErr_Occurred()) SWIG_fail
;
14495 resultobj
= SWIG_From_int((int)result
);
14502 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14503 PyObject
*resultobj
;
14504 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14508 PyObject
* obj0
= 0 ;
14509 PyObject
* obj1
= 0 ;
14510 PyObject
* obj2
= 0 ;
14511 char *kwnames
[] = {
14512 (char *) "self",(char *) "n",(char *) "imageId", NULL
14515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14518 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14519 if (PyErr_Occurred()) SWIG_fail
;
14520 arg3
= (int)SWIG_As_int(obj2
);
14521 if (PyErr_Occurred()) SWIG_fail
;
14523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14524 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
14526 wxPyEndAllowThreads(__tstate
);
14527 if (PyErr_Occurred()) SWIG_fail
;
14530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14538 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14539 PyObject
*resultobj
;
14540 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14543 PyObject
* obj0
= 0 ;
14544 PyObject
* obj1
= 0 ;
14545 char *kwnames
[] = {
14546 (char *) "self",(char *) "size", NULL
14549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14554 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14558 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
14560 wxPyEndAllowThreads(__tstate
);
14561 if (PyErr_Occurred()) SWIG_fail
;
14563 Py_INCREF(Py_None
); resultobj
= Py_None
;
14570 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14571 PyObject
*resultobj
;
14572 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14576 PyObject
* obj0
= 0 ;
14577 PyObject
* obj1
= 0 ;
14578 char *kwnames
[] = {
14579 (char *) "self",(char *) "sizePage", NULL
14582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14587 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14591 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14593 wxPyEndAllowThreads(__tstate
);
14594 if (PyErr_Occurred()) SWIG_fail
;
14597 wxSize
* resultptr
;
14598 resultptr
= new wxSize((wxSize
&) result
);
14599 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14607 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14608 PyObject
*resultobj
;
14609 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14612 PyObject
* obj0
= 0 ;
14613 PyObject
* obj1
= 0 ;
14614 char *kwnames
[] = {
14615 (char *) "self",(char *) "n", NULL
14618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14621 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14622 if (PyErr_Occurred()) SWIG_fail
;
14624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14625 result
= (bool)(arg1
)->DeletePage(arg2
);
14627 wxPyEndAllowThreads(__tstate
);
14628 if (PyErr_Occurred()) SWIG_fail
;
14631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14639 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14640 PyObject
*resultobj
;
14641 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14644 PyObject
* obj0
= 0 ;
14645 PyObject
* obj1
= 0 ;
14646 char *kwnames
[] = {
14647 (char *) "self",(char *) "n", NULL
14650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14653 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14654 if (PyErr_Occurred()) SWIG_fail
;
14656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14657 result
= (bool)(arg1
)->RemovePage(arg2
);
14659 wxPyEndAllowThreads(__tstate
);
14660 if (PyErr_Occurred()) SWIG_fail
;
14663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14671 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14672 PyObject
*resultobj
;
14673 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14675 PyObject
* obj0
= 0 ;
14676 char *kwnames
[] = {
14677 (char *) "self", NULL
14680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
14681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14685 result
= (bool)(arg1
)->DeleteAllPages();
14687 wxPyEndAllowThreads(__tstate
);
14688 if (PyErr_Occurred()) SWIG_fail
;
14691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14699 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14700 PyObject
*resultobj
;
14701 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14702 wxWindow
*arg2
= (wxWindow
*) 0 ;
14703 wxString
*arg3
= 0 ;
14704 bool arg4
= (bool) False
;
14705 int arg5
= (int) -1 ;
14707 bool temp3
= False
;
14708 PyObject
* obj0
= 0 ;
14709 PyObject
* obj1
= 0 ;
14710 PyObject
* obj2
= 0 ;
14711 PyObject
* obj3
= 0 ;
14712 PyObject
* obj4
= 0 ;
14713 char *kwnames
[] = {
14714 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14720 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14723 arg3
= wxString_in_helper(obj2
);
14724 if (arg3
== NULL
) SWIG_fail
;
14728 arg4
= (bool)SWIG_As_bool(obj3
);
14729 if (PyErr_Occurred()) SWIG_fail
;
14732 arg5
= (int)SWIG_As_int(obj4
);
14733 if (PyErr_Occurred()) SWIG_fail
;
14736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14737 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
14739 wxPyEndAllowThreads(__tstate
);
14740 if (PyErr_Occurred()) SWIG_fail
;
14743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14759 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14760 PyObject
*resultobj
;
14761 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14763 wxWindow
*arg3
= (wxWindow
*) 0 ;
14764 wxString
*arg4
= 0 ;
14765 bool arg5
= (bool) False
;
14766 int arg6
= (int) -1 ;
14768 bool temp4
= False
;
14769 PyObject
* obj0
= 0 ;
14770 PyObject
* obj1
= 0 ;
14771 PyObject
* obj2
= 0 ;
14772 PyObject
* obj3
= 0 ;
14773 PyObject
* obj4
= 0 ;
14774 PyObject
* obj5
= 0 ;
14775 char *kwnames
[] = {
14776 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14782 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14783 if (PyErr_Occurred()) SWIG_fail
;
14784 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
14785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14787 arg4
= wxString_in_helper(obj3
);
14788 if (arg4
== NULL
) SWIG_fail
;
14792 arg5
= (bool)SWIG_As_bool(obj4
);
14793 if (PyErr_Occurred()) SWIG_fail
;
14796 arg6
= (int)SWIG_As_int(obj5
);
14797 if (PyErr_Occurred()) SWIG_fail
;
14800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14801 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
14803 wxPyEndAllowThreads(__tstate
);
14804 if (PyErr_Occurred()) SWIG_fail
;
14807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14823 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14824 PyObject
*resultobj
;
14825 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14828 PyObject
* obj0
= 0 ;
14829 PyObject
* obj1
= 0 ;
14830 char *kwnames
[] = {
14831 (char *) "self",(char *) "n", NULL
14834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14837 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14838 if (PyErr_Occurred()) SWIG_fail
;
14840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14841 result
= (int)(arg1
)->SetSelection(arg2
);
14843 wxPyEndAllowThreads(__tstate
);
14844 if (PyErr_Occurred()) SWIG_fail
;
14846 resultobj
= SWIG_From_int((int)result
);
14853 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14854 PyObject
*resultobj
;
14855 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14856 bool arg2
= (bool) True
;
14857 PyObject
* obj0
= 0 ;
14858 PyObject
* obj1
= 0 ;
14859 char *kwnames
[] = {
14860 (char *) "self",(char *) "forward", NULL
14863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14867 arg2
= (bool)SWIG_As_bool(obj1
);
14868 if (PyErr_Occurred()) SWIG_fail
;
14871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14872 (arg1
)->AdvanceSelection(arg2
);
14874 wxPyEndAllowThreads(__tstate
);
14875 if (PyErr_Occurred()) SWIG_fail
;
14877 Py_INCREF(Py_None
); resultobj
= Py_None
;
14884 static PyObject
*_wrap_BookCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14885 PyObject
*resultobj
;
14886 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14887 wxVisualAttributes result
;
14888 PyObject
* obj0
= 0 ;
14889 char *kwnames
[] = {
14890 (char *) "variant", NULL
14893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14895 arg1
= (int)SWIG_As_int(obj0
);
14896 if (PyErr_Occurred()) SWIG_fail
;
14899 if (!wxPyCheckForApp()) SWIG_fail
;
14900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14901 result
= wxBookCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14903 wxPyEndAllowThreads(__tstate
);
14904 if (PyErr_Occurred()) SWIG_fail
;
14907 wxVisualAttributes
* resultptr
;
14908 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14909 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14917 static PyObject
* BookCtrl_swigregister(PyObject
*, PyObject
*args
) {
14919 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14920 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
14922 return Py_BuildValue((char *)"");
14924 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14925 PyObject
*resultobj
;
14926 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14927 int arg2
= (int) 0 ;
14928 int arg3
= (int) -1 ;
14929 int arg4
= (int) -1 ;
14930 wxBookCtrlEvent
*result
;
14931 PyObject
* obj0
= 0 ;
14932 PyObject
* obj1
= 0 ;
14933 PyObject
* obj2
= 0 ;
14934 PyObject
* obj3
= 0 ;
14935 char *kwnames
[] = {
14936 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14941 arg1
= (wxEventType
)SWIG_As_int(obj0
);
14942 if (PyErr_Occurred()) SWIG_fail
;
14945 arg2
= (int)SWIG_As_int(obj1
);
14946 if (PyErr_Occurred()) SWIG_fail
;
14949 arg3
= (int)SWIG_As_int(obj2
);
14950 if (PyErr_Occurred()) SWIG_fail
;
14953 arg4
= (int)SWIG_As_int(obj3
);
14954 if (PyErr_Occurred()) SWIG_fail
;
14957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14958 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
14960 wxPyEndAllowThreads(__tstate
);
14961 if (PyErr_Occurred()) SWIG_fail
;
14963 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlEvent
, 1);
14970 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14971 PyObject
*resultobj
;
14972 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14974 PyObject
* obj0
= 0 ;
14975 char *kwnames
[] = {
14976 (char *) "self", NULL
14979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
14980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14984 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
14986 wxPyEndAllowThreads(__tstate
);
14987 if (PyErr_Occurred()) SWIG_fail
;
14989 resultobj
= SWIG_From_int((int)result
);
14996 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14997 PyObject
*resultobj
;
14998 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
15000 PyObject
* obj0
= 0 ;
15001 PyObject
* obj1
= 0 ;
15002 char *kwnames
[] = {
15003 (char *) "self",(char *) "nSel", NULL
15006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
15007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
15008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15009 arg2
= (int)SWIG_As_int(obj1
);
15010 if (PyErr_Occurred()) SWIG_fail
;
15012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15013 (arg1
)->SetSelection(arg2
);
15015 wxPyEndAllowThreads(__tstate
);
15016 if (PyErr_Occurred()) SWIG_fail
;
15018 Py_INCREF(Py_None
); resultobj
= Py_None
;
15025 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15026 PyObject
*resultobj
;
15027 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
15029 PyObject
* obj0
= 0 ;
15030 char *kwnames
[] = {
15031 (char *) "self", NULL
15034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
15035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
15036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15039 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
15041 wxPyEndAllowThreads(__tstate
);
15042 if (PyErr_Occurred()) SWIG_fail
;
15044 resultobj
= SWIG_From_int((int)result
);
15051 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15052 PyObject
*resultobj
;
15053 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
15055 PyObject
* obj0
= 0 ;
15056 PyObject
* obj1
= 0 ;
15057 char *kwnames
[] = {
15058 (char *) "self",(char *) "nOldSel", NULL
15061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
15062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
15063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15064 arg2
= (int)SWIG_As_int(obj1
);
15065 if (PyErr_Occurred()) SWIG_fail
;
15067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15068 (arg1
)->SetOldSelection(arg2
);
15070 wxPyEndAllowThreads(__tstate
);
15071 if (PyErr_Occurred()) SWIG_fail
;
15073 Py_INCREF(Py_None
); resultobj
= Py_None
;
15080 static PyObject
* BookCtrlEvent_swigregister(PyObject
*, PyObject
*args
) {
15082 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15083 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
15085 return Py_BuildValue((char *)"");
15087 static PyObject
*_wrap_new_Notebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15088 PyObject
*resultobj
;
15089 wxWindow
*arg1
= (wxWindow
*) 0 ;
15090 int arg2
= (int) -1 ;
15091 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15092 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15093 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15094 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15095 long arg5
= (long) 0 ;
15096 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
15097 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15098 wxNotebook
*result
;
15101 bool temp6
= False
;
15102 PyObject
* obj0
= 0 ;
15103 PyObject
* obj1
= 0 ;
15104 PyObject
* obj2
= 0 ;
15105 PyObject
* obj3
= 0 ;
15106 PyObject
* obj4
= 0 ;
15107 PyObject
* obj5
= 0 ;
15108 char *kwnames
[] = {
15109 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15116 arg2
= (int)SWIG_As_int(obj1
);
15117 if (PyErr_Occurred()) SWIG_fail
;
15122 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15128 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15132 arg5
= (long)SWIG_As_long(obj4
);
15133 if (PyErr_Occurred()) SWIG_fail
;
15137 arg6
= wxString_in_helper(obj5
);
15138 if (arg6
== NULL
) SWIG_fail
;
15143 if (!wxPyCheckForApp()) SWIG_fail
;
15144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15145 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15147 wxPyEndAllowThreads(__tstate
);
15148 if (PyErr_Occurred()) SWIG_fail
;
15150 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
15165 static PyObject
*_wrap_new_PreNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15166 PyObject
*resultobj
;
15167 wxNotebook
*result
;
15168 char *kwnames
[] = {
15172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
15174 if (!wxPyCheckForApp()) SWIG_fail
;
15175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15176 result
= (wxNotebook
*)new wxNotebook();
15178 wxPyEndAllowThreads(__tstate
);
15179 if (PyErr_Occurred()) SWIG_fail
;
15181 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
15188 static PyObject
*_wrap_Notebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15189 PyObject
*resultobj
;
15190 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15191 wxWindow
*arg2
= (wxWindow
*) 0 ;
15192 int arg3
= (int) -1 ;
15193 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15194 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15195 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15196 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15197 long arg6
= (long) 0 ;
15198 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
15199 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15203 bool temp7
= False
;
15204 PyObject
* obj0
= 0 ;
15205 PyObject
* obj1
= 0 ;
15206 PyObject
* obj2
= 0 ;
15207 PyObject
* obj3
= 0 ;
15208 PyObject
* obj4
= 0 ;
15209 PyObject
* obj5
= 0 ;
15210 PyObject
* obj6
= 0 ;
15211 char *kwnames
[] = {
15212 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15218 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15221 arg3
= (int)SWIG_As_int(obj2
);
15222 if (PyErr_Occurred()) SWIG_fail
;
15227 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15233 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15237 arg6
= (long)SWIG_As_long(obj5
);
15238 if (PyErr_Occurred()) SWIG_fail
;
15242 arg7
= wxString_in_helper(obj6
);
15243 if (arg7
== NULL
) SWIG_fail
;
15248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15249 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15251 wxPyEndAllowThreads(__tstate
);
15252 if (PyErr_Occurred()) SWIG_fail
;
15255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15271 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15272 PyObject
*resultobj
;
15273 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15275 PyObject
* obj0
= 0 ;
15276 char *kwnames
[] = {
15277 (char *) "self", NULL
15280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
15281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15285 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
15287 wxPyEndAllowThreads(__tstate
);
15288 if (PyErr_Occurred()) SWIG_fail
;
15290 resultobj
= SWIG_From_int((int)result
);
15297 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15298 PyObject
*resultobj
;
15299 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15302 PyObject
* obj0
= 0 ;
15303 PyObject
* obj1
= 0 ;
15304 char *kwnames
[] = {
15305 (char *) "self",(char *) "padding", NULL
15308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
15309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15313 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15317 (arg1
)->SetPadding((wxSize
const &)*arg2
);
15319 wxPyEndAllowThreads(__tstate
);
15320 if (PyErr_Occurred()) SWIG_fail
;
15322 Py_INCREF(Py_None
); resultobj
= Py_None
;
15329 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15330 PyObject
*resultobj
;
15331 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15334 PyObject
* obj0
= 0 ;
15335 PyObject
* obj1
= 0 ;
15336 char *kwnames
[] = {
15337 (char *) "self",(char *) "sz", NULL
15340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15345 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15349 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
15351 wxPyEndAllowThreads(__tstate
);
15352 if (PyErr_Occurred()) SWIG_fail
;
15354 Py_INCREF(Py_None
); resultobj
= Py_None
;
15361 static PyObject
*_wrap_Notebook_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15362 PyObject
*resultobj
;
15363 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15364 wxPoint
*arg2
= 0 ;
15365 long *arg3
= (long *) 0 ;
15370 PyObject
* obj0
= 0 ;
15371 PyObject
* obj1
= 0 ;
15372 char *kwnames
[] = {
15373 (char *) "self",(char *) "pt", NULL
15376 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
15378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15382 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15386 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
15388 wxPyEndAllowThreads(__tstate
);
15389 if (PyErr_Occurred()) SWIG_fail
;
15391 resultobj
= SWIG_From_int((int)result
);
15392 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15393 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
15400 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15401 PyObject
*resultobj
;
15402 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15406 PyObject
* obj0
= 0 ;
15407 PyObject
* obj1
= 0 ;
15408 char *kwnames
[] = {
15409 (char *) "self",(char *) "sizePage", NULL
15412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
15413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15417 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15421 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
15423 wxPyEndAllowThreads(__tstate
);
15424 if (PyErr_Occurred()) SWIG_fail
;
15427 wxSize
* resultptr
;
15428 resultptr
= new wxSize((wxSize
&) result
);
15429 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15437 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15438 PyObject
*resultobj
;
15439 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
15440 wxVisualAttributes result
;
15441 PyObject
* obj0
= 0 ;
15442 char *kwnames
[] = {
15443 (char *) "variant", NULL
15446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15448 arg1
= (int)SWIG_As_int(obj0
);
15449 if (PyErr_Occurred()) SWIG_fail
;
15452 if (!wxPyCheckForApp()) SWIG_fail
;
15453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15454 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15456 wxPyEndAllowThreads(__tstate
);
15457 if (PyErr_Occurred()) SWIG_fail
;
15460 wxVisualAttributes
* resultptr
;
15461 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
15462 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15470 static PyObject
* Notebook_swigregister(PyObject
*, PyObject
*args
) {
15472 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15473 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
15475 return Py_BuildValue((char *)"");
15477 static PyObject
*_wrap_new_NotebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15478 PyObject
*resultobj
;
15479 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15480 int arg2
= (int) 0 ;
15481 int arg3
= (int) -1 ;
15482 int arg4
= (int) -1 ;
15483 wxNotebookEvent
*result
;
15484 PyObject
* obj0
= 0 ;
15485 PyObject
* obj1
= 0 ;
15486 PyObject
* obj2
= 0 ;
15487 PyObject
* obj3
= 0 ;
15488 char *kwnames
[] = {
15489 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15494 arg1
= (wxEventType
)SWIG_As_int(obj0
);
15495 if (PyErr_Occurred()) SWIG_fail
;
15498 arg2
= (int)SWIG_As_int(obj1
);
15499 if (PyErr_Occurred()) SWIG_fail
;
15502 arg3
= (int)SWIG_As_int(obj2
);
15503 if (PyErr_Occurred()) SWIG_fail
;
15506 arg4
= (int)SWIG_As_int(obj3
);
15507 if (PyErr_Occurred()) SWIG_fail
;
15510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15511 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
15513 wxPyEndAllowThreads(__tstate
);
15514 if (PyErr_Occurred()) SWIG_fail
;
15516 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
15523 static PyObject
* NotebookEvent_swigregister(PyObject
*, PyObject
*args
) {
15525 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15526 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
15528 return Py_BuildValue((char *)"");
15530 static PyObject
*_wrap_new_Listbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15531 PyObject
*resultobj
;
15532 wxWindow
*arg1
= (wxWindow
*) 0 ;
15533 int arg2
= (int) -1 ;
15534 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15535 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15536 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15537 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15538 long arg5
= (long) 0 ;
15539 wxString
const &arg6_defvalue
= wxPyEmptyString
;
15540 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15541 wxListbook
*result
;
15544 bool temp6
= False
;
15545 PyObject
* obj0
= 0 ;
15546 PyObject
* obj1
= 0 ;
15547 PyObject
* obj2
= 0 ;
15548 PyObject
* obj3
= 0 ;
15549 PyObject
* obj4
= 0 ;
15550 PyObject
* obj5
= 0 ;
15551 char *kwnames
[] = {
15552 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15559 arg2
= (int)SWIG_As_int(obj1
);
15560 if (PyErr_Occurred()) SWIG_fail
;
15565 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15571 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15575 arg5
= (long)SWIG_As_long(obj4
);
15576 if (PyErr_Occurred()) SWIG_fail
;
15580 arg6
= wxString_in_helper(obj5
);
15581 if (arg6
== NULL
) SWIG_fail
;
15586 if (!wxPyCheckForApp()) SWIG_fail
;
15587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15588 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15590 wxPyEndAllowThreads(__tstate
);
15591 if (PyErr_Occurred()) SWIG_fail
;
15593 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15608 static PyObject
*_wrap_new_PreListbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15609 PyObject
*resultobj
;
15610 wxListbook
*result
;
15611 char *kwnames
[] = {
15615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
15617 if (!wxPyCheckForApp()) SWIG_fail
;
15618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15619 result
= (wxListbook
*)new wxListbook();
15621 wxPyEndAllowThreads(__tstate
);
15622 if (PyErr_Occurred()) SWIG_fail
;
15624 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15631 static PyObject
*_wrap_Listbook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15632 PyObject
*resultobj
;
15633 wxListbook
*arg1
= (wxListbook
*) 0 ;
15634 wxWindow
*arg2
= (wxWindow
*) 0 ;
15635 int arg3
= (int) -1 ;
15636 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15637 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15638 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15639 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15640 long arg6
= (long) 0 ;
15641 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15642 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15646 bool temp7
= False
;
15647 PyObject
* obj0
= 0 ;
15648 PyObject
* obj1
= 0 ;
15649 PyObject
* obj2
= 0 ;
15650 PyObject
* obj3
= 0 ;
15651 PyObject
* obj4
= 0 ;
15652 PyObject
* obj5
= 0 ;
15653 PyObject
* obj6
= 0 ;
15654 char *kwnames
[] = {
15655 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15661 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15664 arg3
= (int)SWIG_As_int(obj2
);
15665 if (PyErr_Occurred()) SWIG_fail
;
15670 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15676 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15680 arg6
= (long)SWIG_As_long(obj5
);
15681 if (PyErr_Occurred()) SWIG_fail
;
15685 arg7
= wxString_in_helper(obj6
);
15686 if (arg7
== NULL
) SWIG_fail
;
15691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15692 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15694 wxPyEndAllowThreads(__tstate
);
15695 if (PyErr_Occurred()) SWIG_fail
;
15698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15714 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15715 PyObject
*resultobj
;
15716 wxListbook
*arg1
= (wxListbook
*) 0 ;
15718 PyObject
* obj0
= 0 ;
15719 char *kwnames
[] = {
15720 (char *) "self", NULL
15723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
15724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15728 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
15730 wxPyEndAllowThreads(__tstate
);
15731 if (PyErr_Occurred()) SWIG_fail
;
15734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15742 static PyObject
*_wrap_Listbook_GetListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15743 PyObject
*resultobj
;
15744 wxListbook
*arg1
= (wxListbook
*) 0 ;
15745 wxListView
*result
;
15746 PyObject
* obj0
= 0 ;
15747 char *kwnames
[] = {
15748 (char *) "self", NULL
15751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_GetListView",kwnames
,&obj0
)) goto fail
;
15752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15756 result
= (wxListView
*)(arg1
)->GetListView();
15758 wxPyEndAllowThreads(__tstate
);
15759 if (PyErr_Occurred()) SWIG_fail
;
15761 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 0);
15768 static PyObject
* Listbook_swigregister(PyObject
*, PyObject
*args
) {
15770 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15771 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
15773 return Py_BuildValue((char *)"");
15775 static PyObject
*_wrap_new_ListbookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15776 PyObject
*resultobj
;
15777 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15778 int arg2
= (int) 0 ;
15779 int arg3
= (int) -1 ;
15780 int arg4
= (int) -1 ;
15781 wxListbookEvent
*result
;
15782 PyObject
* obj0
= 0 ;
15783 PyObject
* obj1
= 0 ;
15784 PyObject
* obj2
= 0 ;
15785 PyObject
* obj3
= 0 ;
15786 char *kwnames
[] = {
15787 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15792 arg1
= (wxEventType
)SWIG_As_int(obj0
);
15793 if (PyErr_Occurred()) SWIG_fail
;
15796 arg2
= (int)SWIG_As_int(obj1
);
15797 if (PyErr_Occurred()) SWIG_fail
;
15800 arg3
= (int)SWIG_As_int(obj2
);
15801 if (PyErr_Occurred()) SWIG_fail
;
15804 arg4
= (int)SWIG_As_int(obj3
);
15805 if (PyErr_Occurred()) SWIG_fail
;
15808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15809 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
15811 wxPyEndAllowThreads(__tstate
);
15812 if (PyErr_Occurred()) SWIG_fail
;
15814 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
15821 static PyObject
* ListbookEvent_swigregister(PyObject
*, PyObject
*args
) {
15823 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15824 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
15826 return Py_BuildValue((char *)"");
15828 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15829 PyObject
*resultobj
;
15830 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
15831 wxBookCtrlSizer
*result
;
15832 PyObject
* obj0
= 0 ;
15833 char *kwnames
[] = {
15834 (char *) "nb", NULL
15837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
15838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
15839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15842 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
15844 wxPyEndAllowThreads(__tstate
);
15845 if (PyErr_Occurred()) SWIG_fail
;
15847 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
15854 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15855 PyObject
*resultobj
;
15856 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15857 PyObject
* obj0
= 0 ;
15858 char *kwnames
[] = {
15859 (char *) "self", NULL
15862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
15863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15867 (arg1
)->RecalcSizes();
15869 wxPyEndAllowThreads(__tstate
);
15870 if (PyErr_Occurred()) SWIG_fail
;
15872 Py_INCREF(Py_None
); resultobj
= Py_None
;
15879 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15880 PyObject
*resultobj
;
15881 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15883 PyObject
* obj0
= 0 ;
15884 char *kwnames
[] = {
15885 (char *) "self", NULL
15888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
15889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15893 result
= (arg1
)->CalcMin();
15895 wxPyEndAllowThreads(__tstate
);
15896 if (PyErr_Occurred()) SWIG_fail
;
15899 wxSize
* resultptr
;
15900 resultptr
= new wxSize((wxSize
&) result
);
15901 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15909 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15910 PyObject
*resultobj
;
15911 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15912 wxBookCtrl
*result
;
15913 PyObject
* obj0
= 0 ;
15914 char *kwnames
[] = {
15915 (char *) "self", NULL
15918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
15919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15923 result
= (wxBookCtrl
*)(arg1
)->GetControl();
15925 wxPyEndAllowThreads(__tstate
);
15926 if (PyErr_Occurred()) SWIG_fail
;
15928 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrl
, 0);
15935 static PyObject
* BookCtrlSizer_swigregister(PyObject
*, PyObject
*args
) {
15937 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15938 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
15940 return Py_BuildValue((char *)"");
15942 static PyObject
*_wrap_new_NotebookSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15943 PyObject
*resultobj
;
15944 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15945 wxNotebookSizer
*result
;
15946 PyObject
* obj0
= 0 ;
15947 char *kwnames
[] = {
15948 (char *) "nb", NULL
15951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
15952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15956 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
15958 wxPyEndAllowThreads(__tstate
);
15959 if (PyErr_Occurred()) SWIG_fail
;
15961 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
15968 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15969 PyObject
*resultobj
;
15970 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15971 PyObject
* obj0
= 0 ;
15972 char *kwnames
[] = {
15973 (char *) "self", NULL
15976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
15977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15981 (arg1
)->RecalcSizes();
15983 wxPyEndAllowThreads(__tstate
);
15984 if (PyErr_Occurred()) SWIG_fail
;
15986 Py_INCREF(Py_None
); resultobj
= Py_None
;
15993 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15994 PyObject
*resultobj
;
15995 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15997 PyObject
* obj0
= 0 ;
15998 char *kwnames
[] = {
15999 (char *) "self", NULL
16002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
16003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
16004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16007 result
= (arg1
)->CalcMin();
16009 wxPyEndAllowThreads(__tstate
);
16010 if (PyErr_Occurred()) SWIG_fail
;
16013 wxSize
* resultptr
;
16014 resultptr
= new wxSize((wxSize
&) result
);
16015 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16023 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16024 PyObject
*resultobj
;
16025 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
16026 wxNotebook
*result
;
16027 PyObject
* obj0
= 0 ;
16028 char *kwnames
[] = {
16029 (char *) "self", NULL
16032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
16033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
16034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16037 result
= (wxNotebook
*)(arg1
)->GetNotebook();
16039 wxPyEndAllowThreads(__tstate
);
16040 if (PyErr_Occurred()) SWIG_fail
;
16043 resultobj
= wxPyMake_wxObject(result
, 0);
16051 static PyObject
* NotebookSizer_swigregister(PyObject
*, PyObject
*args
) {
16053 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16054 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
16056 return Py_BuildValue((char *)"");
16058 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16059 PyObject
*resultobj
;
16060 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16062 PyObject
* obj0
= 0 ;
16063 char *kwnames
[] = {
16064 (char *) "self", NULL
16067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
16068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16072 result
= (int)(arg1
)->GetId();
16074 wxPyEndAllowThreads(__tstate
);
16075 if (PyErr_Occurred()) SWIG_fail
;
16077 resultobj
= SWIG_From_int((int)result
);
16084 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16085 PyObject
*resultobj
;
16086 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16088 PyObject
* obj0
= 0 ;
16089 char *kwnames
[] = {
16090 (char *) "self", NULL
16093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
16094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16098 result
= (wxControl
*)(arg1
)->GetControl();
16100 wxPyEndAllowThreads(__tstate
);
16101 if (PyErr_Occurred()) SWIG_fail
;
16104 resultobj
= wxPyMake_wxObject(result
, 0);
16112 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16113 PyObject
*resultobj
;
16114 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16115 wxToolBarBase
*result
;
16116 PyObject
* obj0
= 0 ;
16117 char *kwnames
[] = {
16118 (char *) "self", NULL
16121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
16122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16126 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
16128 wxPyEndAllowThreads(__tstate
);
16129 if (PyErr_Occurred()) SWIG_fail
;
16132 resultobj
= wxPyMake_wxObject(result
, 0);
16140 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16141 PyObject
*resultobj
;
16142 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16144 PyObject
* obj0
= 0 ;
16145 char *kwnames
[] = {
16146 (char *) "self", NULL
16149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
16150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16154 result
= (int)(arg1
)->IsButton();
16156 wxPyEndAllowThreads(__tstate
);
16157 if (PyErr_Occurred()) SWIG_fail
;
16159 resultobj
= SWIG_From_int((int)result
);
16166 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16167 PyObject
*resultobj
;
16168 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16170 PyObject
* obj0
= 0 ;
16171 char *kwnames
[] = {
16172 (char *) "self", NULL
16175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
16176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16180 result
= (int)(arg1
)->IsControl();
16182 wxPyEndAllowThreads(__tstate
);
16183 if (PyErr_Occurred()) SWIG_fail
;
16185 resultobj
= SWIG_From_int((int)result
);
16192 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16193 PyObject
*resultobj
;
16194 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16196 PyObject
* obj0
= 0 ;
16197 char *kwnames
[] = {
16198 (char *) "self", NULL
16201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
16202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16206 result
= (int)(arg1
)->IsSeparator();
16208 wxPyEndAllowThreads(__tstate
);
16209 if (PyErr_Occurred()) SWIG_fail
;
16211 resultobj
= SWIG_From_int((int)result
);
16218 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16219 PyObject
*resultobj
;
16220 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16222 PyObject
* obj0
= 0 ;
16223 char *kwnames
[] = {
16224 (char *) "self", NULL
16227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16232 result
= (int)(arg1
)->GetStyle();
16234 wxPyEndAllowThreads(__tstate
);
16235 if (PyErr_Occurred()) SWIG_fail
;
16237 resultobj
= SWIG_From_int((int)result
);
16244 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16245 PyObject
*resultobj
;
16246 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16248 PyObject
* obj0
= 0 ;
16249 char *kwnames
[] = {
16250 (char *) "self", NULL
16253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
16254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16258 result
= (int)(arg1
)->GetKind();
16260 wxPyEndAllowThreads(__tstate
);
16261 if (PyErr_Occurred()) SWIG_fail
;
16263 resultobj
= SWIG_From_int((int)result
);
16270 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16271 PyObject
*resultobj
;
16272 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16274 PyObject
* obj0
= 0 ;
16275 char *kwnames
[] = {
16276 (char *) "self", NULL
16279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
16280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16284 result
= (bool)(arg1
)->IsEnabled();
16286 wxPyEndAllowThreads(__tstate
);
16287 if (PyErr_Occurred()) SWIG_fail
;
16290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16298 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16299 PyObject
*resultobj
;
16300 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16302 PyObject
* obj0
= 0 ;
16303 char *kwnames
[] = {
16304 (char *) "self", NULL
16307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
16308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16312 result
= (bool)(arg1
)->IsToggled();
16314 wxPyEndAllowThreads(__tstate
);
16315 if (PyErr_Occurred()) SWIG_fail
;
16318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16326 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16327 PyObject
*resultobj
;
16328 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16330 PyObject
* obj0
= 0 ;
16331 char *kwnames
[] = {
16332 (char *) "self", NULL
16335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
16336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16340 result
= (bool)(arg1
)->CanBeToggled();
16342 wxPyEndAllowThreads(__tstate
);
16343 if (PyErr_Occurred()) SWIG_fail
;
16346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16354 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16355 PyObject
*resultobj
;
16356 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16358 PyObject
* obj0
= 0 ;
16359 char *kwnames
[] = {
16360 (char *) "self", NULL
16363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
16364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16369 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
16370 result
= (wxBitmap
*) &_result_ref
;
16373 wxPyEndAllowThreads(__tstate
);
16374 if (PyErr_Occurred()) SWIG_fail
;
16377 wxBitmap
* resultptr
= new wxBitmap(*result
);
16378 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16386 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16387 PyObject
*resultobj
;
16388 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16390 PyObject
* obj0
= 0 ;
16391 char *kwnames
[] = {
16392 (char *) "self", NULL
16395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
16396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16401 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
16402 result
= (wxBitmap
*) &_result_ref
;
16405 wxPyEndAllowThreads(__tstate
);
16406 if (PyErr_Occurred()) SWIG_fail
;
16409 wxBitmap
* resultptr
= new wxBitmap(*result
);
16410 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16418 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16419 PyObject
*resultobj
;
16420 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16422 PyObject
* obj0
= 0 ;
16423 char *kwnames
[] = {
16424 (char *) "self", NULL
16427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
16428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16432 result
= (arg1
)->GetBitmap();
16434 wxPyEndAllowThreads(__tstate
);
16435 if (PyErr_Occurred()) SWIG_fail
;
16438 wxBitmap
* resultptr
;
16439 resultptr
= new wxBitmap((wxBitmap
&) result
);
16440 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16448 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16449 PyObject
*resultobj
;
16450 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16452 PyObject
* obj0
= 0 ;
16453 char *kwnames
[] = {
16454 (char *) "self", NULL
16457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
16458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16462 result
= (arg1
)->GetLabel();
16464 wxPyEndAllowThreads(__tstate
);
16465 if (PyErr_Occurred()) SWIG_fail
;
16469 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16471 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16480 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16481 PyObject
*resultobj
;
16482 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16484 PyObject
* obj0
= 0 ;
16485 char *kwnames
[] = {
16486 (char *) "self", NULL
16489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
16490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16494 result
= (arg1
)->GetShortHelp();
16496 wxPyEndAllowThreads(__tstate
);
16497 if (PyErr_Occurred()) SWIG_fail
;
16501 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16503 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16512 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16513 PyObject
*resultobj
;
16514 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16516 PyObject
* obj0
= 0 ;
16517 char *kwnames
[] = {
16518 (char *) "self", NULL
16521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
16522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16526 result
= (arg1
)->GetLongHelp();
16528 wxPyEndAllowThreads(__tstate
);
16529 if (PyErr_Occurred()) SWIG_fail
;
16533 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16535 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16544 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16545 PyObject
*resultobj
;
16546 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16549 PyObject
* obj0
= 0 ;
16550 PyObject
* obj1
= 0 ;
16551 char *kwnames
[] = {
16552 (char *) "self",(char *) "enable", NULL
16555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
16556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16558 arg2
= (bool)SWIG_As_bool(obj1
);
16559 if (PyErr_Occurred()) SWIG_fail
;
16561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16562 result
= (bool)(arg1
)->Enable(arg2
);
16564 wxPyEndAllowThreads(__tstate
);
16565 if (PyErr_Occurred()) SWIG_fail
;
16568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16576 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16577 PyObject
*resultobj
;
16578 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16579 PyObject
* obj0
= 0 ;
16580 char *kwnames
[] = {
16581 (char *) "self", NULL
16584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
16585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16591 wxPyEndAllowThreads(__tstate
);
16592 if (PyErr_Occurred()) SWIG_fail
;
16594 Py_INCREF(Py_None
); resultobj
= Py_None
;
16601 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16602 PyObject
*resultobj
;
16603 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16606 PyObject
* obj0
= 0 ;
16607 PyObject
* obj1
= 0 ;
16608 char *kwnames
[] = {
16609 (char *) "self",(char *) "toggle", NULL
16612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
16613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16615 arg2
= (bool)SWIG_As_bool(obj1
);
16616 if (PyErr_Occurred()) SWIG_fail
;
16618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16619 result
= (bool)(arg1
)->SetToggle(arg2
);
16621 wxPyEndAllowThreads(__tstate
);
16622 if (PyErr_Occurred()) SWIG_fail
;
16625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16633 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16634 PyObject
*resultobj
;
16635 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16636 wxString
*arg2
= 0 ;
16638 bool temp2
= False
;
16639 PyObject
* obj0
= 0 ;
16640 PyObject
* obj1
= 0 ;
16641 char *kwnames
[] = {
16642 (char *) "self",(char *) "help", NULL
16645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16649 arg2
= wxString_in_helper(obj1
);
16650 if (arg2
== NULL
) SWIG_fail
;
16654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16655 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
16657 wxPyEndAllowThreads(__tstate
);
16658 if (PyErr_Occurred()) SWIG_fail
;
16661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16677 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16678 PyObject
*resultobj
;
16679 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16680 wxString
*arg2
= 0 ;
16682 bool temp2
= False
;
16683 PyObject
* obj0
= 0 ;
16684 PyObject
* obj1
= 0 ;
16685 char *kwnames
[] = {
16686 (char *) "self",(char *) "help", NULL
16689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16693 arg2
= wxString_in_helper(obj1
);
16694 if (arg2
== NULL
) SWIG_fail
;
16698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16699 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
16701 wxPyEndAllowThreads(__tstate
);
16702 if (PyErr_Occurred()) SWIG_fail
;
16705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16721 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16722 PyObject
*resultobj
;
16723 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16724 wxBitmap
*arg2
= 0 ;
16725 PyObject
* obj0
= 0 ;
16726 PyObject
* obj1
= 0 ;
16727 char *kwnames
[] = {
16728 (char *) "self",(char *) "bmp", NULL
16731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
16732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16734 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16735 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16737 if (arg2
== NULL
) {
16738 PyErr_SetString(PyExc_TypeError
,"null reference");
16742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16743 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
16745 wxPyEndAllowThreads(__tstate
);
16746 if (PyErr_Occurred()) SWIG_fail
;
16748 Py_INCREF(Py_None
); resultobj
= Py_None
;
16755 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16756 PyObject
*resultobj
;
16757 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16758 wxBitmap
*arg2
= 0 ;
16759 PyObject
* obj0
= 0 ;
16760 PyObject
* obj1
= 0 ;
16761 char *kwnames
[] = {
16762 (char *) "self",(char *) "bmp", NULL
16765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
16766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16768 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16769 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16771 if (arg2
== NULL
) {
16772 PyErr_SetString(PyExc_TypeError
,"null reference");
16776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16777 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
16779 wxPyEndAllowThreads(__tstate
);
16780 if (PyErr_Occurred()) SWIG_fail
;
16782 Py_INCREF(Py_None
); resultobj
= Py_None
;
16789 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16790 PyObject
*resultobj
;
16791 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16792 wxString
*arg2
= 0 ;
16793 bool temp2
= False
;
16794 PyObject
* obj0
= 0 ;
16795 PyObject
* obj1
= 0 ;
16796 char *kwnames
[] = {
16797 (char *) "self",(char *) "label", NULL
16800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
16801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16804 arg2
= wxString_in_helper(obj1
);
16805 if (arg2
== NULL
) SWIG_fail
;
16809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16810 (arg1
)->SetLabel((wxString
const &)*arg2
);
16812 wxPyEndAllowThreads(__tstate
);
16813 if (PyErr_Occurred()) SWIG_fail
;
16815 Py_INCREF(Py_None
); resultobj
= Py_None
;
16830 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16831 PyObject
*resultobj
;
16832 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16833 PyObject
* obj0
= 0 ;
16834 char *kwnames
[] = {
16835 (char *) "self", NULL
16838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
16839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16845 wxPyEndAllowThreads(__tstate
);
16846 if (PyErr_Occurred()) SWIG_fail
;
16848 Py_INCREF(Py_None
); resultobj
= Py_None
;
16855 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16856 PyObject
*resultobj
;
16857 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16858 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
16859 PyObject
* obj0
= 0 ;
16860 PyObject
* obj1
= 0 ;
16861 char *kwnames
[] = {
16862 (char *) "self",(char *) "tbar", NULL
16865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
16866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16868 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
,
16869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16872 (arg1
)->Attach(arg2
);
16874 wxPyEndAllowThreads(__tstate
);
16875 if (PyErr_Occurred()) SWIG_fail
;
16877 Py_INCREF(Py_None
); resultobj
= Py_None
;
16884 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16885 PyObject
*resultobj
;
16886 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16888 PyObject
* obj0
= 0 ;
16889 char *kwnames
[] = {
16890 (char *) "self", NULL
16893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
16894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16898 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
16900 wxPyEndAllowThreads(__tstate
);
16901 if (PyErr_Occurred()) SWIG_fail
;
16903 resultobj
= result
;
16910 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16911 PyObject
*resultobj
;
16912 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16913 PyObject
*arg2
= (PyObject
*) 0 ;
16914 PyObject
* obj0
= 0 ;
16915 PyObject
* obj1
= 0 ;
16916 char *kwnames
[] = {
16917 (char *) "self",(char *) "clientData", NULL
16920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16926 wxToolBarToolBase_SetClientData(arg1
,arg2
);
16928 wxPyEndAllowThreads(__tstate
);
16929 if (PyErr_Occurred()) SWIG_fail
;
16931 Py_INCREF(Py_None
); resultobj
= Py_None
;
16938 static PyObject
* ToolBarToolBase_swigregister(PyObject
*, PyObject
*args
) {
16940 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16941 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
16943 return Py_BuildValue((char *)"");
16945 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16946 PyObject
*resultobj
;
16947 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16949 wxString
*arg3
= 0 ;
16950 wxBitmap
*arg4
= 0 ;
16951 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
16952 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
16953 int arg6
= (int) wxITEM_NORMAL
;
16954 wxString
const &arg7_defvalue
= wxPyEmptyString
;
16955 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16956 wxString
const &arg8_defvalue
= wxPyEmptyString
;
16957 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16958 PyObject
*arg9
= (PyObject
*) NULL
;
16959 wxToolBarToolBase
*result
;
16960 bool temp3
= False
;
16961 bool temp7
= False
;
16962 bool temp8
= False
;
16963 PyObject
* obj0
= 0 ;
16964 PyObject
* obj1
= 0 ;
16965 PyObject
* obj2
= 0 ;
16966 PyObject
* obj3
= 0 ;
16967 PyObject
* obj4
= 0 ;
16968 PyObject
* obj5
= 0 ;
16969 PyObject
* obj6
= 0 ;
16970 PyObject
* obj7
= 0 ;
16971 PyObject
* obj8
= 0 ;
16972 char *kwnames
[] = {
16973 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
16977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16979 arg2
= (int)SWIG_As_int(obj1
);
16980 if (PyErr_Occurred()) SWIG_fail
;
16982 arg3
= wxString_in_helper(obj2
);
16983 if (arg3
== NULL
) SWIG_fail
;
16986 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
16987 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16989 if (arg4
== NULL
) {
16990 PyErr_SetString(PyExc_TypeError
,"null reference");
16994 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
16995 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16997 if (arg5
== NULL
) {
16998 PyErr_SetString(PyExc_TypeError
,"null reference");
17003 arg6
= (int)SWIG_As_int(obj5
);
17004 if (PyErr_Occurred()) SWIG_fail
;
17008 arg7
= wxString_in_helper(obj6
);
17009 if (arg7
== NULL
) SWIG_fail
;
17015 arg8
= wxString_in_helper(obj7
);
17016 if (arg8
== NULL
) SWIG_fail
;
17024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17025 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
17027 wxPyEndAllowThreads(__tstate
);
17028 if (PyErr_Occurred()) SWIG_fail
;
17031 resultobj
= wxPyMake_wxObject(result
, 0);
17063 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17064 PyObject
*resultobj
;
17065 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17068 wxString
*arg4
= 0 ;
17069 wxBitmap
*arg5
= 0 ;
17070 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
17071 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
17072 int arg7
= (int) wxITEM_NORMAL
;
17073 wxString
const &arg8_defvalue
= wxPyEmptyString
;
17074 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17075 wxString
const &arg9_defvalue
= wxPyEmptyString
;
17076 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17077 PyObject
*arg10
= (PyObject
*) NULL
;
17078 wxToolBarToolBase
*result
;
17079 bool temp4
= False
;
17080 bool temp8
= False
;
17081 bool temp9
= False
;
17082 PyObject
* obj0
= 0 ;
17083 PyObject
* obj1
= 0 ;
17084 PyObject
* obj2
= 0 ;
17085 PyObject
* obj3
= 0 ;
17086 PyObject
* obj4
= 0 ;
17087 PyObject
* obj5
= 0 ;
17088 PyObject
* obj6
= 0 ;
17089 PyObject
* obj7
= 0 ;
17090 PyObject
* obj8
= 0 ;
17091 PyObject
* obj9
= 0 ;
17092 char *kwnames
[] = {
17093 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
17096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
17097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17099 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17100 if (PyErr_Occurred()) SWIG_fail
;
17101 arg3
= (int)SWIG_As_int(obj2
);
17102 if (PyErr_Occurred()) SWIG_fail
;
17104 arg4
= wxString_in_helper(obj3
);
17105 if (arg4
== NULL
) SWIG_fail
;
17108 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
17109 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17111 if (arg5
== NULL
) {
17112 PyErr_SetString(PyExc_TypeError
,"null reference");
17116 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
,
17117 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17119 if (arg6
== NULL
) {
17120 PyErr_SetString(PyExc_TypeError
,"null reference");
17125 arg7
= (int)SWIG_As_int(obj6
);
17126 if (PyErr_Occurred()) SWIG_fail
;
17130 arg8
= wxString_in_helper(obj7
);
17131 if (arg8
== NULL
) SWIG_fail
;
17137 arg9
= wxString_in_helper(obj8
);
17138 if (arg9
== NULL
) SWIG_fail
;
17146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17147 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
);
17149 wxPyEndAllowThreads(__tstate
);
17150 if (PyErr_Occurred()) SWIG_fail
;
17153 resultobj
= wxPyMake_wxObject(result
, 0);
17185 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17186 PyObject
*resultobj
;
17187 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17188 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
17189 wxToolBarToolBase
*result
;
17190 PyObject
* obj0
= 0 ;
17191 PyObject
* obj1
= 0 ;
17192 char *kwnames
[] = {
17193 (char *) "self",(char *) "tool", NULL
17196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
17197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17199 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
,
17200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17203 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
17205 wxPyEndAllowThreads(__tstate
);
17206 if (PyErr_Occurred()) SWIG_fail
;
17209 resultobj
= wxPyMake_wxObject(result
, 0);
17217 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17218 PyObject
*resultobj
;
17219 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17221 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
17222 wxToolBarToolBase
*result
;
17223 PyObject
* obj0
= 0 ;
17224 PyObject
* obj1
= 0 ;
17225 PyObject
* obj2
= 0 ;
17226 char *kwnames
[] = {
17227 (char *) "self",(char *) "pos",(char *) "tool", NULL
17230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17233 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17234 if (PyErr_Occurred()) SWIG_fail
;
17235 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
,
17236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17239 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
17241 wxPyEndAllowThreads(__tstate
);
17242 if (PyErr_Occurred()) SWIG_fail
;
17245 resultobj
= wxPyMake_wxObject(result
, 0);
17253 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17254 PyObject
*resultobj
;
17255 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17256 wxControl
*arg2
= (wxControl
*) 0 ;
17257 wxToolBarToolBase
*result
;
17258 PyObject
* obj0
= 0 ;
17259 PyObject
* obj1
= 0 ;
17260 char *kwnames
[] = {
17261 (char *) "self",(char *) "control", NULL
17264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17267 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
17268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17271 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
17273 wxPyEndAllowThreads(__tstate
);
17274 if (PyErr_Occurred()) SWIG_fail
;
17277 resultobj
= wxPyMake_wxObject(result
, 0);
17285 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17286 PyObject
*resultobj
;
17287 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17289 wxControl
*arg3
= (wxControl
*) 0 ;
17290 wxToolBarToolBase
*result
;
17291 PyObject
* obj0
= 0 ;
17292 PyObject
* obj1
= 0 ;
17293 PyObject
* obj2
= 0 ;
17294 char *kwnames
[] = {
17295 (char *) "self",(char *) "pos",(char *) "control", NULL
17298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17301 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17302 if (PyErr_Occurred()) SWIG_fail
;
17303 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
,
17304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17307 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
17309 wxPyEndAllowThreads(__tstate
);
17310 if (PyErr_Occurred()) SWIG_fail
;
17313 resultobj
= wxPyMake_wxObject(result
, 0);
17321 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17322 PyObject
*resultobj
;
17323 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17326 PyObject
* obj0
= 0 ;
17327 PyObject
* obj1
= 0 ;
17328 char *kwnames
[] = {
17329 (char *) "self",(char *) "id", NULL
17332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17335 arg2
= (int)SWIG_As_int(obj1
);
17336 if (PyErr_Occurred()) SWIG_fail
;
17338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17339 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
17341 wxPyEndAllowThreads(__tstate
);
17342 if (PyErr_Occurred()) SWIG_fail
;
17345 resultobj
= wxPyMake_wxObject(result
, 0);
17353 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17354 PyObject
*resultobj
;
17355 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17356 wxToolBarToolBase
*result
;
17357 PyObject
* obj0
= 0 ;
17358 char *kwnames
[] = {
17359 (char *) "self", NULL
17362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
17363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17367 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
17369 wxPyEndAllowThreads(__tstate
);
17370 if (PyErr_Occurred()) SWIG_fail
;
17373 resultobj
= wxPyMake_wxObject(result
, 0);
17381 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17382 PyObject
*resultobj
;
17383 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17385 wxToolBarToolBase
*result
;
17386 PyObject
* obj0
= 0 ;
17387 PyObject
* obj1
= 0 ;
17388 char *kwnames
[] = {
17389 (char *) "self",(char *) "pos", NULL
17392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
17393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17395 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17396 if (PyErr_Occurred()) SWIG_fail
;
17398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17399 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
17401 wxPyEndAllowThreads(__tstate
);
17402 if (PyErr_Occurred()) SWIG_fail
;
17405 resultobj
= wxPyMake_wxObject(result
, 0);
17413 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17414 PyObject
*resultobj
;
17415 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17417 wxToolBarToolBase
*result
;
17418 PyObject
* obj0
= 0 ;
17419 PyObject
* obj1
= 0 ;
17420 char *kwnames
[] = {
17421 (char *) "self",(char *) "id", NULL
17424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17427 arg2
= (int)SWIG_As_int(obj1
);
17428 if (PyErr_Occurred()) SWIG_fail
;
17430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17431 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
17433 wxPyEndAllowThreads(__tstate
);
17434 if (PyErr_Occurred()) SWIG_fail
;
17437 resultobj
= wxPyMake_wxObject(result
, 0);
17445 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17446 PyObject
*resultobj
;
17447 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17450 PyObject
* obj0
= 0 ;
17451 PyObject
* obj1
= 0 ;
17452 char *kwnames
[] = {
17453 (char *) "self",(char *) "pos", NULL
17456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17459 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17460 if (PyErr_Occurred()) SWIG_fail
;
17462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17463 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
17465 wxPyEndAllowThreads(__tstate
);
17466 if (PyErr_Occurred()) SWIG_fail
;
17469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17477 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17478 PyObject
*resultobj
;
17479 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17482 PyObject
* obj0
= 0 ;
17483 PyObject
* obj1
= 0 ;
17484 char *kwnames
[] = {
17485 (char *) "self",(char *) "id", NULL
17488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17491 arg2
= (int)SWIG_As_int(obj1
);
17492 if (PyErr_Occurred()) SWIG_fail
;
17494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17495 result
= (bool)(arg1
)->DeleteTool(arg2
);
17497 wxPyEndAllowThreads(__tstate
);
17498 if (PyErr_Occurred()) SWIG_fail
;
17501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17509 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17510 PyObject
*resultobj
;
17511 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17512 PyObject
* obj0
= 0 ;
17513 char *kwnames
[] = {
17514 (char *) "self", NULL
17517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
17518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17522 (arg1
)->ClearTools();
17524 wxPyEndAllowThreads(__tstate
);
17525 if (PyErr_Occurred()) SWIG_fail
;
17527 Py_INCREF(Py_None
); resultobj
= Py_None
;
17534 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17535 PyObject
*resultobj
;
17536 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17538 PyObject
* obj0
= 0 ;
17539 char *kwnames
[] = {
17540 (char *) "self", NULL
17543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
17544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17548 result
= (bool)(arg1
)->Realize();
17550 wxPyEndAllowThreads(__tstate
);
17551 if (PyErr_Occurred()) SWIG_fail
;
17554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17562 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17563 PyObject
*resultobj
;
17564 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17567 PyObject
* obj0
= 0 ;
17568 PyObject
* obj1
= 0 ;
17569 PyObject
* obj2
= 0 ;
17570 char *kwnames
[] = {
17571 (char *) "self",(char *) "id",(char *) "enable", NULL
17574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17577 arg2
= (int)SWIG_As_int(obj1
);
17578 if (PyErr_Occurred()) SWIG_fail
;
17579 arg3
= (bool)SWIG_As_bool(obj2
);
17580 if (PyErr_Occurred()) SWIG_fail
;
17582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17583 (arg1
)->EnableTool(arg2
,arg3
);
17585 wxPyEndAllowThreads(__tstate
);
17586 if (PyErr_Occurred()) SWIG_fail
;
17588 Py_INCREF(Py_None
); resultobj
= Py_None
;
17595 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17596 PyObject
*resultobj
;
17597 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17600 PyObject
* obj0
= 0 ;
17601 PyObject
* obj1
= 0 ;
17602 PyObject
* obj2
= 0 ;
17603 char *kwnames
[] = {
17604 (char *) "self",(char *) "id",(char *) "toggle", NULL
17607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17610 arg2
= (int)SWIG_As_int(obj1
);
17611 if (PyErr_Occurred()) SWIG_fail
;
17612 arg3
= (bool)SWIG_As_bool(obj2
);
17613 if (PyErr_Occurred()) SWIG_fail
;
17615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17616 (arg1
)->ToggleTool(arg2
,arg3
);
17618 wxPyEndAllowThreads(__tstate
);
17619 if (PyErr_Occurred()) SWIG_fail
;
17621 Py_INCREF(Py_None
); resultobj
= Py_None
;
17628 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17629 PyObject
*resultobj
;
17630 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17633 PyObject
* obj0
= 0 ;
17634 PyObject
* obj1
= 0 ;
17635 PyObject
* obj2
= 0 ;
17636 char *kwnames
[] = {
17637 (char *) "self",(char *) "id",(char *) "toggle", NULL
17640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17643 arg2
= (int)SWIG_As_int(obj1
);
17644 if (PyErr_Occurred()) SWIG_fail
;
17645 arg3
= (bool)SWIG_As_bool(obj2
);
17646 if (PyErr_Occurred()) SWIG_fail
;
17648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17649 (arg1
)->SetToggle(arg2
,arg3
);
17651 wxPyEndAllowThreads(__tstate
);
17652 if (PyErr_Occurred()) SWIG_fail
;
17654 Py_INCREF(Py_None
); resultobj
= Py_None
;
17661 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17662 PyObject
*resultobj
;
17663 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17666 PyObject
* obj0
= 0 ;
17667 PyObject
* obj1
= 0 ;
17668 char *kwnames
[] = {
17669 (char *) "self",(char *) "id", NULL
17672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
17673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17675 arg2
= (int)SWIG_As_int(obj1
);
17676 if (PyErr_Occurred()) SWIG_fail
;
17678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17679 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
17681 wxPyEndAllowThreads(__tstate
);
17682 if (PyErr_Occurred()) SWIG_fail
;
17684 resultobj
= result
;
17691 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17692 PyObject
*resultobj
;
17693 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17695 PyObject
*arg3
= (PyObject
*) 0 ;
17696 PyObject
* obj0
= 0 ;
17697 PyObject
* obj1
= 0 ;
17698 PyObject
* obj2
= 0 ;
17699 char *kwnames
[] = {
17700 (char *) "self",(char *) "id",(char *) "clientData", NULL
17703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17706 arg2
= (int)SWIG_As_int(obj1
);
17707 if (PyErr_Occurred()) SWIG_fail
;
17710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17711 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
17713 wxPyEndAllowThreads(__tstate
);
17714 if (PyErr_Occurred()) SWIG_fail
;
17716 Py_INCREF(Py_None
); resultobj
= Py_None
;
17723 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17724 PyObject
*resultobj
;
17725 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17728 PyObject
* obj0
= 0 ;
17729 PyObject
* obj1
= 0 ;
17730 char *kwnames
[] = {
17731 (char *) "self",(char *) "id", NULL
17734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17737 arg2
= (int)SWIG_As_int(obj1
);
17738 if (PyErr_Occurred()) SWIG_fail
;
17740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17741 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
17743 wxPyEndAllowThreads(__tstate
);
17744 if (PyErr_Occurred()) SWIG_fail
;
17746 resultobj
= SWIG_From_int((int)result
);
17753 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17754 PyObject
*resultobj
;
17755 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17758 PyObject
* obj0
= 0 ;
17759 PyObject
* obj1
= 0 ;
17760 char *kwnames
[] = {
17761 (char *) "self",(char *) "id", NULL
17764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
17765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17767 arg2
= (int)SWIG_As_int(obj1
);
17768 if (PyErr_Occurred()) SWIG_fail
;
17770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17771 result
= (bool)(arg1
)->GetToolState(arg2
);
17773 wxPyEndAllowThreads(__tstate
);
17774 if (PyErr_Occurred()) SWIG_fail
;
17777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17785 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17786 PyObject
*resultobj
;
17787 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17790 PyObject
* obj0
= 0 ;
17791 PyObject
* obj1
= 0 ;
17792 char *kwnames
[] = {
17793 (char *) "self",(char *) "id", NULL
17796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
17797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17799 arg2
= (int)SWIG_As_int(obj1
);
17800 if (PyErr_Occurred()) SWIG_fail
;
17802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17803 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
17805 wxPyEndAllowThreads(__tstate
);
17806 if (PyErr_Occurred()) SWIG_fail
;
17809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17817 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17818 PyObject
*resultobj
;
17819 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17821 wxString
*arg3
= 0 ;
17822 bool temp3
= False
;
17823 PyObject
* obj0
= 0 ;
17824 PyObject
* obj1
= 0 ;
17825 PyObject
* obj2
= 0 ;
17826 char *kwnames
[] = {
17827 (char *) "self",(char *) "id",(char *) "helpString", NULL
17830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17833 arg2
= (int)SWIG_As_int(obj1
);
17834 if (PyErr_Occurred()) SWIG_fail
;
17836 arg3
= wxString_in_helper(obj2
);
17837 if (arg3
== NULL
) SWIG_fail
;
17841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17842 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
17844 wxPyEndAllowThreads(__tstate
);
17845 if (PyErr_Occurred()) SWIG_fail
;
17847 Py_INCREF(Py_None
); resultobj
= Py_None
;
17862 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17863 PyObject
*resultobj
;
17864 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17867 PyObject
* obj0
= 0 ;
17868 PyObject
* obj1
= 0 ;
17869 char *kwnames
[] = {
17870 (char *) "self",(char *) "id", NULL
17873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17876 arg2
= (int)SWIG_As_int(obj1
);
17877 if (PyErr_Occurred()) SWIG_fail
;
17879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17880 result
= (arg1
)->GetToolShortHelp(arg2
);
17882 wxPyEndAllowThreads(__tstate
);
17883 if (PyErr_Occurred()) SWIG_fail
;
17887 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17889 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17898 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17899 PyObject
*resultobj
;
17900 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17902 wxString
*arg3
= 0 ;
17903 bool temp3
= False
;
17904 PyObject
* obj0
= 0 ;
17905 PyObject
* obj1
= 0 ;
17906 PyObject
* obj2
= 0 ;
17907 char *kwnames
[] = {
17908 (char *) "self",(char *) "id",(char *) "helpString", NULL
17911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17914 arg2
= (int)SWIG_As_int(obj1
);
17915 if (PyErr_Occurred()) SWIG_fail
;
17917 arg3
= wxString_in_helper(obj2
);
17918 if (arg3
== NULL
) SWIG_fail
;
17922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17923 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
17925 wxPyEndAllowThreads(__tstate
);
17926 if (PyErr_Occurred()) SWIG_fail
;
17928 Py_INCREF(Py_None
); resultobj
= Py_None
;
17943 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17944 PyObject
*resultobj
;
17945 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17948 PyObject
* obj0
= 0 ;
17949 PyObject
* obj1
= 0 ;
17950 char *kwnames
[] = {
17951 (char *) "self",(char *) "id", NULL
17954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17957 arg2
= (int)SWIG_As_int(obj1
);
17958 if (PyErr_Occurred()) SWIG_fail
;
17960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17961 result
= (arg1
)->GetToolLongHelp(arg2
);
17963 wxPyEndAllowThreads(__tstate
);
17964 if (PyErr_Occurred()) SWIG_fail
;
17968 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17970 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17979 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17980 PyObject
*resultobj
;
17981 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17984 PyObject
* obj0
= 0 ;
17985 PyObject
* obj1
= 0 ;
17986 PyObject
* obj2
= 0 ;
17987 char *kwnames
[] = {
17988 (char *) "self",(char *) "x",(char *) "y", NULL
17991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17994 arg2
= (int)SWIG_As_int(obj1
);
17995 if (PyErr_Occurred()) SWIG_fail
;
17996 arg3
= (int)SWIG_As_int(obj2
);
17997 if (PyErr_Occurred()) SWIG_fail
;
17999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18000 (arg1
)->SetMargins(arg2
,arg3
);
18002 wxPyEndAllowThreads(__tstate
);
18003 if (PyErr_Occurred()) SWIG_fail
;
18005 Py_INCREF(Py_None
); resultobj
= Py_None
;
18012 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18013 PyObject
*resultobj
;
18014 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18017 PyObject
* obj0
= 0 ;
18018 PyObject
* obj1
= 0 ;
18019 char *kwnames
[] = {
18020 (char *) "self",(char *) "size", NULL
18023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
18024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18028 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18032 (arg1
)->SetMargins((wxSize
const &)*arg2
);
18034 wxPyEndAllowThreads(__tstate
);
18035 if (PyErr_Occurred()) SWIG_fail
;
18037 Py_INCREF(Py_None
); resultobj
= Py_None
;
18044 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18045 PyObject
*resultobj
;
18046 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18048 PyObject
* obj0
= 0 ;
18049 PyObject
* obj1
= 0 ;
18050 char *kwnames
[] = {
18051 (char *) "self",(char *) "packing", NULL
18054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
18055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18057 arg2
= (int)SWIG_As_int(obj1
);
18058 if (PyErr_Occurred()) SWIG_fail
;
18060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18061 (arg1
)->SetToolPacking(arg2
);
18063 wxPyEndAllowThreads(__tstate
);
18064 if (PyErr_Occurred()) SWIG_fail
;
18066 Py_INCREF(Py_None
); resultobj
= Py_None
;
18073 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18074 PyObject
*resultobj
;
18075 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18077 PyObject
* obj0
= 0 ;
18078 PyObject
* obj1
= 0 ;
18079 char *kwnames
[] = {
18080 (char *) "self",(char *) "separation", NULL
18083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
18084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18086 arg2
= (int)SWIG_As_int(obj1
);
18087 if (PyErr_Occurred()) SWIG_fail
;
18089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18090 (arg1
)->SetToolSeparation(arg2
);
18092 wxPyEndAllowThreads(__tstate
);
18093 if (PyErr_Occurred()) SWIG_fail
;
18095 Py_INCREF(Py_None
); resultobj
= Py_None
;
18102 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18103 PyObject
*resultobj
;
18104 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18106 PyObject
* obj0
= 0 ;
18107 char *kwnames
[] = {
18108 (char *) "self", NULL
18111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
18112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18116 result
= (arg1
)->GetToolMargins();
18118 wxPyEndAllowThreads(__tstate
);
18119 if (PyErr_Occurred()) SWIG_fail
;
18122 wxSize
* resultptr
;
18123 resultptr
= new wxSize((wxSize
&) result
);
18124 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18132 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18133 PyObject
*resultobj
;
18134 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18136 PyObject
* obj0
= 0 ;
18137 char *kwnames
[] = {
18138 (char *) "self", NULL
18141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
18142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18146 result
= (arg1
)->GetMargins();
18148 wxPyEndAllowThreads(__tstate
);
18149 if (PyErr_Occurred()) SWIG_fail
;
18152 wxSize
* resultptr
;
18153 resultptr
= new wxSize((wxSize
&) result
);
18154 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18162 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18163 PyObject
*resultobj
;
18164 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18166 PyObject
* obj0
= 0 ;
18167 char *kwnames
[] = {
18168 (char *) "self", NULL
18171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
18172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18176 result
= (int)(arg1
)->GetToolPacking();
18178 wxPyEndAllowThreads(__tstate
);
18179 if (PyErr_Occurred()) SWIG_fail
;
18181 resultobj
= SWIG_From_int((int)result
);
18188 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18189 PyObject
*resultobj
;
18190 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18192 PyObject
* obj0
= 0 ;
18193 char *kwnames
[] = {
18194 (char *) "self", NULL
18197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
18198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18202 result
= (int)(arg1
)->GetToolSeparation();
18204 wxPyEndAllowThreads(__tstate
);
18205 if (PyErr_Occurred()) SWIG_fail
;
18207 resultobj
= SWIG_From_int((int)result
);
18214 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18215 PyObject
*resultobj
;
18216 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18218 PyObject
* obj0
= 0 ;
18219 PyObject
* obj1
= 0 ;
18220 char *kwnames
[] = {
18221 (char *) "self",(char *) "nRows", NULL
18224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
18225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18227 arg2
= (int)SWIG_As_int(obj1
);
18228 if (PyErr_Occurred()) SWIG_fail
;
18230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18231 (arg1
)->SetRows(arg2
);
18233 wxPyEndAllowThreads(__tstate
);
18234 if (PyErr_Occurred()) SWIG_fail
;
18236 Py_INCREF(Py_None
); resultobj
= Py_None
;
18243 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18244 PyObject
*resultobj
;
18245 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18248 PyObject
* obj0
= 0 ;
18249 PyObject
* obj1
= 0 ;
18250 PyObject
* obj2
= 0 ;
18251 char *kwnames
[] = {
18252 (char *) "self",(char *) "rows",(char *) "cols", NULL
18255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18258 arg2
= (int)SWIG_As_int(obj1
);
18259 if (PyErr_Occurred()) SWIG_fail
;
18260 arg3
= (int)SWIG_As_int(obj2
);
18261 if (PyErr_Occurred()) SWIG_fail
;
18263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18264 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
18266 wxPyEndAllowThreads(__tstate
);
18267 if (PyErr_Occurred()) SWIG_fail
;
18269 Py_INCREF(Py_None
); resultobj
= Py_None
;
18276 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18277 PyObject
*resultobj
;
18278 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18280 PyObject
* obj0
= 0 ;
18281 char *kwnames
[] = {
18282 (char *) "self", NULL
18285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
18286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18290 result
= (int)(arg1
)->GetMaxRows();
18292 wxPyEndAllowThreads(__tstate
);
18293 if (PyErr_Occurred()) SWIG_fail
;
18295 resultobj
= SWIG_From_int((int)result
);
18302 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18303 PyObject
*resultobj
;
18304 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18306 PyObject
* obj0
= 0 ;
18307 char *kwnames
[] = {
18308 (char *) "self", NULL
18311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
18312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18316 result
= (int)(arg1
)->GetMaxCols();
18318 wxPyEndAllowThreads(__tstate
);
18319 if (PyErr_Occurred()) SWIG_fail
;
18321 resultobj
= SWIG_From_int((int)result
);
18328 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18329 PyObject
*resultobj
;
18330 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18333 PyObject
* obj0
= 0 ;
18334 PyObject
* obj1
= 0 ;
18335 char *kwnames
[] = {
18336 (char *) "self",(char *) "size", NULL
18339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18344 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18348 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
18350 wxPyEndAllowThreads(__tstate
);
18351 if (PyErr_Occurred()) SWIG_fail
;
18353 Py_INCREF(Py_None
); resultobj
= Py_None
;
18360 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18361 PyObject
*resultobj
;
18362 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18364 PyObject
* obj0
= 0 ;
18365 char *kwnames
[] = {
18366 (char *) "self", NULL
18369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
18370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18374 result
= (arg1
)->GetToolBitmapSize();
18376 wxPyEndAllowThreads(__tstate
);
18377 if (PyErr_Occurred()) SWIG_fail
;
18380 wxSize
* resultptr
;
18381 resultptr
= new wxSize((wxSize
&) result
);
18382 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18390 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18391 PyObject
*resultobj
;
18392 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18394 PyObject
* obj0
= 0 ;
18395 char *kwnames
[] = {
18396 (char *) "self", NULL
18399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
18400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18404 result
= (arg1
)->GetToolSize();
18406 wxPyEndAllowThreads(__tstate
);
18407 if (PyErr_Occurred()) SWIG_fail
;
18410 wxSize
* resultptr
;
18411 resultptr
= new wxSize((wxSize
&) result
);
18412 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18420 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18421 PyObject
*resultobj
;
18422 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18425 wxToolBarToolBase
*result
;
18426 PyObject
* obj0
= 0 ;
18427 PyObject
* obj1
= 0 ;
18428 PyObject
* obj2
= 0 ;
18429 char *kwnames
[] = {
18430 (char *) "self",(char *) "x",(char *) "y", NULL
18433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18436 arg2
= (int)SWIG_As_int(obj1
);
18437 if (PyErr_Occurred()) SWIG_fail
;
18438 arg3
= (int)SWIG_As_int(obj2
);
18439 if (PyErr_Occurred()) SWIG_fail
;
18441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18442 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18444 wxPyEndAllowThreads(__tstate
);
18445 if (PyErr_Occurred()) SWIG_fail
;
18448 resultobj
= wxPyMake_wxObject(result
, 0);
18456 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18457 PyObject
*resultobj
;
18458 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18460 wxToolBarToolBase
*result
;
18461 PyObject
* obj0
= 0 ;
18462 PyObject
* obj1
= 0 ;
18463 char *kwnames
[] = {
18464 (char *) "self",(char *) "toolid", NULL
18467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
18468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18470 arg2
= (int)SWIG_As_int(obj1
);
18471 if (PyErr_Occurred()) SWIG_fail
;
18473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18474 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
18476 wxPyEndAllowThreads(__tstate
);
18477 if (PyErr_Occurred()) SWIG_fail
;
18480 resultobj
= wxPyMake_wxObject(result
, 0);
18488 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18489 PyObject
*resultobj
;
18490 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18492 PyObject
* obj0
= 0 ;
18493 char *kwnames
[] = {
18494 (char *) "self", NULL
18497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
18498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18502 result
= (bool)(arg1
)->IsVertical();
18504 wxPyEndAllowThreads(__tstate
);
18505 if (PyErr_Occurred()) SWIG_fail
;
18508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18516 static PyObject
* ToolBarBase_swigregister(PyObject
*, PyObject
*args
) {
18518 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18519 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
18521 return Py_BuildValue((char *)"");
18523 static PyObject
*_wrap_new_ToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18524 PyObject
*resultobj
;
18525 wxWindow
*arg1
= (wxWindow
*) 0 ;
18526 int arg2
= (int) -1 ;
18527 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18528 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18529 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18530 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18531 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18532 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
18533 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18537 bool temp6
= False
;
18538 PyObject
* obj0
= 0 ;
18539 PyObject
* obj1
= 0 ;
18540 PyObject
* obj2
= 0 ;
18541 PyObject
* obj3
= 0 ;
18542 PyObject
* obj4
= 0 ;
18543 PyObject
* obj5
= 0 ;
18544 char *kwnames
[] = {
18545 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18552 arg2
= (int)SWIG_As_int(obj1
);
18553 if (PyErr_Occurred()) SWIG_fail
;
18558 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18564 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18568 arg5
= (long)SWIG_As_long(obj4
);
18569 if (PyErr_Occurred()) SWIG_fail
;
18573 arg6
= wxString_in_helper(obj5
);
18574 if (arg6
== NULL
) SWIG_fail
;
18579 if (!wxPyCheckForApp()) SWIG_fail
;
18580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18581 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18583 wxPyEndAllowThreads(__tstate
);
18584 if (PyErr_Occurred()) SWIG_fail
;
18586 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
18601 static PyObject
*_wrap_new_PreToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18602 PyObject
*resultobj
;
18604 char *kwnames
[] = {
18608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
18610 if (!wxPyCheckForApp()) SWIG_fail
;
18611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18612 result
= (wxToolBar
*)new wxToolBar();
18614 wxPyEndAllowThreads(__tstate
);
18615 if (PyErr_Occurred()) SWIG_fail
;
18617 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
18624 static PyObject
*_wrap_ToolBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18625 PyObject
*resultobj
;
18626 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18627 wxWindow
*arg2
= (wxWindow
*) 0 ;
18628 int arg3
= (int) -1 ;
18629 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18630 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18631 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18632 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18633 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18634 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
18635 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18639 bool temp7
= False
;
18640 PyObject
* obj0
= 0 ;
18641 PyObject
* obj1
= 0 ;
18642 PyObject
* obj2
= 0 ;
18643 PyObject
* obj3
= 0 ;
18644 PyObject
* obj4
= 0 ;
18645 PyObject
* obj5
= 0 ;
18646 PyObject
* obj6
= 0 ;
18647 char *kwnames
[] = {
18648 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
18653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18654 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18657 arg3
= (int)SWIG_As_int(obj2
);
18658 if (PyErr_Occurred()) SWIG_fail
;
18663 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18669 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18673 arg6
= (long)SWIG_As_long(obj5
);
18674 if (PyErr_Occurred()) SWIG_fail
;
18678 arg7
= wxString_in_helper(obj6
);
18679 if (arg7
== NULL
) SWIG_fail
;
18684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18685 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18687 wxPyEndAllowThreads(__tstate
);
18688 if (PyErr_Occurred()) SWIG_fail
;
18691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18707 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18708 PyObject
*resultobj
;
18709 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18712 wxToolBarToolBase
*result
;
18713 PyObject
* obj0
= 0 ;
18714 PyObject
* obj1
= 0 ;
18715 PyObject
* obj2
= 0 ;
18716 char *kwnames
[] = {
18717 (char *) "self",(char *) "x",(char *) "y", NULL
18720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
18722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18723 arg2
= (int)SWIG_As_int(obj1
);
18724 if (PyErr_Occurred()) SWIG_fail
;
18725 arg3
= (int)SWIG_As_int(obj2
);
18726 if (PyErr_Occurred()) SWIG_fail
;
18728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18729 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18731 wxPyEndAllowThreads(__tstate
);
18732 if (PyErr_Occurred()) SWIG_fail
;
18735 resultobj
= wxPyMake_wxObject(result
, 0);
18743 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18744 PyObject
*resultobj
;
18745 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
18746 wxVisualAttributes result
;
18747 PyObject
* obj0
= 0 ;
18748 char *kwnames
[] = {
18749 (char *) "variant", NULL
18752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18754 arg1
= (int)SWIG_As_int(obj0
);
18755 if (PyErr_Occurred()) SWIG_fail
;
18758 if (!wxPyCheckForApp()) SWIG_fail
;
18759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18760 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
18762 wxPyEndAllowThreads(__tstate
);
18763 if (PyErr_Occurred()) SWIG_fail
;
18766 wxVisualAttributes
* resultptr
;
18767 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
18768 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18776 static PyObject
* ToolBar_swigregister(PyObject
*, PyObject
*args
) {
18778 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18779 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
18781 return Py_BuildValue((char *)"");
18783 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
18784 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
18789 static PyObject
*_wrap_ListCtrlNameStr_get() {
18794 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
18796 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
18803 static PyObject
*_wrap_new_ListItemAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18804 PyObject
*resultobj
;
18805 wxColour
const &arg1_defvalue
= wxNullColour
;
18806 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
18807 wxColour
const &arg2_defvalue
= wxNullColour
;
18808 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
18809 wxFont
const &arg3_defvalue
= wxNullFont
;
18810 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
18811 wxListItemAttr
*result
;
18814 PyObject
* obj0
= 0 ;
18815 PyObject
* obj1
= 0 ;
18816 PyObject
* obj2
= 0 ;
18817 char *kwnames
[] = {
18818 (char *) "colText",(char *) "colBack",(char *) "font", NULL
18821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18825 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
18831 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18835 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
18836 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18838 if (arg3
== NULL
) {
18839 PyErr_SetString(PyExc_TypeError
,"null reference");
18844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18845 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
18847 wxPyEndAllowThreads(__tstate
);
18848 if (PyErr_Occurred()) SWIG_fail
;
18850 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
18857 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18858 PyObject
*resultobj
;
18859 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18860 wxColour
*arg2
= 0 ;
18862 PyObject
* obj0
= 0 ;
18863 PyObject
* obj1
= 0 ;
18864 char *kwnames
[] = {
18865 (char *) "self",(char *) "colText", NULL
18868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18873 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18877 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18879 wxPyEndAllowThreads(__tstate
);
18880 if (PyErr_Occurred()) SWIG_fail
;
18882 Py_INCREF(Py_None
); resultobj
= Py_None
;
18889 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18890 PyObject
*resultobj
;
18891 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18892 wxColour
*arg2
= 0 ;
18894 PyObject
* obj0
= 0 ;
18895 PyObject
* obj1
= 0 ;
18896 char *kwnames
[] = {
18897 (char *) "self",(char *) "colBack", NULL
18900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18905 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18909 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18911 wxPyEndAllowThreads(__tstate
);
18912 if (PyErr_Occurred()) SWIG_fail
;
18914 Py_INCREF(Py_None
); resultobj
= Py_None
;
18921 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18922 PyObject
*resultobj
;
18923 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18925 PyObject
* obj0
= 0 ;
18926 PyObject
* obj1
= 0 ;
18927 char *kwnames
[] = {
18928 (char *) "self",(char *) "font", NULL
18931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18934 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18935 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18937 if (arg2
== NULL
) {
18938 PyErr_SetString(PyExc_TypeError
,"null reference");
18942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18943 (arg1
)->SetFont((wxFont
const &)*arg2
);
18945 wxPyEndAllowThreads(__tstate
);
18946 if (PyErr_Occurred()) SWIG_fail
;
18948 Py_INCREF(Py_None
); resultobj
= Py_None
;
18955 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18956 PyObject
*resultobj
;
18957 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18959 PyObject
* obj0
= 0 ;
18960 char *kwnames
[] = {
18961 (char *) "self", NULL
18964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
18965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18969 result
= (bool)(arg1
)->HasTextColour();
18971 wxPyEndAllowThreads(__tstate
);
18972 if (PyErr_Occurred()) SWIG_fail
;
18975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18983 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18984 PyObject
*resultobj
;
18985 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18987 PyObject
* obj0
= 0 ;
18988 char *kwnames
[] = {
18989 (char *) "self", NULL
18992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
18993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18997 result
= (bool)(arg1
)->HasBackgroundColour();
18999 wxPyEndAllowThreads(__tstate
);
19000 if (PyErr_Occurred()) SWIG_fail
;
19003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19011 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19012 PyObject
*resultobj
;
19013 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19015 PyObject
* obj0
= 0 ;
19016 char *kwnames
[] = {
19017 (char *) "self", NULL
19020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
19021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19025 result
= (bool)(arg1
)->HasFont();
19027 wxPyEndAllowThreads(__tstate
);
19028 if (PyErr_Occurred()) SWIG_fail
;
19031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19039 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19040 PyObject
*resultobj
;
19041 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19043 PyObject
* obj0
= 0 ;
19044 char *kwnames
[] = {
19045 (char *) "self", NULL
19048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
19049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19053 result
= (arg1
)->GetTextColour();
19055 wxPyEndAllowThreads(__tstate
);
19056 if (PyErr_Occurred()) SWIG_fail
;
19059 wxColour
* resultptr
;
19060 resultptr
= new wxColour((wxColour
&) result
);
19061 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19069 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19070 PyObject
*resultobj
;
19071 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19073 PyObject
* obj0
= 0 ;
19074 char *kwnames
[] = {
19075 (char *) "self", NULL
19078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
19079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19083 result
= (arg1
)->GetBackgroundColour();
19085 wxPyEndAllowThreads(__tstate
);
19086 if (PyErr_Occurred()) SWIG_fail
;
19089 wxColour
* resultptr
;
19090 resultptr
= new wxColour((wxColour
&) result
);
19091 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19099 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19100 PyObject
*resultobj
;
19101 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19103 PyObject
* obj0
= 0 ;
19104 char *kwnames
[] = {
19105 (char *) "self", NULL
19108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
19109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19113 result
= (arg1
)->GetFont();
19115 wxPyEndAllowThreads(__tstate
);
19116 if (PyErr_Occurred()) SWIG_fail
;
19119 wxFont
* resultptr
;
19120 resultptr
= new wxFont((wxFont
&) result
);
19121 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
19129 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19130 PyObject
*resultobj
;
19131 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19132 PyObject
* obj0
= 0 ;
19133 char *kwnames
[] = {
19134 (char *) "self", NULL
19137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
19138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19142 wxListItemAttr_Destroy(arg1
);
19144 wxPyEndAllowThreads(__tstate
);
19145 if (PyErr_Occurred()) SWIG_fail
;
19147 Py_INCREF(Py_None
); resultobj
= Py_None
;
19154 static PyObject
* ListItemAttr_swigregister(PyObject
*, PyObject
*args
) {
19156 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19157 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
19159 return Py_BuildValue((char *)"");
19161 static PyObject
*_wrap_new_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19162 PyObject
*resultobj
;
19163 wxListItem
*result
;
19164 char *kwnames
[] = {
19168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
19170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19171 result
= (wxListItem
*)new wxListItem();
19173 wxPyEndAllowThreads(__tstate
);
19174 if (PyErr_Occurred()) SWIG_fail
;
19177 resultobj
= wxPyMake_wxObject(result
, 1);
19185 static PyObject
*_wrap_delete_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19186 PyObject
*resultobj
;
19187 wxListItem
*arg1
= (wxListItem
*) 0 ;
19188 PyObject
* obj0
= 0 ;
19189 char *kwnames
[] = {
19190 (char *) "self", NULL
19193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
19194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19200 wxPyEndAllowThreads(__tstate
);
19201 if (PyErr_Occurred()) SWIG_fail
;
19203 Py_INCREF(Py_None
); resultobj
= Py_None
;
19210 static PyObject
*_wrap_ListItem_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19211 PyObject
*resultobj
;
19212 wxListItem
*arg1
= (wxListItem
*) 0 ;
19213 PyObject
* obj0
= 0 ;
19214 char *kwnames
[] = {
19215 (char *) "self", NULL
19218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
19219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19225 wxPyEndAllowThreads(__tstate
);
19226 if (PyErr_Occurred()) SWIG_fail
;
19228 Py_INCREF(Py_None
); resultobj
= Py_None
;
19235 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19236 PyObject
*resultobj
;
19237 wxListItem
*arg1
= (wxListItem
*) 0 ;
19238 PyObject
* obj0
= 0 ;
19239 char *kwnames
[] = {
19240 (char *) "self", NULL
19243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
19244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19248 (arg1
)->ClearAttributes();
19250 wxPyEndAllowThreads(__tstate
);
19251 if (PyErr_Occurred()) SWIG_fail
;
19253 Py_INCREF(Py_None
); resultobj
= Py_None
;
19260 static PyObject
*_wrap_ListItem_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19261 PyObject
*resultobj
;
19262 wxListItem
*arg1
= (wxListItem
*) 0 ;
19264 PyObject
* obj0
= 0 ;
19265 PyObject
* obj1
= 0 ;
19266 char *kwnames
[] = {
19267 (char *) "self",(char *) "mask", NULL
19270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19273 arg2
= (long)SWIG_As_long(obj1
);
19274 if (PyErr_Occurred()) SWIG_fail
;
19276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19277 (arg1
)->SetMask(arg2
);
19279 wxPyEndAllowThreads(__tstate
);
19280 if (PyErr_Occurred()) SWIG_fail
;
19282 Py_INCREF(Py_None
); resultobj
= Py_None
;
19289 static PyObject
*_wrap_ListItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19290 PyObject
*resultobj
;
19291 wxListItem
*arg1
= (wxListItem
*) 0 ;
19293 PyObject
* obj0
= 0 ;
19294 PyObject
* obj1
= 0 ;
19295 char *kwnames
[] = {
19296 (char *) "self",(char *) "id", NULL
19299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
19300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19302 arg2
= (long)SWIG_As_long(obj1
);
19303 if (PyErr_Occurred()) SWIG_fail
;
19305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19306 (arg1
)->SetId(arg2
);
19308 wxPyEndAllowThreads(__tstate
);
19309 if (PyErr_Occurred()) SWIG_fail
;
19311 Py_INCREF(Py_None
); resultobj
= Py_None
;
19318 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19319 PyObject
*resultobj
;
19320 wxListItem
*arg1
= (wxListItem
*) 0 ;
19322 PyObject
* obj0
= 0 ;
19323 PyObject
* obj1
= 0 ;
19324 char *kwnames
[] = {
19325 (char *) "self",(char *) "col", NULL
19328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
19329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19331 arg2
= (int)SWIG_As_int(obj1
);
19332 if (PyErr_Occurred()) SWIG_fail
;
19334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19335 (arg1
)->SetColumn(arg2
);
19337 wxPyEndAllowThreads(__tstate
);
19338 if (PyErr_Occurred()) SWIG_fail
;
19340 Py_INCREF(Py_None
); resultobj
= Py_None
;
19347 static PyObject
*_wrap_ListItem_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19348 PyObject
*resultobj
;
19349 wxListItem
*arg1
= (wxListItem
*) 0 ;
19351 PyObject
* obj0
= 0 ;
19352 PyObject
* obj1
= 0 ;
19353 char *kwnames
[] = {
19354 (char *) "self",(char *) "state", NULL
19357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
19358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19360 arg2
= (long)SWIG_As_long(obj1
);
19361 if (PyErr_Occurred()) SWIG_fail
;
19363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19364 (arg1
)->SetState(arg2
);
19366 wxPyEndAllowThreads(__tstate
);
19367 if (PyErr_Occurred()) SWIG_fail
;
19369 Py_INCREF(Py_None
); resultobj
= Py_None
;
19376 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19377 PyObject
*resultobj
;
19378 wxListItem
*arg1
= (wxListItem
*) 0 ;
19380 PyObject
* obj0
= 0 ;
19381 PyObject
* obj1
= 0 ;
19382 char *kwnames
[] = {
19383 (char *) "self",(char *) "stateMask", NULL
19386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19389 arg2
= (long)SWIG_As_long(obj1
);
19390 if (PyErr_Occurred()) SWIG_fail
;
19392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19393 (arg1
)->SetStateMask(arg2
);
19395 wxPyEndAllowThreads(__tstate
);
19396 if (PyErr_Occurred()) SWIG_fail
;
19398 Py_INCREF(Py_None
); resultobj
= Py_None
;
19405 static PyObject
*_wrap_ListItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19406 PyObject
*resultobj
;
19407 wxListItem
*arg1
= (wxListItem
*) 0 ;
19408 wxString
*arg2
= 0 ;
19409 bool temp2
= False
;
19410 PyObject
* obj0
= 0 ;
19411 PyObject
* obj1
= 0 ;
19412 char *kwnames
[] = {
19413 (char *) "self",(char *) "text", NULL
19416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
19417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19420 arg2
= wxString_in_helper(obj1
);
19421 if (arg2
== NULL
) SWIG_fail
;
19425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19426 (arg1
)->SetText((wxString
const &)*arg2
);
19428 wxPyEndAllowThreads(__tstate
);
19429 if (PyErr_Occurred()) SWIG_fail
;
19431 Py_INCREF(Py_None
); resultobj
= Py_None
;
19446 static PyObject
*_wrap_ListItem_SetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19447 PyObject
*resultobj
;
19448 wxListItem
*arg1
= (wxListItem
*) 0 ;
19450 PyObject
* obj0
= 0 ;
19451 PyObject
* obj1
= 0 ;
19452 char *kwnames
[] = {
19453 (char *) "self",(char *) "image", NULL
19456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
19457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19459 arg2
= (int)SWIG_As_int(obj1
);
19460 if (PyErr_Occurred()) SWIG_fail
;
19462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19463 (arg1
)->SetImage(arg2
);
19465 wxPyEndAllowThreads(__tstate
);
19466 if (PyErr_Occurred()) SWIG_fail
;
19468 Py_INCREF(Py_None
); resultobj
= Py_None
;
19475 static PyObject
*_wrap_ListItem_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19476 PyObject
*resultobj
;
19477 wxListItem
*arg1
= (wxListItem
*) 0 ;
19479 PyObject
* obj0
= 0 ;
19480 PyObject
* obj1
= 0 ;
19481 char *kwnames
[] = {
19482 (char *) "self",(char *) "data", NULL
19485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
19486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19488 arg2
= (long)SWIG_As_long(obj1
);
19489 if (PyErr_Occurred()) SWIG_fail
;
19491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19492 (arg1
)->SetData(arg2
);
19494 wxPyEndAllowThreads(__tstate
);
19495 if (PyErr_Occurred()) SWIG_fail
;
19497 Py_INCREF(Py_None
); resultobj
= Py_None
;
19504 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19505 PyObject
*resultobj
;
19506 wxListItem
*arg1
= (wxListItem
*) 0 ;
19508 PyObject
* obj0
= 0 ;
19509 PyObject
* obj1
= 0 ;
19510 char *kwnames
[] = {
19511 (char *) "self",(char *) "width", NULL
19514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
19515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19517 arg2
= (int)SWIG_As_int(obj1
);
19518 if (PyErr_Occurred()) SWIG_fail
;
19520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19521 (arg1
)->SetWidth(arg2
);
19523 wxPyEndAllowThreads(__tstate
);
19524 if (PyErr_Occurred()) SWIG_fail
;
19526 Py_INCREF(Py_None
); resultobj
= Py_None
;
19533 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19534 PyObject
*resultobj
;
19535 wxListItem
*arg1
= (wxListItem
*) 0 ;
19537 PyObject
* obj0
= 0 ;
19538 PyObject
* obj1
= 0 ;
19539 char *kwnames
[] = {
19540 (char *) "self",(char *) "align", NULL
19543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
19544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19546 arg2
= (int)SWIG_As_int(obj1
);
19547 if (PyErr_Occurred()) SWIG_fail
;
19549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19550 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
19552 wxPyEndAllowThreads(__tstate
);
19553 if (PyErr_Occurred()) SWIG_fail
;
19555 Py_INCREF(Py_None
); resultobj
= Py_None
;
19562 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19563 PyObject
*resultobj
;
19564 wxListItem
*arg1
= (wxListItem
*) 0 ;
19565 wxColour
*arg2
= 0 ;
19567 PyObject
* obj0
= 0 ;
19568 PyObject
* obj1
= 0 ;
19569 char *kwnames
[] = {
19570 (char *) "self",(char *) "colText", NULL
19573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19578 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19582 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
19584 wxPyEndAllowThreads(__tstate
);
19585 if (PyErr_Occurred()) SWIG_fail
;
19587 Py_INCREF(Py_None
); resultobj
= Py_None
;
19594 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19595 PyObject
*resultobj
;
19596 wxListItem
*arg1
= (wxListItem
*) 0 ;
19597 wxColour
*arg2
= 0 ;
19599 PyObject
* obj0
= 0 ;
19600 PyObject
* obj1
= 0 ;
19601 char *kwnames
[] = {
19602 (char *) "self",(char *) "colBack", NULL
19605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19610 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19614 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
19616 wxPyEndAllowThreads(__tstate
);
19617 if (PyErr_Occurred()) SWIG_fail
;
19619 Py_INCREF(Py_None
); resultobj
= Py_None
;
19626 static PyObject
*_wrap_ListItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19627 PyObject
*resultobj
;
19628 wxListItem
*arg1
= (wxListItem
*) 0 ;
19630 PyObject
* obj0
= 0 ;
19631 PyObject
* obj1
= 0 ;
19632 char *kwnames
[] = {
19633 (char *) "self",(char *) "font", NULL
19636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
19637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19639 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
19640 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19642 if (arg2
== NULL
) {
19643 PyErr_SetString(PyExc_TypeError
,"null reference");
19647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19648 (arg1
)->SetFont((wxFont
const &)*arg2
);
19650 wxPyEndAllowThreads(__tstate
);
19651 if (PyErr_Occurred()) SWIG_fail
;
19653 Py_INCREF(Py_None
); resultobj
= Py_None
;
19660 static PyObject
*_wrap_ListItem_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19661 PyObject
*resultobj
;
19662 wxListItem
*arg1
= (wxListItem
*) 0 ;
19664 PyObject
* obj0
= 0 ;
19665 char *kwnames
[] = {
19666 (char *) "self", NULL
19669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
19670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19674 result
= (long)(arg1
)->GetMask();
19676 wxPyEndAllowThreads(__tstate
);
19677 if (PyErr_Occurred()) SWIG_fail
;
19679 resultobj
= SWIG_From_long((long)result
);
19686 static PyObject
*_wrap_ListItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19687 PyObject
*resultobj
;
19688 wxListItem
*arg1
= (wxListItem
*) 0 ;
19690 PyObject
* obj0
= 0 ;
19691 char *kwnames
[] = {
19692 (char *) "self", NULL
19695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
19696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19700 result
= (long)(arg1
)->GetId();
19702 wxPyEndAllowThreads(__tstate
);
19703 if (PyErr_Occurred()) SWIG_fail
;
19705 resultobj
= SWIG_From_long((long)result
);
19712 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19713 PyObject
*resultobj
;
19714 wxListItem
*arg1
= (wxListItem
*) 0 ;
19716 PyObject
* obj0
= 0 ;
19717 char *kwnames
[] = {
19718 (char *) "self", NULL
19721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
19722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19726 result
= (int)(arg1
)->GetColumn();
19728 wxPyEndAllowThreads(__tstate
);
19729 if (PyErr_Occurred()) SWIG_fail
;
19731 resultobj
= SWIG_From_int((int)result
);
19738 static PyObject
*_wrap_ListItem_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19739 PyObject
*resultobj
;
19740 wxListItem
*arg1
= (wxListItem
*) 0 ;
19742 PyObject
* obj0
= 0 ;
19743 char *kwnames
[] = {
19744 (char *) "self", NULL
19747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
19748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19752 result
= (long)(arg1
)->GetState();
19754 wxPyEndAllowThreads(__tstate
);
19755 if (PyErr_Occurred()) SWIG_fail
;
19757 resultobj
= SWIG_From_long((long)result
);
19764 static PyObject
*_wrap_ListItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19765 PyObject
*resultobj
;
19766 wxListItem
*arg1
= (wxListItem
*) 0 ;
19768 PyObject
* obj0
= 0 ;
19769 char *kwnames
[] = {
19770 (char *) "self", NULL
19773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
19774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19779 wxString
const &_result_ref
= (arg1
)->GetText();
19780 result
= (wxString
*) &_result_ref
;
19783 wxPyEndAllowThreads(__tstate
);
19784 if (PyErr_Occurred()) SWIG_fail
;
19788 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19790 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19799 static PyObject
*_wrap_ListItem_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19800 PyObject
*resultobj
;
19801 wxListItem
*arg1
= (wxListItem
*) 0 ;
19803 PyObject
* obj0
= 0 ;
19804 char *kwnames
[] = {
19805 (char *) "self", NULL
19808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
19809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19813 result
= (int)(arg1
)->GetImage();
19815 wxPyEndAllowThreads(__tstate
);
19816 if (PyErr_Occurred()) SWIG_fail
;
19818 resultobj
= SWIG_From_int((int)result
);
19825 static PyObject
*_wrap_ListItem_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19826 PyObject
*resultobj
;
19827 wxListItem
*arg1
= (wxListItem
*) 0 ;
19829 PyObject
* obj0
= 0 ;
19830 char *kwnames
[] = {
19831 (char *) "self", NULL
19834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
19835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19839 result
= (long)(arg1
)->GetData();
19841 wxPyEndAllowThreads(__tstate
);
19842 if (PyErr_Occurred()) SWIG_fail
;
19844 resultobj
= SWIG_From_long((long)result
);
19851 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19852 PyObject
*resultobj
;
19853 wxListItem
*arg1
= (wxListItem
*) 0 ;
19855 PyObject
* obj0
= 0 ;
19856 char *kwnames
[] = {
19857 (char *) "self", NULL
19860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
19861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19865 result
= (int)(arg1
)->GetWidth();
19867 wxPyEndAllowThreads(__tstate
);
19868 if (PyErr_Occurred()) SWIG_fail
;
19870 resultobj
= SWIG_From_int((int)result
);
19877 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19878 PyObject
*resultobj
;
19879 wxListItem
*arg1
= (wxListItem
*) 0 ;
19881 PyObject
* obj0
= 0 ;
19882 char *kwnames
[] = {
19883 (char *) "self", NULL
19886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
19887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19891 result
= (int)(arg1
)->GetAlign();
19893 wxPyEndAllowThreads(__tstate
);
19894 if (PyErr_Occurred()) SWIG_fail
;
19896 resultobj
= SWIG_From_int((int)result
);
19903 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19904 PyObject
*resultobj
;
19905 wxListItem
*arg1
= (wxListItem
*) 0 ;
19906 wxListItemAttr
*result
;
19907 PyObject
* obj0
= 0 ;
19908 char *kwnames
[] = {
19909 (char *) "self", NULL
19912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
19913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19917 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
19919 wxPyEndAllowThreads(__tstate
);
19920 if (PyErr_Occurred()) SWIG_fail
;
19922 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
19929 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19930 PyObject
*resultobj
;
19931 wxListItem
*arg1
= (wxListItem
*) 0 ;
19933 PyObject
* obj0
= 0 ;
19934 char *kwnames
[] = {
19935 (char *) "self", NULL
19938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
19939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19943 result
= (bool)(arg1
)->HasAttributes();
19945 wxPyEndAllowThreads(__tstate
);
19946 if (PyErr_Occurred()) SWIG_fail
;
19949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19957 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19958 PyObject
*resultobj
;
19959 wxListItem
*arg1
= (wxListItem
*) 0 ;
19961 PyObject
* obj0
= 0 ;
19962 char *kwnames
[] = {
19963 (char *) "self", NULL
19966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
19967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19971 result
= ((wxListItem
const *)arg1
)->GetTextColour();
19973 wxPyEndAllowThreads(__tstate
);
19974 if (PyErr_Occurred()) SWIG_fail
;
19977 wxColour
* resultptr
;
19978 resultptr
= new wxColour((wxColour
&) result
);
19979 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19987 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19988 PyObject
*resultobj
;
19989 wxListItem
*arg1
= (wxListItem
*) 0 ;
19991 PyObject
* obj0
= 0 ;
19992 char *kwnames
[] = {
19993 (char *) "self", NULL
19996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
19997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20001 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
20003 wxPyEndAllowThreads(__tstate
);
20004 if (PyErr_Occurred()) SWIG_fail
;
20007 wxColour
* resultptr
;
20008 resultptr
= new wxColour((wxColour
&) result
);
20009 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20017 static PyObject
*_wrap_ListItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20018 PyObject
*resultobj
;
20019 wxListItem
*arg1
= (wxListItem
*) 0 ;
20021 PyObject
* obj0
= 0 ;
20022 char *kwnames
[] = {
20023 (char *) "self", NULL
20026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
20027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20031 result
= ((wxListItem
const *)arg1
)->GetFont();
20033 wxPyEndAllowThreads(__tstate
);
20034 if (PyErr_Occurred()) SWIG_fail
;
20037 wxFont
* resultptr
;
20038 resultptr
= new wxFont((wxFont
&) result
);
20039 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
20047 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20048 PyObject
*resultobj
;
20049 wxListItem
*arg1
= (wxListItem
*) 0 ;
20051 PyObject
* obj0
= 0 ;
20052 PyObject
* obj1
= 0 ;
20053 char *kwnames
[] = {
20054 (char *) "self",(char *) "m_mask", NULL
20057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20060 arg2
= (long)SWIG_As_long(obj1
);
20061 if (PyErr_Occurred()) SWIG_fail
;
20062 if (arg1
) (arg1
)->m_mask
= arg2
;
20064 Py_INCREF(Py_None
); resultobj
= Py_None
;
20071 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20072 PyObject
*resultobj
;
20073 wxListItem
*arg1
= (wxListItem
*) 0 ;
20075 PyObject
* obj0
= 0 ;
20076 char *kwnames
[] = {
20077 (char *) "self", NULL
20080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
20081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20083 result
= (long) ((arg1
)->m_mask
);
20085 resultobj
= SWIG_From_long((long)result
);
20092 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20093 PyObject
*resultobj
;
20094 wxListItem
*arg1
= (wxListItem
*) 0 ;
20096 PyObject
* obj0
= 0 ;
20097 PyObject
* obj1
= 0 ;
20098 char *kwnames
[] = {
20099 (char *) "self",(char *) "m_itemId", NULL
20102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20105 arg2
= (long)SWIG_As_long(obj1
);
20106 if (PyErr_Occurred()) SWIG_fail
;
20107 if (arg1
) (arg1
)->m_itemId
= arg2
;
20109 Py_INCREF(Py_None
); resultobj
= Py_None
;
20116 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20117 PyObject
*resultobj
;
20118 wxListItem
*arg1
= (wxListItem
*) 0 ;
20120 PyObject
* obj0
= 0 ;
20121 char *kwnames
[] = {
20122 (char *) "self", NULL
20125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
20126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20128 result
= (long) ((arg1
)->m_itemId
);
20130 resultobj
= SWIG_From_long((long)result
);
20137 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20138 PyObject
*resultobj
;
20139 wxListItem
*arg1
= (wxListItem
*) 0 ;
20141 PyObject
* obj0
= 0 ;
20142 PyObject
* obj1
= 0 ;
20143 char *kwnames
[] = {
20144 (char *) "self",(char *) "m_col", NULL
20147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20150 arg2
= (int)SWIG_As_int(obj1
);
20151 if (PyErr_Occurred()) SWIG_fail
;
20152 if (arg1
) (arg1
)->m_col
= arg2
;
20154 Py_INCREF(Py_None
); resultobj
= Py_None
;
20161 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20162 PyObject
*resultobj
;
20163 wxListItem
*arg1
= (wxListItem
*) 0 ;
20165 PyObject
* obj0
= 0 ;
20166 char *kwnames
[] = {
20167 (char *) "self", NULL
20170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
20171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20173 result
= (int) ((arg1
)->m_col
);
20175 resultobj
= SWIG_From_int((int)result
);
20182 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20183 PyObject
*resultobj
;
20184 wxListItem
*arg1
= (wxListItem
*) 0 ;
20186 PyObject
* obj0
= 0 ;
20187 PyObject
* obj1
= 0 ;
20188 char *kwnames
[] = {
20189 (char *) "self",(char *) "m_state", NULL
20192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20195 arg2
= (long)SWIG_As_long(obj1
);
20196 if (PyErr_Occurred()) SWIG_fail
;
20197 if (arg1
) (arg1
)->m_state
= arg2
;
20199 Py_INCREF(Py_None
); resultobj
= Py_None
;
20206 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20207 PyObject
*resultobj
;
20208 wxListItem
*arg1
= (wxListItem
*) 0 ;
20210 PyObject
* obj0
= 0 ;
20211 char *kwnames
[] = {
20212 (char *) "self", NULL
20215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
20216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20218 result
= (long) ((arg1
)->m_state
);
20220 resultobj
= SWIG_From_long((long)result
);
20227 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20228 PyObject
*resultobj
;
20229 wxListItem
*arg1
= (wxListItem
*) 0 ;
20231 PyObject
* obj0
= 0 ;
20232 PyObject
* obj1
= 0 ;
20233 char *kwnames
[] = {
20234 (char *) "self",(char *) "m_stateMask", NULL
20237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20240 arg2
= (long)SWIG_As_long(obj1
);
20241 if (PyErr_Occurred()) SWIG_fail
;
20242 if (arg1
) (arg1
)->m_stateMask
= arg2
;
20244 Py_INCREF(Py_None
); resultobj
= Py_None
;
20251 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20252 PyObject
*resultobj
;
20253 wxListItem
*arg1
= (wxListItem
*) 0 ;
20255 PyObject
* obj0
= 0 ;
20256 char *kwnames
[] = {
20257 (char *) "self", NULL
20260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
20261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20263 result
= (long) ((arg1
)->m_stateMask
);
20265 resultobj
= SWIG_From_long((long)result
);
20272 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20273 PyObject
*resultobj
;
20274 wxListItem
*arg1
= (wxListItem
*) 0 ;
20275 wxString
*arg2
= (wxString
*) 0 ;
20276 bool temp2
= False
;
20277 PyObject
* obj0
= 0 ;
20278 PyObject
* obj1
= 0 ;
20279 char *kwnames
[] = {
20280 (char *) "self",(char *) "m_text", NULL
20283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20287 arg2
= wxString_in_helper(obj1
);
20288 if (arg2
== NULL
) SWIG_fail
;
20291 if (arg1
) (arg1
)->m_text
= *arg2
;
20293 Py_INCREF(Py_None
); resultobj
= Py_None
;
20308 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20309 PyObject
*resultobj
;
20310 wxListItem
*arg1
= (wxListItem
*) 0 ;
20312 PyObject
* obj0
= 0 ;
20313 char *kwnames
[] = {
20314 (char *) "self", NULL
20317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
20318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20320 result
= (wxString
*)& ((arg1
)->m_text
);
20324 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20326 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20335 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20336 PyObject
*resultobj
;
20337 wxListItem
*arg1
= (wxListItem
*) 0 ;
20339 PyObject
* obj0
= 0 ;
20340 PyObject
* obj1
= 0 ;
20341 char *kwnames
[] = {
20342 (char *) "self",(char *) "m_image", NULL
20345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20348 arg2
= (int)SWIG_As_int(obj1
);
20349 if (PyErr_Occurred()) SWIG_fail
;
20350 if (arg1
) (arg1
)->m_image
= arg2
;
20352 Py_INCREF(Py_None
); resultobj
= Py_None
;
20359 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20360 PyObject
*resultobj
;
20361 wxListItem
*arg1
= (wxListItem
*) 0 ;
20363 PyObject
* obj0
= 0 ;
20364 char *kwnames
[] = {
20365 (char *) "self", NULL
20368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
20369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20371 result
= (int) ((arg1
)->m_image
);
20373 resultobj
= SWIG_From_int((int)result
);
20380 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20381 PyObject
*resultobj
;
20382 wxListItem
*arg1
= (wxListItem
*) 0 ;
20384 PyObject
* obj0
= 0 ;
20385 PyObject
* obj1
= 0 ;
20386 char *kwnames
[] = {
20387 (char *) "self",(char *) "m_data", NULL
20390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20393 arg2
= (long)SWIG_As_long(obj1
);
20394 if (PyErr_Occurred()) SWIG_fail
;
20395 if (arg1
) (arg1
)->m_data
= arg2
;
20397 Py_INCREF(Py_None
); resultobj
= Py_None
;
20404 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20405 PyObject
*resultobj
;
20406 wxListItem
*arg1
= (wxListItem
*) 0 ;
20408 PyObject
* obj0
= 0 ;
20409 char *kwnames
[] = {
20410 (char *) "self", NULL
20413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
20414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20416 result
= (long) ((arg1
)->m_data
);
20418 resultobj
= SWIG_From_long((long)result
);
20425 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20426 PyObject
*resultobj
;
20427 wxListItem
*arg1
= (wxListItem
*) 0 ;
20429 PyObject
* obj0
= 0 ;
20430 PyObject
* obj1
= 0 ;
20431 char *kwnames
[] = {
20432 (char *) "self",(char *) "m_format", NULL
20435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20438 arg2
= (int)SWIG_As_int(obj1
);
20439 if (PyErr_Occurred()) SWIG_fail
;
20440 if (arg1
) (arg1
)->m_format
= arg2
;
20442 Py_INCREF(Py_None
); resultobj
= Py_None
;
20449 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20450 PyObject
*resultobj
;
20451 wxListItem
*arg1
= (wxListItem
*) 0 ;
20453 PyObject
* obj0
= 0 ;
20454 char *kwnames
[] = {
20455 (char *) "self", NULL
20458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
20459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20461 result
= (int) ((arg1
)->m_format
);
20463 resultobj
= SWIG_From_int((int)result
);
20470 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20471 PyObject
*resultobj
;
20472 wxListItem
*arg1
= (wxListItem
*) 0 ;
20474 PyObject
* obj0
= 0 ;
20475 PyObject
* obj1
= 0 ;
20476 char *kwnames
[] = {
20477 (char *) "self",(char *) "m_width", NULL
20480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20483 arg2
= (int)SWIG_As_int(obj1
);
20484 if (PyErr_Occurred()) SWIG_fail
;
20485 if (arg1
) (arg1
)->m_width
= arg2
;
20487 Py_INCREF(Py_None
); resultobj
= Py_None
;
20494 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20495 PyObject
*resultobj
;
20496 wxListItem
*arg1
= (wxListItem
*) 0 ;
20498 PyObject
* obj0
= 0 ;
20499 char *kwnames
[] = {
20500 (char *) "self", NULL
20503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
20504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20506 result
= (int) ((arg1
)->m_width
);
20508 resultobj
= SWIG_From_int((int)result
);
20515 static PyObject
* ListItem_swigregister(PyObject
*, PyObject
*args
) {
20517 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20518 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
20520 return Py_BuildValue((char *)"");
20522 static PyObject
*_wrap_new_ListEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20523 PyObject
*resultobj
;
20524 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20525 int arg2
= (int) 0 ;
20526 wxListEvent
*result
;
20527 PyObject
* obj0
= 0 ;
20528 PyObject
* obj1
= 0 ;
20529 char *kwnames
[] = {
20530 (char *) "commandType",(char *) "id", NULL
20533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20535 arg1
= (wxEventType
)SWIG_As_int(obj0
);
20536 if (PyErr_Occurred()) SWIG_fail
;
20539 arg2
= (int)SWIG_As_int(obj1
);
20540 if (PyErr_Occurred()) SWIG_fail
;
20543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20544 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
20546 wxPyEndAllowThreads(__tstate
);
20547 if (PyErr_Occurred()) SWIG_fail
;
20549 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
20556 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20557 PyObject
*resultobj
;
20558 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20560 PyObject
* obj0
= 0 ;
20561 PyObject
* obj1
= 0 ;
20562 char *kwnames
[] = {
20563 (char *) "self",(char *) "m_code", NULL
20566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20569 arg2
= (int)SWIG_As_int(obj1
);
20570 if (PyErr_Occurred()) SWIG_fail
;
20571 if (arg1
) (arg1
)->m_code
= arg2
;
20573 Py_INCREF(Py_None
); resultobj
= Py_None
;
20580 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20581 PyObject
*resultobj
;
20582 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20584 PyObject
* obj0
= 0 ;
20585 char *kwnames
[] = {
20586 (char *) "self", NULL
20589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
20590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20592 result
= (int) ((arg1
)->m_code
);
20594 resultobj
= SWIG_From_int((int)result
);
20601 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20602 PyObject
*resultobj
;
20603 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20605 PyObject
* obj0
= 0 ;
20606 PyObject
* obj1
= 0 ;
20607 char *kwnames
[] = {
20608 (char *) "self",(char *) "m_oldItemIndex", NULL
20611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20614 arg2
= (long)SWIG_As_long(obj1
);
20615 if (PyErr_Occurred()) SWIG_fail
;
20616 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
20618 Py_INCREF(Py_None
); resultobj
= Py_None
;
20625 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20626 PyObject
*resultobj
;
20627 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20629 PyObject
* obj0
= 0 ;
20630 char *kwnames
[] = {
20631 (char *) "self", NULL
20634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
20635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20637 result
= (long) ((arg1
)->m_oldItemIndex
);
20639 resultobj
= SWIG_From_long((long)result
);
20646 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20647 PyObject
*resultobj
;
20648 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20650 PyObject
* obj0
= 0 ;
20651 PyObject
* obj1
= 0 ;
20652 char *kwnames
[] = {
20653 (char *) "self",(char *) "m_itemIndex", NULL
20656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20659 arg2
= (long)SWIG_As_long(obj1
);
20660 if (PyErr_Occurred()) SWIG_fail
;
20661 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
20663 Py_INCREF(Py_None
); resultobj
= Py_None
;
20670 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20671 PyObject
*resultobj
;
20672 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20674 PyObject
* obj0
= 0 ;
20675 char *kwnames
[] = {
20676 (char *) "self", NULL
20679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
20680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20682 result
= (long) ((arg1
)->m_itemIndex
);
20684 resultobj
= SWIG_From_long((long)result
);
20691 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20692 PyObject
*resultobj
;
20693 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20695 PyObject
* obj0
= 0 ;
20696 PyObject
* obj1
= 0 ;
20697 char *kwnames
[] = {
20698 (char *) "self",(char *) "m_col", NULL
20701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20704 arg2
= (int)SWIG_As_int(obj1
);
20705 if (PyErr_Occurred()) SWIG_fail
;
20706 if (arg1
) (arg1
)->m_col
= arg2
;
20708 Py_INCREF(Py_None
); resultobj
= Py_None
;
20715 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20716 PyObject
*resultobj
;
20717 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20719 PyObject
* obj0
= 0 ;
20720 char *kwnames
[] = {
20721 (char *) "self", NULL
20724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
20725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20727 result
= (int) ((arg1
)->m_col
);
20729 resultobj
= SWIG_From_int((int)result
);
20736 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20737 PyObject
*resultobj
;
20738 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20739 wxPoint
*arg2
= (wxPoint
*) 0 ;
20740 PyObject
* obj0
= 0 ;
20741 PyObject
* obj1
= 0 ;
20742 char *kwnames
[] = {
20743 (char *) "self",(char *) "m_pointDrag", NULL
20746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20749 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
20750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20751 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
20753 Py_INCREF(Py_None
); resultobj
= Py_None
;
20760 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20761 PyObject
*resultobj
;
20762 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20764 PyObject
* obj0
= 0 ;
20765 char *kwnames
[] = {
20766 (char *) "self", NULL
20769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
20770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20772 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
20774 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
20781 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20782 PyObject
*resultobj
;
20783 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20784 wxListItem
*result
;
20785 PyObject
* obj0
= 0 ;
20786 char *kwnames
[] = {
20787 (char *) "self", NULL
20790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
20791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20793 result
= (wxListItem
*)& ((arg1
)->m_item
);
20796 resultobj
= wxPyMake_wxObject(result
, 0);
20804 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20805 PyObject
*resultobj
;
20806 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20808 PyObject
* obj0
= 0 ;
20809 char *kwnames
[] = {
20810 (char *) "self", NULL
20813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20818 result
= (int)(arg1
)->GetKeyCode();
20820 wxPyEndAllowThreads(__tstate
);
20821 if (PyErr_Occurred()) SWIG_fail
;
20823 resultobj
= SWIG_From_int((int)result
);
20830 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20831 PyObject
*resultobj
;
20832 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20834 PyObject
* obj0
= 0 ;
20835 char *kwnames
[] = {
20836 (char *) "self", NULL
20839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
20840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20844 result
= (long)(arg1
)->GetIndex();
20846 wxPyEndAllowThreads(__tstate
);
20847 if (PyErr_Occurred()) SWIG_fail
;
20849 resultobj
= SWIG_From_long((long)result
);
20856 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20857 PyObject
*resultobj
;
20858 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20860 PyObject
* obj0
= 0 ;
20861 char *kwnames
[] = {
20862 (char *) "self", NULL
20865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
20866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20870 result
= (int)(arg1
)->GetColumn();
20872 wxPyEndAllowThreads(__tstate
);
20873 if (PyErr_Occurred()) SWIG_fail
;
20875 resultobj
= SWIG_From_int((int)result
);
20882 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20883 PyObject
*resultobj
;
20884 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20886 PyObject
* obj0
= 0 ;
20887 char *kwnames
[] = {
20888 (char *) "self", NULL
20891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
20892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20896 result
= (arg1
)->GetPoint();
20898 wxPyEndAllowThreads(__tstate
);
20899 if (PyErr_Occurred()) SWIG_fail
;
20902 wxPoint
* resultptr
;
20903 resultptr
= new wxPoint((wxPoint
&) result
);
20904 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20912 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20913 PyObject
*resultobj
;
20914 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20916 PyObject
* obj0
= 0 ;
20917 char *kwnames
[] = {
20918 (char *) "self", NULL
20921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
20922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20927 wxString
const &_result_ref
= (arg1
)->GetLabel();
20928 result
= (wxString
*) &_result_ref
;
20931 wxPyEndAllowThreads(__tstate
);
20932 if (PyErr_Occurred()) SWIG_fail
;
20936 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20938 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20947 static PyObject
*_wrap_ListEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20948 PyObject
*resultobj
;
20949 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20951 PyObject
* obj0
= 0 ;
20952 char *kwnames
[] = {
20953 (char *) "self", NULL
20956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
20957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20962 wxString
const &_result_ref
= (arg1
)->GetText();
20963 result
= (wxString
*) &_result_ref
;
20966 wxPyEndAllowThreads(__tstate
);
20967 if (PyErr_Occurred()) SWIG_fail
;
20971 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20973 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20982 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20983 PyObject
*resultobj
;
20984 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20986 PyObject
* obj0
= 0 ;
20987 char *kwnames
[] = {
20988 (char *) "self", NULL
20991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
20992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20996 result
= (int)(arg1
)->GetImage();
20998 wxPyEndAllowThreads(__tstate
);
20999 if (PyErr_Occurred()) SWIG_fail
;
21001 resultobj
= SWIG_From_int((int)result
);
21008 static PyObject
*_wrap_ListEvent_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21009 PyObject
*resultobj
;
21010 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21012 PyObject
* obj0
= 0 ;
21013 char *kwnames
[] = {
21014 (char *) "self", NULL
21017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
21018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21022 result
= (long)(arg1
)->GetData();
21024 wxPyEndAllowThreads(__tstate
);
21025 if (PyErr_Occurred()) SWIG_fail
;
21027 resultobj
= SWIG_From_long((long)result
);
21034 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21035 PyObject
*resultobj
;
21036 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21038 PyObject
* obj0
= 0 ;
21039 char *kwnames
[] = {
21040 (char *) "self", NULL
21043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
21044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21048 result
= (long)(arg1
)->GetMask();
21050 wxPyEndAllowThreads(__tstate
);
21051 if (PyErr_Occurred()) SWIG_fail
;
21053 resultobj
= SWIG_From_long((long)result
);
21060 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21061 PyObject
*resultobj
;
21062 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21063 wxListItem
*result
;
21064 PyObject
* obj0
= 0 ;
21065 char *kwnames
[] = {
21066 (char *) "self", NULL
21069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
21070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21075 wxListItem
const &_result_ref
= (arg1
)->GetItem();
21076 result
= (wxListItem
*) &_result_ref
;
21079 wxPyEndAllowThreads(__tstate
);
21080 if (PyErr_Occurred()) SWIG_fail
;
21082 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
21089 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21090 PyObject
*resultobj
;
21091 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21093 PyObject
* obj0
= 0 ;
21094 char *kwnames
[] = {
21095 (char *) "self", NULL
21098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
21099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21103 result
= (long)(arg1
)->GetCacheFrom();
21105 wxPyEndAllowThreads(__tstate
);
21106 if (PyErr_Occurred()) SWIG_fail
;
21108 resultobj
= SWIG_From_long((long)result
);
21115 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21116 PyObject
*resultobj
;
21117 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21119 PyObject
* obj0
= 0 ;
21120 char *kwnames
[] = {
21121 (char *) "self", NULL
21124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
21125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21129 result
= (long)(arg1
)->GetCacheTo();
21131 wxPyEndAllowThreads(__tstate
);
21132 if (PyErr_Occurred()) SWIG_fail
;
21134 resultobj
= SWIG_From_long((long)result
);
21141 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21142 PyObject
*resultobj
;
21143 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21145 PyObject
* obj0
= 0 ;
21146 char *kwnames
[] = {
21147 (char *) "self", NULL
21150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
21151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21155 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
21157 wxPyEndAllowThreads(__tstate
);
21158 if (PyErr_Occurred()) SWIG_fail
;
21161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21169 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21170 PyObject
*resultobj
;
21171 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21173 PyObject
* obj0
= 0 ;
21174 PyObject
* obj1
= 0 ;
21175 char *kwnames
[] = {
21176 (char *) "self",(char *) "editCancelled", NULL
21179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
21180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21182 arg2
= (bool)SWIG_As_bool(obj1
);
21183 if (PyErr_Occurred()) SWIG_fail
;
21185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21186 (arg1
)->SetEditCanceled(arg2
);
21188 wxPyEndAllowThreads(__tstate
);
21189 if (PyErr_Occurred()) SWIG_fail
;
21191 Py_INCREF(Py_None
); resultobj
= Py_None
;
21198 static PyObject
* ListEvent_swigregister(PyObject
*, PyObject
*args
) {
21200 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21201 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
21203 return Py_BuildValue((char *)"");
21205 static PyObject
*_wrap_new_ListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21206 PyObject
*resultobj
;
21207 wxWindow
*arg1
= (wxWindow
*) 0 ;
21208 int arg2
= (int) -1 ;
21209 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21210 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21211 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21212 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21213 long arg5
= (long) wxLC_ICON
;
21214 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
21215 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
21216 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
21217 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21218 wxPyListCtrl
*result
;
21221 bool temp7
= False
;
21222 PyObject
* obj0
= 0 ;
21223 PyObject
* obj1
= 0 ;
21224 PyObject
* obj2
= 0 ;
21225 PyObject
* obj3
= 0 ;
21226 PyObject
* obj4
= 0 ;
21227 PyObject
* obj5
= 0 ;
21228 PyObject
* obj6
= 0 ;
21229 char *kwnames
[] = {
21230 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21237 arg2
= (int)SWIG_As_int(obj1
);
21238 if (PyErr_Occurred()) SWIG_fail
;
21243 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21249 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21253 arg5
= (long)SWIG_As_long(obj4
);
21254 if (PyErr_Occurred()) SWIG_fail
;
21257 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
21258 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21260 if (arg6
== NULL
) {
21261 PyErr_SetString(PyExc_TypeError
,"null reference");
21267 arg7
= wxString_in_helper(obj6
);
21268 if (arg7
== NULL
) SWIG_fail
;
21273 if (!wxPyCheckForApp()) SWIG_fail
;
21274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21275 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
21277 wxPyEndAllowThreads(__tstate
);
21278 if (PyErr_Occurred()) SWIG_fail
;
21280 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21295 static PyObject
*_wrap_new_PreListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21296 PyObject
*resultobj
;
21297 wxPyListCtrl
*result
;
21298 char *kwnames
[] = {
21302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
21304 if (!wxPyCheckForApp()) SWIG_fail
;
21305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21306 result
= (wxPyListCtrl
*)new wxPyListCtrl();
21308 wxPyEndAllowThreads(__tstate
);
21309 if (PyErr_Occurred()) SWIG_fail
;
21311 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21318 static PyObject
*_wrap_ListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21319 PyObject
*resultobj
;
21320 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21321 wxWindow
*arg2
= (wxWindow
*) 0 ;
21322 int arg3
= (int) -1 ;
21323 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21324 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21325 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21326 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21327 long arg6
= (long) wxLC_ICON
;
21328 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
21329 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
21330 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
21331 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21335 bool temp8
= False
;
21336 PyObject
* obj0
= 0 ;
21337 PyObject
* obj1
= 0 ;
21338 PyObject
* obj2
= 0 ;
21339 PyObject
* obj3
= 0 ;
21340 PyObject
* obj4
= 0 ;
21341 PyObject
* obj5
= 0 ;
21342 PyObject
* obj6
= 0 ;
21343 PyObject
* obj7
= 0 ;
21344 char *kwnames
[] = {
21345 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
21349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21351 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21354 arg3
= (int)SWIG_As_int(obj2
);
21355 if (PyErr_Occurred()) SWIG_fail
;
21360 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21366 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21370 arg6
= (long)SWIG_As_long(obj5
);
21371 if (PyErr_Occurred()) SWIG_fail
;
21374 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
21375 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21377 if (arg7
== NULL
) {
21378 PyErr_SetString(PyExc_TypeError
,"null reference");
21384 arg8
= wxString_in_helper(obj7
);
21385 if (arg8
== NULL
) SWIG_fail
;
21390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21391 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
21393 wxPyEndAllowThreads(__tstate
);
21394 if (PyErr_Occurred()) SWIG_fail
;
21397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21413 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21414 PyObject
*resultobj
;
21415 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21416 PyObject
*arg2
= (PyObject
*) 0 ;
21417 PyObject
*arg3
= (PyObject
*) 0 ;
21418 PyObject
* obj0
= 0 ;
21419 PyObject
* obj1
= 0 ;
21420 PyObject
* obj2
= 0 ;
21421 char *kwnames
[] = {
21422 (char *) "self",(char *) "self",(char *) "_class", NULL
21425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21432 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21434 wxPyEndAllowThreads(__tstate
);
21435 if (PyErr_Occurred()) SWIG_fail
;
21437 Py_INCREF(Py_None
); resultobj
= Py_None
;
21444 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21445 PyObject
*resultobj
;
21446 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21447 wxColour
*arg2
= 0 ;
21450 PyObject
* obj0
= 0 ;
21451 PyObject
* obj1
= 0 ;
21452 char *kwnames
[] = {
21453 (char *) "self",(char *) "col", NULL
21456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21461 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21465 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
21467 wxPyEndAllowThreads(__tstate
);
21468 if (PyErr_Occurred()) SWIG_fail
;
21471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21479 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21480 PyObject
*resultobj
;
21481 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21482 wxColour
*arg2
= 0 ;
21485 PyObject
* obj0
= 0 ;
21486 PyObject
* obj1
= 0 ;
21487 char *kwnames
[] = {
21488 (char *) "self",(char *) "col", NULL
21491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21496 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21500 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21502 wxPyEndAllowThreads(__tstate
);
21503 if (PyErr_Occurred()) SWIG_fail
;
21506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21514 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21515 PyObject
*resultobj
;
21516 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21518 wxListItem
*result
;
21519 PyObject
* obj0
= 0 ;
21520 PyObject
* obj1
= 0 ;
21521 char *kwnames
[] = {
21522 (char *) "self",(char *) "col", NULL
21525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21528 arg2
= (int)SWIG_As_int(obj1
);
21529 if (PyErr_Occurred()) SWIG_fail
;
21531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21532 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
21534 wxPyEndAllowThreads(__tstate
);
21535 if (PyErr_Occurred()) SWIG_fail
;
21538 resultobj
= wxPyMake_wxObject(result
, 0);
21546 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21547 PyObject
*resultobj
;
21548 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21550 wxListItem
*arg3
= 0 ;
21552 PyObject
* obj0
= 0 ;
21553 PyObject
* obj1
= 0 ;
21554 PyObject
* obj2
= 0 ;
21555 char *kwnames
[] = {
21556 (char *) "self",(char *) "col",(char *) "item", NULL
21559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21562 arg2
= (int)SWIG_As_int(obj1
);
21563 if (PyErr_Occurred()) SWIG_fail
;
21564 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
21565 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21567 if (arg3
== NULL
) {
21568 PyErr_SetString(PyExc_TypeError
,"null reference");
21572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21573 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
21575 wxPyEndAllowThreads(__tstate
);
21576 if (PyErr_Occurred()) SWIG_fail
;
21579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21587 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21588 PyObject
*resultobj
;
21589 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21592 PyObject
* obj0
= 0 ;
21593 PyObject
* obj1
= 0 ;
21594 char *kwnames
[] = {
21595 (char *) "self",(char *) "col", NULL
21598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
21599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21601 arg2
= (int)SWIG_As_int(obj1
);
21602 if (PyErr_Occurred()) SWIG_fail
;
21604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21605 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
21607 wxPyEndAllowThreads(__tstate
);
21608 if (PyErr_Occurred()) SWIG_fail
;
21610 resultobj
= SWIG_From_int((int)result
);
21617 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21618 PyObject
*resultobj
;
21619 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21623 PyObject
* obj0
= 0 ;
21624 PyObject
* obj1
= 0 ;
21625 PyObject
* obj2
= 0 ;
21626 char *kwnames
[] = {
21627 (char *) "self",(char *) "col",(char *) "width", NULL
21630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21633 arg2
= (int)SWIG_As_int(obj1
);
21634 if (PyErr_Occurred()) SWIG_fail
;
21635 arg3
= (int)SWIG_As_int(obj2
);
21636 if (PyErr_Occurred()) SWIG_fail
;
21638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21639 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
21641 wxPyEndAllowThreads(__tstate
);
21642 if (PyErr_Occurred()) SWIG_fail
;
21645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21653 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21654 PyObject
*resultobj
;
21655 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21657 PyObject
* obj0
= 0 ;
21658 char *kwnames
[] = {
21659 (char *) "self", NULL
21662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
21663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21667 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
21669 wxPyEndAllowThreads(__tstate
);
21670 if (PyErr_Occurred()) SWIG_fail
;
21672 resultobj
= SWIG_From_int((int)result
);
21679 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21680 PyObject
*resultobj
;
21681 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21683 PyObject
* obj0
= 0 ;
21684 char *kwnames
[] = {
21685 (char *) "self", NULL
21688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
21689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21693 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
21695 wxPyEndAllowThreads(__tstate
);
21696 if (PyErr_Occurred()) SWIG_fail
;
21699 wxRect
* resultptr
;
21700 resultptr
= new wxRect((wxRect
&) result
);
21701 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
21709 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21710 PyObject
*resultobj
;
21711 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21713 int arg3
= (int) 0 ;
21714 wxListItem
*result
;
21715 PyObject
* obj0
= 0 ;
21716 PyObject
* obj1
= 0 ;
21717 PyObject
* obj2
= 0 ;
21718 char *kwnames
[] = {
21719 (char *) "self",(char *) "itemId",(char *) "col", NULL
21722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21725 arg2
= (long)SWIG_As_long(obj1
);
21726 if (PyErr_Occurred()) SWIG_fail
;
21728 arg3
= (int)SWIG_As_int(obj2
);
21729 if (PyErr_Occurred()) SWIG_fail
;
21732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21733 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
21735 wxPyEndAllowThreads(__tstate
);
21736 if (PyErr_Occurred()) SWIG_fail
;
21739 resultobj
= wxPyMake_wxObject(result
, 0);
21747 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21748 PyObject
*resultobj
;
21749 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21750 wxListItem
*arg2
= 0 ;
21752 PyObject
* obj0
= 0 ;
21753 PyObject
* obj1
= 0 ;
21754 char *kwnames
[] = {
21755 (char *) "self",(char *) "info", NULL
21758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21761 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
21762 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21764 if (arg2
== NULL
) {
21765 PyErr_SetString(PyExc_TypeError
,"null reference");
21769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21770 result
= (bool)(arg1
)->SetItem(*arg2
);
21772 wxPyEndAllowThreads(__tstate
);
21773 if (PyErr_Occurred()) SWIG_fail
;
21776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21784 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21785 PyObject
*resultobj
;
21786 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21789 wxString
*arg4
= 0 ;
21790 int arg5
= (int) -1 ;
21792 bool temp4
= False
;
21793 PyObject
* obj0
= 0 ;
21794 PyObject
* obj1
= 0 ;
21795 PyObject
* obj2
= 0 ;
21796 PyObject
* obj3
= 0 ;
21797 PyObject
* obj4
= 0 ;
21798 char *kwnames
[] = {
21799 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
21802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21805 arg2
= (long)SWIG_As_long(obj1
);
21806 if (PyErr_Occurred()) SWIG_fail
;
21807 arg3
= (int)SWIG_As_int(obj2
);
21808 if (PyErr_Occurred()) SWIG_fail
;
21810 arg4
= wxString_in_helper(obj3
);
21811 if (arg4
== NULL
) SWIG_fail
;
21815 arg5
= (int)SWIG_As_int(obj4
);
21816 if (PyErr_Occurred()) SWIG_fail
;
21819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21820 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
21822 wxPyEndAllowThreads(__tstate
);
21823 if (PyErr_Occurred()) SWIG_fail
;
21825 resultobj
= SWIG_From_long((long)result
);
21840 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21841 PyObject
*resultobj
;
21842 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21846 PyObject
* obj0
= 0 ;
21847 PyObject
* obj1
= 0 ;
21848 PyObject
* obj2
= 0 ;
21849 char *kwnames
[] = {
21850 (char *) "self",(char *) "item",(char *) "stateMask", NULL
21853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21856 arg2
= (long)SWIG_As_long(obj1
);
21857 if (PyErr_Occurred()) SWIG_fail
;
21858 arg3
= (long)SWIG_As_long(obj2
);
21859 if (PyErr_Occurred()) SWIG_fail
;
21861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21862 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
21864 wxPyEndAllowThreads(__tstate
);
21865 if (PyErr_Occurred()) SWIG_fail
;
21867 resultobj
= SWIG_From_int((int)result
);
21874 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21875 PyObject
*resultobj
;
21876 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21881 PyObject
* obj0
= 0 ;
21882 PyObject
* obj1
= 0 ;
21883 PyObject
* obj2
= 0 ;
21884 PyObject
* obj3
= 0 ;
21885 char *kwnames
[] = {
21886 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
21889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21892 arg2
= (long)SWIG_As_long(obj1
);
21893 if (PyErr_Occurred()) SWIG_fail
;
21894 arg3
= (long)SWIG_As_long(obj2
);
21895 if (PyErr_Occurred()) SWIG_fail
;
21896 arg4
= (long)SWIG_As_long(obj3
);
21897 if (PyErr_Occurred()) SWIG_fail
;
21899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21900 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
21902 wxPyEndAllowThreads(__tstate
);
21903 if (PyErr_Occurred()) SWIG_fail
;
21906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21914 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21915 PyObject
*resultobj
;
21916 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21921 PyObject
* obj0
= 0 ;
21922 PyObject
* obj1
= 0 ;
21923 PyObject
* obj2
= 0 ;
21924 PyObject
* obj3
= 0 ;
21925 char *kwnames
[] = {
21926 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
21929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21932 arg2
= (long)SWIG_As_long(obj1
);
21933 if (PyErr_Occurred()) SWIG_fail
;
21934 arg3
= (int)SWIG_As_int(obj2
);
21935 if (PyErr_Occurred()) SWIG_fail
;
21936 arg4
= (int)SWIG_As_int(obj3
);
21937 if (PyErr_Occurred()) SWIG_fail
;
21939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21940 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
21942 wxPyEndAllowThreads(__tstate
);
21943 if (PyErr_Occurred()) SWIG_fail
;
21946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21954 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21955 PyObject
*resultobj
;
21956 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21959 PyObject
* obj0
= 0 ;
21960 PyObject
* obj1
= 0 ;
21961 char *kwnames
[] = {
21962 (char *) "self",(char *) "item", NULL
21965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
21966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21968 arg2
= (long)SWIG_As_long(obj1
);
21969 if (PyErr_Occurred()) SWIG_fail
;
21971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21972 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
21974 wxPyEndAllowThreads(__tstate
);
21975 if (PyErr_Occurred()) SWIG_fail
;
21979 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21981 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21990 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21991 PyObject
*resultobj
;
21992 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21994 wxString
*arg3
= 0 ;
21995 bool temp3
= False
;
21996 PyObject
* obj0
= 0 ;
21997 PyObject
* obj1
= 0 ;
21998 PyObject
* obj2
= 0 ;
21999 char *kwnames
[] = {
22000 (char *) "self",(char *) "item",(char *) "str", NULL
22003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22006 arg2
= (long)SWIG_As_long(obj1
);
22007 if (PyErr_Occurred()) SWIG_fail
;
22009 arg3
= wxString_in_helper(obj2
);
22010 if (arg3
== NULL
) SWIG_fail
;
22014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22015 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
22017 wxPyEndAllowThreads(__tstate
);
22018 if (PyErr_Occurred()) SWIG_fail
;
22020 Py_INCREF(Py_None
); resultobj
= Py_None
;
22035 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22036 PyObject
*resultobj
;
22037 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22040 PyObject
* obj0
= 0 ;
22041 PyObject
* obj1
= 0 ;
22042 char *kwnames
[] = {
22043 (char *) "self",(char *) "item", NULL
22046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
22047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22049 arg2
= (long)SWIG_As_long(obj1
);
22050 if (PyErr_Occurred()) SWIG_fail
;
22052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22053 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
22055 wxPyEndAllowThreads(__tstate
);
22056 if (PyErr_Occurred()) SWIG_fail
;
22058 resultobj
= SWIG_From_long((long)result
);
22065 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22066 PyObject
*resultobj
;
22067 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22071 PyObject
* obj0
= 0 ;
22072 PyObject
* obj1
= 0 ;
22073 PyObject
* obj2
= 0 ;
22074 char *kwnames
[] = {
22075 (char *) "self",(char *) "item",(char *) "data", NULL
22078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22081 arg2
= (long)SWIG_As_long(obj1
);
22082 if (PyErr_Occurred()) SWIG_fail
;
22083 arg3
= (long)SWIG_As_long(obj2
);
22084 if (PyErr_Occurred()) SWIG_fail
;
22086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22087 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
22089 wxPyEndAllowThreads(__tstate
);
22090 if (PyErr_Occurred()) SWIG_fail
;
22093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22101 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22102 PyObject
*resultobj
;
22103 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22106 PyObject
* obj0
= 0 ;
22107 PyObject
* obj1
= 0 ;
22108 char *kwnames
[] = {
22109 (char *) "self",(char *) "item", NULL
22112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
22113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22115 arg2
= (long)SWIG_As_long(obj1
);
22116 if (PyErr_Occurred()) SWIG_fail
;
22118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22119 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
22121 wxPyEndAllowThreads(__tstate
);
22122 if (PyErr_Occurred()) SWIG_fail
;
22125 wxPoint
* resultptr
;
22126 resultptr
= new wxPoint((wxPoint
&) result
);
22127 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22135 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22136 PyObject
*resultobj
;
22137 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22139 int arg3
= (int) wxLIST_RECT_BOUNDS
;
22141 PyObject
* obj0
= 0 ;
22142 PyObject
* obj1
= 0 ;
22143 PyObject
* obj2
= 0 ;
22144 char *kwnames
[] = {
22145 (char *) "self",(char *) "item",(char *) "code", NULL
22148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22151 arg2
= (long)SWIG_As_long(obj1
);
22152 if (PyErr_Occurred()) SWIG_fail
;
22154 arg3
= (int)SWIG_As_int(obj2
);
22155 if (PyErr_Occurred()) SWIG_fail
;
22158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22159 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
22161 wxPyEndAllowThreads(__tstate
);
22162 if (PyErr_Occurred()) SWIG_fail
;
22165 wxRect
* resultptr
;
22166 resultptr
= new wxRect((wxRect
&) result
);
22167 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22175 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22176 PyObject
*resultobj
;
22177 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22179 wxPoint
*arg3
= 0 ;
22182 PyObject
* obj0
= 0 ;
22183 PyObject
* obj1
= 0 ;
22184 PyObject
* obj2
= 0 ;
22185 char *kwnames
[] = {
22186 (char *) "self",(char *) "item",(char *) "pos", NULL
22189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22192 arg2
= (long)SWIG_As_long(obj1
);
22193 if (PyErr_Occurred()) SWIG_fail
;
22196 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22200 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
22202 wxPyEndAllowThreads(__tstate
);
22203 if (PyErr_Occurred()) SWIG_fail
;
22206 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22214 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22215 PyObject
*resultobj
;
22216 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22218 PyObject
* obj0
= 0 ;
22219 char *kwnames
[] = {
22220 (char *) "self", NULL
22223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
22224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22228 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
22230 wxPyEndAllowThreads(__tstate
);
22231 if (PyErr_Occurred()) SWIG_fail
;
22233 resultobj
= SWIG_From_int((int)result
);
22240 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22241 PyObject
*resultobj
;
22242 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22244 PyObject
* obj0
= 0 ;
22245 char *kwnames
[] = {
22246 (char *) "self", NULL
22249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
22250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22254 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
22256 wxPyEndAllowThreads(__tstate
);
22257 if (PyErr_Occurred()) SWIG_fail
;
22259 resultobj
= SWIG_From_int((int)result
);
22266 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22267 PyObject
*resultobj
;
22268 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22270 PyObject
* obj0
= 0 ;
22271 char *kwnames
[] = {
22272 (char *) "self", NULL
22275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
22276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22280 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
22282 wxPyEndAllowThreads(__tstate
);
22283 if (PyErr_Occurred()) SWIG_fail
;
22286 wxSize
* resultptr
;
22287 resultptr
= new wxSize((wxSize
&) result
);
22288 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22296 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22297 PyObject
*resultobj
;
22298 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22300 bool arg3
= (bool) False
;
22301 PyObject
* obj0
= 0 ;
22302 PyObject
* obj1
= 0 ;
22303 PyObject
* obj2
= 0 ;
22304 char *kwnames
[] = {
22305 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
22308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22311 arg2
= (int)SWIG_As_int(obj1
);
22312 if (PyErr_Occurred()) SWIG_fail
;
22314 arg3
= (bool)SWIG_As_bool(obj2
);
22315 if (PyErr_Occurred()) SWIG_fail
;
22318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22319 (arg1
)->SetItemSpacing(arg2
,arg3
);
22321 wxPyEndAllowThreads(__tstate
);
22322 if (PyErr_Occurred()) SWIG_fail
;
22324 Py_INCREF(Py_None
); resultobj
= Py_None
;
22331 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22332 PyObject
*resultobj
;
22333 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22335 PyObject
* obj0
= 0 ;
22336 char *kwnames
[] = {
22337 (char *) "self", NULL
22340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
22341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22345 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
22347 wxPyEndAllowThreads(__tstate
);
22348 if (PyErr_Occurred()) SWIG_fail
;
22350 resultobj
= SWIG_From_int((int)result
);
22357 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22358 PyObject
*resultobj
;
22359 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22361 PyObject
* obj0
= 0 ;
22362 char *kwnames
[] = {
22363 (char *) "self", NULL
22366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
22367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22371 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
22373 wxPyEndAllowThreads(__tstate
);
22374 if (PyErr_Occurred()) SWIG_fail
;
22377 wxColour
* resultptr
;
22378 resultptr
= new wxColour((wxColour
&) result
);
22379 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22387 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22388 PyObject
*resultobj
;
22389 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22390 wxColour
*arg2
= 0 ;
22392 PyObject
* obj0
= 0 ;
22393 PyObject
* obj1
= 0 ;
22394 char *kwnames
[] = {
22395 (char *) "self",(char *) "col", NULL
22398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22403 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22407 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22409 wxPyEndAllowThreads(__tstate
);
22410 if (PyErr_Occurred()) SWIG_fail
;
22412 Py_INCREF(Py_None
); resultobj
= Py_None
;
22419 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22420 PyObject
*resultobj
;
22421 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22423 PyObject
* obj0
= 0 ;
22424 char *kwnames
[] = {
22425 (char *) "self", NULL
22428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
22429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22433 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
22435 wxPyEndAllowThreads(__tstate
);
22436 if (PyErr_Occurred()) SWIG_fail
;
22438 resultobj
= SWIG_From_long((long)result
);
22445 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22446 PyObject
*resultobj
;
22447 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22449 bool arg3
= (bool) True
;
22450 PyObject
* obj0
= 0 ;
22451 PyObject
* obj1
= 0 ;
22452 PyObject
* obj2
= 0 ;
22453 char *kwnames
[] = {
22454 (char *) "self",(char *) "style",(char *) "add", NULL
22457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22460 arg2
= (long)SWIG_As_long(obj1
);
22461 if (PyErr_Occurred()) SWIG_fail
;
22463 arg3
= (bool)SWIG_As_bool(obj2
);
22464 if (PyErr_Occurred()) SWIG_fail
;
22467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22468 (arg1
)->SetSingleStyle(arg2
,arg3
);
22470 wxPyEndAllowThreads(__tstate
);
22471 if (PyErr_Occurred()) SWIG_fail
;
22473 Py_INCREF(Py_None
); resultobj
= Py_None
;
22480 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22481 PyObject
*resultobj
;
22482 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22484 PyObject
* obj0
= 0 ;
22485 PyObject
* obj1
= 0 ;
22486 char *kwnames
[] = {
22487 (char *) "self",(char *) "style", NULL
22490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
22491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22493 arg2
= (long)SWIG_As_long(obj1
);
22494 if (PyErr_Occurred()) SWIG_fail
;
22496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22497 (arg1
)->SetWindowStyleFlag(arg2
);
22499 wxPyEndAllowThreads(__tstate
);
22500 if (PyErr_Occurred()) SWIG_fail
;
22502 Py_INCREF(Py_None
); resultobj
= Py_None
;
22509 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22510 PyObject
*resultobj
;
22511 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22513 int arg3
= (int) wxLIST_NEXT_ALL
;
22514 int arg4
= (int) wxLIST_STATE_DONTCARE
;
22516 PyObject
* obj0
= 0 ;
22517 PyObject
* obj1
= 0 ;
22518 PyObject
* obj2
= 0 ;
22519 PyObject
* obj3
= 0 ;
22520 char *kwnames
[] = {
22521 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
22524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22527 arg2
= (long)SWIG_As_long(obj1
);
22528 if (PyErr_Occurred()) SWIG_fail
;
22530 arg3
= (int)SWIG_As_int(obj2
);
22531 if (PyErr_Occurred()) SWIG_fail
;
22534 arg4
= (int)SWIG_As_int(obj3
);
22535 if (PyErr_Occurred()) SWIG_fail
;
22538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22539 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
22541 wxPyEndAllowThreads(__tstate
);
22542 if (PyErr_Occurred()) SWIG_fail
;
22544 resultobj
= SWIG_From_long((long)result
);
22551 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22552 PyObject
*resultobj
;
22553 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22555 wxImageList
*result
;
22556 PyObject
* obj0
= 0 ;
22557 PyObject
* obj1
= 0 ;
22558 char *kwnames
[] = {
22559 (char *) "self",(char *) "which", NULL
22562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
22563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22565 arg2
= (int)SWIG_As_int(obj1
);
22566 if (PyErr_Occurred()) SWIG_fail
;
22568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22569 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
22571 wxPyEndAllowThreads(__tstate
);
22572 if (PyErr_Occurred()) SWIG_fail
;
22575 resultobj
= wxPyMake_wxObject(result
, 0);
22583 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22584 PyObject
*resultobj
;
22585 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22586 wxImageList
*arg2
= (wxImageList
*) 0 ;
22588 PyObject
* obj0
= 0 ;
22589 PyObject
* obj1
= 0 ;
22590 PyObject
* obj2
= 0 ;
22591 char *kwnames
[] = {
22592 (char *) "self",(char *) "imageList",(char *) "which", NULL
22595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22598 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22600 arg3
= (int)SWIG_As_int(obj2
);
22601 if (PyErr_Occurred()) SWIG_fail
;
22603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22604 (arg1
)->SetImageList(arg2
,arg3
);
22606 wxPyEndAllowThreads(__tstate
);
22607 if (PyErr_Occurred()) SWIG_fail
;
22609 Py_INCREF(Py_None
); resultobj
= Py_None
;
22616 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22617 PyObject
*resultobj
;
22618 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22619 wxImageList
*arg2
= (wxImageList
*) 0 ;
22621 PyObject
* obj0
= 0 ;
22622 PyObject
* obj1
= 0 ;
22623 PyObject
* obj2
= 0 ;
22624 char *kwnames
[] = {
22625 (char *) "self",(char *) "imageList",(char *) "which", NULL
22628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22631 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22632 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22633 arg3
= (int)SWIG_As_int(obj2
);
22634 if (PyErr_Occurred()) SWIG_fail
;
22636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22637 (arg1
)->AssignImageList(arg2
,arg3
);
22639 wxPyEndAllowThreads(__tstate
);
22640 if (PyErr_Occurred()) SWIG_fail
;
22642 Py_INCREF(Py_None
); resultobj
= Py_None
;
22649 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22650 PyObject
*resultobj
;
22651 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22653 PyObject
* obj0
= 0 ;
22654 char *kwnames
[] = {
22655 (char *) "self", NULL
22658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
22659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22663 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
22665 wxPyEndAllowThreads(__tstate
);
22666 if (PyErr_Occurred()) SWIG_fail
;
22669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22677 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22678 PyObject
*resultobj
;
22679 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22681 PyObject
* obj0
= 0 ;
22682 char *kwnames
[] = {
22683 (char *) "self", NULL
22686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
22687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22691 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
22693 wxPyEndAllowThreads(__tstate
);
22694 if (PyErr_Occurred()) SWIG_fail
;
22697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22705 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22706 PyObject
*resultobj
;
22707 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22709 PyObject
* obj0
= 0 ;
22710 PyObject
* obj1
= 0 ;
22711 char *kwnames
[] = {
22712 (char *) "self",(char *) "item", NULL
22715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22718 arg2
= (long)SWIG_As_long(obj1
);
22719 if (PyErr_Occurred()) SWIG_fail
;
22721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22722 (arg1
)->RefreshItem(arg2
);
22724 wxPyEndAllowThreads(__tstate
);
22725 if (PyErr_Occurred()) SWIG_fail
;
22727 Py_INCREF(Py_None
); resultobj
= Py_None
;
22734 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22735 PyObject
*resultobj
;
22736 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22739 PyObject
* obj0
= 0 ;
22740 PyObject
* obj1
= 0 ;
22741 PyObject
* obj2
= 0 ;
22742 char *kwnames
[] = {
22743 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
22746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22749 arg2
= (long)SWIG_As_long(obj1
);
22750 if (PyErr_Occurred()) SWIG_fail
;
22751 arg3
= (long)SWIG_As_long(obj2
);
22752 if (PyErr_Occurred()) SWIG_fail
;
22754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22755 (arg1
)->RefreshItems(arg2
,arg3
);
22757 wxPyEndAllowThreads(__tstate
);
22758 if (PyErr_Occurred()) SWIG_fail
;
22760 Py_INCREF(Py_None
); resultobj
= Py_None
;
22767 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22768 PyObject
*resultobj
;
22769 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22770 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
22772 PyObject
* obj0
= 0 ;
22773 PyObject
* obj1
= 0 ;
22774 char *kwnames
[] = {
22775 (char *) "self",(char *) "flag", NULL
22778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
22779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22782 arg2
= (int)SWIG_As_int(obj1
);
22783 if (PyErr_Occurred()) SWIG_fail
;
22786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22787 result
= (bool)(arg1
)->Arrange(arg2
);
22789 wxPyEndAllowThreads(__tstate
);
22790 if (PyErr_Occurred()) SWIG_fail
;
22793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22801 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22802 PyObject
*resultobj
;
22803 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22806 PyObject
* obj0
= 0 ;
22807 PyObject
* obj1
= 0 ;
22808 char *kwnames
[] = {
22809 (char *) "self",(char *) "item", NULL
22812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22815 arg2
= (long)SWIG_As_long(obj1
);
22816 if (PyErr_Occurred()) SWIG_fail
;
22818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22819 result
= (bool)(arg1
)->DeleteItem(arg2
);
22821 wxPyEndAllowThreads(__tstate
);
22822 if (PyErr_Occurred()) SWIG_fail
;
22825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22833 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22834 PyObject
*resultobj
;
22835 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22837 PyObject
* obj0
= 0 ;
22838 char *kwnames
[] = {
22839 (char *) "self", NULL
22842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
22843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22847 result
= (bool)(arg1
)->DeleteAllItems();
22849 wxPyEndAllowThreads(__tstate
);
22850 if (PyErr_Occurred()) SWIG_fail
;
22853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22861 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22862 PyObject
*resultobj
;
22863 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22866 PyObject
* obj0
= 0 ;
22867 PyObject
* obj1
= 0 ;
22868 char *kwnames
[] = {
22869 (char *) "self",(char *) "col", NULL
22872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
22873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22875 arg2
= (int)SWIG_As_int(obj1
);
22876 if (PyErr_Occurred()) SWIG_fail
;
22878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22879 result
= (bool)(arg1
)->DeleteColumn(arg2
);
22881 wxPyEndAllowThreads(__tstate
);
22882 if (PyErr_Occurred()) SWIG_fail
;
22885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22893 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22894 PyObject
*resultobj
;
22895 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22897 PyObject
* obj0
= 0 ;
22898 char *kwnames
[] = {
22899 (char *) "self", NULL
22902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
22903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22907 result
= (bool)(arg1
)->DeleteAllColumns();
22909 wxPyEndAllowThreads(__tstate
);
22910 if (PyErr_Occurred()) SWIG_fail
;
22913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22921 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22922 PyObject
*resultobj
;
22923 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22924 PyObject
* obj0
= 0 ;
22925 char *kwnames
[] = {
22926 (char *) "self", NULL
22929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
22930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22934 (arg1
)->ClearAll();
22936 wxPyEndAllowThreads(__tstate
);
22937 if (PyErr_Occurred()) SWIG_fail
;
22939 Py_INCREF(Py_None
); resultobj
= Py_None
;
22946 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22947 PyObject
*resultobj
;
22948 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22950 PyObject
* obj0
= 0 ;
22951 PyObject
* obj1
= 0 ;
22952 char *kwnames
[] = {
22953 (char *) "self",(char *) "item", NULL
22956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22959 arg2
= (long)SWIG_As_long(obj1
);
22960 if (PyErr_Occurred()) SWIG_fail
;
22962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22963 (arg1
)->EditLabel(arg2
);
22965 wxPyEndAllowThreads(__tstate
);
22966 if (PyErr_Occurred()) SWIG_fail
;
22968 Py_INCREF(Py_None
); resultobj
= Py_None
;
22975 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22976 PyObject
*resultobj
;
22977 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22980 PyObject
* obj0
= 0 ;
22981 PyObject
* obj1
= 0 ;
22982 char *kwnames
[] = {
22983 (char *) "self",(char *) "item", NULL
22986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22989 arg2
= (long)SWIG_As_long(obj1
);
22990 if (PyErr_Occurred()) SWIG_fail
;
22992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22993 result
= (bool)(arg1
)->EnsureVisible(arg2
);
22995 wxPyEndAllowThreads(__tstate
);
22996 if (PyErr_Occurred()) SWIG_fail
;
22999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23007 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23008 PyObject
*resultobj
;
23009 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23011 wxString
*arg3
= 0 ;
23012 bool arg4
= (bool) False
;
23014 bool temp3
= False
;
23015 PyObject
* obj0
= 0 ;
23016 PyObject
* obj1
= 0 ;
23017 PyObject
* obj2
= 0 ;
23018 PyObject
* obj3
= 0 ;
23019 char *kwnames
[] = {
23020 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
23023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23026 arg2
= (long)SWIG_As_long(obj1
);
23027 if (PyErr_Occurred()) SWIG_fail
;
23029 arg3
= wxString_in_helper(obj2
);
23030 if (arg3
== NULL
) SWIG_fail
;
23034 arg4
= (bool)SWIG_As_bool(obj3
);
23035 if (PyErr_Occurred()) SWIG_fail
;
23038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23039 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
23041 wxPyEndAllowThreads(__tstate
);
23042 if (PyErr_Occurred()) SWIG_fail
;
23044 resultobj
= SWIG_From_long((long)result
);
23059 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23060 PyObject
*resultobj
;
23061 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23065 PyObject
* obj0
= 0 ;
23066 PyObject
* obj1
= 0 ;
23067 PyObject
* obj2
= 0 ;
23068 char *kwnames
[] = {
23069 (char *) "self",(char *) "start",(char *) "data", NULL
23072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23075 arg2
= (long)SWIG_As_long(obj1
);
23076 if (PyErr_Occurred()) SWIG_fail
;
23077 arg3
= (long)SWIG_As_long(obj2
);
23078 if (PyErr_Occurred()) SWIG_fail
;
23080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23081 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
23083 wxPyEndAllowThreads(__tstate
);
23084 if (PyErr_Occurred()) SWIG_fail
;
23086 resultobj
= SWIG_From_long((long)result
);
23093 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23094 PyObject
*resultobj
;
23095 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23097 wxPoint
*arg3
= 0 ;
23101 PyObject
* obj0
= 0 ;
23102 PyObject
* obj1
= 0 ;
23103 PyObject
* obj2
= 0 ;
23104 PyObject
* obj3
= 0 ;
23105 char *kwnames
[] = {
23106 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
23109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23112 arg2
= (long)SWIG_As_long(obj1
);
23113 if (PyErr_Occurred()) SWIG_fail
;
23116 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23118 arg4
= (int)SWIG_As_int(obj3
);
23119 if (PyErr_Occurred()) SWIG_fail
;
23121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23122 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
23124 wxPyEndAllowThreads(__tstate
);
23125 if (PyErr_Occurred()) SWIG_fail
;
23127 resultobj
= SWIG_From_long((long)result
);
23134 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23135 PyObject
*resultobj
;
23136 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23137 wxPoint
*arg2
= 0 ;
23143 PyObject
* obj0
= 0 ;
23144 PyObject
* obj1
= 0 ;
23145 char *kwnames
[] = {
23146 (char *) "self",(char *) "point", NULL
23149 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
23151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23155 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23159 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
23161 wxPyEndAllowThreads(__tstate
);
23162 if (PyErr_Occurred()) SWIG_fail
;
23164 resultobj
= SWIG_From_long((long)result
);
23165 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23166 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23173 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23174 PyObject
*resultobj
;
23175 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23176 wxListItem
*arg2
= 0 ;
23178 PyObject
* obj0
= 0 ;
23179 PyObject
* obj1
= 0 ;
23180 char *kwnames
[] = {
23181 (char *) "self",(char *) "info", NULL
23184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23187 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
23188 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23190 if (arg2
== NULL
) {
23191 PyErr_SetString(PyExc_TypeError
,"null reference");
23195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23196 result
= (long)(arg1
)->InsertItem(*arg2
);
23198 wxPyEndAllowThreads(__tstate
);
23199 if (PyErr_Occurred()) SWIG_fail
;
23201 resultobj
= SWIG_From_long((long)result
);
23208 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23209 PyObject
*resultobj
;
23210 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23212 wxString
*arg3
= 0 ;
23214 bool temp3
= False
;
23215 PyObject
* obj0
= 0 ;
23216 PyObject
* obj1
= 0 ;
23217 PyObject
* obj2
= 0 ;
23218 char *kwnames
[] = {
23219 (char *) "self",(char *) "index",(char *) "label", NULL
23222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23225 arg2
= (long)SWIG_As_long(obj1
);
23226 if (PyErr_Occurred()) SWIG_fail
;
23228 arg3
= wxString_in_helper(obj2
);
23229 if (arg3
== NULL
) SWIG_fail
;
23233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23234 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
23236 wxPyEndAllowThreads(__tstate
);
23237 if (PyErr_Occurred()) SWIG_fail
;
23239 resultobj
= SWIG_From_long((long)result
);
23254 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23255 PyObject
*resultobj
;
23256 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23260 PyObject
* obj0
= 0 ;
23261 PyObject
* obj1
= 0 ;
23262 PyObject
* obj2
= 0 ;
23263 char *kwnames
[] = {
23264 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
23267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23270 arg2
= (long)SWIG_As_long(obj1
);
23271 if (PyErr_Occurred()) SWIG_fail
;
23272 arg3
= (int)SWIG_As_int(obj2
);
23273 if (PyErr_Occurred()) SWIG_fail
;
23275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23276 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
23278 wxPyEndAllowThreads(__tstate
);
23279 if (PyErr_Occurred()) SWIG_fail
;
23281 resultobj
= SWIG_From_long((long)result
);
23288 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23289 PyObject
*resultobj
;
23290 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23292 wxString
*arg3
= 0 ;
23295 bool temp3
= False
;
23296 PyObject
* obj0
= 0 ;
23297 PyObject
* obj1
= 0 ;
23298 PyObject
* obj2
= 0 ;
23299 PyObject
* obj3
= 0 ;
23300 char *kwnames
[] = {
23301 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
23304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23307 arg2
= (long)SWIG_As_long(obj1
);
23308 if (PyErr_Occurred()) SWIG_fail
;
23310 arg3
= wxString_in_helper(obj2
);
23311 if (arg3
== NULL
) SWIG_fail
;
23314 arg4
= (int)SWIG_As_int(obj3
);
23315 if (PyErr_Occurred()) SWIG_fail
;
23317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23318 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
23320 wxPyEndAllowThreads(__tstate
);
23321 if (PyErr_Occurred()) SWIG_fail
;
23323 resultobj
= SWIG_From_long((long)result
);
23338 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23339 PyObject
*resultobj
;
23340 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23342 wxListItem
*arg3
= 0 ;
23344 PyObject
* obj0
= 0 ;
23345 PyObject
* obj1
= 0 ;
23346 PyObject
* obj2
= 0 ;
23347 char *kwnames
[] = {
23348 (char *) "self",(char *) "col",(char *) "info", NULL
23351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23354 arg2
= (long)SWIG_As_long(obj1
);
23355 if (PyErr_Occurred()) SWIG_fail
;
23356 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
23357 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23359 if (arg3
== NULL
) {
23360 PyErr_SetString(PyExc_TypeError
,"null reference");
23364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23365 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
23367 wxPyEndAllowThreads(__tstate
);
23368 if (PyErr_Occurred()) SWIG_fail
;
23370 resultobj
= SWIG_From_long((long)result
);
23377 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23378 PyObject
*resultobj
;
23379 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23381 wxString
*arg3
= 0 ;
23382 int arg4
= (int) wxLIST_FORMAT_LEFT
;
23383 int arg5
= (int) -1 ;
23385 bool temp3
= False
;
23386 PyObject
* obj0
= 0 ;
23387 PyObject
* obj1
= 0 ;
23388 PyObject
* obj2
= 0 ;
23389 PyObject
* obj3
= 0 ;
23390 PyObject
* obj4
= 0 ;
23391 char *kwnames
[] = {
23392 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
23395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23398 arg2
= (long)SWIG_As_long(obj1
);
23399 if (PyErr_Occurred()) SWIG_fail
;
23401 arg3
= wxString_in_helper(obj2
);
23402 if (arg3
== NULL
) SWIG_fail
;
23406 arg4
= (int)SWIG_As_int(obj3
);
23407 if (PyErr_Occurred()) SWIG_fail
;
23410 arg5
= (int)SWIG_As_int(obj4
);
23411 if (PyErr_Occurred()) SWIG_fail
;
23414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23415 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
23417 wxPyEndAllowThreads(__tstate
);
23418 if (PyErr_Occurred()) SWIG_fail
;
23420 resultobj
= SWIG_From_long((long)result
);
23435 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23436 PyObject
*resultobj
;
23437 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23439 PyObject
* obj0
= 0 ;
23440 PyObject
* obj1
= 0 ;
23441 char *kwnames
[] = {
23442 (char *) "self",(char *) "count", NULL
23445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
23446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23448 arg2
= (long)SWIG_As_long(obj1
);
23449 if (PyErr_Occurred()) SWIG_fail
;
23451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23452 (arg1
)->SetItemCount(arg2
);
23454 wxPyEndAllowThreads(__tstate
);
23455 if (PyErr_Occurred()) SWIG_fail
;
23457 Py_INCREF(Py_None
); resultobj
= Py_None
;
23464 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23465 PyObject
*resultobj
;
23466 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23470 PyObject
* obj0
= 0 ;
23471 PyObject
* obj1
= 0 ;
23472 PyObject
* obj2
= 0 ;
23473 char *kwnames
[] = {
23474 (char *) "self",(char *) "dx",(char *) "dy", NULL
23477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23480 arg2
= (int)SWIG_As_int(obj1
);
23481 if (PyErr_Occurred()) SWIG_fail
;
23482 arg3
= (int)SWIG_As_int(obj2
);
23483 if (PyErr_Occurred()) SWIG_fail
;
23485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23486 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
23488 wxPyEndAllowThreads(__tstate
);
23489 if (PyErr_Occurred()) SWIG_fail
;
23492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23500 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23501 PyObject
*resultobj
;
23502 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23504 wxColour
*arg3
= 0 ;
23506 PyObject
* obj0
= 0 ;
23507 PyObject
* obj1
= 0 ;
23508 PyObject
* obj2
= 0 ;
23509 char *kwnames
[] = {
23510 (char *) "self",(char *) "item",(char *) "col", NULL
23513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23516 arg2
= (long)SWIG_As_long(obj1
);
23517 if (PyErr_Occurred()) SWIG_fail
;
23520 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23524 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
23526 wxPyEndAllowThreads(__tstate
);
23527 if (PyErr_Occurred()) SWIG_fail
;
23529 Py_INCREF(Py_None
); resultobj
= Py_None
;
23536 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23537 PyObject
*resultobj
;
23538 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23541 PyObject
* obj0
= 0 ;
23542 PyObject
* obj1
= 0 ;
23543 char *kwnames
[] = {
23544 (char *) "self",(char *) "item", NULL
23547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23550 arg2
= (long)SWIG_As_long(obj1
);
23551 if (PyErr_Occurred()) SWIG_fail
;
23553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23554 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
23556 wxPyEndAllowThreads(__tstate
);
23557 if (PyErr_Occurred()) SWIG_fail
;
23560 wxColour
* resultptr
;
23561 resultptr
= new wxColour((wxColour
&) result
);
23562 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23570 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23571 PyObject
*resultobj
;
23572 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23574 wxColour
*arg3
= 0 ;
23576 PyObject
* obj0
= 0 ;
23577 PyObject
* obj1
= 0 ;
23578 PyObject
* obj2
= 0 ;
23579 char *kwnames
[] = {
23580 (char *) "self",(char *) "item",(char *) "col", NULL
23583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23586 arg2
= (long)SWIG_As_long(obj1
);
23587 if (PyErr_Occurred()) SWIG_fail
;
23590 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23594 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
23596 wxPyEndAllowThreads(__tstate
);
23597 if (PyErr_Occurred()) SWIG_fail
;
23599 Py_INCREF(Py_None
); resultobj
= Py_None
;
23606 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23607 PyObject
*resultobj
;
23608 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23611 PyObject
* obj0
= 0 ;
23612 PyObject
* obj1
= 0 ;
23613 char *kwnames
[] = {
23614 (char *) "self",(char *) "item", NULL
23617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23620 arg2
= (long)SWIG_As_long(obj1
);
23621 if (PyErr_Occurred()) SWIG_fail
;
23623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23624 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
23626 wxPyEndAllowThreads(__tstate
);
23627 if (PyErr_Occurred()) SWIG_fail
;
23630 wxColour
* resultptr
;
23631 resultptr
= new wxColour((wxColour
&) result
);
23632 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23640 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23641 PyObject
*resultobj
;
23642 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23643 PyObject
*arg2
= (PyObject
*) 0 ;
23645 PyObject
* obj0
= 0 ;
23646 PyObject
* obj1
= 0 ;
23647 char *kwnames
[] = {
23648 (char *) "self",(char *) "func", NULL
23651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
23652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23657 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
23659 wxPyEndAllowThreads(__tstate
);
23660 if (PyErr_Occurred()) SWIG_fail
;
23663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23671 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23672 PyObject
*resultobj
;
23673 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23675 PyObject
* obj0
= 0 ;
23676 char *kwnames
[] = {
23677 (char *) "self", NULL
23680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
23681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23685 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
23687 wxPyEndAllowThreads(__tstate
);
23688 if (PyErr_Occurred()) SWIG_fail
;
23691 resultobj
= wxPyMake_wxObject(result
, 0);
23699 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23700 PyObject
*resultobj
;
23701 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
23702 wxVisualAttributes result
;
23703 PyObject
* obj0
= 0 ;
23704 char *kwnames
[] = {
23705 (char *) "variant", NULL
23708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
23710 arg1
= (int)SWIG_As_int(obj0
);
23711 if (PyErr_Occurred()) SWIG_fail
;
23714 if (!wxPyCheckForApp()) SWIG_fail
;
23715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23716 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
23718 wxPyEndAllowThreads(__tstate
);
23719 if (PyErr_Occurred()) SWIG_fail
;
23722 wxVisualAttributes
* resultptr
;
23723 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
23724 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
23732 static PyObject
* ListCtrl_swigregister(PyObject
*, PyObject
*args
) {
23734 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23735 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
23737 return Py_BuildValue((char *)"");
23739 static PyObject
*_wrap_new_ListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23740 PyObject
*resultobj
;
23741 wxWindow
*arg1
= (wxWindow
*) 0 ;
23742 int arg2
= (int) -1 ;
23743 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23744 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23745 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23746 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23747 long arg5
= (long) wxLC_REPORT
;
23748 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23749 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23750 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
23751 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23752 wxListView
*result
;
23755 bool temp7
= False
;
23756 PyObject
* obj0
= 0 ;
23757 PyObject
* obj1
= 0 ;
23758 PyObject
* obj2
= 0 ;
23759 PyObject
* obj3
= 0 ;
23760 PyObject
* obj4
= 0 ;
23761 PyObject
* obj5
= 0 ;
23762 PyObject
* obj6
= 0 ;
23763 char *kwnames
[] = {
23764 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23771 arg2
= (int)SWIG_As_int(obj1
);
23772 if (PyErr_Occurred()) SWIG_fail
;
23777 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23783 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23787 arg5
= (long)SWIG_As_long(obj4
);
23788 if (PyErr_Occurred()) SWIG_fail
;
23791 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
23792 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23794 if (arg6
== NULL
) {
23795 PyErr_SetString(PyExc_TypeError
,"null reference");
23801 arg7
= wxString_in_helper(obj6
);
23802 if (arg7
== NULL
) SWIG_fail
;
23807 if (!wxPyCheckForApp()) SWIG_fail
;
23808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23809 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23811 wxPyEndAllowThreads(__tstate
);
23812 if (PyErr_Occurred()) SWIG_fail
;
23814 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
23829 static PyObject
*_wrap_new_PreListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23830 PyObject
*resultobj
;
23831 wxListView
*result
;
23832 char *kwnames
[] = {
23836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
23838 if (!wxPyCheckForApp()) SWIG_fail
;
23839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23840 result
= (wxListView
*)new wxListView();
23842 wxPyEndAllowThreads(__tstate
);
23843 if (PyErr_Occurred()) SWIG_fail
;
23845 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
23852 static PyObject
*_wrap_ListView_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23853 PyObject
*resultobj
;
23854 wxListView
*arg1
= (wxListView
*) 0 ;
23855 wxWindow
*arg2
= (wxWindow
*) 0 ;
23856 int arg3
= (int) -1 ;
23857 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23858 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23859 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23860 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23861 long arg6
= (long) wxLC_REPORT
;
23862 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23863 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23864 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
23865 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23869 bool temp8
= False
;
23870 PyObject
* obj0
= 0 ;
23871 PyObject
* obj1
= 0 ;
23872 PyObject
* obj2
= 0 ;
23873 PyObject
* obj3
= 0 ;
23874 PyObject
* obj4
= 0 ;
23875 PyObject
* obj5
= 0 ;
23876 PyObject
* obj6
= 0 ;
23877 PyObject
* obj7
= 0 ;
23878 char *kwnames
[] = {
23879 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23885 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23888 arg3
= (int)SWIG_As_int(obj2
);
23889 if (PyErr_Occurred()) SWIG_fail
;
23894 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23900 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23904 arg6
= (long)SWIG_As_long(obj5
);
23905 if (PyErr_Occurred()) SWIG_fail
;
23908 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
23909 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23911 if (arg7
== NULL
) {
23912 PyErr_SetString(PyExc_TypeError
,"null reference");
23918 arg8
= wxString_in_helper(obj7
);
23919 if (arg8
== NULL
) SWIG_fail
;
23924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23925 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23927 wxPyEndAllowThreads(__tstate
);
23928 if (PyErr_Occurred()) SWIG_fail
;
23931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23947 static PyObject
*_wrap_ListView_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23948 PyObject
*resultobj
;
23949 wxListView
*arg1
= (wxListView
*) 0 ;
23951 bool arg3
= (bool) True
;
23952 PyObject
* obj0
= 0 ;
23953 PyObject
* obj1
= 0 ;
23954 PyObject
* obj2
= 0 ;
23955 char *kwnames
[] = {
23956 (char *) "self",(char *) "n",(char *) "on", NULL
23959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23962 arg2
= (long)SWIG_As_long(obj1
);
23963 if (PyErr_Occurred()) SWIG_fail
;
23965 arg3
= (bool)SWIG_As_bool(obj2
);
23966 if (PyErr_Occurred()) SWIG_fail
;
23969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23970 (arg1
)->Select(arg2
,arg3
);
23972 wxPyEndAllowThreads(__tstate
);
23973 if (PyErr_Occurred()) SWIG_fail
;
23975 Py_INCREF(Py_None
); resultobj
= Py_None
;
23982 static PyObject
*_wrap_ListView_Focus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23983 PyObject
*resultobj
;
23984 wxListView
*arg1
= (wxListView
*) 0 ;
23986 PyObject
* obj0
= 0 ;
23987 PyObject
* obj1
= 0 ;
23988 char *kwnames
[] = {
23989 (char *) "self",(char *) "index", NULL
23992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
23993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23995 arg2
= (long)SWIG_As_long(obj1
);
23996 if (PyErr_Occurred()) SWIG_fail
;
23998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23999 (arg1
)->Focus(arg2
);
24001 wxPyEndAllowThreads(__tstate
);
24002 if (PyErr_Occurred()) SWIG_fail
;
24004 Py_INCREF(Py_None
); resultobj
= Py_None
;
24011 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24012 PyObject
*resultobj
;
24013 wxListView
*arg1
= (wxListView
*) 0 ;
24015 PyObject
* obj0
= 0 ;
24016 char *kwnames
[] = {
24017 (char *) "self", NULL
24020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
24021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24025 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
24027 wxPyEndAllowThreads(__tstate
);
24028 if (PyErr_Occurred()) SWIG_fail
;
24030 resultobj
= SWIG_From_long((long)result
);
24037 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24038 PyObject
*resultobj
;
24039 wxListView
*arg1
= (wxListView
*) 0 ;
24042 PyObject
* obj0
= 0 ;
24043 PyObject
* obj1
= 0 ;
24044 char *kwnames
[] = {
24045 (char *) "self",(char *) "item", NULL
24048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
24049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24051 arg2
= (long)SWIG_As_long(obj1
);
24052 if (PyErr_Occurred()) SWIG_fail
;
24054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24055 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
24057 wxPyEndAllowThreads(__tstate
);
24058 if (PyErr_Occurred()) SWIG_fail
;
24060 resultobj
= SWIG_From_long((long)result
);
24067 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24068 PyObject
*resultobj
;
24069 wxListView
*arg1
= (wxListView
*) 0 ;
24071 PyObject
* obj0
= 0 ;
24072 char *kwnames
[] = {
24073 (char *) "self", NULL
24076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
24077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24081 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
24083 wxPyEndAllowThreads(__tstate
);
24084 if (PyErr_Occurred()) SWIG_fail
;
24086 resultobj
= SWIG_From_long((long)result
);
24093 static PyObject
*_wrap_ListView_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24094 PyObject
*resultobj
;
24095 wxListView
*arg1
= (wxListView
*) 0 ;
24098 PyObject
* obj0
= 0 ;
24099 PyObject
* obj1
= 0 ;
24100 char *kwnames
[] = {
24101 (char *) "self",(char *) "index", NULL
24104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
24105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24107 arg2
= (long)SWIG_As_long(obj1
);
24108 if (PyErr_Occurred()) SWIG_fail
;
24110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24111 result
= (bool)(arg1
)->IsSelected(arg2
);
24113 wxPyEndAllowThreads(__tstate
);
24114 if (PyErr_Occurred()) SWIG_fail
;
24117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24125 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24126 PyObject
*resultobj
;
24127 wxListView
*arg1
= (wxListView
*) 0 ;
24130 PyObject
* obj0
= 0 ;
24131 PyObject
* obj1
= 0 ;
24132 PyObject
* obj2
= 0 ;
24133 char *kwnames
[] = {
24134 (char *) "self",(char *) "col",(char *) "image", NULL
24137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24140 arg2
= (int)SWIG_As_int(obj1
);
24141 if (PyErr_Occurred()) SWIG_fail
;
24142 arg3
= (int)SWIG_As_int(obj2
);
24143 if (PyErr_Occurred()) SWIG_fail
;
24145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24146 (arg1
)->SetColumnImage(arg2
,arg3
);
24148 wxPyEndAllowThreads(__tstate
);
24149 if (PyErr_Occurred()) SWIG_fail
;
24151 Py_INCREF(Py_None
); resultobj
= Py_None
;
24158 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24159 PyObject
*resultobj
;
24160 wxListView
*arg1
= (wxListView
*) 0 ;
24162 PyObject
* obj0
= 0 ;
24163 PyObject
* obj1
= 0 ;
24164 char *kwnames
[] = {
24165 (char *) "self",(char *) "col", NULL
24168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
24169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24171 arg2
= (int)SWIG_As_int(obj1
);
24172 if (PyErr_Occurred()) SWIG_fail
;
24174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24175 (arg1
)->ClearColumnImage(arg2
);
24177 wxPyEndAllowThreads(__tstate
);
24178 if (PyErr_Occurred()) SWIG_fail
;
24180 Py_INCREF(Py_None
); resultobj
= Py_None
;
24187 static PyObject
* ListView_swigregister(PyObject
*, PyObject
*args
) {
24189 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24190 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
24192 return Py_BuildValue((char *)"");
24194 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
24195 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
24200 static PyObject
*_wrap_TreeCtrlNameStr_get() {
24205 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
24207 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
24214 static PyObject
*_wrap_new_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24215 PyObject
*resultobj
;
24216 wxTreeItemId
*result
;
24217 char *kwnames
[] = {
24221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
24223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24224 result
= (wxTreeItemId
*)new wxTreeItemId();
24226 wxPyEndAllowThreads(__tstate
);
24227 if (PyErr_Occurred()) SWIG_fail
;
24229 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
24236 static PyObject
*_wrap_delete_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24237 PyObject
*resultobj
;
24238 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24239 PyObject
* obj0
= 0 ;
24240 char *kwnames
[] = {
24241 (char *) "self", NULL
24244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
24245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24251 wxPyEndAllowThreads(__tstate
);
24252 if (PyErr_Occurred()) SWIG_fail
;
24254 Py_INCREF(Py_None
); resultobj
= Py_None
;
24261 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24262 PyObject
*resultobj
;
24263 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24265 PyObject
* obj0
= 0 ;
24266 char *kwnames
[] = {
24267 (char *) "self", NULL
24270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
24271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24275 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
24277 wxPyEndAllowThreads(__tstate
);
24278 if (PyErr_Occurred()) SWIG_fail
;
24281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24289 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24290 PyObject
*resultobj
;
24291 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24292 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24294 PyObject
* obj0
= 0 ;
24295 PyObject
* obj1
= 0 ;
24296 char *kwnames
[] = {
24297 (char *) "self",(char *) "other", NULL
24300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24303 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24307 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
24309 wxPyEndAllowThreads(__tstate
);
24310 if (PyErr_Occurred()) SWIG_fail
;
24313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24321 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24322 PyObject
*resultobj
;
24323 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24324 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24326 PyObject
* obj0
= 0 ;
24327 PyObject
* obj1
= 0 ;
24328 char *kwnames
[] = {
24329 (char *) "self",(char *) "other", NULL
24332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24335 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24339 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
24341 wxPyEndAllowThreads(__tstate
);
24342 if (PyErr_Occurred()) SWIG_fail
;
24345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24353 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24354 PyObject
*resultobj
;
24355 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24356 void *arg2
= (void *) 0 ;
24357 PyObject
* obj0
= 0 ;
24358 PyObject
* obj1
= 0 ;
24359 char *kwnames
[] = {
24360 (char *) "self",(char *) "m_pItem", NULL
24363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24366 if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24367 if (arg1
) (arg1
)->m_pItem
= arg2
;
24369 Py_INCREF(Py_None
); resultobj
= Py_None
;
24376 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24377 PyObject
*resultobj
;
24378 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24380 PyObject
* obj0
= 0 ;
24381 char *kwnames
[] = {
24382 (char *) "self", NULL
24385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
24386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24388 result
= (void *) ((arg1
)->m_pItem
);
24390 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
24397 static PyObject
* TreeItemId_swigregister(PyObject
*, PyObject
*args
) {
24399 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24400 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
24402 return Py_BuildValue((char *)"");
24404 static PyObject
*_wrap_new_TreeItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24405 PyObject
*resultobj
;
24406 PyObject
*arg1
= (PyObject
*) NULL
;
24407 wxPyTreeItemData
*result
;
24408 PyObject
* obj0
= 0 ;
24409 char *kwnames
[] = {
24410 (char *) "obj", NULL
24413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
24418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24419 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
24421 wxPyEndAllowThreads(__tstate
);
24422 if (PyErr_Occurred()) SWIG_fail
;
24424 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
24431 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24432 PyObject
*resultobj
;
24433 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24435 PyObject
* obj0
= 0 ;
24436 char *kwnames
[] = {
24437 (char *) "self", NULL
24440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
24441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24445 result
= (PyObject
*)(arg1
)->GetData();
24447 wxPyEndAllowThreads(__tstate
);
24448 if (PyErr_Occurred()) SWIG_fail
;
24450 resultobj
= result
;
24457 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24458 PyObject
*resultobj
;
24459 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24460 PyObject
*arg2
= (PyObject
*) 0 ;
24461 PyObject
* obj0
= 0 ;
24462 PyObject
* obj1
= 0 ;
24463 char *kwnames
[] = {
24464 (char *) "self",(char *) "obj", NULL
24467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24473 (arg1
)->SetData(arg2
);
24475 wxPyEndAllowThreads(__tstate
);
24476 if (PyErr_Occurred()) SWIG_fail
;
24478 Py_INCREF(Py_None
); resultobj
= Py_None
;
24485 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24486 PyObject
*resultobj
;
24487 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24488 wxTreeItemId
*result
;
24489 PyObject
* obj0
= 0 ;
24490 char *kwnames
[] = {
24491 (char *) "self", NULL
24494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
24495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24500 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
24501 result
= (wxTreeItemId
*) &_result_ref
;
24504 wxPyEndAllowThreads(__tstate
);
24505 if (PyErr_Occurred()) SWIG_fail
;
24507 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
24514 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24515 PyObject
*resultobj
;
24516 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24517 wxTreeItemId
*arg2
= 0 ;
24518 PyObject
* obj0
= 0 ;
24519 PyObject
* obj1
= 0 ;
24520 char *kwnames
[] = {
24521 (char *) "self",(char *) "id", NULL
24524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24527 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24528 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24530 if (arg2
== NULL
) {
24531 PyErr_SetString(PyExc_TypeError
,"null reference");
24535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24536 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
24538 wxPyEndAllowThreads(__tstate
);
24539 if (PyErr_Occurred()) SWIG_fail
;
24541 Py_INCREF(Py_None
); resultobj
= Py_None
;
24548 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24549 PyObject
*resultobj
;
24550 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24551 PyObject
* obj0
= 0 ;
24552 char *kwnames
[] = {
24553 (char *) "self", NULL
24556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
24557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24561 wxPyTreeItemData_Destroy(arg1
);
24563 wxPyEndAllowThreads(__tstate
);
24564 if (PyErr_Occurred()) SWIG_fail
;
24566 Py_INCREF(Py_None
); resultobj
= Py_None
;
24573 static PyObject
* TreeItemData_swigregister(PyObject
*, PyObject
*args
) {
24575 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24576 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
24578 return Py_BuildValue((char *)"");
24580 static PyObject
*_wrap_new_TreeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24581 PyObject
*resultobj
;
24582 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
24583 int arg2
= (int) 0 ;
24584 wxTreeEvent
*result
;
24585 PyObject
* obj0
= 0 ;
24586 PyObject
* obj1
= 0 ;
24587 char *kwnames
[] = {
24588 (char *) "commandType",(char *) "id", NULL
24591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24593 arg1
= (wxEventType
)SWIG_As_int(obj0
);
24594 if (PyErr_Occurred()) SWIG_fail
;
24597 arg2
= (int)SWIG_As_int(obj1
);
24598 if (PyErr_Occurred()) SWIG_fail
;
24601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24602 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
24604 wxPyEndAllowThreads(__tstate
);
24605 if (PyErr_Occurred()) SWIG_fail
;
24607 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
24614 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24615 PyObject
*resultobj
;
24616 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24617 wxTreeItemId result
;
24618 PyObject
* obj0
= 0 ;
24619 char *kwnames
[] = {
24620 (char *) "self", NULL
24623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
24624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24628 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
24630 wxPyEndAllowThreads(__tstate
);
24631 if (PyErr_Occurred()) SWIG_fail
;
24634 wxTreeItemId
* resultptr
;
24635 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24636 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24644 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24645 PyObject
*resultobj
;
24646 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24647 wxTreeItemId
*arg2
= 0 ;
24648 PyObject
* obj0
= 0 ;
24649 PyObject
* obj1
= 0 ;
24650 char *kwnames
[] = {
24651 (char *) "self",(char *) "item", NULL
24654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24657 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24658 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24660 if (arg2
== NULL
) {
24661 PyErr_SetString(PyExc_TypeError
,"null reference");
24665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24666 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
24668 wxPyEndAllowThreads(__tstate
);
24669 if (PyErr_Occurred()) SWIG_fail
;
24671 Py_INCREF(Py_None
); resultobj
= Py_None
;
24678 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24679 PyObject
*resultobj
;
24680 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24681 wxTreeItemId result
;
24682 PyObject
* obj0
= 0 ;
24683 char *kwnames
[] = {
24684 (char *) "self", NULL
24687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
24688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24692 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
24694 wxPyEndAllowThreads(__tstate
);
24695 if (PyErr_Occurred()) SWIG_fail
;
24698 wxTreeItemId
* resultptr
;
24699 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24700 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24708 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24709 PyObject
*resultobj
;
24710 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24711 wxTreeItemId
*arg2
= 0 ;
24712 PyObject
* obj0
= 0 ;
24713 PyObject
* obj1
= 0 ;
24714 char *kwnames
[] = {
24715 (char *) "self",(char *) "item", NULL
24718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24721 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24722 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24724 if (arg2
== NULL
) {
24725 PyErr_SetString(PyExc_TypeError
,"null reference");
24729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24730 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
24732 wxPyEndAllowThreads(__tstate
);
24733 if (PyErr_Occurred()) SWIG_fail
;
24735 Py_INCREF(Py_None
); resultobj
= Py_None
;
24742 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24743 PyObject
*resultobj
;
24744 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24746 PyObject
* obj0
= 0 ;
24747 char *kwnames
[] = {
24748 (char *) "self", NULL
24751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
24752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24756 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
24758 wxPyEndAllowThreads(__tstate
);
24759 if (PyErr_Occurred()) SWIG_fail
;
24762 wxPoint
* resultptr
;
24763 resultptr
= new wxPoint((wxPoint
&) result
);
24764 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24772 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24773 PyObject
*resultobj
;
24774 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24775 wxPoint
*arg2
= 0 ;
24777 PyObject
* obj0
= 0 ;
24778 PyObject
* obj1
= 0 ;
24779 char *kwnames
[] = {
24780 (char *) "self",(char *) "pt", NULL
24783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
24784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24788 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24792 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
24794 wxPyEndAllowThreads(__tstate
);
24795 if (PyErr_Occurred()) SWIG_fail
;
24797 Py_INCREF(Py_None
); resultobj
= Py_None
;
24804 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24805 PyObject
*resultobj
;
24806 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24807 wxKeyEvent
*result
;
24808 PyObject
* obj0
= 0 ;
24809 char *kwnames
[] = {
24810 (char *) "self", NULL
24813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
24814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24819 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
24820 result
= (wxKeyEvent
*) &_result_ref
;
24823 wxPyEndAllowThreads(__tstate
);
24824 if (PyErr_Occurred()) SWIG_fail
;
24826 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
24833 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24834 PyObject
*resultobj
;
24835 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24837 PyObject
* obj0
= 0 ;
24838 char *kwnames
[] = {
24839 (char *) "self", NULL
24842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24847 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
24849 wxPyEndAllowThreads(__tstate
);
24850 if (PyErr_Occurred()) SWIG_fail
;
24852 resultobj
= SWIG_From_int((int)result
);
24859 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24860 PyObject
*resultobj
;
24861 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24862 wxKeyEvent
*arg2
= 0 ;
24863 PyObject
* obj0
= 0 ;
24864 PyObject
* obj1
= 0 ;
24865 char *kwnames
[] = {
24866 (char *) "self",(char *) "evt", NULL
24869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24872 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
24873 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24875 if (arg2
== NULL
) {
24876 PyErr_SetString(PyExc_TypeError
,"null reference");
24880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24881 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
24883 wxPyEndAllowThreads(__tstate
);
24884 if (PyErr_Occurred()) SWIG_fail
;
24886 Py_INCREF(Py_None
); resultobj
= Py_None
;
24893 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24894 PyObject
*resultobj
;
24895 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24897 PyObject
* obj0
= 0 ;
24898 char *kwnames
[] = {
24899 (char *) "self", NULL
24902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
24903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24908 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
24909 result
= (wxString
*) &_result_ref
;
24912 wxPyEndAllowThreads(__tstate
);
24913 if (PyErr_Occurred()) SWIG_fail
;
24917 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24919 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24928 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24929 PyObject
*resultobj
;
24930 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24931 wxString
*arg2
= 0 ;
24932 bool temp2
= False
;
24933 PyObject
* obj0
= 0 ;
24934 PyObject
* obj1
= 0 ;
24935 char *kwnames
[] = {
24936 (char *) "self",(char *) "label", NULL
24939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
24940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24943 arg2
= wxString_in_helper(obj1
);
24944 if (arg2
== NULL
) SWIG_fail
;
24948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24949 (arg1
)->SetLabel((wxString
const &)*arg2
);
24951 wxPyEndAllowThreads(__tstate
);
24952 if (PyErr_Occurred()) SWIG_fail
;
24954 Py_INCREF(Py_None
); resultobj
= Py_None
;
24969 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24970 PyObject
*resultobj
;
24971 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24973 PyObject
* obj0
= 0 ;
24974 char *kwnames
[] = {
24975 (char *) "self", NULL
24978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
24979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24983 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
24985 wxPyEndAllowThreads(__tstate
);
24986 if (PyErr_Occurred()) SWIG_fail
;
24989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24997 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24998 PyObject
*resultobj
;
24999 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25001 PyObject
* obj0
= 0 ;
25002 PyObject
* obj1
= 0 ;
25003 char *kwnames
[] = {
25004 (char *) "self",(char *) "editCancelled", NULL
25007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
25008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25010 arg2
= (bool)SWIG_As_bool(obj1
);
25011 if (PyErr_Occurred()) SWIG_fail
;
25013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25014 (arg1
)->SetEditCanceled(arg2
);
25016 wxPyEndAllowThreads(__tstate
);
25017 if (PyErr_Occurred()) SWIG_fail
;
25019 Py_INCREF(Py_None
); resultobj
= Py_None
;
25026 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25027 PyObject
*resultobj
;
25028 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25029 wxString
*arg2
= 0 ;
25030 bool temp2
= False
;
25031 PyObject
* obj0
= 0 ;
25032 PyObject
* obj1
= 0 ;
25033 char *kwnames
[] = {
25034 (char *) "self",(char *) "toolTip", NULL
25037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
25038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25041 arg2
= wxString_in_helper(obj1
);
25042 if (arg2
== NULL
) SWIG_fail
;
25046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25047 (arg1
)->SetToolTip((wxString
const &)*arg2
);
25049 wxPyEndAllowThreads(__tstate
);
25050 if (PyErr_Occurred()) SWIG_fail
;
25052 Py_INCREF(Py_None
); resultobj
= Py_None
;
25067 static PyObject
* TreeEvent_swigregister(PyObject
*, PyObject
*args
) {
25069 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25070 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
25072 return Py_BuildValue((char *)"");
25074 static PyObject
*_wrap_new_TreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25075 PyObject
*resultobj
;
25076 wxWindow
*arg1
= (wxWindow
*) 0 ;
25077 int arg2
= (int) -1 ;
25078 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25079 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25080 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25081 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25082 long arg5
= (long) wxTR_DEFAULT_STYLE
;
25083 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
25084 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
25085 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
25086 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25087 wxPyTreeCtrl
*result
;
25090 bool temp7
= False
;
25091 PyObject
* obj0
= 0 ;
25092 PyObject
* obj1
= 0 ;
25093 PyObject
* obj2
= 0 ;
25094 PyObject
* obj3
= 0 ;
25095 PyObject
* obj4
= 0 ;
25096 PyObject
* obj5
= 0 ;
25097 PyObject
* obj6
= 0 ;
25098 char *kwnames
[] = {
25099 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25106 arg2
= (int)SWIG_As_int(obj1
);
25107 if (PyErr_Occurred()) SWIG_fail
;
25112 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25118 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25122 arg5
= (long)SWIG_As_long(obj4
);
25123 if (PyErr_Occurred()) SWIG_fail
;
25126 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
25127 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25129 if (arg6
== NULL
) {
25130 PyErr_SetString(PyExc_TypeError
,"null reference");
25136 arg7
= wxString_in_helper(obj6
);
25137 if (arg7
== NULL
) SWIG_fail
;
25142 if (!wxPyCheckForApp()) SWIG_fail
;
25143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25144 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
25146 wxPyEndAllowThreads(__tstate
);
25147 if (PyErr_Occurred()) SWIG_fail
;
25149 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
25164 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25165 PyObject
*resultobj
;
25166 wxPyTreeCtrl
*result
;
25167 char *kwnames
[] = {
25171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
25173 if (!wxPyCheckForApp()) SWIG_fail
;
25174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25175 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
25177 wxPyEndAllowThreads(__tstate
);
25178 if (PyErr_Occurred()) SWIG_fail
;
25180 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
25187 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25188 PyObject
*resultobj
;
25189 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25190 wxWindow
*arg2
= (wxWindow
*) 0 ;
25191 int arg3
= (int) -1 ;
25192 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25193 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25194 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25195 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25196 long arg6
= (long) wxTR_DEFAULT_STYLE
;
25197 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
25198 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
25199 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
25200 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
25204 bool temp8
= False
;
25205 PyObject
* obj0
= 0 ;
25206 PyObject
* obj1
= 0 ;
25207 PyObject
* obj2
= 0 ;
25208 PyObject
* obj3
= 0 ;
25209 PyObject
* obj4
= 0 ;
25210 PyObject
* obj5
= 0 ;
25211 PyObject
* obj6
= 0 ;
25212 PyObject
* obj7
= 0 ;
25213 char *kwnames
[] = {
25214 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
25218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25220 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25223 arg3
= (int)SWIG_As_int(obj2
);
25224 if (PyErr_Occurred()) SWIG_fail
;
25229 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25235 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25239 arg6
= (long)SWIG_As_long(obj5
);
25240 if (PyErr_Occurred()) SWIG_fail
;
25243 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
25244 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25246 if (arg7
== NULL
) {
25247 PyErr_SetString(PyExc_TypeError
,"null reference");
25253 arg8
= wxString_in_helper(obj7
);
25254 if (arg8
== NULL
) SWIG_fail
;
25259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25260 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
25262 wxPyEndAllowThreads(__tstate
);
25263 if (PyErr_Occurred()) SWIG_fail
;
25266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25282 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25283 PyObject
*resultobj
;
25284 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25285 PyObject
*arg2
= (PyObject
*) 0 ;
25286 PyObject
*arg3
= (PyObject
*) 0 ;
25287 PyObject
* obj0
= 0 ;
25288 PyObject
* obj1
= 0 ;
25289 PyObject
* obj2
= 0 ;
25290 char *kwnames
[] = {
25291 (char *) "self",(char *) "self",(char *) "_class", NULL
25294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25301 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25303 wxPyEndAllowThreads(__tstate
);
25304 if (PyErr_Occurred()) SWIG_fail
;
25306 Py_INCREF(Py_None
); resultobj
= Py_None
;
25313 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25314 PyObject
*resultobj
;
25315 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25317 PyObject
* obj0
= 0 ;
25318 char *kwnames
[] = {
25319 (char *) "self", NULL
25322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
25323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25327 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
25329 wxPyEndAllowThreads(__tstate
);
25330 if (PyErr_Occurred()) SWIG_fail
;
25332 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25339 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25340 PyObject
*resultobj
;
25341 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25342 unsigned int result
;
25343 PyObject
* obj0
= 0 ;
25344 char *kwnames
[] = {
25345 (char *) "self", NULL
25348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
25349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25353 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
25355 wxPyEndAllowThreads(__tstate
);
25356 if (PyErr_Occurred()) SWIG_fail
;
25358 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
25365 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25366 PyObject
*resultobj
;
25367 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25368 unsigned int arg2
;
25369 PyObject
* obj0
= 0 ;
25370 PyObject
* obj1
= 0 ;
25371 char *kwnames
[] = {
25372 (char *) "self",(char *) "indent", NULL
25375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
25376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25378 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
25379 if (PyErr_Occurred()) SWIG_fail
;
25381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25382 (arg1
)->SetIndent(arg2
);
25384 wxPyEndAllowThreads(__tstate
);
25385 if (PyErr_Occurred()) SWIG_fail
;
25387 Py_INCREF(Py_None
); resultobj
= Py_None
;
25394 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25395 PyObject
*resultobj
;
25396 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25397 unsigned int result
;
25398 PyObject
* obj0
= 0 ;
25399 char *kwnames
[] = {
25400 (char *) "self", NULL
25403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
25404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25408 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
25410 wxPyEndAllowThreads(__tstate
);
25411 if (PyErr_Occurred()) SWIG_fail
;
25413 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
25420 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25421 PyObject
*resultobj
;
25422 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25423 unsigned int arg2
;
25424 PyObject
* obj0
= 0 ;
25425 PyObject
* obj1
= 0 ;
25426 char *kwnames
[] = {
25427 (char *) "self",(char *) "spacing", NULL
25430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
25431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25433 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
25434 if (PyErr_Occurred()) SWIG_fail
;
25436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25437 (arg1
)->SetSpacing(arg2
);
25439 wxPyEndAllowThreads(__tstate
);
25440 if (PyErr_Occurred()) SWIG_fail
;
25442 Py_INCREF(Py_None
); resultobj
= Py_None
;
25449 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25450 PyObject
*resultobj
;
25451 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25452 wxImageList
*result
;
25453 PyObject
* obj0
= 0 ;
25454 char *kwnames
[] = {
25455 (char *) "self", NULL
25458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
25459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25463 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
25465 wxPyEndAllowThreads(__tstate
);
25466 if (PyErr_Occurred()) SWIG_fail
;
25469 resultobj
= wxPyMake_wxObject(result
, 0);
25477 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25478 PyObject
*resultobj
;
25479 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25480 wxImageList
*result
;
25481 PyObject
* obj0
= 0 ;
25482 char *kwnames
[] = {
25483 (char *) "self", NULL
25486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
25487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25491 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
25493 wxPyEndAllowThreads(__tstate
);
25494 if (PyErr_Occurred()) SWIG_fail
;
25497 resultobj
= wxPyMake_wxObject(result
, 0);
25505 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25506 PyObject
*resultobj
;
25507 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25508 wxImageList
*arg2
= (wxImageList
*) 0 ;
25509 PyObject
* obj0
= 0 ;
25510 PyObject
* obj1
= 0 ;
25511 char *kwnames
[] = {
25512 (char *) "self",(char *) "imageList", NULL
25515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25518 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25522 (arg1
)->SetImageList(arg2
);
25524 wxPyEndAllowThreads(__tstate
);
25525 if (PyErr_Occurred()) SWIG_fail
;
25527 Py_INCREF(Py_None
); resultobj
= Py_None
;
25534 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25535 PyObject
*resultobj
;
25536 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25537 wxImageList
*arg2
= (wxImageList
*) 0 ;
25538 PyObject
* obj0
= 0 ;
25539 PyObject
* obj1
= 0 ;
25540 char *kwnames
[] = {
25541 (char *) "self",(char *) "imageList", NULL
25544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25547 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25551 (arg1
)->SetStateImageList(arg2
);
25553 wxPyEndAllowThreads(__tstate
);
25554 if (PyErr_Occurred()) SWIG_fail
;
25556 Py_INCREF(Py_None
); resultobj
= Py_None
;
25563 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25564 PyObject
*resultobj
;
25565 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25566 wxImageList
*arg2
= (wxImageList
*) 0 ;
25567 PyObject
* obj0
= 0 ;
25568 PyObject
* obj1
= 0 ;
25569 char *kwnames
[] = {
25570 (char *) "self",(char *) "imageList", NULL
25573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25576 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25577 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25580 (arg1
)->AssignImageList(arg2
);
25582 wxPyEndAllowThreads(__tstate
);
25583 if (PyErr_Occurred()) SWIG_fail
;
25585 Py_INCREF(Py_None
); resultobj
= Py_None
;
25592 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25593 PyObject
*resultobj
;
25594 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25595 wxImageList
*arg2
= (wxImageList
*) 0 ;
25596 PyObject
* obj0
= 0 ;
25597 PyObject
* obj1
= 0 ;
25598 char *kwnames
[] = {
25599 (char *) "self",(char *) "imageList", NULL
25602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25605 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25606 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25609 (arg1
)->AssignStateImageList(arg2
);
25611 wxPyEndAllowThreads(__tstate
);
25612 if (PyErr_Occurred()) SWIG_fail
;
25614 Py_INCREF(Py_None
); resultobj
= Py_None
;
25621 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25622 PyObject
*resultobj
;
25623 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25624 wxTreeItemId
*arg2
= 0 ;
25626 PyObject
* obj0
= 0 ;
25627 PyObject
* obj1
= 0 ;
25628 char *kwnames
[] = {
25629 (char *) "self",(char *) "item", NULL
25632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
25633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25635 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25636 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25638 if (arg2
== NULL
) {
25639 PyErr_SetString(PyExc_TypeError
,"null reference");
25643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25644 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
25646 wxPyEndAllowThreads(__tstate
);
25647 if (PyErr_Occurred()) SWIG_fail
;
25651 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25653 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25662 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25663 PyObject
*resultobj
;
25664 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25665 wxTreeItemId
*arg2
= 0 ;
25666 int arg3
= (int) wxTreeItemIcon_Normal
;
25668 PyObject
* obj0
= 0 ;
25669 PyObject
* obj1
= 0 ;
25670 PyObject
* obj2
= 0 ;
25671 char *kwnames
[] = {
25672 (char *) "self",(char *) "item",(char *) "which", NULL
25675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25678 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25679 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25681 if (arg2
== NULL
) {
25682 PyErr_SetString(PyExc_TypeError
,"null reference");
25686 arg3
= (int)SWIG_As_int(obj2
);
25687 if (PyErr_Occurred()) SWIG_fail
;
25690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25691 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
25693 wxPyEndAllowThreads(__tstate
);
25694 if (PyErr_Occurred()) SWIG_fail
;
25696 resultobj
= SWIG_From_int((int)result
);
25703 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25704 PyObject
*resultobj
;
25705 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25706 wxTreeItemId
*arg2
= 0 ;
25707 wxPyTreeItemData
*result
;
25708 PyObject
* obj0
= 0 ;
25709 PyObject
* obj1
= 0 ;
25710 char *kwnames
[] = {
25711 (char *) "self",(char *) "item", NULL
25714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
25715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25717 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25718 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25720 if (arg2
== NULL
) {
25721 PyErr_SetString(PyExc_TypeError
,"null reference");
25725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25726 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
25728 wxPyEndAllowThreads(__tstate
);
25729 if (PyErr_Occurred()) SWIG_fail
;
25731 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
25738 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25739 PyObject
*resultobj
;
25740 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25741 wxTreeItemId
*arg2
= 0 ;
25743 PyObject
* obj0
= 0 ;
25744 PyObject
* obj1
= 0 ;
25745 char *kwnames
[] = {
25746 (char *) "self",(char *) "item", NULL
25749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
25750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25752 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25753 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25755 if (arg2
== NULL
) {
25756 PyErr_SetString(PyExc_TypeError
,"null reference");
25760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25761 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
25763 wxPyEndAllowThreads(__tstate
);
25764 if (PyErr_Occurred()) SWIG_fail
;
25766 resultobj
= result
;
25773 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25774 PyObject
*resultobj
;
25775 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25776 wxTreeItemId
*arg2
= 0 ;
25778 PyObject
* obj0
= 0 ;
25779 PyObject
* obj1
= 0 ;
25780 char *kwnames
[] = {
25781 (char *) "self",(char *) "item", NULL
25784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25787 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25788 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25790 if (arg2
== NULL
) {
25791 PyErr_SetString(PyExc_TypeError
,"null reference");
25795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25796 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
25798 wxPyEndAllowThreads(__tstate
);
25799 if (PyErr_Occurred()) SWIG_fail
;
25802 wxColour
* resultptr
;
25803 resultptr
= new wxColour((wxColour
&) result
);
25804 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25812 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25813 PyObject
*resultobj
;
25814 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25815 wxTreeItemId
*arg2
= 0 ;
25817 PyObject
* obj0
= 0 ;
25818 PyObject
* obj1
= 0 ;
25819 char *kwnames
[] = {
25820 (char *) "self",(char *) "item", NULL
25823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25826 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25827 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25829 if (arg2
== NULL
) {
25830 PyErr_SetString(PyExc_TypeError
,"null reference");
25834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25835 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
25837 wxPyEndAllowThreads(__tstate
);
25838 if (PyErr_Occurred()) SWIG_fail
;
25841 wxColour
* resultptr
;
25842 resultptr
= new wxColour((wxColour
&) result
);
25843 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25851 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25852 PyObject
*resultobj
;
25853 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25854 wxTreeItemId
*arg2
= 0 ;
25856 PyObject
* obj0
= 0 ;
25857 PyObject
* obj1
= 0 ;
25858 char *kwnames
[] = {
25859 (char *) "self",(char *) "item", NULL
25862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
25863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25865 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25866 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25868 if (arg2
== NULL
) {
25869 PyErr_SetString(PyExc_TypeError
,"null reference");
25873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25874 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
25876 wxPyEndAllowThreads(__tstate
);
25877 if (PyErr_Occurred()) SWIG_fail
;
25880 wxFont
* resultptr
;
25881 resultptr
= new wxFont((wxFont
&) result
);
25882 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
25890 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25891 PyObject
*resultobj
;
25892 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25893 wxTreeItemId
*arg2
= 0 ;
25894 wxString
*arg3
= 0 ;
25895 bool temp3
= False
;
25896 PyObject
* obj0
= 0 ;
25897 PyObject
* obj1
= 0 ;
25898 PyObject
* obj2
= 0 ;
25899 char *kwnames
[] = {
25900 (char *) "self",(char *) "item",(char *) "text", NULL
25903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25906 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25907 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25909 if (arg2
== NULL
) {
25910 PyErr_SetString(PyExc_TypeError
,"null reference");
25914 arg3
= wxString_in_helper(obj2
);
25915 if (arg3
== NULL
) SWIG_fail
;
25919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25920 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
25922 wxPyEndAllowThreads(__tstate
);
25923 if (PyErr_Occurred()) SWIG_fail
;
25925 Py_INCREF(Py_None
); resultobj
= Py_None
;
25940 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25941 PyObject
*resultobj
;
25942 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25943 wxTreeItemId
*arg2
= 0 ;
25945 int arg4
= (int) wxTreeItemIcon_Normal
;
25946 PyObject
* obj0
= 0 ;
25947 PyObject
* obj1
= 0 ;
25948 PyObject
* obj2
= 0 ;
25949 PyObject
* obj3
= 0 ;
25950 char *kwnames
[] = {
25951 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
25954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25957 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25958 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25960 if (arg2
== NULL
) {
25961 PyErr_SetString(PyExc_TypeError
,"null reference");
25964 arg3
= (int)SWIG_As_int(obj2
);
25965 if (PyErr_Occurred()) SWIG_fail
;
25967 arg4
= (int)SWIG_As_int(obj3
);
25968 if (PyErr_Occurred()) SWIG_fail
;
25971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25972 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
25974 wxPyEndAllowThreads(__tstate
);
25975 if (PyErr_Occurred()) SWIG_fail
;
25977 Py_INCREF(Py_None
); resultobj
= Py_None
;
25984 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25985 PyObject
*resultobj
;
25986 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25987 wxTreeItemId
*arg2
= 0 ;
25988 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
25989 PyObject
* obj0
= 0 ;
25990 PyObject
* obj1
= 0 ;
25991 PyObject
* obj2
= 0 ;
25992 char *kwnames
[] = {
25993 (char *) "self",(char *) "item",(char *) "data", NULL
25996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25999 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26000 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26002 if (arg2
== NULL
) {
26003 PyErr_SetString(PyExc_TypeError
,"null reference");
26006 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
,
26007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26010 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26012 wxPyEndAllowThreads(__tstate
);
26013 if (PyErr_Occurred()) SWIG_fail
;
26015 Py_INCREF(Py_None
); resultobj
= Py_None
;
26022 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26023 PyObject
*resultobj
;
26024 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26025 wxTreeItemId
*arg2
= 0 ;
26026 PyObject
*arg3
= (PyObject
*) 0 ;
26027 PyObject
* obj0
= 0 ;
26028 PyObject
* obj1
= 0 ;
26029 PyObject
* obj2
= 0 ;
26030 char *kwnames
[] = {
26031 (char *) "self",(char *) "item",(char *) "obj", NULL
26034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26037 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26038 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26040 if (arg2
== NULL
) {
26041 PyErr_SetString(PyExc_TypeError
,"null reference");
26046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26047 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26049 wxPyEndAllowThreads(__tstate
);
26050 if (PyErr_Occurred()) SWIG_fail
;
26052 Py_INCREF(Py_None
); resultobj
= Py_None
;
26059 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26060 PyObject
*resultobj
;
26061 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26062 wxTreeItemId
*arg2
= 0 ;
26063 bool arg3
= (bool) True
;
26064 PyObject
* obj0
= 0 ;
26065 PyObject
* obj1
= 0 ;
26066 PyObject
* obj2
= 0 ;
26067 char *kwnames
[] = {
26068 (char *) "self",(char *) "item",(char *) "has", NULL
26071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26074 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26075 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26077 if (arg2
== NULL
) {
26078 PyErr_SetString(PyExc_TypeError
,"null reference");
26082 arg3
= (bool)SWIG_As_bool(obj2
);
26083 if (PyErr_Occurred()) SWIG_fail
;
26086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26087 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
26089 wxPyEndAllowThreads(__tstate
);
26090 if (PyErr_Occurred()) SWIG_fail
;
26092 Py_INCREF(Py_None
); resultobj
= Py_None
;
26099 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26100 PyObject
*resultobj
;
26101 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26102 wxTreeItemId
*arg2
= 0 ;
26103 bool arg3
= (bool) True
;
26104 PyObject
* obj0
= 0 ;
26105 PyObject
* obj1
= 0 ;
26106 PyObject
* obj2
= 0 ;
26107 char *kwnames
[] = {
26108 (char *) "self",(char *) "item",(char *) "bold", NULL
26111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26114 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26115 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26117 if (arg2
== NULL
) {
26118 PyErr_SetString(PyExc_TypeError
,"null reference");
26122 arg3
= (bool)SWIG_As_bool(obj2
);
26123 if (PyErr_Occurred()) SWIG_fail
;
26126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26127 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
26129 wxPyEndAllowThreads(__tstate
);
26130 if (PyErr_Occurred()) SWIG_fail
;
26132 Py_INCREF(Py_None
); resultobj
= Py_None
;
26139 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26140 PyObject
*resultobj
;
26141 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26142 wxTreeItemId
*arg2
= 0 ;
26143 wxColour
*arg3
= 0 ;
26145 PyObject
* obj0
= 0 ;
26146 PyObject
* obj1
= 0 ;
26147 PyObject
* obj2
= 0 ;
26148 char *kwnames
[] = {
26149 (char *) "self",(char *) "item",(char *) "col", NULL
26152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26155 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26156 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26158 if (arg2
== NULL
) {
26159 PyErr_SetString(PyExc_TypeError
,"null reference");
26164 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26168 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
26170 wxPyEndAllowThreads(__tstate
);
26171 if (PyErr_Occurred()) SWIG_fail
;
26173 Py_INCREF(Py_None
); resultobj
= Py_None
;
26180 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26181 PyObject
*resultobj
;
26182 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26183 wxTreeItemId
*arg2
= 0 ;
26184 wxColour
*arg3
= 0 ;
26186 PyObject
* obj0
= 0 ;
26187 PyObject
* obj1
= 0 ;
26188 PyObject
* obj2
= 0 ;
26189 char *kwnames
[] = {
26190 (char *) "self",(char *) "item",(char *) "col", NULL
26193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26196 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26197 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26199 if (arg2
== NULL
) {
26200 PyErr_SetString(PyExc_TypeError
,"null reference");
26205 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26209 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
26211 wxPyEndAllowThreads(__tstate
);
26212 if (PyErr_Occurred()) SWIG_fail
;
26214 Py_INCREF(Py_None
); resultobj
= Py_None
;
26221 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26222 PyObject
*resultobj
;
26223 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26224 wxTreeItemId
*arg2
= 0 ;
26226 PyObject
* obj0
= 0 ;
26227 PyObject
* obj1
= 0 ;
26228 PyObject
* obj2
= 0 ;
26229 char *kwnames
[] = {
26230 (char *) "self",(char *) "item",(char *) "font", NULL
26233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26236 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26237 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26239 if (arg2
== NULL
) {
26240 PyErr_SetString(PyExc_TypeError
,"null reference");
26243 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
26244 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26246 if (arg3
== NULL
) {
26247 PyErr_SetString(PyExc_TypeError
,"null reference");
26251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26252 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
26254 wxPyEndAllowThreads(__tstate
);
26255 if (PyErr_Occurred()) SWIG_fail
;
26257 Py_INCREF(Py_None
); resultobj
= Py_None
;
26264 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26265 PyObject
*resultobj
;
26266 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26267 wxTreeItemId
*arg2
= 0 ;
26269 PyObject
* obj0
= 0 ;
26270 PyObject
* obj1
= 0 ;
26271 char *kwnames
[] = {
26272 (char *) "self",(char *) "item", NULL
26275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26278 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26279 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26281 if (arg2
== NULL
) {
26282 PyErr_SetString(PyExc_TypeError
,"null reference");
26286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26287 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
26289 wxPyEndAllowThreads(__tstate
);
26290 if (PyErr_Occurred()) SWIG_fail
;
26293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26301 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26302 PyObject
*resultobj
;
26303 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26304 wxTreeItemId
*arg2
= 0 ;
26306 PyObject
* obj0
= 0 ;
26307 PyObject
* obj1
= 0 ;
26308 char *kwnames
[] = {
26309 (char *) "self",(char *) "item", NULL
26312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26315 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26316 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26318 if (arg2
== NULL
) {
26319 PyErr_SetString(PyExc_TypeError
,"null reference");
26323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26324 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
26326 wxPyEndAllowThreads(__tstate
);
26327 if (PyErr_Occurred()) SWIG_fail
;
26330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26338 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26339 PyObject
*resultobj
;
26340 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26341 wxTreeItemId
*arg2
= 0 ;
26343 PyObject
* obj0
= 0 ;
26344 PyObject
* obj1
= 0 ;
26345 char *kwnames
[] = {
26346 (char *) "self",(char *) "item", NULL
26349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
26350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26352 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26353 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26355 if (arg2
== NULL
) {
26356 PyErr_SetString(PyExc_TypeError
,"null reference");
26360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26361 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
26363 wxPyEndAllowThreads(__tstate
);
26364 if (PyErr_Occurred()) SWIG_fail
;
26367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26375 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26376 PyObject
*resultobj
;
26377 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26378 wxTreeItemId
*arg2
= 0 ;
26380 PyObject
* obj0
= 0 ;
26381 PyObject
* obj1
= 0 ;
26382 char *kwnames
[] = {
26383 (char *) "self",(char *) "item", NULL
26386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26389 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26390 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26392 if (arg2
== NULL
) {
26393 PyErr_SetString(PyExc_TypeError
,"null reference");
26397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26398 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
26400 wxPyEndAllowThreads(__tstate
);
26401 if (PyErr_Occurred()) SWIG_fail
;
26404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26412 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26413 PyObject
*resultobj
;
26414 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26415 wxTreeItemId
*arg2
= 0 ;
26417 PyObject
* obj0
= 0 ;
26418 PyObject
* obj1
= 0 ;
26419 char *kwnames
[] = {
26420 (char *) "self",(char *) "item", NULL
26423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
26424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26426 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26427 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26429 if (arg2
== NULL
) {
26430 PyErr_SetString(PyExc_TypeError
,"null reference");
26434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26435 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
26437 wxPyEndAllowThreads(__tstate
);
26438 if (PyErr_Occurred()) SWIG_fail
;
26441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26449 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26450 PyObject
*resultobj
;
26451 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26452 wxTreeItemId
*arg2
= 0 ;
26453 bool arg3
= (bool) True
;
26455 PyObject
* obj0
= 0 ;
26456 PyObject
* obj1
= 0 ;
26457 PyObject
* obj2
= 0 ;
26458 char *kwnames
[] = {
26459 (char *) "self",(char *) "item",(char *) "recursively", NULL
26462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26465 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26466 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26468 if (arg2
== NULL
) {
26469 PyErr_SetString(PyExc_TypeError
,"null reference");
26473 arg3
= (bool)SWIG_As_bool(obj2
);
26474 if (PyErr_Occurred()) SWIG_fail
;
26477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26478 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
26480 wxPyEndAllowThreads(__tstate
);
26481 if (PyErr_Occurred()) SWIG_fail
;
26483 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
26490 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26491 PyObject
*resultobj
;
26492 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26493 wxTreeItemId result
;
26494 PyObject
* obj0
= 0 ;
26495 char *kwnames
[] = {
26496 (char *) "self", NULL
26499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
26500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26504 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
26506 wxPyEndAllowThreads(__tstate
);
26507 if (PyErr_Occurred()) SWIG_fail
;
26510 wxTreeItemId
* resultptr
;
26511 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26512 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26520 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26521 PyObject
*resultobj
;
26522 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26523 wxTreeItemId result
;
26524 PyObject
* obj0
= 0 ;
26525 char *kwnames
[] = {
26526 (char *) "self", NULL
26529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
26530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26534 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
26536 wxPyEndAllowThreads(__tstate
);
26537 if (PyErr_Occurred()) SWIG_fail
;
26540 wxTreeItemId
* resultptr
;
26541 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26542 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26550 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26551 PyObject
*resultobj
;
26552 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26554 PyObject
* obj0
= 0 ;
26555 char *kwnames
[] = {
26556 (char *) "self", NULL
26559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
26560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26564 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
26566 wxPyEndAllowThreads(__tstate
);
26567 if (PyErr_Occurred()) SWIG_fail
;
26569 resultobj
= result
;
26576 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26577 PyObject
*resultobj
;
26578 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26579 wxTreeItemId
*arg2
= 0 ;
26580 wxTreeItemId result
;
26581 PyObject
* obj0
= 0 ;
26582 PyObject
* obj1
= 0 ;
26583 char *kwnames
[] = {
26584 (char *) "self",(char *) "item", NULL
26587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26590 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26591 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26593 if (arg2
== NULL
) {
26594 PyErr_SetString(PyExc_TypeError
,"null reference");
26598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26599 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
26601 wxPyEndAllowThreads(__tstate
);
26602 if (PyErr_Occurred()) SWIG_fail
;
26605 wxTreeItemId
* resultptr
;
26606 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26607 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26615 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26616 PyObject
*resultobj
;
26617 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26618 wxTreeItemId
*arg2
= 0 ;
26620 PyObject
* obj0
= 0 ;
26621 PyObject
* obj1
= 0 ;
26622 char *kwnames
[] = {
26623 (char *) "self",(char *) "item", NULL
26626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
26627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26629 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26630 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26632 if (arg2
== NULL
) {
26633 PyErr_SetString(PyExc_TypeError
,"null reference");
26637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26638 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
26640 wxPyEndAllowThreads(__tstate
);
26641 if (PyErr_Occurred()) SWIG_fail
;
26643 resultobj
= result
;
26650 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26651 PyObject
*resultobj
;
26652 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26653 wxTreeItemId
*arg2
= 0 ;
26654 void *arg3
= (void *) 0 ;
26656 PyObject
* obj0
= 0 ;
26657 PyObject
* obj1
= 0 ;
26658 PyObject
* obj2
= 0 ;
26659 char *kwnames
[] = {
26660 (char *) "self",(char *) "item",(char *) "cookie", NULL
26663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26666 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26667 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26669 if (arg2
== NULL
) {
26670 PyErr_SetString(PyExc_TypeError
,"null reference");
26673 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26676 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26678 wxPyEndAllowThreads(__tstate
);
26679 if (PyErr_Occurred()) SWIG_fail
;
26681 resultobj
= result
;
26688 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26689 PyObject
*resultobj
;
26690 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26691 wxTreeItemId
*arg2
= 0 ;
26692 wxTreeItemId result
;
26693 PyObject
* obj0
= 0 ;
26694 PyObject
* obj1
= 0 ;
26695 char *kwnames
[] = {
26696 (char *) "self",(char *) "item", NULL
26699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
26700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26702 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26703 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26705 if (arg2
== NULL
) {
26706 PyErr_SetString(PyExc_TypeError
,"null reference");
26710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26711 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
26713 wxPyEndAllowThreads(__tstate
);
26714 if (PyErr_Occurred()) SWIG_fail
;
26717 wxTreeItemId
* resultptr
;
26718 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26719 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26727 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26728 PyObject
*resultobj
;
26729 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26730 wxTreeItemId
*arg2
= 0 ;
26731 wxTreeItemId result
;
26732 PyObject
* obj0
= 0 ;
26733 PyObject
* obj1
= 0 ;
26734 char *kwnames
[] = {
26735 (char *) "self",(char *) "item", NULL
26738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
26739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26741 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26742 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26744 if (arg2
== NULL
) {
26745 PyErr_SetString(PyExc_TypeError
,"null reference");
26749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26750 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
26752 wxPyEndAllowThreads(__tstate
);
26753 if (PyErr_Occurred()) SWIG_fail
;
26756 wxTreeItemId
* resultptr
;
26757 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26758 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26766 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26767 PyObject
*resultobj
;
26768 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26769 wxTreeItemId
*arg2
= 0 ;
26770 wxTreeItemId result
;
26771 PyObject
* obj0
= 0 ;
26772 PyObject
* obj1
= 0 ;
26773 char *kwnames
[] = {
26774 (char *) "self",(char *) "item", NULL
26777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
26778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26780 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26781 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26783 if (arg2
== NULL
) {
26784 PyErr_SetString(PyExc_TypeError
,"null reference");
26788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26789 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
26791 wxPyEndAllowThreads(__tstate
);
26792 if (PyErr_Occurred()) SWIG_fail
;
26795 wxTreeItemId
* resultptr
;
26796 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26797 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26805 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26806 PyObject
*resultobj
;
26807 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26808 wxTreeItemId result
;
26809 PyObject
* obj0
= 0 ;
26810 char *kwnames
[] = {
26811 (char *) "self", NULL
26814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
26815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26819 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
26821 wxPyEndAllowThreads(__tstate
);
26822 if (PyErr_Occurred()) SWIG_fail
;
26825 wxTreeItemId
* resultptr
;
26826 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26827 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26835 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26836 PyObject
*resultobj
;
26837 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26838 wxTreeItemId
*arg2
= 0 ;
26839 wxTreeItemId result
;
26840 PyObject
* obj0
= 0 ;
26841 PyObject
* obj1
= 0 ;
26842 char *kwnames
[] = {
26843 (char *) "self",(char *) "item", NULL
26846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26849 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26850 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26852 if (arg2
== NULL
) {
26853 PyErr_SetString(PyExc_TypeError
,"null reference");
26857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26858 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
26860 wxPyEndAllowThreads(__tstate
);
26861 if (PyErr_Occurred()) SWIG_fail
;
26864 wxTreeItemId
* resultptr
;
26865 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26866 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26874 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26875 PyObject
*resultobj
;
26876 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26877 wxTreeItemId
*arg2
= 0 ;
26878 wxTreeItemId result
;
26879 PyObject
* obj0
= 0 ;
26880 PyObject
* obj1
= 0 ;
26881 char *kwnames
[] = {
26882 (char *) "self",(char *) "item", NULL
26885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26888 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26889 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26891 if (arg2
== NULL
) {
26892 PyErr_SetString(PyExc_TypeError
,"null reference");
26896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26897 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
26899 wxPyEndAllowThreads(__tstate
);
26900 if (PyErr_Occurred()) SWIG_fail
;
26903 wxTreeItemId
* resultptr
;
26904 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26905 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26913 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26914 PyObject
*resultobj
;
26915 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26916 wxString
*arg2
= 0 ;
26917 int arg3
= (int) -1 ;
26918 int arg4
= (int) -1 ;
26919 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
26920 wxTreeItemId result
;
26921 bool temp2
= False
;
26922 PyObject
* obj0
= 0 ;
26923 PyObject
* obj1
= 0 ;
26924 PyObject
* obj2
= 0 ;
26925 PyObject
* obj3
= 0 ;
26926 PyObject
* obj4
= 0 ;
26927 char *kwnames
[] = {
26928 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26935 arg2
= wxString_in_helper(obj1
);
26936 if (arg2
== NULL
) SWIG_fail
;
26940 arg3
= (int)SWIG_As_int(obj2
);
26941 if (PyErr_Occurred()) SWIG_fail
;
26944 arg4
= (int)SWIG_As_int(obj3
);
26945 if (PyErr_Occurred()) SWIG_fail
;
26948 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
,
26949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26953 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
26955 wxPyEndAllowThreads(__tstate
);
26956 if (PyErr_Occurred()) SWIG_fail
;
26959 wxTreeItemId
* resultptr
;
26960 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26961 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26977 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26978 PyObject
*resultobj
;
26979 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26980 wxTreeItemId
*arg2
= 0 ;
26981 wxString
*arg3
= 0 ;
26982 int arg4
= (int) -1 ;
26983 int arg5
= (int) -1 ;
26984 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
26985 wxTreeItemId result
;
26986 bool temp3
= False
;
26987 PyObject
* obj0
= 0 ;
26988 PyObject
* obj1
= 0 ;
26989 PyObject
* obj2
= 0 ;
26990 PyObject
* obj3
= 0 ;
26991 PyObject
* obj4
= 0 ;
26992 PyObject
* obj5
= 0 ;
26993 char *kwnames
[] = {
26994 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27000 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27001 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27003 if (arg2
== NULL
) {
27004 PyErr_SetString(PyExc_TypeError
,"null reference");
27008 arg3
= wxString_in_helper(obj2
);
27009 if (arg3
== NULL
) SWIG_fail
;
27013 arg4
= (int)SWIG_As_int(obj3
);
27014 if (PyErr_Occurred()) SWIG_fail
;
27017 arg5
= (int)SWIG_As_int(obj4
);
27018 if (PyErr_Occurred()) SWIG_fail
;
27021 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
27022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27026 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
27028 wxPyEndAllowThreads(__tstate
);
27029 if (PyErr_Occurred()) SWIG_fail
;
27032 wxTreeItemId
* resultptr
;
27033 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27034 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27050 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27051 PyObject
*resultobj
;
27052 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27053 wxTreeItemId
*arg2
= 0 ;
27054 wxTreeItemId
*arg3
= 0 ;
27055 wxString
*arg4
= 0 ;
27056 int arg5
= (int) -1 ;
27057 int arg6
= (int) -1 ;
27058 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
27059 wxTreeItemId result
;
27060 bool temp4
= False
;
27061 PyObject
* obj0
= 0 ;
27062 PyObject
* obj1
= 0 ;
27063 PyObject
* obj2
= 0 ;
27064 PyObject
* obj3
= 0 ;
27065 PyObject
* obj4
= 0 ;
27066 PyObject
* obj5
= 0 ;
27067 PyObject
* obj6
= 0 ;
27068 char *kwnames
[] = {
27069 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27075 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27076 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27078 if (arg2
== NULL
) {
27079 PyErr_SetString(PyExc_TypeError
,"null reference");
27082 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
,
27083 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27085 if (arg3
== NULL
) {
27086 PyErr_SetString(PyExc_TypeError
,"null reference");
27090 arg4
= wxString_in_helper(obj3
);
27091 if (arg4
== NULL
) SWIG_fail
;
27095 arg5
= (int)SWIG_As_int(obj4
);
27096 if (PyErr_Occurred()) SWIG_fail
;
27099 arg6
= (int)SWIG_As_int(obj5
);
27100 if (PyErr_Occurred()) SWIG_fail
;
27103 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
27104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27108 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
27110 wxPyEndAllowThreads(__tstate
);
27111 if (PyErr_Occurred()) SWIG_fail
;
27114 wxTreeItemId
* resultptr
;
27115 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27116 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27132 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27133 PyObject
*resultobj
;
27134 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27135 wxTreeItemId
*arg2
= 0 ;
27137 wxString
*arg4
= 0 ;
27138 int arg5
= (int) -1 ;
27139 int arg6
= (int) -1 ;
27140 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
27141 wxTreeItemId result
;
27142 bool temp4
= False
;
27143 PyObject
* obj0
= 0 ;
27144 PyObject
* obj1
= 0 ;
27145 PyObject
* obj2
= 0 ;
27146 PyObject
* obj3
= 0 ;
27147 PyObject
* obj4
= 0 ;
27148 PyObject
* obj5
= 0 ;
27149 PyObject
* obj6
= 0 ;
27150 char *kwnames
[] = {
27151 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27157 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27158 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27160 if (arg2
== NULL
) {
27161 PyErr_SetString(PyExc_TypeError
,"null reference");
27164 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
27165 if (PyErr_Occurred()) SWIG_fail
;
27167 arg4
= wxString_in_helper(obj3
);
27168 if (arg4
== NULL
) SWIG_fail
;
27172 arg5
= (int)SWIG_As_int(obj4
);
27173 if (PyErr_Occurred()) SWIG_fail
;
27176 arg6
= (int)SWIG_As_int(obj5
);
27177 if (PyErr_Occurred()) SWIG_fail
;
27180 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
27181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27185 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
27187 wxPyEndAllowThreads(__tstate
);
27188 if (PyErr_Occurred()) SWIG_fail
;
27191 wxTreeItemId
* resultptr
;
27192 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27193 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27209 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27210 PyObject
*resultobj
;
27211 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27212 wxTreeItemId
*arg2
= 0 ;
27213 wxString
*arg3
= 0 ;
27214 int arg4
= (int) -1 ;
27215 int arg5
= (int) -1 ;
27216 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
27217 wxTreeItemId result
;
27218 bool temp3
= False
;
27219 PyObject
* obj0
= 0 ;
27220 PyObject
* obj1
= 0 ;
27221 PyObject
* obj2
= 0 ;
27222 PyObject
* obj3
= 0 ;
27223 PyObject
* obj4
= 0 ;
27224 PyObject
* obj5
= 0 ;
27225 char *kwnames
[] = {
27226 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27232 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27233 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27235 if (arg2
== NULL
) {
27236 PyErr_SetString(PyExc_TypeError
,"null reference");
27240 arg3
= wxString_in_helper(obj2
);
27241 if (arg3
== NULL
) SWIG_fail
;
27245 arg4
= (int)SWIG_As_int(obj3
);
27246 if (PyErr_Occurred()) SWIG_fail
;
27249 arg5
= (int)SWIG_As_int(obj4
);
27250 if (PyErr_Occurred()) SWIG_fail
;
27253 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
27254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27258 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
27260 wxPyEndAllowThreads(__tstate
);
27261 if (PyErr_Occurred()) SWIG_fail
;
27264 wxTreeItemId
* resultptr
;
27265 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27266 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27282 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27283 PyObject
*resultobj
;
27284 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27285 wxTreeItemId
*arg2
= 0 ;
27286 PyObject
* obj0
= 0 ;
27287 PyObject
* obj1
= 0 ;
27288 char *kwnames
[] = {
27289 (char *) "self",(char *) "item", NULL
27292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
27293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27295 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27296 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27298 if (arg2
== NULL
) {
27299 PyErr_SetString(PyExc_TypeError
,"null reference");
27303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27304 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
27306 wxPyEndAllowThreads(__tstate
);
27307 if (PyErr_Occurred()) SWIG_fail
;
27309 Py_INCREF(Py_None
); resultobj
= Py_None
;
27316 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27317 PyObject
*resultobj
;
27318 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27319 wxTreeItemId
*arg2
= 0 ;
27320 PyObject
* obj0
= 0 ;
27321 PyObject
* obj1
= 0 ;
27322 char *kwnames
[] = {
27323 (char *) "self",(char *) "item", NULL
27326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
27327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27329 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27330 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27332 if (arg2
== NULL
) {
27333 PyErr_SetString(PyExc_TypeError
,"null reference");
27337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27338 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
27340 wxPyEndAllowThreads(__tstate
);
27341 if (PyErr_Occurred()) SWIG_fail
;
27343 Py_INCREF(Py_None
); resultobj
= Py_None
;
27350 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27351 PyObject
*resultobj
;
27352 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27353 PyObject
* obj0
= 0 ;
27354 char *kwnames
[] = {
27355 (char *) "self", NULL
27358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
27359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27363 (arg1
)->DeleteAllItems();
27365 wxPyEndAllowThreads(__tstate
);
27366 if (PyErr_Occurred()) SWIG_fail
;
27368 Py_INCREF(Py_None
); resultobj
= Py_None
;
27375 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27376 PyObject
*resultobj
;
27377 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27378 wxTreeItemId
*arg2
= 0 ;
27379 PyObject
* obj0
= 0 ;
27380 PyObject
* obj1
= 0 ;
27381 char *kwnames
[] = {
27382 (char *) "self",(char *) "item", NULL
27385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
27386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27388 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27389 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27391 if (arg2
== NULL
) {
27392 PyErr_SetString(PyExc_TypeError
,"null reference");
27396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27397 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
27399 wxPyEndAllowThreads(__tstate
);
27400 if (PyErr_Occurred()) SWIG_fail
;
27402 Py_INCREF(Py_None
); resultobj
= Py_None
;
27409 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27410 PyObject
*resultobj
;
27411 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27412 wxTreeItemId
*arg2
= 0 ;
27413 PyObject
* obj0
= 0 ;
27414 PyObject
* obj1
= 0 ;
27415 char *kwnames
[] = {
27416 (char *) "self",(char *) "item", NULL
27419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
27420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27422 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27423 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27425 if (arg2
== NULL
) {
27426 PyErr_SetString(PyExc_TypeError
,"null reference");
27430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27431 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
27433 wxPyEndAllowThreads(__tstate
);
27434 if (PyErr_Occurred()) SWIG_fail
;
27436 Py_INCREF(Py_None
); resultobj
= Py_None
;
27443 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27444 PyObject
*resultobj
;
27445 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27446 wxTreeItemId
*arg2
= 0 ;
27447 PyObject
* obj0
= 0 ;
27448 PyObject
* obj1
= 0 ;
27449 char *kwnames
[] = {
27450 (char *) "self",(char *) "item", NULL
27453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
27454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27456 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27457 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27459 if (arg2
== NULL
) {
27460 PyErr_SetString(PyExc_TypeError
,"null reference");
27464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27465 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
27467 wxPyEndAllowThreads(__tstate
);
27468 if (PyErr_Occurred()) SWIG_fail
;
27470 Py_INCREF(Py_None
); resultobj
= Py_None
;
27477 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27478 PyObject
*resultobj
;
27479 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27480 wxTreeItemId
*arg2
= 0 ;
27481 PyObject
* obj0
= 0 ;
27482 PyObject
* obj1
= 0 ;
27483 char *kwnames
[] = {
27484 (char *) "self",(char *) "item", NULL
27487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
27488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27490 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27491 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27493 if (arg2
== NULL
) {
27494 PyErr_SetString(PyExc_TypeError
,"null reference");
27498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27499 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
27501 wxPyEndAllowThreads(__tstate
);
27502 if (PyErr_Occurred()) SWIG_fail
;
27504 Py_INCREF(Py_None
); resultobj
= Py_None
;
27511 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27512 PyObject
*resultobj
;
27513 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27514 PyObject
* obj0
= 0 ;
27515 char *kwnames
[] = {
27516 (char *) "self", NULL
27519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
27520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27524 (arg1
)->Unselect();
27526 wxPyEndAllowThreads(__tstate
);
27527 if (PyErr_Occurred()) SWIG_fail
;
27529 Py_INCREF(Py_None
); resultobj
= Py_None
;
27536 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27537 PyObject
*resultobj
;
27538 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27539 wxTreeItemId
*arg2
= 0 ;
27540 PyObject
* obj0
= 0 ;
27541 PyObject
* obj1
= 0 ;
27542 char *kwnames
[] = {
27543 (char *) "self",(char *) "item", NULL
27546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27549 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27550 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27552 if (arg2
== NULL
) {
27553 PyErr_SetString(PyExc_TypeError
,"null reference");
27557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27558 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
27560 wxPyEndAllowThreads(__tstate
);
27561 if (PyErr_Occurred()) SWIG_fail
;
27563 Py_INCREF(Py_None
); resultobj
= Py_None
;
27570 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27571 PyObject
*resultobj
;
27572 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27573 PyObject
* obj0
= 0 ;
27574 char *kwnames
[] = {
27575 (char *) "self", NULL
27578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
27579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27583 (arg1
)->UnselectAll();
27585 wxPyEndAllowThreads(__tstate
);
27586 if (PyErr_Occurred()) SWIG_fail
;
27588 Py_INCREF(Py_None
); resultobj
= Py_None
;
27595 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27596 PyObject
*resultobj
;
27597 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27598 wxTreeItemId
*arg2
= 0 ;
27599 bool arg3
= (bool) True
;
27600 PyObject
* obj0
= 0 ;
27601 PyObject
* obj1
= 0 ;
27602 PyObject
* obj2
= 0 ;
27603 char *kwnames
[] = {
27604 (char *) "self",(char *) "item",(char *) "select", NULL
27607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27610 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27611 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27613 if (arg2
== NULL
) {
27614 PyErr_SetString(PyExc_TypeError
,"null reference");
27618 arg3
= (bool)SWIG_As_bool(obj2
);
27619 if (PyErr_Occurred()) SWIG_fail
;
27622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27623 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
27625 wxPyEndAllowThreads(__tstate
);
27626 if (PyErr_Occurred()) SWIG_fail
;
27628 Py_INCREF(Py_None
); resultobj
= Py_None
;
27635 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27636 PyObject
*resultobj
;
27637 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27638 wxTreeItemId
*arg2
= 0 ;
27639 PyObject
* obj0
= 0 ;
27640 PyObject
* obj1
= 0 ;
27641 char *kwnames
[] = {
27642 (char *) "self",(char *) "item", NULL
27645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27648 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27649 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27651 if (arg2
== NULL
) {
27652 PyErr_SetString(PyExc_TypeError
,"null reference");
27656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27657 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
27659 wxPyEndAllowThreads(__tstate
);
27660 if (PyErr_Occurred()) SWIG_fail
;
27662 Py_INCREF(Py_None
); resultobj
= Py_None
;
27669 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27670 PyObject
*resultobj
;
27671 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27672 wxTreeItemId
*arg2
= 0 ;
27673 PyObject
* obj0
= 0 ;
27674 PyObject
* obj1
= 0 ;
27675 char *kwnames
[] = {
27676 (char *) "self",(char *) "item", NULL
27679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
27680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27682 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27683 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27685 if (arg2
== NULL
) {
27686 PyErr_SetString(PyExc_TypeError
,"null reference");
27690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27691 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
27693 wxPyEndAllowThreads(__tstate
);
27694 if (PyErr_Occurred()) SWIG_fail
;
27696 Py_INCREF(Py_None
); resultobj
= Py_None
;
27703 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27704 PyObject
*resultobj
;
27705 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27706 wxTreeItemId
*arg2
= 0 ;
27707 PyObject
* obj0
= 0 ;
27708 PyObject
* obj1
= 0 ;
27709 char *kwnames
[] = {
27710 (char *) "self",(char *) "item", NULL
27713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
27714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27716 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27717 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27719 if (arg2
== NULL
) {
27720 PyErr_SetString(PyExc_TypeError
,"null reference");
27724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27725 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
27727 wxPyEndAllowThreads(__tstate
);
27728 if (PyErr_Occurred()) SWIG_fail
;
27730 Py_INCREF(Py_None
); resultobj
= Py_None
;
27737 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27738 PyObject
*resultobj
;
27739 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27740 wxTreeItemId
*arg2
= 0 ;
27741 PyObject
* obj0
= 0 ;
27742 PyObject
* obj1
= 0 ;
27743 char *kwnames
[] = {
27744 (char *) "self",(char *) "item", NULL
27747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27750 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27751 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27753 if (arg2
== NULL
) {
27754 PyErr_SetString(PyExc_TypeError
,"null reference");
27758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27759 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
27761 wxPyEndAllowThreads(__tstate
);
27762 if (PyErr_Occurred()) SWIG_fail
;
27764 Py_INCREF(Py_None
); resultobj
= Py_None
;
27771 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27772 PyObject
*resultobj
;
27773 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27774 wxTextCtrl
*result
;
27775 PyObject
* obj0
= 0 ;
27776 char *kwnames
[] = {
27777 (char *) "self", NULL
27780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
27781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27785 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
27787 wxPyEndAllowThreads(__tstate
);
27788 if (PyErr_Occurred()) SWIG_fail
;
27791 resultobj
= wxPyMake_wxObject(result
, 0);
27799 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27800 PyObject
*resultobj
;
27801 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27802 wxTreeItemId
*arg2
= 0 ;
27803 PyObject
* obj0
= 0 ;
27804 PyObject
* obj1
= 0 ;
27805 char *kwnames
[] = {
27806 (char *) "self",(char *) "item", NULL
27809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
27810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27812 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27813 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27815 if (arg2
== NULL
) {
27816 PyErr_SetString(PyExc_TypeError
,"null reference");
27820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27821 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
27823 wxPyEndAllowThreads(__tstate
);
27824 if (PyErr_Occurred()) SWIG_fail
;
27826 Py_INCREF(Py_None
); resultobj
= Py_None
;
27833 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27834 PyObject
*resultobj
;
27835 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27836 wxPoint
*arg2
= 0 ;
27838 wxTreeItemId result
;
27842 PyObject
* obj0
= 0 ;
27843 PyObject
* obj1
= 0 ;
27844 char *kwnames
[] = {
27845 (char *) "self",(char *) "point", NULL
27848 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
27850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27854 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27858 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
27860 wxPyEndAllowThreads(__tstate
);
27861 if (PyErr_Occurred()) SWIG_fail
;
27864 wxTreeItemId
* resultptr
;
27865 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27866 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27868 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27869 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27876 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27877 PyObject
*resultobj
;
27878 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27879 wxTreeItemId
*arg2
= 0 ;
27880 bool arg3
= (bool) False
;
27882 PyObject
* obj0
= 0 ;
27883 PyObject
* obj1
= 0 ;
27884 PyObject
* obj2
= 0 ;
27885 char *kwnames
[] = {
27886 (char *) "self",(char *) "item",(char *) "textOnly", NULL
27889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27892 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27893 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27895 if (arg2
== NULL
) {
27896 PyErr_SetString(PyExc_TypeError
,"null reference");
27900 arg3
= (bool)SWIG_As_bool(obj2
);
27901 if (PyErr_Occurred()) SWIG_fail
;
27904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27905 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
27907 wxPyEndAllowThreads(__tstate
);
27908 if (PyErr_Occurred()) SWIG_fail
;
27910 resultobj
= result
;
27917 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27918 PyObject
*resultobj
;
27919 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
27920 wxVisualAttributes result
;
27921 PyObject
* obj0
= 0 ;
27922 char *kwnames
[] = {
27923 (char *) "variant", NULL
27926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
27928 arg1
= (int)SWIG_As_int(obj0
);
27929 if (PyErr_Occurred()) SWIG_fail
;
27932 if (!wxPyCheckForApp()) SWIG_fail
;
27933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27934 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
27936 wxPyEndAllowThreads(__tstate
);
27937 if (PyErr_Occurred()) SWIG_fail
;
27940 wxVisualAttributes
* resultptr
;
27941 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
27942 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
27950 static PyObject
* TreeCtrl_swigregister(PyObject
*, PyObject
*args
) {
27952 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27953 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
27955 return Py_BuildValue((char *)"");
27957 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
27958 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
27963 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
27968 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
27970 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
27977 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27978 PyObject
*resultobj
;
27979 wxWindow
*arg1
= (wxWindow
*) 0 ;
27980 int arg2
= (int) (int)-1 ;
27981 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
27982 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
27983 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27984 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27985 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27986 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27987 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
27988 wxString
const &arg7_defvalue
= wxPyEmptyString
;
27989 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27990 int arg8
= (int) 0 ;
27991 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
27992 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
27993 wxGenericDirCtrl
*result
;
27994 bool temp3
= False
;
27997 bool temp7
= False
;
27998 bool temp9
= False
;
27999 PyObject
* obj0
= 0 ;
28000 PyObject
* obj1
= 0 ;
28001 PyObject
* obj2
= 0 ;
28002 PyObject
* obj3
= 0 ;
28003 PyObject
* obj4
= 0 ;
28004 PyObject
* obj5
= 0 ;
28005 PyObject
* obj6
= 0 ;
28006 PyObject
* obj7
= 0 ;
28007 PyObject
* obj8
= 0 ;
28008 char *kwnames
[] = {
28009 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
28013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28016 arg2
= (int)SWIG_As_int(obj1
);
28017 if (PyErr_Occurred()) SWIG_fail
;
28021 arg3
= wxString_in_helper(obj2
);
28022 if (arg3
== NULL
) SWIG_fail
;
28029 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28035 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28039 arg6
= (long)SWIG_As_long(obj5
);
28040 if (PyErr_Occurred()) SWIG_fail
;
28044 arg7
= wxString_in_helper(obj6
);
28045 if (arg7
== NULL
) SWIG_fail
;
28050 arg8
= (int)SWIG_As_int(obj7
);
28051 if (PyErr_Occurred()) SWIG_fail
;
28055 arg9
= wxString_in_helper(obj8
);
28056 if (arg9
== NULL
) SWIG_fail
;
28061 if (!wxPyCheckForApp()) SWIG_fail
;
28062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28063 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
28065 wxPyEndAllowThreads(__tstate
);
28066 if (PyErr_Occurred()) SWIG_fail
;
28068 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
28099 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28100 PyObject
*resultobj
;
28101 wxGenericDirCtrl
*result
;
28102 char *kwnames
[] = {
28106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
28108 if (!wxPyCheckForApp()) SWIG_fail
;
28109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28110 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
28112 wxPyEndAllowThreads(__tstate
);
28113 if (PyErr_Occurred()) SWIG_fail
;
28115 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
28122 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28123 PyObject
*resultobj
;
28124 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28125 wxWindow
*arg2
= (wxWindow
*) 0 ;
28126 int arg3
= (int) (int)-1 ;
28127 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
28128 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28129 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
28130 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
28131 wxSize
const &arg6_defvalue
= wxDefaultSize
;
28132 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
28133 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
28134 wxString
const &arg8_defvalue
= wxPyEmptyString
;
28135 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28136 int arg9
= (int) 0 ;
28137 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
28138 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
28140 bool temp4
= False
;
28143 bool temp8
= False
;
28144 bool temp10
= False
;
28145 PyObject
* obj0
= 0 ;
28146 PyObject
* obj1
= 0 ;
28147 PyObject
* obj2
= 0 ;
28148 PyObject
* obj3
= 0 ;
28149 PyObject
* obj4
= 0 ;
28150 PyObject
* obj5
= 0 ;
28151 PyObject
* obj6
= 0 ;
28152 PyObject
* obj7
= 0 ;
28153 PyObject
* obj8
= 0 ;
28154 PyObject
* obj9
= 0 ;
28155 char *kwnames
[] = {
28156 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
28160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28162 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28165 arg3
= (int)SWIG_As_int(obj2
);
28166 if (PyErr_Occurred()) SWIG_fail
;
28170 arg4
= wxString_in_helper(obj3
);
28171 if (arg4
== NULL
) SWIG_fail
;
28178 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
28184 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
28188 arg7
= (long)SWIG_As_long(obj6
);
28189 if (PyErr_Occurred()) SWIG_fail
;
28193 arg8
= wxString_in_helper(obj7
);
28194 if (arg8
== NULL
) SWIG_fail
;
28199 arg9
= (int)SWIG_As_int(obj8
);
28200 if (PyErr_Occurred()) SWIG_fail
;
28204 arg10
= wxString_in_helper(obj9
);
28205 if (arg10
== NULL
) SWIG_fail
;
28210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28211 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
28213 wxPyEndAllowThreads(__tstate
);
28214 if (PyErr_Occurred()) SWIG_fail
;
28217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28249 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28250 PyObject
*resultobj
;
28251 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28252 wxString
*arg2
= 0 ;
28254 bool temp2
= False
;
28255 PyObject
* obj0
= 0 ;
28256 PyObject
* obj1
= 0 ;
28257 char *kwnames
[] = {
28258 (char *) "self",(char *) "path", NULL
28261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28265 arg2
= wxString_in_helper(obj1
);
28266 if (arg2
== NULL
) SWIG_fail
;
28270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28271 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
28273 wxPyEndAllowThreads(__tstate
);
28274 if (PyErr_Occurred()) SWIG_fail
;
28277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28293 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28294 PyObject
*resultobj
;
28295 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28297 PyObject
* obj0
= 0 ;
28298 char *kwnames
[] = {
28299 (char *) "self", NULL
28302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
28303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28307 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
28309 wxPyEndAllowThreads(__tstate
);
28310 if (PyErr_Occurred()) SWIG_fail
;
28314 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28316 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28325 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28326 PyObject
*resultobj
;
28327 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28328 wxString
*arg2
= 0 ;
28329 bool temp2
= False
;
28330 PyObject
* obj0
= 0 ;
28331 PyObject
* obj1
= 0 ;
28332 char *kwnames
[] = {
28333 (char *) "self",(char *) "path", NULL
28336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28340 arg2
= wxString_in_helper(obj1
);
28341 if (arg2
== NULL
) SWIG_fail
;
28345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28346 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
28348 wxPyEndAllowThreads(__tstate
);
28349 if (PyErr_Occurred()) SWIG_fail
;
28351 Py_INCREF(Py_None
); resultobj
= Py_None
;
28366 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28367 PyObject
*resultobj
;
28368 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28370 PyObject
* obj0
= 0 ;
28371 char *kwnames
[] = {
28372 (char *) "self", NULL
28375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
28376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28380 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
28382 wxPyEndAllowThreads(__tstate
);
28383 if (PyErr_Occurred()) SWIG_fail
;
28387 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28389 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28398 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28399 PyObject
*resultobj
;
28400 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28402 PyObject
* obj0
= 0 ;
28403 char *kwnames
[] = {
28404 (char *) "self", NULL
28407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
28408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28412 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
28414 wxPyEndAllowThreads(__tstate
);
28415 if (PyErr_Occurred()) SWIG_fail
;
28419 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28421 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28430 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28431 PyObject
*resultobj
;
28432 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28433 wxString
*arg2
= 0 ;
28434 bool temp2
= False
;
28435 PyObject
* obj0
= 0 ;
28436 PyObject
* obj1
= 0 ;
28437 char *kwnames
[] = {
28438 (char *) "self",(char *) "path", NULL
28441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28445 arg2
= wxString_in_helper(obj1
);
28446 if (arg2
== NULL
) SWIG_fail
;
28450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28451 (arg1
)->SetPath((wxString
const &)*arg2
);
28453 wxPyEndAllowThreads(__tstate
);
28454 if (PyErr_Occurred()) SWIG_fail
;
28456 Py_INCREF(Py_None
); resultobj
= Py_None
;
28471 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28472 PyObject
*resultobj
;
28473 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28475 PyObject
* obj0
= 0 ;
28476 PyObject
* obj1
= 0 ;
28477 char *kwnames
[] = {
28478 (char *) "self",(char *) "show", NULL
28481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
28482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28484 arg2
= (bool)SWIG_As_bool(obj1
);
28485 if (PyErr_Occurred()) SWIG_fail
;
28487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28488 (arg1
)->ShowHidden(arg2
);
28490 wxPyEndAllowThreads(__tstate
);
28491 if (PyErr_Occurred()) SWIG_fail
;
28493 Py_INCREF(Py_None
); resultobj
= Py_None
;
28500 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28501 PyObject
*resultobj
;
28502 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28504 PyObject
* obj0
= 0 ;
28505 char *kwnames
[] = {
28506 (char *) "self", NULL
28509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
28510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28514 result
= (bool)(arg1
)->GetShowHidden();
28516 wxPyEndAllowThreads(__tstate
);
28517 if (PyErr_Occurred()) SWIG_fail
;
28520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28528 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28529 PyObject
*resultobj
;
28530 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28532 PyObject
* obj0
= 0 ;
28533 char *kwnames
[] = {
28534 (char *) "self", NULL
28537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
28538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28542 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
28544 wxPyEndAllowThreads(__tstate
);
28545 if (PyErr_Occurred()) SWIG_fail
;
28549 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28551 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28560 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28561 PyObject
*resultobj
;
28562 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28563 wxString
*arg2
= 0 ;
28564 bool temp2
= False
;
28565 PyObject
* obj0
= 0 ;
28566 PyObject
* obj1
= 0 ;
28567 char *kwnames
[] = {
28568 (char *) "self",(char *) "filter", NULL
28571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
28572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28575 arg2
= wxString_in_helper(obj1
);
28576 if (arg2
== NULL
) SWIG_fail
;
28580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28581 (arg1
)->SetFilter((wxString
const &)*arg2
);
28583 wxPyEndAllowThreads(__tstate
);
28584 if (PyErr_Occurred()) SWIG_fail
;
28586 Py_INCREF(Py_None
); resultobj
= Py_None
;
28601 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28602 PyObject
*resultobj
;
28603 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28605 PyObject
* obj0
= 0 ;
28606 char *kwnames
[] = {
28607 (char *) "self", NULL
28610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
28611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28615 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
28617 wxPyEndAllowThreads(__tstate
);
28618 if (PyErr_Occurred()) SWIG_fail
;
28620 resultobj
= SWIG_From_int((int)result
);
28627 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28628 PyObject
*resultobj
;
28629 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28631 PyObject
* obj0
= 0 ;
28632 PyObject
* obj1
= 0 ;
28633 char *kwnames
[] = {
28634 (char *) "self",(char *) "n", NULL
28637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
28638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28640 arg2
= (int)SWIG_As_int(obj1
);
28641 if (PyErr_Occurred()) SWIG_fail
;
28643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28644 (arg1
)->SetFilterIndex(arg2
);
28646 wxPyEndAllowThreads(__tstate
);
28647 if (PyErr_Occurred()) SWIG_fail
;
28649 Py_INCREF(Py_None
); resultobj
= Py_None
;
28656 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28657 PyObject
*resultobj
;
28658 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28659 wxTreeItemId result
;
28660 PyObject
* obj0
= 0 ;
28661 char *kwnames
[] = {
28662 (char *) "self", NULL
28665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
28666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28670 result
= (arg1
)->GetRootId();
28672 wxPyEndAllowThreads(__tstate
);
28673 if (PyErr_Occurred()) SWIG_fail
;
28676 wxTreeItemId
* resultptr
;
28677 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28678 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28686 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28687 PyObject
*resultobj
;
28688 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28689 wxPyTreeCtrl
*result
;
28690 PyObject
* obj0
= 0 ;
28691 char *kwnames
[] = {
28692 (char *) "self", NULL
28695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
28696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28700 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
28702 wxPyEndAllowThreads(__tstate
);
28703 if (PyErr_Occurred()) SWIG_fail
;
28706 resultobj
= wxPyMake_wxObject(result
, 0);
28714 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28715 PyObject
*resultobj
;
28716 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28717 wxDirFilterListCtrl
*result
;
28718 PyObject
* obj0
= 0 ;
28719 char *kwnames
[] = {
28720 (char *) "self", NULL
28723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
28724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28728 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
28730 wxPyEndAllowThreads(__tstate
);
28731 if (PyErr_Occurred()) SWIG_fail
;
28733 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
28740 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28741 PyObject
*resultobj
;
28742 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28743 wxTreeItemId arg2
;
28744 wxString
*arg3
= 0 ;
28746 wxTreeItemId result
;
28747 wxTreeItemId
*argp2
;
28748 bool temp3
= False
;
28751 PyObject
* obj0
= 0 ;
28752 PyObject
* obj1
= 0 ;
28753 PyObject
* obj2
= 0 ;
28754 char *kwnames
[] = {
28755 (char *) "self",(char *) "parentId",(char *) "path", NULL
28758 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
28759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28762 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
,
28763 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
28766 arg3
= wxString_in_helper(obj2
);
28767 if (arg3
== NULL
) SWIG_fail
;
28771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28772 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
28774 wxPyEndAllowThreads(__tstate
);
28775 if (PyErr_Occurred()) SWIG_fail
;
28778 wxTreeItemId
* resultptr
;
28779 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28780 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28782 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
28783 SWIG_From_bool((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, 0)));
28798 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28799 PyObject
*resultobj
;
28800 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28801 PyObject
* obj0
= 0 ;
28802 char *kwnames
[] = {
28803 (char *) "self", NULL
28806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
28807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28811 (arg1
)->DoResize();
28813 wxPyEndAllowThreads(__tstate
);
28814 if (PyErr_Occurred()) SWIG_fail
;
28816 Py_INCREF(Py_None
); resultobj
= Py_None
;
28823 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28824 PyObject
*resultobj
;
28825 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28826 PyObject
* obj0
= 0 ;
28827 char *kwnames
[] = {
28828 (char *) "self", NULL
28831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
28832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28836 (arg1
)->ReCreateTree();
28838 wxPyEndAllowThreads(__tstate
);
28839 if (PyErr_Occurred()) SWIG_fail
;
28841 Py_INCREF(Py_None
); resultobj
= Py_None
;
28848 static PyObject
* GenericDirCtrl_swigregister(PyObject
*, PyObject
*args
) {
28850 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28851 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
28853 return Py_BuildValue((char *)"");
28855 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28856 PyObject
*resultobj
;
28857 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28858 int arg2
= (int) (int)-1 ;
28859 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28860 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28861 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28862 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28863 long arg5
= (long) 0 ;
28864 wxDirFilterListCtrl
*result
;
28867 PyObject
* obj0
= 0 ;
28868 PyObject
* obj1
= 0 ;
28869 PyObject
* obj2
= 0 ;
28870 PyObject
* obj3
= 0 ;
28871 PyObject
* obj4
= 0 ;
28872 char *kwnames
[] = {
28873 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28880 arg2
= (int)SWIG_As_int(obj1
);
28881 if (PyErr_Occurred()) SWIG_fail
;
28886 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28892 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28896 arg5
= (long)SWIG_As_long(obj4
);
28897 if (PyErr_Occurred()) SWIG_fail
;
28900 if (!wxPyCheckForApp()) SWIG_fail
;
28901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28902 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
28904 wxPyEndAllowThreads(__tstate
);
28905 if (PyErr_Occurred()) SWIG_fail
;
28907 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
28914 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28915 PyObject
*resultobj
;
28916 wxDirFilterListCtrl
*result
;
28917 char *kwnames
[] = {
28921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
28923 if (!wxPyCheckForApp()) SWIG_fail
;
28924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28925 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
28927 wxPyEndAllowThreads(__tstate
);
28928 if (PyErr_Occurred()) SWIG_fail
;
28930 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
28937 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28938 PyObject
*resultobj
;
28939 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
28940 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
28941 int arg3
= (int) (int)-1 ;
28942 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28943 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28944 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28945 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28946 long arg6
= (long) 0 ;
28950 PyObject
* obj0
= 0 ;
28951 PyObject
* obj1
= 0 ;
28952 PyObject
* obj2
= 0 ;
28953 PyObject
* obj3
= 0 ;
28954 PyObject
* obj4
= 0 ;
28955 PyObject
* obj5
= 0 ;
28956 char *kwnames
[] = {
28957 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
28962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28963 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
,
28964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28966 arg3
= (int)SWIG_As_int(obj2
);
28967 if (PyErr_Occurred()) SWIG_fail
;
28972 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28978 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28982 arg6
= (long)SWIG_As_long(obj5
);
28983 if (PyErr_Occurred()) SWIG_fail
;
28986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28987 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
28989 wxPyEndAllowThreads(__tstate
);
28990 if (PyErr_Occurred()) SWIG_fail
;
28993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29001 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29002 PyObject
*resultobj
;
29003 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
29004 wxString
*arg2
= 0 ;
29006 bool temp2
= False
;
29007 PyObject
* obj0
= 0 ;
29008 PyObject
* obj1
= 0 ;
29009 PyObject
* obj2
= 0 ;
29010 char *kwnames
[] = {
29011 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
29014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
29016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29018 arg2
= wxString_in_helper(obj1
);
29019 if (arg2
== NULL
) SWIG_fail
;
29022 arg3
= (int)SWIG_As_int(obj2
);
29023 if (PyErr_Occurred()) SWIG_fail
;
29025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29026 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
29028 wxPyEndAllowThreads(__tstate
);
29029 if (PyErr_Occurred()) SWIG_fail
;
29031 Py_INCREF(Py_None
); resultobj
= Py_None
;
29046 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*, PyObject
*args
) {
29048 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29049 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
29051 return Py_BuildValue((char *)"");
29053 static PyObject
*_wrap_new_PyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29054 PyObject
*resultobj
;
29055 wxWindow
*arg1
= (wxWindow
*) 0 ;
29056 int arg2
= (int) (int)-1 ;
29057 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29058 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29059 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29060 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29061 long arg5
= (long) 0 ;
29062 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
29063 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
29064 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
29065 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29066 wxPyControl
*result
;
29069 bool temp7
= False
;
29070 PyObject
* obj0
= 0 ;
29071 PyObject
* obj1
= 0 ;
29072 PyObject
* obj2
= 0 ;
29073 PyObject
* obj3
= 0 ;
29074 PyObject
* obj4
= 0 ;
29075 PyObject
* obj5
= 0 ;
29076 PyObject
* obj6
= 0 ;
29077 char *kwnames
[] = {
29078 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
29082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29085 arg2
= (int)SWIG_As_int(obj1
);
29086 if (PyErr_Occurred()) SWIG_fail
;
29091 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29097 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29101 arg5
= (long)SWIG_As_long(obj4
);
29102 if (PyErr_Occurred()) SWIG_fail
;
29105 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
29106 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29108 if (arg6
== NULL
) {
29109 PyErr_SetString(PyExc_TypeError
,"null reference");
29115 arg7
= wxString_in_helper(obj6
);
29116 if (arg7
== NULL
) SWIG_fail
;
29121 if (!wxPyCheckForApp()) SWIG_fail
;
29122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29123 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
29125 wxPyEndAllowThreads(__tstate
);
29126 if (PyErr_Occurred()) SWIG_fail
;
29128 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
29143 static PyObject
*_wrap_new_PrePyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29144 PyObject
*resultobj
;
29145 wxPyControl
*result
;
29146 char *kwnames
[] = {
29150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
29152 if (!wxPyCheckForApp()) SWIG_fail
;
29153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29154 result
= (wxPyControl
*)new wxPyControl();
29156 wxPyEndAllowThreads(__tstate
);
29157 if (PyErr_Occurred()) SWIG_fail
;
29159 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
29166 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29167 PyObject
*resultobj
;
29168 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29169 PyObject
*arg2
= (PyObject
*) 0 ;
29170 PyObject
*arg3
= (PyObject
*) 0 ;
29171 PyObject
* obj0
= 0 ;
29172 PyObject
* obj1
= 0 ;
29173 PyObject
* obj2
= 0 ;
29174 char *kwnames
[] = {
29175 (char *) "self",(char *) "self",(char *) "_class", NULL
29178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29185 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29187 wxPyEndAllowThreads(__tstate
);
29188 if (PyErr_Occurred()) SWIG_fail
;
29190 Py_INCREF(Py_None
); resultobj
= Py_None
;
29197 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29198 PyObject
*resultobj
;
29199 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29202 PyObject
* obj0
= 0 ;
29203 PyObject
* obj1
= 0 ;
29204 char *kwnames
[] = {
29205 (char *) "self",(char *) "size", NULL
29208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
29209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29213 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29217 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
29219 wxPyEndAllowThreads(__tstate
);
29220 if (PyErr_Occurred()) SWIG_fail
;
29222 Py_INCREF(Py_None
); resultobj
= Py_None
;
29229 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29230 PyObject
*resultobj
;
29231 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29236 PyObject
* obj0
= 0 ;
29237 PyObject
* obj1
= 0 ;
29238 PyObject
* obj2
= 0 ;
29239 PyObject
* obj3
= 0 ;
29240 PyObject
* obj4
= 0 ;
29241 char *kwnames
[] = {
29242 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29248 arg2
= (int)SWIG_As_int(obj1
);
29249 if (PyErr_Occurred()) SWIG_fail
;
29250 arg3
= (int)SWIG_As_int(obj2
);
29251 if (PyErr_Occurred()) SWIG_fail
;
29252 arg4
= (int)SWIG_As_int(obj3
);
29253 if (PyErr_Occurred()) SWIG_fail
;
29254 arg5
= (int)SWIG_As_int(obj4
);
29255 if (PyErr_Occurred()) SWIG_fail
;
29257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29258 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
29260 wxPyEndAllowThreads(__tstate
);
29261 if (PyErr_Occurred()) SWIG_fail
;
29263 Py_INCREF(Py_None
); resultobj
= Py_None
;
29270 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29271 PyObject
*resultobj
;
29272 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29277 int arg6
= (int) wxSIZE_AUTO
;
29278 PyObject
* obj0
= 0 ;
29279 PyObject
* obj1
= 0 ;
29280 PyObject
* obj2
= 0 ;
29281 PyObject
* obj3
= 0 ;
29282 PyObject
* obj4
= 0 ;
29283 PyObject
* obj5
= 0 ;
29284 char *kwnames
[] = {
29285 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
29288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29291 arg2
= (int)SWIG_As_int(obj1
);
29292 if (PyErr_Occurred()) SWIG_fail
;
29293 arg3
= (int)SWIG_As_int(obj2
);
29294 if (PyErr_Occurred()) SWIG_fail
;
29295 arg4
= (int)SWIG_As_int(obj3
);
29296 if (PyErr_Occurred()) SWIG_fail
;
29297 arg5
= (int)SWIG_As_int(obj4
);
29298 if (PyErr_Occurred()) SWIG_fail
;
29300 arg6
= (int)SWIG_As_int(obj5
);
29301 if (PyErr_Occurred()) SWIG_fail
;
29304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29305 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
29307 wxPyEndAllowThreads(__tstate
);
29308 if (PyErr_Occurred()) SWIG_fail
;
29310 Py_INCREF(Py_None
); resultobj
= Py_None
;
29317 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29318 PyObject
*resultobj
;
29319 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29322 PyObject
* obj0
= 0 ;
29323 PyObject
* obj1
= 0 ;
29324 PyObject
* obj2
= 0 ;
29325 char *kwnames
[] = {
29326 (char *) "self",(char *) "width",(char *) "height", NULL
29329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29332 arg2
= (int)SWIG_As_int(obj1
);
29333 if (PyErr_Occurred()) SWIG_fail
;
29334 arg3
= (int)SWIG_As_int(obj2
);
29335 if (PyErr_Occurred()) SWIG_fail
;
29337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29338 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
29340 wxPyEndAllowThreads(__tstate
);
29341 if (PyErr_Occurred()) SWIG_fail
;
29343 Py_INCREF(Py_None
); resultobj
= Py_None
;
29350 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29351 PyObject
*resultobj
;
29352 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29355 PyObject
* obj0
= 0 ;
29356 PyObject
* obj1
= 0 ;
29357 PyObject
* obj2
= 0 ;
29358 char *kwnames
[] = {
29359 (char *) "self",(char *) "x",(char *) "y", NULL
29362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29365 arg2
= (int)SWIG_As_int(obj1
);
29366 if (PyErr_Occurred()) SWIG_fail
;
29367 arg3
= (int)SWIG_As_int(obj2
);
29368 if (PyErr_Occurred()) SWIG_fail
;
29370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29371 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
29373 wxPyEndAllowThreads(__tstate
);
29374 if (PyErr_Occurred()) SWIG_fail
;
29376 Py_INCREF(Py_None
); resultobj
= Py_None
;
29383 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29384 PyObject
*resultobj
;
29385 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29386 int *arg2
= (int *) 0 ;
29387 int *arg3
= (int *) 0 ;
29392 PyObject
* obj0
= 0 ;
29393 char *kwnames
[] = {
29394 (char *) "self", NULL
29397 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
29398 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
29400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29404 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
29406 wxPyEndAllowThreads(__tstate
);
29407 if (PyErr_Occurred()) SWIG_fail
;
29409 Py_INCREF(Py_None
); resultobj
= Py_None
;
29410 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
29411 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
29412 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29413 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29420 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29421 PyObject
*resultobj
;
29422 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29423 int *arg2
= (int *) 0 ;
29424 int *arg3
= (int *) 0 ;
29429 PyObject
* obj0
= 0 ;
29430 char *kwnames
[] = {
29431 (char *) "self", NULL
29434 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
29435 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
29437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29441 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
29443 wxPyEndAllowThreads(__tstate
);
29444 if (PyErr_Occurred()) SWIG_fail
;
29446 Py_INCREF(Py_None
); resultobj
= Py_None
;
29447 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
29448 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
29449 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29450 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29457 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29458 PyObject
*resultobj
;
29459 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29460 int *arg2
= (int *) 0 ;
29461 int *arg3
= (int *) 0 ;
29466 PyObject
* obj0
= 0 ;
29467 char *kwnames
[] = {
29468 (char *) "self", NULL
29471 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
29472 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
29474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29478 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
29480 wxPyEndAllowThreads(__tstate
);
29481 if (PyErr_Occurred()) SWIG_fail
;
29483 Py_INCREF(Py_None
); resultobj
= Py_None
;
29484 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
29485 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
29486 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29487 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29494 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29495 PyObject
*resultobj
;
29496 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29498 PyObject
* obj0
= 0 ;
29499 char *kwnames
[] = {
29500 (char *) "self", NULL
29503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
29504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29508 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
29510 wxPyEndAllowThreads(__tstate
);
29511 if (PyErr_Occurred()) SWIG_fail
;
29514 wxSize
* resultptr
;
29515 resultptr
= new wxSize((wxSize
&) result
);
29516 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29524 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29525 PyObject
*resultobj
;
29526 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29528 PyObject
* obj0
= 0 ;
29529 char *kwnames
[] = {
29530 (char *) "self", NULL
29533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
29534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29538 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
29540 wxPyEndAllowThreads(__tstate
);
29541 if (PyErr_Occurred()) SWIG_fail
;
29544 wxSize
* resultptr
;
29545 resultptr
= new wxSize((wxSize
&) result
);
29546 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29554 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29555 PyObject
*resultobj
;
29556 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29557 PyObject
* obj0
= 0 ;
29558 char *kwnames
[] = {
29559 (char *) "self", NULL
29562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
29563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29567 (arg1
)->base_InitDialog();
29569 wxPyEndAllowThreads(__tstate
);
29570 if (PyErr_Occurred()) SWIG_fail
;
29572 Py_INCREF(Py_None
); resultobj
= Py_None
;
29579 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29580 PyObject
*resultobj
;
29581 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29583 PyObject
* obj0
= 0 ;
29584 char *kwnames
[] = {
29585 (char *) "self", NULL
29588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
29589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29593 result
= (bool)(arg1
)->base_TransferDataToWindow();
29595 wxPyEndAllowThreads(__tstate
);
29596 if (PyErr_Occurred()) SWIG_fail
;
29599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29607 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29608 PyObject
*resultobj
;
29609 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29611 PyObject
* obj0
= 0 ;
29612 char *kwnames
[] = {
29613 (char *) "self", NULL
29616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
29617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29621 result
= (bool)(arg1
)->base_TransferDataFromWindow();
29623 wxPyEndAllowThreads(__tstate
);
29624 if (PyErr_Occurred()) SWIG_fail
;
29627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29635 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29636 PyObject
*resultobj
;
29637 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29639 PyObject
* obj0
= 0 ;
29640 char *kwnames
[] = {
29641 (char *) "self", NULL
29644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
29645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29649 result
= (bool)(arg1
)->base_Validate();
29651 wxPyEndAllowThreads(__tstate
);
29652 if (PyErr_Occurred()) SWIG_fail
;
29655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29663 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29664 PyObject
*resultobj
;
29665 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29667 PyObject
* obj0
= 0 ;
29668 char *kwnames
[] = {
29669 (char *) "self", NULL
29672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
29673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29677 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
29679 wxPyEndAllowThreads(__tstate
);
29680 if (PyErr_Occurred()) SWIG_fail
;
29683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29691 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29692 PyObject
*resultobj
;
29693 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29695 PyObject
* obj0
= 0 ;
29696 char *kwnames
[] = {
29697 (char *) "self", NULL
29700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
29701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29705 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
29707 wxPyEndAllowThreads(__tstate
);
29708 if (PyErr_Occurred()) SWIG_fail
;
29711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29719 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29720 PyObject
*resultobj
;
29721 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29723 PyObject
* obj0
= 0 ;
29724 char *kwnames
[] = {
29725 (char *) "self", NULL
29728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
29729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29733 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
29735 wxPyEndAllowThreads(__tstate
);
29736 if (PyErr_Occurred()) SWIG_fail
;
29739 wxSize
* resultptr
;
29740 resultptr
= new wxSize((wxSize
&) result
);
29741 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29749 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29750 PyObject
*resultobj
;
29751 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29752 wxWindow
*arg2
= (wxWindow
*) 0 ;
29753 PyObject
* obj0
= 0 ;
29754 PyObject
* obj1
= 0 ;
29755 char *kwnames
[] = {
29756 (char *) "self",(char *) "child", NULL
29759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29762 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29766 (arg1
)->base_AddChild(arg2
);
29768 wxPyEndAllowThreads(__tstate
);
29769 if (PyErr_Occurred()) SWIG_fail
;
29771 Py_INCREF(Py_None
); resultobj
= Py_None
;
29778 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29779 PyObject
*resultobj
;
29780 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29781 wxWindow
*arg2
= (wxWindow
*) 0 ;
29782 PyObject
* obj0
= 0 ;
29783 PyObject
* obj1
= 0 ;
29784 char *kwnames
[] = {
29785 (char *) "self",(char *) "child", NULL
29788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29791 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29795 (arg1
)->base_RemoveChild(arg2
);
29797 wxPyEndAllowThreads(__tstate
);
29798 if (PyErr_Occurred()) SWIG_fail
;
29800 Py_INCREF(Py_None
); resultobj
= Py_None
;
29807 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29808 PyObject
*resultobj
;
29809 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29811 PyObject
* obj0
= 0 ;
29812 char *kwnames
[] = {
29813 (char *) "self", NULL
29816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
29817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29821 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
29823 wxPyEndAllowThreads(__tstate
);
29824 if (PyErr_Occurred()) SWIG_fail
;
29827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29835 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29836 PyObject
*resultobj
;
29837 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29838 wxColour
*arg2
= 0 ;
29840 PyObject
* obj0
= 0 ;
29841 PyObject
* obj1
= 0 ;
29842 char *kwnames
[] = {
29843 (char *) "self",(char *) "c", NULL
29846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
29847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29851 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29855 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
29857 wxPyEndAllowThreads(__tstate
);
29858 if (PyErr_Occurred()) SWIG_fail
;
29860 Py_INCREF(Py_None
); resultobj
= Py_None
;
29867 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29868 PyObject
*resultobj
;
29869 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29870 wxVisualAttributes result
;
29871 PyObject
* obj0
= 0 ;
29872 char *kwnames
[] = {
29873 (char *) "self", NULL
29876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29881 result
= (arg1
)->base_GetDefaultAttributes();
29883 wxPyEndAllowThreads(__tstate
);
29884 if (PyErr_Occurred()) SWIG_fail
;
29887 wxVisualAttributes
* resultptr
;
29888 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
29889 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29897 static PyObject
* PyControl_swigregister(PyObject
*, PyObject
*args
) {
29899 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29900 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
29902 return Py_BuildValue((char *)"");
29904 static PyObject
*_wrap_new_HelpEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29905 PyObject
*resultobj
;
29906 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
29907 int arg2
= (int) 0 ;
29908 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29909 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29910 wxHelpEvent
*result
;
29912 PyObject
* obj0
= 0 ;
29913 PyObject
* obj1
= 0 ;
29914 PyObject
* obj2
= 0 ;
29915 char *kwnames
[] = {
29916 (char *) "type",(char *) "winid",(char *) "pt", NULL
29919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29921 arg1
= (wxEventType
)SWIG_As_int(obj0
);
29922 if (PyErr_Occurred()) SWIG_fail
;
29925 arg2
= (int)SWIG_As_int(obj1
);
29926 if (PyErr_Occurred()) SWIG_fail
;
29931 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29936 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
29938 wxPyEndAllowThreads(__tstate
);
29939 if (PyErr_Occurred()) SWIG_fail
;
29941 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
29948 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29949 PyObject
*resultobj
;
29950 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29952 PyObject
* obj0
= 0 ;
29953 char *kwnames
[] = {
29954 (char *) "self", NULL
29957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
29958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29962 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
29964 wxPyEndAllowThreads(__tstate
);
29965 if (PyErr_Occurred()) SWIG_fail
;
29968 wxPoint
* resultptr
;
29969 resultptr
= new wxPoint((wxPoint
&) result
);
29970 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29978 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29979 PyObject
*resultobj
;
29980 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29981 wxPoint
*arg2
= 0 ;
29983 PyObject
* obj0
= 0 ;
29984 PyObject
* obj1
= 0 ;
29985 char *kwnames
[] = {
29986 (char *) "self",(char *) "pos", NULL
29989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
29990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29994 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29998 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
30000 wxPyEndAllowThreads(__tstate
);
30001 if (PyErr_Occurred()) SWIG_fail
;
30003 Py_INCREF(Py_None
); resultobj
= Py_None
;
30010 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30011 PyObject
*resultobj
;
30012 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30014 PyObject
* obj0
= 0 ;
30015 char *kwnames
[] = {
30016 (char *) "self", NULL
30019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
30020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30025 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
30026 result
= (wxString
*) &_result_ref
;
30029 wxPyEndAllowThreads(__tstate
);
30030 if (PyErr_Occurred()) SWIG_fail
;
30034 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30036 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30045 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30046 PyObject
*resultobj
;
30047 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30048 wxString
*arg2
= 0 ;
30049 bool temp2
= False
;
30050 PyObject
* obj0
= 0 ;
30051 PyObject
* obj1
= 0 ;
30052 char *kwnames
[] = {
30053 (char *) "self",(char *) "link", NULL
30056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
30057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30060 arg2
= wxString_in_helper(obj1
);
30061 if (arg2
== NULL
) SWIG_fail
;
30065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30066 (arg1
)->SetLink((wxString
const &)*arg2
);
30068 wxPyEndAllowThreads(__tstate
);
30069 if (PyErr_Occurred()) SWIG_fail
;
30071 Py_INCREF(Py_None
); resultobj
= Py_None
;
30086 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30087 PyObject
*resultobj
;
30088 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30090 PyObject
* obj0
= 0 ;
30091 char *kwnames
[] = {
30092 (char *) "self", NULL
30095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
30096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30101 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
30102 result
= (wxString
*) &_result_ref
;
30105 wxPyEndAllowThreads(__tstate
);
30106 if (PyErr_Occurred()) SWIG_fail
;
30110 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30112 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30121 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30122 PyObject
*resultobj
;
30123 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30124 wxString
*arg2
= 0 ;
30125 bool temp2
= False
;
30126 PyObject
* obj0
= 0 ;
30127 PyObject
* obj1
= 0 ;
30128 char *kwnames
[] = {
30129 (char *) "self",(char *) "target", NULL
30132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
30133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30136 arg2
= wxString_in_helper(obj1
);
30137 if (arg2
== NULL
) SWIG_fail
;
30141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30142 (arg1
)->SetTarget((wxString
const &)*arg2
);
30144 wxPyEndAllowThreads(__tstate
);
30145 if (PyErr_Occurred()) SWIG_fail
;
30147 Py_INCREF(Py_None
); resultobj
= Py_None
;
30162 static PyObject
* HelpEvent_swigregister(PyObject
*, PyObject
*args
) {
30164 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30165 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
30167 return Py_BuildValue((char *)"");
30169 static PyObject
*_wrap_new_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30170 PyObject
*resultobj
;
30171 wxWindow
*arg1
= (wxWindow
*) NULL
;
30172 bool arg2
= (bool) True
;
30173 wxContextHelp
*result
;
30174 PyObject
* obj0
= 0 ;
30175 PyObject
* obj1
= 0 ;
30176 char *kwnames
[] = {
30177 (char *) "window",(char *) "doNow", NULL
30180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30186 arg2
= (bool)SWIG_As_bool(obj1
);
30187 if (PyErr_Occurred()) SWIG_fail
;
30190 if (!wxPyCheckForApp()) SWIG_fail
;
30191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30192 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
30194 wxPyEndAllowThreads(__tstate
);
30195 if (PyErr_Occurred()) SWIG_fail
;
30197 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
30204 static PyObject
*_wrap_delete_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30205 PyObject
*resultobj
;
30206 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30207 PyObject
* obj0
= 0 ;
30208 char *kwnames
[] = {
30209 (char *) "self", NULL
30212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
30213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30219 wxPyEndAllowThreads(__tstate
);
30220 if (PyErr_Occurred()) SWIG_fail
;
30222 Py_INCREF(Py_None
); resultobj
= Py_None
;
30229 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30230 PyObject
*resultobj
;
30231 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30232 wxWindow
*arg2
= (wxWindow
*) NULL
;
30234 PyObject
* obj0
= 0 ;
30235 PyObject
* obj1
= 0 ;
30236 char *kwnames
[] = {
30237 (char *) "self",(char *) "window", NULL
30240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30244 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30249 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
30251 wxPyEndAllowThreads(__tstate
);
30252 if (PyErr_Occurred()) SWIG_fail
;
30255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30263 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30264 PyObject
*resultobj
;
30265 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30267 PyObject
* obj0
= 0 ;
30268 char *kwnames
[] = {
30269 (char *) "self", NULL
30272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
30273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30277 result
= (bool)(arg1
)->EndContextHelp();
30279 wxPyEndAllowThreads(__tstate
);
30280 if (PyErr_Occurred()) SWIG_fail
;
30283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30291 static PyObject
* ContextHelp_swigregister(PyObject
*, PyObject
*args
) {
30293 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30294 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
30296 return Py_BuildValue((char *)"");
30298 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30299 PyObject
*resultobj
;
30300 wxWindow
*arg1
= (wxWindow
*) 0 ;
30301 int arg2
= (int) wxID_CONTEXT_HELP
;
30302 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30303 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30304 wxSize
const &arg4_defvalue
= wxDefaultSize
;
30305 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
30306 long arg5
= (long) wxBU_AUTODRAW
;
30307 wxContextHelpButton
*result
;
30310 PyObject
* obj0
= 0 ;
30311 PyObject
* obj1
= 0 ;
30312 PyObject
* obj2
= 0 ;
30313 PyObject
* obj3
= 0 ;
30314 PyObject
* obj4
= 0 ;
30315 char *kwnames
[] = {
30316 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
30319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30323 arg2
= (int)SWIG_As_int(obj1
);
30324 if (PyErr_Occurred()) SWIG_fail
;
30329 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30335 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
30339 arg5
= (long)SWIG_As_long(obj4
);
30340 if (PyErr_Occurred()) SWIG_fail
;
30343 if (!wxPyCheckForApp()) SWIG_fail
;
30344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30345 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
30347 wxPyEndAllowThreads(__tstate
);
30348 if (PyErr_Occurred()) SWIG_fail
;
30350 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
30357 static PyObject
* ContextHelpButton_swigregister(PyObject
*, PyObject
*args
) {
30359 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30360 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
30362 return Py_BuildValue((char *)"");
30364 static PyObject
*_wrap_HelpProvider_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30365 PyObject
*resultobj
;
30366 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30367 wxHelpProvider
*result
;
30368 PyObject
* obj0
= 0 ;
30369 char *kwnames
[] = {
30370 (char *) "helpProvider", NULL
30373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
30374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30378 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
30380 wxPyEndAllowThreads(__tstate
);
30381 if (PyErr_Occurred()) SWIG_fail
;
30383 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30390 static PyObject
*_wrap_HelpProvider_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30391 PyObject
*resultobj
;
30392 wxHelpProvider
*result
;
30393 char *kwnames
[] = {
30397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
30399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30400 result
= (wxHelpProvider
*)wxHelpProvider::Get();
30402 wxPyEndAllowThreads(__tstate
);
30403 if (PyErr_Occurred()) SWIG_fail
;
30405 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30412 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30413 PyObject
*resultobj
;
30414 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30415 wxWindow
*arg2
= (wxWindow
*) 0 ;
30417 PyObject
* obj0
= 0 ;
30418 PyObject
* obj1
= 0 ;
30419 char *kwnames
[] = {
30420 (char *) "self",(char *) "window", NULL
30423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30426 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30430 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
30432 wxPyEndAllowThreads(__tstate
);
30433 if (PyErr_Occurred()) SWIG_fail
;
30437 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30439 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30448 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30449 PyObject
*resultobj
;
30450 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30451 wxWindow
*arg2
= (wxWindow
*) 0 ;
30453 PyObject
* obj0
= 0 ;
30454 PyObject
* obj1
= 0 ;
30455 char *kwnames
[] = {
30456 (char *) "self",(char *) "window", NULL
30459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30462 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30466 result
= (bool)(arg1
)->ShowHelp(arg2
);
30468 wxPyEndAllowThreads(__tstate
);
30469 if (PyErr_Occurred()) SWIG_fail
;
30472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30480 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30481 PyObject
*resultobj
;
30482 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30483 wxWindow
*arg2
= (wxWindow
*) 0 ;
30484 wxString
*arg3
= 0 ;
30485 bool temp3
= False
;
30486 PyObject
* obj0
= 0 ;
30487 PyObject
* obj1
= 0 ;
30488 PyObject
* obj2
= 0 ;
30489 char *kwnames
[] = {
30490 (char *) "self",(char *) "window",(char *) "text", NULL
30493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30496 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30499 arg3
= wxString_in_helper(obj2
);
30500 if (arg3
== NULL
) SWIG_fail
;
30504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30505 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30507 wxPyEndAllowThreads(__tstate
);
30508 if (PyErr_Occurred()) SWIG_fail
;
30510 Py_INCREF(Py_None
); resultobj
= Py_None
;
30525 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30526 PyObject
*resultobj
;
30527 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30529 wxString
*arg3
= 0 ;
30530 bool temp3
= False
;
30531 PyObject
* obj0
= 0 ;
30532 PyObject
* obj1
= 0 ;
30533 PyObject
* obj2
= 0 ;
30534 char *kwnames
[] = {
30535 (char *) "self",(char *) "id",(char *) "text", NULL
30538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30541 arg2
= (int)SWIG_As_int(obj1
);
30542 if (PyErr_Occurred()) SWIG_fail
;
30544 arg3
= wxString_in_helper(obj2
);
30545 if (arg3
== NULL
) SWIG_fail
;
30549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30550 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30552 wxPyEndAllowThreads(__tstate
);
30553 if (PyErr_Occurred()) SWIG_fail
;
30555 Py_INCREF(Py_None
); resultobj
= Py_None
;
30570 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30571 PyObject
*resultobj
;
30572 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30573 wxWindow
*arg2
= (wxWindow
*) 0 ;
30574 PyObject
* obj0
= 0 ;
30575 PyObject
* obj1
= 0 ;
30576 char *kwnames
[] = {
30577 (char *) "self",(char *) "window", NULL
30580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30583 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30587 (arg1
)->RemoveHelp(arg2
);
30589 wxPyEndAllowThreads(__tstate
);
30590 if (PyErr_Occurred()) SWIG_fail
;
30592 Py_INCREF(Py_None
); resultobj
= Py_None
;
30599 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30600 PyObject
*resultobj
;
30601 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30602 PyObject
* obj0
= 0 ;
30603 char *kwnames
[] = {
30604 (char *) "self", NULL
30607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
30608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30612 wxHelpProvider_Destroy(arg1
);
30614 wxPyEndAllowThreads(__tstate
);
30615 if (PyErr_Occurred()) SWIG_fail
;
30617 Py_INCREF(Py_None
); resultobj
= Py_None
;
30624 static PyObject
* HelpProvider_swigregister(PyObject
*, PyObject
*args
) {
30626 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30627 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
30629 return Py_BuildValue((char *)"");
30631 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30632 PyObject
*resultobj
;
30633 wxSimpleHelpProvider
*result
;
30634 char *kwnames
[] = {
30638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
30640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30641 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
30643 wxPyEndAllowThreads(__tstate
);
30644 if (PyErr_Occurred()) SWIG_fail
;
30646 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
30653 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*, PyObject
*args
) {
30655 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30656 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
30658 return Py_BuildValue((char *)"");
30660 static PyObject
*_wrap_new_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30661 PyObject
*resultobj
;
30662 wxBitmap
*arg1
= 0 ;
30663 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30664 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30665 wxGenericDragImage
*result
;
30666 PyObject
* obj0
= 0 ;
30667 PyObject
* obj1
= 0 ;
30668 char *kwnames
[] = {
30669 (char *) "image",(char *) "cursor", NULL
30672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
30673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
30674 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30676 if (arg1
== NULL
) {
30677 PyErr_SetString(PyExc_TypeError
,"null reference");
30681 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30682 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30684 if (arg2
== NULL
) {
30685 PyErr_SetString(PyExc_TypeError
,"null reference");
30690 if (!wxPyCheckForApp()) SWIG_fail
;
30691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30692 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
30694 wxPyEndAllowThreads(__tstate
);
30695 if (PyErr_Occurred()) SWIG_fail
;
30697 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30704 static PyObject
*_wrap_new_DragIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30705 PyObject
*resultobj
;
30707 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30708 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30709 wxGenericDragImage
*result
;
30710 PyObject
* obj0
= 0 ;
30711 PyObject
* obj1
= 0 ;
30712 char *kwnames
[] = {
30713 (char *) "image",(char *) "cursor", NULL
30716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
30717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
30718 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30720 if (arg1
== NULL
) {
30721 PyErr_SetString(PyExc_TypeError
,"null reference");
30725 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30726 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30728 if (arg2
== NULL
) {
30729 PyErr_SetString(PyExc_TypeError
,"null reference");
30734 if (!wxPyCheckForApp()) SWIG_fail
;
30735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30736 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
30738 wxPyEndAllowThreads(__tstate
);
30739 if (PyErr_Occurred()) SWIG_fail
;
30741 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30748 static PyObject
*_wrap_new_DragString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30749 PyObject
*resultobj
;
30750 wxString
*arg1
= 0 ;
30751 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30752 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30753 wxGenericDragImage
*result
;
30754 bool temp1
= False
;
30755 PyObject
* obj0
= 0 ;
30756 PyObject
* obj1
= 0 ;
30757 char *kwnames
[] = {
30758 (char *) "str",(char *) "cursor", NULL
30761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
30763 arg1
= wxString_in_helper(obj0
);
30764 if (arg1
== NULL
) SWIG_fail
;
30768 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30769 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30771 if (arg2
== NULL
) {
30772 PyErr_SetString(PyExc_TypeError
,"null reference");
30777 if (!wxPyCheckForApp()) SWIG_fail
;
30778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30779 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
30781 wxPyEndAllowThreads(__tstate
);
30782 if (PyErr_Occurred()) SWIG_fail
;
30784 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30799 static PyObject
*_wrap_new_DragTreeItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30800 PyObject
*resultobj
;
30801 wxPyTreeCtrl
*arg1
= 0 ;
30802 wxTreeItemId
*arg2
= 0 ;
30803 wxGenericDragImage
*result
;
30804 PyObject
* obj0
= 0 ;
30805 PyObject
* obj1
= 0 ;
30806 char *kwnames
[] = {
30807 (char *) "treeCtrl",(char *) "id", NULL
30810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
30812 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30814 if (arg1
== NULL
) {
30815 PyErr_SetString(PyExc_TypeError
,"null reference");
30818 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
30819 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30821 if (arg2
== NULL
) {
30822 PyErr_SetString(PyExc_TypeError
,"null reference");
30826 if (!wxPyCheckForApp()) SWIG_fail
;
30827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30828 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
30830 wxPyEndAllowThreads(__tstate
);
30831 if (PyErr_Occurred()) SWIG_fail
;
30833 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30840 static PyObject
*_wrap_new_DragListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30841 PyObject
*resultobj
;
30842 wxPyListCtrl
*arg1
= 0 ;
30844 wxGenericDragImage
*result
;
30845 PyObject
* obj0
= 0 ;
30846 PyObject
* obj1
= 0 ;
30847 char *kwnames
[] = {
30848 (char *) "listCtrl",(char *) "id", NULL
30851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
30853 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30855 if (arg1
== NULL
) {
30856 PyErr_SetString(PyExc_TypeError
,"null reference");
30859 arg2
= (long)SWIG_As_long(obj1
);
30860 if (PyErr_Occurred()) SWIG_fail
;
30862 if (!wxPyCheckForApp()) SWIG_fail
;
30863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30864 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
30866 wxPyEndAllowThreads(__tstate
);
30867 if (PyErr_Occurred()) SWIG_fail
;
30869 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30876 static PyObject
*_wrap_delete_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30877 PyObject
*resultobj
;
30878 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30879 PyObject
* obj0
= 0 ;
30880 char *kwnames
[] = {
30881 (char *) "self", NULL
30884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
30885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30891 wxPyEndAllowThreads(__tstate
);
30892 if (PyErr_Occurred()) SWIG_fail
;
30894 Py_INCREF(Py_None
); resultobj
= Py_None
;
30901 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30902 PyObject
*resultobj
;
30903 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30904 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
30905 PyObject
* obj0
= 0 ;
30906 PyObject
* obj1
= 0 ;
30907 char *kwnames
[] = {
30908 (char *) "self",(char *) "bitmap", NULL
30911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
30912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30914 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
30915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30918 (arg1
)->SetBackingBitmap(arg2
);
30920 wxPyEndAllowThreads(__tstate
);
30921 if (PyErr_Occurred()) SWIG_fail
;
30923 Py_INCREF(Py_None
); resultobj
= Py_None
;
30930 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30931 PyObject
*resultobj
;
30932 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30933 wxPoint
*arg2
= 0 ;
30934 wxWindow
*arg3
= (wxWindow
*) 0 ;
30935 bool arg4
= (bool) False
;
30936 wxRect
*arg5
= (wxRect
*) NULL
;
30939 PyObject
* obj0
= 0 ;
30940 PyObject
* obj1
= 0 ;
30941 PyObject
* obj2
= 0 ;
30942 PyObject
* obj3
= 0 ;
30943 PyObject
* obj4
= 0 ;
30944 char *kwnames
[] = {
30945 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
30948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30953 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30955 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
30956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30958 arg4
= (bool)SWIG_As_bool(obj3
);
30959 if (PyErr_Occurred()) SWIG_fail
;
30962 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
,
30963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30967 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
30969 wxPyEndAllowThreads(__tstate
);
30970 if (PyErr_Occurred()) SWIG_fail
;
30973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30981 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30982 PyObject
*resultobj
;
30983 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30984 wxPoint
*arg2
= 0 ;
30985 wxWindow
*arg3
= (wxWindow
*) 0 ;
30986 wxWindow
*arg4
= (wxWindow
*) 0 ;
30989 PyObject
* obj0
= 0 ;
30990 PyObject
* obj1
= 0 ;
30991 PyObject
* obj2
= 0 ;
30992 PyObject
* obj3
= 0 ;
30993 char *kwnames
[] = {
30994 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
30997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31002 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31004 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
31005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31006 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
31007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31010 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
31012 wxPyEndAllowThreads(__tstate
);
31013 if (PyErr_Occurred()) SWIG_fail
;
31016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31024 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31025 PyObject
*resultobj
;
31026 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31028 PyObject
* obj0
= 0 ;
31029 char *kwnames
[] = {
31030 (char *) "self", NULL
31033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
31034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31038 result
= (bool)(arg1
)->EndDrag();
31040 wxPyEndAllowThreads(__tstate
);
31041 if (PyErr_Occurred()) SWIG_fail
;
31044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31052 static PyObject
*_wrap_DragImage_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31053 PyObject
*resultobj
;
31054 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31055 wxPoint
*arg2
= 0 ;
31058 PyObject
* obj0
= 0 ;
31059 PyObject
* obj1
= 0 ;
31060 char *kwnames
[] = {
31061 (char *) "self",(char *) "pt", NULL
31064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
31065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31069 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31073 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
31075 wxPyEndAllowThreads(__tstate
);
31076 if (PyErr_Occurred()) SWIG_fail
;
31079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31087 static PyObject
*_wrap_DragImage_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31088 PyObject
*resultobj
;
31089 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31091 PyObject
* obj0
= 0 ;
31092 char *kwnames
[] = {
31093 (char *) "self", NULL
31096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
31097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31101 result
= (bool)(arg1
)->Show();
31103 wxPyEndAllowThreads(__tstate
);
31104 if (PyErr_Occurred()) SWIG_fail
;
31107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31115 static PyObject
*_wrap_DragImage_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31116 PyObject
*resultobj
;
31117 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31119 PyObject
* obj0
= 0 ;
31120 char *kwnames
[] = {
31121 (char *) "self", NULL
31124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
31125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31129 result
= (bool)(arg1
)->Hide();
31131 wxPyEndAllowThreads(__tstate
);
31132 if (PyErr_Occurred()) SWIG_fail
;
31135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31143 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31144 PyObject
*resultobj
;
31145 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31146 wxPoint
*arg2
= 0 ;
31149 PyObject
* obj0
= 0 ;
31150 PyObject
* obj1
= 0 ;
31151 char *kwnames
[] = {
31152 (char *) "self",(char *) "pos", NULL
31155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
31156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31160 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31164 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
31166 wxPyEndAllowThreads(__tstate
);
31167 if (PyErr_Occurred()) SWIG_fail
;
31170 wxRect
* resultptr
;
31171 resultptr
= new wxRect((wxRect
&) result
);
31172 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
31180 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31181 PyObject
*resultobj
;
31182 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31184 wxPoint
*arg3
= 0 ;
31187 PyObject
* obj0
= 0 ;
31188 PyObject
* obj1
= 0 ;
31189 PyObject
* obj2
= 0 ;
31190 char *kwnames
[] = {
31191 (char *) "self",(char *) "dc",(char *) "pos", NULL
31194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31197 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31198 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31200 if (arg2
== NULL
) {
31201 PyErr_SetString(PyExc_TypeError
,"null reference");
31206 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31210 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
31212 wxPyEndAllowThreads(__tstate
);
31213 if (PyErr_Occurred()) SWIG_fail
;
31216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31224 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31225 PyObject
*resultobj
;
31226 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31228 wxMemoryDC
*arg3
= 0 ;
31234 PyObject
* obj0
= 0 ;
31235 PyObject
* obj1
= 0 ;
31236 PyObject
* obj2
= 0 ;
31237 PyObject
* obj3
= 0 ;
31238 PyObject
* obj4
= 0 ;
31239 char *kwnames
[] = {
31240 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
31243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31246 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31247 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31249 if (arg2
== NULL
) {
31250 PyErr_SetString(PyExc_TypeError
,"null reference");
31253 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
,
31254 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31256 if (arg3
== NULL
) {
31257 PyErr_SetString(PyExc_TypeError
,"null reference");
31262 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31266 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
31269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31270 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
31272 wxPyEndAllowThreads(__tstate
);
31273 if (PyErr_Occurred()) SWIG_fail
;
31276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31284 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31285 PyObject
*resultobj
;
31286 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31287 wxPoint
*arg2
= 0 ;
31288 wxPoint
*arg3
= 0 ;
31294 PyObject
* obj0
= 0 ;
31295 PyObject
* obj1
= 0 ;
31296 PyObject
* obj2
= 0 ;
31297 PyObject
* obj3
= 0 ;
31298 PyObject
* obj4
= 0 ;
31299 char *kwnames
[] = {
31300 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
31303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31308 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31312 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31314 arg4
= (bool)SWIG_As_bool(obj3
);
31315 if (PyErr_Occurred()) SWIG_fail
;
31316 arg5
= (bool)SWIG_As_bool(obj4
);
31317 if (PyErr_Occurred()) SWIG_fail
;
31319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31320 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
31322 wxPyEndAllowThreads(__tstate
);
31323 if (PyErr_Occurred()) SWIG_fail
;
31326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31334 static PyObject
* DragImage_swigregister(PyObject
*, PyObject
*args
) {
31336 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31337 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
31339 return Py_BuildValue((char *)"");
31341 static PyMethodDef SwigMethods
[] = {
31342 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31343 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31344 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31345 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31346 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31347 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31348 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
31349 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31350 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31351 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31352 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31353 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31354 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31355 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31356 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31357 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31358 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31359 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31360 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31361 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31362 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31363 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
31364 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31365 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31366 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31367 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31368 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31369 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31370 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31371 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31372 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31373 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31374 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31375 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
31376 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31377 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31378 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31379 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31380 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31381 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31382 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31383 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
31384 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31385 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31386 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31387 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31388 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31389 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31390 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31391 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31392 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31393 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31394 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31395 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31396 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31397 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31398 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31399 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31400 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31401 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31402 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31403 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31404 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
31405 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31406 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31407 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31408 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31409 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31410 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31411 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31412 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31413 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31414 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31415 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31416 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31417 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31418 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
31419 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31420 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31421 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31422 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31423 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
31424 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31425 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31426 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31427 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31428 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31429 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31430 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
31431 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31432 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31433 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31434 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31435 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
31436 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31437 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31438 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31439 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31440 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31441 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31442 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31443 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
31444 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31445 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31446 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31447 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31448 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31449 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31450 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31451 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31452 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31453 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31454 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31455 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31456 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31457 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31458 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31459 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31460 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31461 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31462 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31463 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31464 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31465 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31466 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
31467 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31468 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31469 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31470 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31471 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31472 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31473 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31474 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
31475 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31476 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31477 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31478 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31479 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31480 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31481 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31482 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31483 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31484 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31485 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31486 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31487 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31488 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31489 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31490 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31491 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31492 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31493 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31494 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31495 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31496 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31497 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31498 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31499 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31500 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31501 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31502 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31503 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31504 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31505 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
31506 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31507 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31508 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31509 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31510 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31511 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31512 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31513 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31514 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31515 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31516 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31517 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31518 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31519 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31520 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31521 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31522 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31523 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31524 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31525 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31526 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31527 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31528 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31529 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31530 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31531 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31532 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31533 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31534 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31535 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31536 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31537 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31538 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31539 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31540 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31541 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31542 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31543 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31544 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31545 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31546 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31547 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31548 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31549 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31550 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31551 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31552 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31553 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31554 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31555 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31556 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31557 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31558 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31559 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31560 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31561 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
31562 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31563 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31564 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31565 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31566 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
31567 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31568 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31569 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31570 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31571 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31572 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31573 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31574 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31575 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31576 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31577 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31578 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
31579 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31580 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31581 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31582 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31583 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31584 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31585 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31586 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31587 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31588 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31589 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31590 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31591 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
31592 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31593 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31594 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31595 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31596 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31597 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31598 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31599 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31600 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31601 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31602 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31603 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
31604 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31605 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31606 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31607 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
31608 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31609 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31610 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31611 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31612 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31613 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31614 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31615 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31616 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31617 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31618 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31619 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31620 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31621 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31622 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31623 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31624 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31625 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
31626 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31627 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31628 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31629 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31630 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31631 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31632 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
31633 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31634 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31635 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31636 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31637 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31638 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31639 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31640 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31641 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31642 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31643 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31644 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31645 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31646 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31647 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31648 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31649 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31650 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31651 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31652 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31653 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31654 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31655 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31656 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31657 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31658 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
31659 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31660 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31661 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31662 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31663 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31664 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31665 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31666 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
31667 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31668 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31669 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31670 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31671 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31672 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31673 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31674 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31675 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31676 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31677 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31678 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31679 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31680 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31681 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31682 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31683 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31684 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31685 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31686 { (char *)"BookCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31687 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
, NULL
},
31688 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31689 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31690 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31691 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31692 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31693 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
, NULL
},
31694 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31695 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31696 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31697 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31698 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31699 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31700 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31701 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31702 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31703 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
31704 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31705 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
31706 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31707 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31708 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31709 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31710 { (char *)"Listbook_GetListView", (PyCFunction
) _wrap_Listbook_GetListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31711 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
31712 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31713 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
31714 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31715 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31716 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31717 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31718 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
, NULL
},
31719 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31720 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31721 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31722 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31723 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
, NULL
},
31724 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31725 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31726 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31727 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31728 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31729 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31730 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31731 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31732 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31733 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31734 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31735 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31736 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31737 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31738 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31739 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31740 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31741 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31742 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31743 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31744 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31745 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31746 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31747 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31748 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31749 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31750 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31751 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31752 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31753 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
31754 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31755 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31756 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31757 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31758 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31759 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31760 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31761 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31762 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31763 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31764 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31765 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31766 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31767 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31768 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31769 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31770 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31771 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31772 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31773 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31774 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31775 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31776 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31777 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31778 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31779 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31780 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31781 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31782 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31783 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31784 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31785 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31786 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31787 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31788 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31789 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31790 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31791 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31792 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31793 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31794 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31795 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31796 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31797 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31798 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
31799 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31800 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31801 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31802 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31803 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31804 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
31805 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31806 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31807 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31808 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31809 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31810 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31811 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31812 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31813 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31814 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31815 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31816 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
31817 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31818 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31819 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31820 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31821 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31822 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31823 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31824 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31825 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31826 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31827 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31828 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31829 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31830 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31831 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31832 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31833 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31834 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31835 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31836 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31837 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31838 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31839 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31840 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31841 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31842 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31843 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31844 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31845 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31846 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31847 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31848 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31849 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31850 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31851 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31852 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31853 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31854 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31855 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31856 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31857 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31858 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31859 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31860 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31861 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31862 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31863 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31864 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31865 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31866 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31867 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31868 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
31869 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31870 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31871 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31872 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31873 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31874 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31875 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31876 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31877 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31878 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31879 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31880 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31881 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31882 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31883 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31884 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31885 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31886 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31887 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31888 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31889 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31890 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31891 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31892 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31893 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31894 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31895 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
31896 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31897 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31898 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31899 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31900 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31901 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31902 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31903 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31904 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31905 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31906 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31907 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31908 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31909 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31910 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31911 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31912 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31913 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31914 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31915 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31916 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31917 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31918 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31919 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31920 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31921 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31922 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31923 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31924 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31925 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31926 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31927 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31928 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31929 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31930 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31931 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31932 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31933 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31934 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31935 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31936 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31937 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31938 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31939 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31940 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31941 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31942 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31943 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31944 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31945 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31946 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31947 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31948 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31949 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31950 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31951 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31952 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31953 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31954 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31955 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31956 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31957 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31958 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31959 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31960 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31961 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31962 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31963 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31964 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31965 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31966 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
31967 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31968 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31969 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31970 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31971 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31972 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31973 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31974 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31975 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31976 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31977 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31978 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
31979 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31980 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31981 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31982 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31983 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31984 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31985 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31986 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
31987 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31988 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31989 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31990 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31991 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31992 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31993 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
31994 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31995 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31996 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31997 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31998 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31999 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32000 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32001 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32002 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32003 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32004 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32005 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32006 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32007 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32008 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32009 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
32010 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32011 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32012 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32013 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32014 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32015 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32016 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32017 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32018 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32019 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32020 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32021 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32022 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32023 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32024 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32025 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32026 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32027 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32028 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32029 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32030 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32031 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32032 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32033 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32034 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32035 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32036 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32037 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32038 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32039 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32040 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32041 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32042 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32043 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32044 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32045 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32046 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32047 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32048 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32049 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32050 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32051 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32052 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32053 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32054 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32055 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32056 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32057 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32058 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32059 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32060 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32061 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32062 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32063 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32064 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32065 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32066 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32067 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32068 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32069 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32070 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32071 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32072 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32073 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32074 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32075 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32076 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32077 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32078 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32079 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32080 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32081 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32082 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32083 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32084 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
32085 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32086 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32087 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32088 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32089 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32090 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32091 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32092 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32093 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32094 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32095 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32096 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32097 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32098 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32099 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32100 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32101 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32102 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32103 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32104 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32105 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32106 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
32107 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32108 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32109 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32110 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32111 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
32112 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32113 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32114 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32115 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32116 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32117 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32118 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32119 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32120 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32121 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32122 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32123 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32124 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32125 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32126 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32127 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32128 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32129 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32130 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32131 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32132 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32133 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32134 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32135 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32136 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32137 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
32138 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32139 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32140 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32141 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32142 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32143 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32144 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32145 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
32146 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32147 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32148 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32149 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32150 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
32151 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32152 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
32153 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32154 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32155 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32156 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32157 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32158 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32159 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32160 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32161 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
32162 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32163 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
32164 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32165 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32166 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32167 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32168 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32169 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32170 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32171 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32172 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32173 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32174 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32175 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32176 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32177 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32178 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32179 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32180 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32181 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
32182 { NULL
, NULL
, 0, NULL
}
32186 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32188 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
32189 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32191 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
32192 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32194 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
32195 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
32197 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
32198 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32200 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
32201 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32203 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
32204 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
32206 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
32207 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32209 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
32210 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
32212 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
32213 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
32215 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
32216 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
32218 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32219 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32221 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32222 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32224 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32225 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32227 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32228 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32230 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32231 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32233 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
32234 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32236 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32237 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32239 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32240 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32242 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32243 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32245 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
32246 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32248 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
32249 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32251 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32252 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32254 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32255 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32257 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
32258 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
32260 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
32261 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32263 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
32264 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32266 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
32267 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
32269 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32270 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32272 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32273 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32275 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32276 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32278 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32279 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32281 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32282 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32284 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32285 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32287 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32288 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32290 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32291 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32293 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32294 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32296 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32297 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32299 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32300 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32302 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32303 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32305 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32306 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32308 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32309 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32311 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32312 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32314 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32315 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32317 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32318 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32320 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32321 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32323 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32324 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32326 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32327 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32329 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32330 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32332 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32333 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32335 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32336 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32338 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32339 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32341 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32342 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32344 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
32345 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32347 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
32348 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
32350 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
32351 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32353 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
32354 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32356 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
32357 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
32359 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
32360 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32362 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
32363 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32365 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
32366 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
32368 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
32369 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32371 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
32372 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32374 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
32375 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32377 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
32378 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
32380 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
32381 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
32383 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
32384 return (void *)((wxControl
*) ((wxComboBox
*) x
));
32386 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
32387 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
32389 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
32390 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
32392 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
32393 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
32395 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
32396 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
32398 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
32399 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32401 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
32402 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
32404 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
32405 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
32407 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
32408 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
32410 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
32411 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
32413 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
32414 return (void *)((wxControl
*) ((wxGauge
*) x
));
32416 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
32417 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
32419 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
32420 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
32422 static void *_p_wxButtonTo_p_wxControl(void *x
) {
32423 return (void *)((wxControl
*) ((wxButton
*) x
));
32425 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
32426 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
32428 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
32429 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32431 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
32432 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
32434 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
32435 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
32437 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
32438 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
32440 static void *_p_wxListbookTo_p_wxControl(void *x
) {
32441 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
32443 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
32444 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
32446 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
32447 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
32449 static void *_p_wxListViewTo_p_wxControl(void *x
) {
32450 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
32452 static void *_p_wxSliderTo_p_wxControl(void *x
) {
32453 return (void *)((wxControl
*) ((wxSlider
*) x
));
32455 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
32456 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
32458 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
32459 return (void *)((wxControl
*) ((wxPyControl
*) x
));
32461 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
32462 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
32464 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
32465 return (void *)((wxControl
*) ((wxStaticText
*) x
));
32467 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
32468 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
32470 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
32471 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32473 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
32474 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32476 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
32477 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32479 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
32480 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
32482 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
32483 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32485 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
32486 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32488 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
32489 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32491 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
32492 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
32494 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32495 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32497 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32498 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32500 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32501 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32503 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
32504 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32506 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32507 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32509 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
32510 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
32512 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
32513 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
32515 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32516 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32518 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32519 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32521 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
32522 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
32524 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
32525 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
32527 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
32528 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
32530 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
32531 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32533 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
32534 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
32536 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32537 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32539 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
32540 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
32542 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
32543 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
32545 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32546 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32548 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
32549 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
32551 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
32552 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
32554 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
32555 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32557 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
32558 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32560 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
32561 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32563 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
32564 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
32566 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
32567 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32569 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
32570 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32572 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
32573 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32575 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
32576 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32578 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
32579 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
32581 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
32582 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32584 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
32585 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
32587 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
32588 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
32590 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
32591 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
32593 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
32594 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
32596 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
32597 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
32599 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
32600 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
32602 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
32603 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32605 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
32606 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32608 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
32609 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
32611 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
32612 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
32614 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
32615 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
32617 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
32618 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
32620 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
32621 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
32623 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
32624 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32626 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
32627 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32629 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
32630 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
32632 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32633 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32635 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32636 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32638 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32639 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32641 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32642 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32644 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32645 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32647 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
32648 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32650 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
32651 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32653 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32654 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32656 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32657 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32659 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32660 return (void *)((wxObject
*) ((wxSizer
*) x
));
32662 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32663 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32665 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
32666 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32668 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
32669 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32671 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32672 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32674 static void *_p_wxEventTo_p_wxObject(void *x
) {
32675 return (void *)((wxObject
*) ((wxEvent
*) x
));
32677 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32678 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32680 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32681 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32683 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32684 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32686 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
32687 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
32689 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
32690 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
32692 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
32693 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32695 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32696 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32698 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32699 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32701 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32702 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32704 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32705 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32707 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32708 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32710 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32711 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32713 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
32714 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
32716 static void *_p_wxControlTo_p_wxObject(void *x
) {
32717 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32719 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
32720 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
32722 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
32723 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
32725 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
32726 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
32728 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
32729 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
32731 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
32732 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
32734 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32735 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32737 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
32738 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32740 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32741 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32743 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32744 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32746 static void *_p_wxListViewTo_p_wxObject(void *x
) {
32747 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32749 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
32750 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
32752 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
32753 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32755 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32756 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32758 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32759 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32761 static void *_p_wxListbookTo_p_wxObject(void *x
) {
32762 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32764 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32765 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32767 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
32768 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
32770 static void *_p_wxSliderTo_p_wxObject(void *x
) {
32771 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
32773 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32774 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32776 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32777 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32779 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32780 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32782 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32783 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32785 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32786 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32788 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32789 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32791 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32792 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32794 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32795 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32797 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32798 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32800 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
32801 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
32803 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
32804 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
32806 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32807 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32809 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32810 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32812 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32813 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32815 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32816 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32818 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32819 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32821 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32822 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32824 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32825 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32827 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32828 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32830 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32831 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32833 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32834 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32836 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32837 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32839 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32840 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32842 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32843 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32845 static void *_p_wxListEventTo_p_wxObject(void *x
) {
32846 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
32848 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
32849 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32851 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
32852 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32854 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
32855 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
32857 static void *_p_wxButtonTo_p_wxObject(void *x
) {
32858 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
32860 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
32861 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32863 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
32864 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
32866 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
32867 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32869 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32870 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32872 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
32873 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
32875 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
32876 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
32878 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
32879 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
32881 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
32882 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
32884 static void *_p_wxListItemTo_p_wxObject(void *x
) {
32885 return (void *)((wxObject
*) ((wxListItem
*) x
));
32887 static void *_p_wxImageTo_p_wxObject(void *x
) {
32888 return (void *)((wxObject
*) ((wxImage
*) x
));
32890 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
32891 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
32893 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32894 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32896 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
32897 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32899 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
32900 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
32902 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
32903 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
32905 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
32906 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32908 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
32909 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32911 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32912 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32914 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32915 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32917 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32918 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32920 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32921 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32923 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32924 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32926 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32927 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32929 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32930 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32932 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32933 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32935 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32936 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32938 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32939 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32941 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32942 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32944 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32945 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32947 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32948 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32950 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
32951 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32953 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32954 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32956 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32957 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32959 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
32960 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
32962 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32963 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32965 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32966 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32968 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32969 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32971 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32972 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32974 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
32975 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
32977 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
32978 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32980 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32981 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32983 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32984 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32986 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
32987 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
32989 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
32990 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
32992 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32993 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32995 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
32996 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32998 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
32999 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
33001 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
33002 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
33004 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
33005 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
33007 static void *_p_wxControlTo_p_wxWindow(void *x
) {
33008 return (void *)((wxWindow
*) ((wxControl
*) x
));
33010 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
33011 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
33013 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
33014 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33016 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
33017 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
33019 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
33020 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
33022 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
33023 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
33025 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
33026 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
33028 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
33029 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
33031 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
33032 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
33034 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
33035 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
33037 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
33038 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
33040 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
33041 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
33043 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
33044 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
33046 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
33047 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
33049 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
33050 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
33052 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
33053 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
33055 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
33056 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
33058 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
33059 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
33061 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
33062 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
33064 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
33065 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
33067 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
33068 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
33070 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
33071 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
33073 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
33074 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
33076 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
33077 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
33079 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
33080 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
33082 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
33083 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
33085 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
33086 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
33088 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
33089 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
33091 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
33092 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
33094 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
33095 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33097 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
33098 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
33100 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
33101 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
33103 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
33104 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
33106 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
33107 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33109 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
33110 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33112 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
33113 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33115 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
33116 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
33118 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
33119 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
33121 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
33122 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
33124 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
33125 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33127 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
33128 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
33130 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
33131 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
33133 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
33134 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
33136 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
33137 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33139 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
33140 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33142 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
33143 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33145 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
33146 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
33148 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
33149 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
33151 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
33152 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
33154 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
33155 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
33157 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}};
33158 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}};
33159 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}};
33160 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}};
33161 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}};
33162 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}};
33163 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}};
33164 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}};
33165 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}};
33166 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}};
33167 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}};
33168 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}};
33169 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}};
33170 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}};
33171 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}};
33172 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}};
33173 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}};
33174 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}};
33175 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}};
33176 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}};
33177 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}};
33178 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}};
33179 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}};
33180 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}};
33181 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}};
33182 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}};
33183 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}};
33184 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}};
33185 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}};
33186 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}};
33187 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}};
33188 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}};
33189 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}};
33190 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}};
33191 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}};
33192 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}};
33193 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}};
33194 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}};
33195 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}};
33196 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}};
33197 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}};
33198 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}};
33199 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}};
33200 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}};
33201 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}};
33202 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}};
33203 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}};
33204 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}};
33205 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}};
33206 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}};
33207 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}};
33208 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}};
33209 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}};
33210 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}};
33211 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}};
33212 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}};
33213 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}};
33214 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}};
33215 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}};
33216 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}};
33217 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}};
33218 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}};
33219 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}};
33220 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}};
33221 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}};
33222 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}};
33223 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}};
33224 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}};
33225 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}};
33226 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}};
33227 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}};
33228 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}};
33229 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}};
33230 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}};
33231 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}};
33232 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}};
33233 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}};
33234 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}};
33235 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}};
33236 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}};
33237 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}};
33238 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}};
33239 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}};
33240 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}};
33241 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}};
33243 static swig_type_info
*swig_types_initial
[] = {
33244 _swigt__p_wxTextUrlEvent
,
33245 _swigt__p_wxBookCtrlEvent
,
33247 _swigt__p_wxCheckBox
,
33248 _swigt__p_wxPyTreeCtrl
,
33250 _swigt__p_wxGenericDirCtrl
,
33252 _swigt__p_wxPyTreeItemData
,
33253 _swigt__p_wxItemContainer
,
33254 _swigt__p_wxPyListCtrl
,
33255 _swigt__p_wxDirFilterListCtrl
,
33256 _swigt__p_wxStaticLine
,
33257 _swigt__p_wxControl
,
33258 _swigt__p_wxPyControl
,
33260 _swigt__p_wxToolBarBase
,
33262 _swigt__p_wxToggleButton
,
33263 _swigt__p_wxRadioButton
,
33264 _swigt__p_wxChoice
,
33265 _swigt__p_wxMemoryDC
,
33266 _swigt__p_wxListItemAttr
,
33271 _swigt__p_wxListView
,
33273 _swigt__p_wxVisualAttributes
,
33274 _swigt__p_wxTextCtrl
,
33275 _swigt__p_wxNotebook
,
33276 _swigt__p_wxNotifyEvent
,
33277 _swigt__p_wxArrayString
,
33278 _swigt__p_wxListbook
,
33279 _swigt__p_wxStaticBitmap
,
33280 _swigt__p_wxSlider
,
33281 _swigt__p_wxStaticBox
,
33282 _swigt__p_wxArrayInt
,
33283 _swigt__p_wxContextHelp
,
33285 _swigt__p_wxEvtHandler
,
33286 _swigt__p_wxListEvent
,
33287 _swigt__p_wxCheckListBox
,
33288 _swigt__p_wxListBox
,
33289 _swigt__p_wxBookCtrl
,
33290 _swigt__p_wxSpinButton
,
33291 _swigt__p_wxButton
,
33292 _swigt__p_wxBitmapButton
,
33294 _swigt__p_wxContextHelpButton
,
33295 _swigt__p_wxRadioBox
,
33296 _swigt__p_wxScrollBar
,
33298 _swigt__p_wxTreeItemId
,
33299 _swigt__p_wxComboBox
,
33300 _swigt__p_wxHelpEvent
,
33301 _swigt__p_wxListItem
,
33302 _swigt__p_wxNotebookSizer
,
33303 _swigt__p_wxSpinEvent
,
33304 _swigt__p_wxGenericDragImage
,
33305 _swigt__p_wxSpinCtrl
,
33306 _swigt__p_wxImageList
,
33307 _swigt__p_wxHelpProvider
,
33308 _swigt__p_wxTextAttr
,
33309 _swigt__p_wxSimpleHelpProvider
,
33311 _swigt__p_wxListbookEvent
,
33312 _swigt__p_wxNotebookEvent
,
33313 _swigt__p_wxObject
,
33314 _swigt__p_wxCursor
,
33315 _swigt__p_wxKeyEvent
,
33316 _swigt__p_wxWindow
,
33317 _swigt__p_wxString
,
33318 _swigt__p_wxBitmap
,
33319 _swigt__p_wxTreeEvent
,
33320 _swigt__p_wxMouseEvent
,
33321 _swigt__p_wxCommandEvent
,
33322 _swigt__p_wxStaticText
,
33323 _swigt__p_wxControlWithItems
,
33324 _swigt__p_wxToolBarToolBase
,
33325 _swigt__p_wxColour
,
33326 _swigt__p_wxToolBar
,
33327 _swigt__p_wxBookCtrlSizer
,
33328 _swigt__p_wxValidator
,
33333 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33335 static swig_const_info swig_const_table
[] = {
33336 {0, 0, 0, 0.0, 0, 0}};
33345 SWIGEXPORT(void) SWIG_init(void) {
33346 static PyObject
*SWIG_globals
= 0;
33347 static int typeinit
= 0;
33350 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
33351 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33352 d
= PyModule_GetDict(m
);
33355 for (i
= 0; swig_types_initial
[i
]; i
++) {
33356 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
33360 SWIG_InstallConstants(d
,swig_const_table
);
33362 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
33363 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
33364 PyDict_SetItemString(d
,"BU_LEFT", SWIG_From_int((int)wxBU_LEFT
));
33365 PyDict_SetItemString(d
,"BU_TOP", SWIG_From_int((int)wxBU_TOP
));
33366 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_From_int((int)wxBU_RIGHT
));
33367 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_From_int((int)wxBU_BOTTOM
));
33368 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_From_int((int)wxBU_EXACTFIT
));
33369 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_From_int((int)wxBU_AUTODRAW
));
33370 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
33371 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_From_int((int)wxCHK_2STATE
));
33372 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_From_int((int)wxCHK_3STATE
));
33373 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
33374 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_From_int((int)wxCHK_UNCHECKED
));
33375 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_From_int((int)wxCHK_CHECKED
));
33376 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_From_int((int)wxCHK_UNDETERMINED
));
33377 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
33378 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
33379 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
33380 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_From_int((int)wxGA_HORIZONTAL
));
33381 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_From_int((int)wxGA_VERTICAL
));
33382 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_From_int((int)wxGA_SMOOTH
));
33383 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_From_int((int)wxGA_PROGRESSBAR
));
33384 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
33385 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
33386 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
33387 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
33388 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
33389 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_From_int((int)wxTE_NO_VSCROLL
));
33390 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_From_int((int)wxTE_AUTO_SCROLL
));
33391 PyDict_SetItemString(d
,"TE_READONLY", SWIG_From_int((int)wxTE_READONLY
));
33392 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_From_int((int)wxTE_MULTILINE
));
33393 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_From_int((int)wxTE_PROCESS_TAB
));
33394 PyDict_SetItemString(d
,"TE_LEFT", SWIG_From_int((int)wxTE_LEFT
));
33395 PyDict_SetItemString(d
,"TE_CENTER", SWIG_From_int((int)wxTE_CENTER
));
33396 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_From_int((int)wxTE_RIGHT
));
33397 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_From_int((int)wxTE_CENTRE
));
33398 PyDict_SetItemString(d
,"TE_RICH", SWIG_From_int((int)wxTE_RICH
));
33399 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_From_int((int)wxTE_PROCESS_ENTER
));
33400 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_From_int((int)wxTE_PASSWORD
));
33401 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_From_int((int)wxTE_AUTO_URL
));
33402 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_From_int((int)wxTE_NOHIDESEL
));
33403 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_From_int((int)wxTE_DONTWRAP
));
33404 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_From_int((int)wxTE_LINEWRAP
));
33405 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_From_int((int)wxTE_WORDWRAP
));
33406 PyDict_SetItemString(d
,"TE_RICH2", SWIG_From_int((int)wxTE_RICH2
));
33407 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)wxTEXT_ALIGNMENT_DEFAULT
));
33408 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)wxTEXT_ALIGNMENT_LEFT
));
33409 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)wxTEXT_ALIGNMENT_CENTRE
));
33410 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)wxTEXT_ALIGNMENT_CENTER
));
33411 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)wxTEXT_ALIGNMENT_RIGHT
));
33412 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
33413 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)wxTEXT_ATTR_TEXT_COLOUR
));
33414 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
33415 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)wxTEXT_ATTR_FONT_FACE
));
33416 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)wxTEXT_ATTR_FONT_SIZE
));
33417 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)wxTEXT_ATTR_FONT_WEIGHT
));
33418 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)wxTEXT_ATTR_FONT_ITALIC
));
33419 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)wxTEXT_ATTR_FONT_UNDERLINE
));
33420 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_From_int((int)wxTEXT_ATTR_FONT
));
33421 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)wxTEXT_ATTR_ALIGNMENT
));
33422 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)wxTEXT_ATTR_LEFT_INDENT
));
33423 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)wxTEXT_ATTR_RIGHT_INDENT
));
33424 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_From_int((int)wxTEXT_ATTR_TABS
));
33425 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_From_int((int)wxTE_HT_UNKNOWN
));
33426 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_From_int((int)wxTE_HT_BEFORE
));
33427 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_From_int((int)wxTE_HT_ON_TEXT
));
33428 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_From_int((int)wxTE_HT_BELOW
));
33429 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_From_int((int)wxTE_HT_BEYOND
));
33430 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
33431 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
33432 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
33433 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
33434 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
33435 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
33436 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
33437 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_From_int((int)wxSP_HORIZONTAL
));
33438 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_From_int((int)wxSP_VERTICAL
));
33439 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_From_int((int)wxSP_ARROW_KEYS
));
33440 PyDict_SetItemString(d
,"SP_WRAP", SWIG_From_int((int)wxSP_WRAP
));
33441 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
33442 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
33443 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
33444 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
33445 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
33446 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
33447 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
33448 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_From_int((int)wxNB_FIXEDWIDTH
));
33449 PyDict_SetItemString(d
,"NB_TOP", SWIG_From_int((int)wxNB_TOP
));
33450 PyDict_SetItemString(d
,"NB_LEFT", SWIG_From_int((int)wxNB_LEFT
));
33451 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_From_int((int)wxNB_RIGHT
));
33452 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_From_int((int)wxNB_BOTTOM
));
33453 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_From_int((int)wxNB_MULTILINE
));
33454 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_From_int((int)wxNB_HITTEST_NOWHERE
));
33455 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_From_int((int)wxNB_HITTEST_ONICON
));
33456 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_From_int((int)wxNB_HITTEST_ONLABEL
));
33457 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_From_int((int)wxNB_HITTEST_ONITEM
));
33458 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
33459 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
33460 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_From_int((int)wxLB_DEFAULT
));
33461 PyDict_SetItemString(d
,"LB_TOP", SWIG_From_int((int)wxLB_TOP
));
33462 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_From_int((int)wxLB_BOTTOM
));
33463 PyDict_SetItemString(d
,"LB_LEFT", SWIG_From_int((int)wxLB_LEFT
));
33464 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_From_int((int)wxLB_RIGHT
));
33465 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_From_int((int)wxLB_ALIGN_MASK
));
33466 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
33467 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
33468 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_From_int((int)wxTOOL_STYLE_BUTTON
));
33469 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)wxTOOL_STYLE_SEPARATOR
));
33470 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_From_int((int)wxTOOL_STYLE_CONTROL
));
33471 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_From_int((int)wxTB_HORIZONTAL
));
33472 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_From_int((int)wxTB_VERTICAL
));
33473 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_From_int((int)wxTB_3DBUTTONS
));
33474 PyDict_SetItemString(d
,"TB_FLAT", SWIG_From_int((int)wxTB_FLAT
));
33475 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_From_int((int)wxTB_DOCKABLE
));
33476 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_From_int((int)wxTB_NOICONS
));
33477 PyDict_SetItemString(d
,"TB_TEXT", SWIG_From_int((int)wxTB_TEXT
));
33478 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_From_int((int)wxTB_NODIVIDER
));
33479 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_From_int((int)wxTB_NOALIGN
));
33480 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_From_int((int)wxTB_HORZ_LAYOUT
));
33481 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_From_int((int)wxTB_HORZ_TEXT
));
33482 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
33483 PyDict_SetItemString(d
,"LC_VRULES", SWIG_From_int((int)wxLC_VRULES
));
33484 PyDict_SetItemString(d
,"LC_HRULES", SWIG_From_int((int)wxLC_HRULES
));
33485 PyDict_SetItemString(d
,"LC_ICON", SWIG_From_int((int)wxLC_ICON
));
33486 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_From_int((int)wxLC_SMALL_ICON
));
33487 PyDict_SetItemString(d
,"LC_LIST", SWIG_From_int((int)wxLC_LIST
));
33488 PyDict_SetItemString(d
,"LC_REPORT", SWIG_From_int((int)wxLC_REPORT
));
33489 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_From_int((int)wxLC_ALIGN_TOP
));
33490 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_From_int((int)wxLC_ALIGN_LEFT
));
33491 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_From_int((int)wxLC_AUTOARRANGE
));
33492 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_From_int((int)wxLC_VIRTUAL
));
33493 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_From_int((int)wxLC_EDIT_LABELS
));
33494 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_From_int((int)wxLC_NO_HEADER
));
33495 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_From_int((int)wxLC_NO_SORT_HEADER
));
33496 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_From_int((int)wxLC_SINGLE_SEL
));
33497 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_From_int((int)wxLC_SORT_ASCENDING
));
33498 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_From_int((int)wxLC_SORT_DESCENDING
));
33499 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_From_int((int)wxLC_MASK_TYPE
));
33500 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_From_int((int)wxLC_MASK_ALIGN
));
33501 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_From_int((int)wxLC_MASK_SORT
));
33502 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_From_int((int)wxLIST_MASK_STATE
));
33503 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_From_int((int)wxLIST_MASK_TEXT
));
33504 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_From_int((int)wxLIST_MASK_IMAGE
));
33505 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_From_int((int)wxLIST_MASK_DATA
));
33506 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_From_int((int)wxLIST_SET_ITEM
));
33507 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_From_int((int)wxLIST_MASK_WIDTH
));
33508 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_From_int((int)wxLIST_MASK_FORMAT
));
33509 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_From_int((int)wxLIST_STATE_DONTCARE
));
33510 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_From_int((int)wxLIST_STATE_DROPHILITED
));
33511 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_From_int((int)wxLIST_STATE_FOCUSED
));
33512 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_From_int((int)wxLIST_STATE_SELECTED
));
33513 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_From_int((int)wxLIST_STATE_CUT
));
33514 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_From_int((int)wxLIST_STATE_DISABLED
));
33515 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_From_int((int)wxLIST_STATE_FILTERED
));
33516 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_From_int((int)wxLIST_STATE_INUSE
));
33517 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_From_int((int)wxLIST_STATE_PICKED
));
33518 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_From_int((int)wxLIST_STATE_SOURCE
));
33519 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_From_int((int)wxLIST_HITTEST_ABOVE
));
33520 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_From_int((int)wxLIST_HITTEST_BELOW
));
33521 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)wxLIST_HITTEST_NOWHERE
));
33522 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)wxLIST_HITTEST_ONITEMICON
));
33523 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)wxLIST_HITTEST_ONITEMLABEL
));
33524 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)wxLIST_HITTEST_ONITEMRIGHT
));
33525 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)wxLIST_HITTEST_ONITEMSTATEICON
));
33526 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)wxLIST_HITTEST_TOLEFT
));
33527 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)wxLIST_HITTEST_TORIGHT
));
33528 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_From_int((int)wxLIST_HITTEST_ONITEM
));
33529 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_From_int((int)wxLIST_NEXT_ABOVE
));
33530 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_From_int((int)wxLIST_NEXT_ALL
));
33531 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_From_int((int)wxLIST_NEXT_BELOW
));
33532 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_From_int((int)wxLIST_NEXT_LEFT
));
33533 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_From_int((int)wxLIST_NEXT_RIGHT
));
33534 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)wxLIST_ALIGN_DEFAULT
));
33535 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_From_int((int)wxLIST_ALIGN_LEFT
));
33536 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_From_int((int)wxLIST_ALIGN_TOP
));
33537 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)wxLIST_ALIGN_SNAP_TO_GRID
));
33538 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_From_int((int)wxLIST_FORMAT_LEFT
));
33539 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_From_int((int)wxLIST_FORMAT_RIGHT
));
33540 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_From_int((int)wxLIST_FORMAT_CENTRE
));
33541 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_From_int((int)wxLIST_FORMAT_CENTER
));
33542 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_From_int((int)wxLIST_AUTOSIZE
));
33543 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)wxLIST_AUTOSIZE_USEHEADER
));
33544 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_From_int((int)wxLIST_RECT_BOUNDS
));
33545 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_From_int((int)wxLIST_RECT_ICON
));
33546 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_From_int((int)wxLIST_RECT_LABEL
));
33547 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_From_int((int)wxLIST_FIND_UP
));
33548 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_From_int((int)wxLIST_FIND_DOWN
));
33549 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_From_int((int)wxLIST_FIND_LEFT
));
33550 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_From_int((int)wxLIST_FIND_RIGHT
));
33551 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
33552 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
33553 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
33554 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
33555 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
33556 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
33557 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
33558 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
33559 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
33560 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
33561 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
33562 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
33563 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
33564 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
33565 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
33566 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
33567 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
33568 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
33569 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
33570 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
33571 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
33572 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
33574 // Map renamed classes back to their common name for OOR
33575 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
33577 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
33578 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_From_int((int)wxTR_NO_BUTTONS
));
33579 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_From_int((int)wxTR_HAS_BUTTONS
));
33580 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_From_int((int)wxTR_NO_LINES
));
33581 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_From_int((int)wxTR_LINES_AT_ROOT
));
33582 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_From_int((int)wxTR_SINGLE
));
33583 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_From_int((int)wxTR_MULTIPLE
));
33584 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_From_int((int)wxTR_EXTENDED
));
33585 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
33586 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_From_int((int)wxTR_EDIT_LABELS
));
33587 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_From_int((int)wxTR_HIDE_ROOT
));
33588 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_From_int((int)wxTR_ROW_LINES
));
33589 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)wxTR_FULL_ROW_HIGHLIGHT
));
33590 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_From_int((int)wxTR_DEFAULT_STYLE
));
33591 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_From_int((int)wxTR_TWIST_BUTTONS
));
33592 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_From_int((int)wxTR_MAC_BUTTONS
));
33593 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_From_int((int)wxTR_AQUA_BUTTONS
));
33594 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_From_int((int)wxTreeItemIcon_Normal
));
33595 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_From_int((int)wxTreeItemIcon_Selected
));
33596 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_From_int((int)wxTreeItemIcon_Expanded
));
33597 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)wxTreeItemIcon_SelectedExpanded
));
33598 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_From_int((int)wxTreeItemIcon_Max
));
33599 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_From_int((int)wxTREE_HITTEST_ABOVE
));
33600 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_From_int((int)wxTREE_HITTEST_BELOW
));
33601 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)wxTREE_HITTEST_NOWHERE
));
33602 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)wxTREE_HITTEST_ONITEMBUTTON
));
33603 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)wxTREE_HITTEST_ONITEMICON
));
33604 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)wxTREE_HITTEST_ONITEMINDENT
));
33605 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)wxTREE_HITTEST_ONITEMLABEL
));
33606 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)wxTREE_HITTEST_ONITEMRIGHT
));
33607 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)wxTREE_HITTEST_ONITEMSTATEICON
));
33608 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)wxTREE_HITTEST_TOLEFT
));
33609 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)wxTREE_HITTEST_TORIGHT
));
33610 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)wxTREE_HITTEST_ONITEMUPPERPART
));
33611 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)wxTREE_HITTEST_ONITEMLOWERPART
));
33612 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_From_int((int)wxTREE_HITTEST_ONITEM
));
33613 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
33614 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
33615 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
33616 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
33617 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
33618 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
33619 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
33620 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
33621 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
33622 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
33623 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
33624 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
33625 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
33626 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
33627 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
33628 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
33629 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
33630 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
33631 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
33632 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
33634 // Map renamed classes back to their common name for OOR
33635 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
33636 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
33638 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
33639 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)wxDIRCTRL_DIR_ONLY
));
33640 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)wxDIRCTRL_SELECT_FIRST
));
33641 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)wxDIRCTRL_SHOW_FILTERS
));
33642 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)wxDIRCTRL_3D_INTERNAL
));
33643 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)wxDIRCTRL_EDIT_LABELS
));
33644 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)wxFRAME_EX_CONTEXTHELP
));
33645 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)wxDIALOG_EX_CONTEXTHELP
));
33646 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
33647 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
33649 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");