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
) {
603 if (!PyTuple_Check(target
)) {
605 target
= PyTuple_New(1);
606 PyTuple_SetItem(target
, 0, o2
);
609 PyTuple_SetItem(o3
, 0, o
);
612 target
= PySequence_Concat(o2
, o3
);
621 // See my_fragments.i
622 SWIGSTATICINLINE(int)
623 SWIG_AsVal_unsigned_SS_long(PyObject
* obj
, unsigned long* val
)
626 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
627 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
631 *val
= (unsigned long)v
;
636 SWIGSTATICINLINE(unsigned long)
637 SWIG_As_unsigned_SS_long(PyObject
* obj
)
640 if (!SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
642 this is needed to make valgrind/purify happier. the other
643 solution is throw an exception, but since this code should work
646 memset((void*)&v
, 0, sizeof(unsigned long));
652 SWIGSTATICINLINE(int)
653 SWIG_Check_unsigned_SS_long(PyObject
* obj
)
655 return SWIG_AsVal_unsigned_SS_long(obj
, (unsigned long*)0);
658 void wxTextCtrl_write(wxTextCtrl
*self
,wxString
const &text
){
659 self
->AppendText(text
);
661 wxString
wxTextCtrl_GetString(wxTextCtrl
*self
,long from
,long to
){
662 return self
->GetValue().Mid(from
, to
- from
);
664 static const wxString
wxPyScrollBarNameStr(wxScrollBarNameStr
);
665 static const wxString
wxPySPIN_BUTTON_NAME(wxSPIN_BUTTON_NAME
);
666 static const wxString
wxPySpinCtrlNameStr(_T("wxSpinCtrl"));
667 static const wxString
wxPyRadioBoxNameStr(wxRadioBoxNameStr
);
668 static const wxString
wxPyRadioButtonNameStr(wxRadioButtonNameStr
);
670 #include <wx/slider.h>
673 static const wxString
wxPySliderNameStr(wxSliderNameStr
);
674 static const wxString
wxPyToggleButtonNameStr(_T("wxToggleButton"));
677 // implement dummy items for platforms that don't have this class
679 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
681 class wxToggleButton
: public wxControl
684 wxToggleButton(wxWindow
*, wxWindowID
, const wxString
&,
685 const wxPoint
&, const wxSize
&, long,
686 const wxValidator
&, const wxString
&)
687 { wxPyRaiseNotImplemented(); }
690 { wxPyRaiseNotImplemented(); }
694 static const wxString
wxPyNOTEBOOK_NAME(wxNOTEBOOK_NAME
);
696 SWIGSTATICINLINE(PyObject
* )
697 SWIG_From_unsigned_SS_long(unsigned long value
)
699 return (value
> LONG_MAX
) ?
700 PyLong_FromUnsignedLong(value
)
701 : PyInt_FromLong(swig_numeric_cast(value
,long));
704 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
705 PyObject
*wxToolBarToolBase_GetClientData(wxToolBarToolBase
*self
){
706 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetClientData();
708 Py_INCREF(udata
->m_obj
);
715 void wxToolBarToolBase_SetClientData(wxToolBarToolBase
*self
,PyObject
*clientData
){
716 self
->SetClientData(new wxPyUserData(clientData
));
718 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
){
719 wxPyUserData
* udata
= NULL
;
720 if (clientData
&& clientData
!= Py_None
)
721 udata
= new wxPyUserData(clientData
);
722 return self
->AddTool(id
, label
, bitmap
, bmpDisabled
, kind
,
723 shortHelp
, longHelp
, udata
);
725 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
){
726 wxPyUserData
* udata
= NULL
;
727 if (clientData
&& clientData
!= Py_None
)
728 udata
= new wxPyUserData(clientData
);
729 return self
->InsertTool(pos
, id
, label
, bitmap
, bmpDisabled
, kind
,
730 shortHelp
, longHelp
, udata
);
732 PyObject
*wxToolBarBase_GetToolClientData(wxToolBarBase
*self
,int id
){
733 wxPyUserData
* udata
= (wxPyUserData
*)self
->GetToolClientData(id
);
735 Py_INCREF(udata
->m_obj
);
742 void wxToolBarBase_SetToolClientData(wxToolBarBase
*self
,int id
,PyObject
*clientData
){
743 self
->SetToolClientData(id
, new wxPyUserData(clientData
));
746 #include <wx/listctrl.h>
748 static const wxString
wxPyListCtrlNameStr(_T("wxListCtrl"));
749 void wxListItemAttr_Destroy(wxListItemAttr
*self
){ delete self
; }
750 // Python aware sorting function for wxPyListCtrl
751 static int wxCALLBACK
wxPyListCtrl_SortItems(long item1
, long item2
, long funcPtr
) {
753 PyObject
* func
= (PyObject
*)funcPtr
;
754 bool blocked
= wxPyBeginBlockThreads();
756 PyObject
* args
= Py_BuildValue("(ii)", item1
, item2
);
757 PyObject
* result
= PyEval_CallObject(func
, args
);
760 retval
= PyInt_AsLong(result
);
764 wxPyEndBlockThreads(blocked
);
768 // C++ Version of a Python aware class
769 class wxPyListCtrl
: public wxListCtrl
{
770 DECLARE_ABSTRACT_CLASS(wxPyListCtrl
);
772 wxPyListCtrl() : wxListCtrl() {}
773 wxPyListCtrl(wxWindow
* parent
, wxWindowID id
,
777 const wxValidator
& validator
,
778 const wxString
& name
) :
779 wxListCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
781 bool Create(wxWindow
* parent
, wxWindowID id
,
785 const wxValidator
& validator
,
786 const wxString
& name
) {
787 return wxListCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
790 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText
);
791 DEC_PYCALLBACK_INT_LONG(OnGetItemImage
);
792 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr
);
797 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl
, wxListCtrl
);
799 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl
, wxListCtrl
, OnGetItemText
);
800 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemImage
);
801 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl
, wxListCtrl
, OnGetItemAttr
);
803 wxListItem
*wxPyListCtrl_GetColumn(wxPyListCtrl
*self
,int col
){
805 item
.SetMask( wxLIST_MASK_STATE
|
813 if (self
->GetColumn(col
, item
))
814 return new wxListItem(item
);
818 wxListItem
*wxPyListCtrl_GetItem(wxPyListCtrl
*self
,long itemId
,int col
){
819 wxListItem
* info
= new wxListItem
;
820 info
->m_itemId
= itemId
;
822 info
->m_mask
= 0xFFFF;
823 self
->GetItem(*info
);
826 wxPoint
wxPyListCtrl_GetItemPosition(wxPyListCtrl
*self
,long item
){
828 self
->GetItemPosition(item
, pos
);
831 wxRect
wxPyListCtrl_GetItemRect(wxPyListCtrl
*self
,long item
,int code
){
833 self
->GetItemRect(item
, rect
, code
);
837 bool wxPyListCtrl_SortItems(wxPyListCtrl
*self
,PyObject
*func
){
838 if (!PyCallable_Check(func
))
840 return self
->SortItems((wxListCtrlCompare
)wxPyListCtrl_SortItems
, (long)func
);
842 wxWindow
*wxPyListCtrl_GetMainWindow(wxPyListCtrl
*self
){
846 return (wxWindow
*)self
->m_mainWin
;
850 #include <wx/treectrl.h>
851 #include "wx/wxPython/pytree.h"
853 static const wxString
wxPyTreeCtrlNameStr(_T("wxTreeCtrl"));
854 bool wxTreeItemId___eq__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
== *other
) : False
; }
855 bool wxTreeItemId___ne__(wxTreeItemId
*self
,wxTreeItemId
const *other
){ return other
? (*self
!= *other
) : True
; }
856 void wxPyTreeItemData_Destroy(wxPyTreeItemData
*self
){ delete self
; }
857 // C++ version of Python aware wxTreeCtrl
858 class wxPyTreeCtrl
: public wxTreeCtrl
{
859 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl
);
861 wxPyTreeCtrl() : wxTreeCtrl() {}
862 wxPyTreeCtrl(wxWindow
*parent
, wxWindowID id
,
866 const wxValidator
& validator
,
867 const wxString
& name
) :
868 wxTreeCtrl(parent
, id
, pos
, size
, style
, validator
, name
) {}
870 bool Create(wxWindow
*parent
, wxWindowID id
,
874 const wxValidator
& validator
,
875 const wxString
& name
) {
876 return wxTreeCtrl::Create(parent
, id
, pos
, size
, style
, validator
, name
);
880 int OnCompareItems(const wxTreeItemId
& item1
,
881 const wxTreeItemId
& item2
) {
884 bool blocked
= wxPyBeginBlockThreads();
885 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnCompareItems"))) {
886 PyObject
*o1
= wxPyConstructObject((void*)&item1
, wxT("wxTreeItemId"), False
);
887 PyObject
*o2
= wxPyConstructObject((void*)&item2
, wxT("wxTreeItemId"), False
);
888 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(OO)",o1
,o2
));
892 wxPyEndBlockThreads(blocked
);
894 rval
= wxTreeCtrl::OnCompareItems(item1
, item2
);
900 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl
, wxTreeCtrl
);
904 #if UINT_MAX < LONG_MAX
905 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
906 #define SWIG_From_unsigned_SS_int SWIG_From_long
909 /*@/opt/swig/share/swig/1.3.22/python/pymacros.swg,63,SWIG_define@*/
910 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
915 SWIGSTATICINLINE(int)
916 SWIG_CheckUnsignedLongInRange(unsigned long value
,
917 unsigned long max_value
,
920 if (value
> max_value
) {
922 PyErr_Format(PyExc_OverflowError
,
923 "value %ld is greater than '%s' minimum %ld",
924 value
, errmsg
, max_value
);
932 #if UINT_MAX != ULONG_MAX
933 SWIGSTATICINLINE(int)
934 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
936 const char* errmsg
= val
? "unsigned int" : 0;
938 if (SWIG_AsVal_unsigned_SS_long(obj
, &v
)) {
939 if (SWIG_CheckUnsignedLongInRange(v
, INT_MAX
, errmsg
)) {
940 if (val
) *val
= swig_numeric_cast(v
, unsigned int);
947 PyErr_SetString(PyExc_TypeError
, "an unsigned int is expected");
952 SWIGSTATICINLINE(unsigned int)
953 SWIG_AsVal_unsigned_SS_int(PyObject
*obj
, unsigned int *val
)
955 return SWIG_AsVal_unsigned_SS_long(obj
,(unsigned long *)val
);
960 SWIGSTATICINLINE(unsigned int)
961 SWIG_As_unsigned_SS_int(PyObject
* obj
)
964 if (!SWIG_AsVal_unsigned_SS_int(obj
, &v
)) {
966 this is needed to make valgrind/purify happier. the other
967 solution is throw an exception, but since this code should work
970 memset((void*)&v
, 0, sizeof(unsigned int));
976 SWIGSTATICINLINE(int)
977 SWIG_Check_unsigned_SS_int(PyObject
* obj
)
979 return SWIG_AsVal_unsigned_SS_int(obj
, (unsigned int*)0);
982 wxPyTreeItemData
*wxPyTreeCtrl_GetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
983 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
985 data
= new wxPyTreeItemData();
986 data
->SetId(item
); // set the id
987 self
->SetItemData(item
, data
);
991 PyObject
*wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
992 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
994 data
= new wxPyTreeItemData();
995 data
->SetId(item
); // set the id
996 self
->SetItemData(item
, data
);
998 return data
->GetData();
1000 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,wxPyTreeItemData
*data
){
1001 data
->SetId(item
); // set the id
1002 self
->SetItemData(item
, data
);
1004 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,PyObject
*obj
){
1005 wxPyTreeItemData
* data
= (wxPyTreeItemData
*)self
->GetItemData(item
);
1007 data
= new wxPyTreeItemData(obj
);
1008 data
->SetId(item
); // set the id
1009 self
->SetItemData(item
, data
);
1013 PyObject
*wxPyTreeCtrl_GetSelections(wxPyTreeCtrl
*self
){
1014 bool blocked
= wxPyBeginBlockThreads();
1015 PyObject
* rval
= PyList_New(0);
1016 wxArrayTreeItemIds array
;
1018 num
= self
->GetSelections(array
);
1019 for (x
=0; x
< num
; x
++) {
1020 wxTreeItemId
*tii
= new wxTreeItemId(array
.Item(x
));
1021 PyObject
* item
= wxPyConstructObject((void*)tii
, wxT("wxTreeItemId"), True
);
1022 PyList_Append(rval
, item
);
1025 wxPyEndBlockThreads(blocked
);
1028 PyObject
*wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
){
1030 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetFirstChild(item
, cookie
));
1031 bool blocked
= wxPyBeginBlockThreads();
1032 PyObject
* tup
= PyTuple_New(2);
1033 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
1034 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
1035 wxPyEndBlockThreads(blocked
);
1038 PyObject
*wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,void *cookie
){
1039 wxTreeItemId
* ritem
= new wxTreeItemId(self
->GetNextChild(item
, cookie
));
1040 bool blocked
= wxPyBeginBlockThreads();
1041 PyObject
* tup
= PyTuple_New(2);
1042 PyTuple_SET_ITEM(tup
, 0, wxPyConstructObject(ritem
, wxT("wxTreeItemId"), True
));
1043 PyTuple_SET_ITEM(tup
, 1, wxPyMakeSwigPtr(cookie
, wxT("void")));
1044 wxPyEndBlockThreads(blocked
);
1047 PyObject
*wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl
*self
,wxTreeItemId
const &item
,bool textOnly
){
1049 if (self
->GetBoundingRect(item
, rect
, textOnly
)) {
1050 bool blocked
= wxPyBeginBlockThreads();
1051 wxRect
* r
= new wxRect(rect
);
1052 PyObject
* val
= wxPyConstructObject((void*)r
, wxT("wxRect"), True
);
1053 wxPyEndBlockThreads(blocked
);
1059 static const wxString
wxPyDirDialogDefaultFolderStr(wxDirDialogDefaultFolderStr
);
1061 SWIGSTATICINLINE(PyObject
*)
1062 SWIG_From_bool(bool value
)
1064 PyObject
*obj
= value
? Py_True
: Py_False
;
1070 // C++ version of Python aware wxControl
1071 class wxPyControl
: public wxControl
1073 DECLARE_DYNAMIC_CLASS(wxPyControl
)
1075 wxPyControl() : wxControl() {}
1076 wxPyControl(wxWindow
* parent
, const wxWindowID id
,
1077 const wxPoint
& pos
= wxDefaultPosition
,
1078 const wxSize
& size
= wxDefaultSize
,
1080 const wxValidator
& validator
=wxDefaultValidator
,
1081 const wxString
& name
= wxPyControlNameStr
)
1082 : wxControl(parent
, id
, pos
, size
, style
, validator
, name
) {}
1084 void SetBestSize(const wxSize
& size
) { wxControl::SetBestSize(size
); }
1086 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
1087 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
1088 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
1089 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
1091 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
1092 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
1093 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
1095 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
1096 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
1098 DEC_PYCALLBACK__(InitDialog
);
1099 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
1100 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
1101 DEC_PYCALLBACK_BOOL_(Validate
);
1103 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
1104 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
1105 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
1107 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
1108 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
1110 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
1111 DEC_PYCALLBACK__COLOUR(ApplyParentThemeBackground
);
1112 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
1117 IMPLEMENT_DYNAMIC_CLASS(wxPyControl
, wxControl
);
1119 IMP_PYCALLBACK_VOID_INT4(wxPyControl
, wxControl
, DoMoveWindow
);
1120 IMP_PYCALLBACK_VOID_INT5(wxPyControl
, wxControl
, DoSetSize
);
1121 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetClientSize
);
1122 IMP_PYCALLBACK_VOID_INTINT(wxPyControl
, wxControl
, DoSetVirtualSize
);
1124 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetSize
);
1125 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetClientSize
);
1126 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl
, wxControl
, DoGetPosition
);
1128 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetVirtualSize
);
1129 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, DoGetBestSize
);
1131 IMP_PYCALLBACK__(wxPyControl
, wxControl
, InitDialog
);
1132 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataFromWindow
);
1133 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, TransferDataToWindow
);
1134 IMP_PYCALLBACK_BOOL_(wxPyControl
, wxControl
, Validate
);
1136 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocus
);
1137 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, AcceptsFocusFromKeyboard
);
1138 IMP_PYCALLBACK_SIZE_const(wxPyControl
, wxControl
, GetMaxSize
);
1140 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, AddChild
);
1141 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl
, wxControl
, RemoveChild
);
1143 IMP_PYCALLBACK_BOOL_const(wxPyControl
, wxControl
, ShouldInheritColours
);
1144 IMP_PYCALLBACK__COLOUR(wxPyControl
, wxControl
, ApplyParentThemeBackground
);
1145 IMP_PYCALLBACK_VIZATTR_(wxPyControl
, wxControl
, GetDefaultAttributes
);
1149 void wxHelpProvider_Destroy(wxHelpProvider
*self
){ delete self
; }
1151 #include <wx/generic/dragimgg.h>
1156 static int _wrap_ButtonNameStr_set(PyObject
*) {
1157 PyErr_SetString(PyExc_TypeError
,"Variable ButtonNameStr is read-only.");
1162 static PyObject
*_wrap_ButtonNameStr_get() {
1167 pyobj
= PyUnicode_FromWideChar((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1169 pyobj
= PyString_FromStringAndSize((&wxPyButtonNameStr
)->c_str(), (&wxPyButtonNameStr
)->Len());
1176 static PyObject
*_wrap_new_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1177 PyObject
*resultobj
;
1178 wxWindow
*arg1
= (wxWindow
*) 0 ;
1179 int arg2
= (int) -1 ;
1180 wxString
const &arg3_defvalue
= wxPyEmptyString
;
1181 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
1182 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1183 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1184 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1185 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1186 long arg6
= (long) 0 ;
1187 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1188 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1189 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1190 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1192 bool temp3
= False
;
1195 bool temp8
= False
;
1196 PyObject
* obj0
= 0 ;
1197 PyObject
* obj1
= 0 ;
1198 PyObject
* obj2
= 0 ;
1199 PyObject
* obj3
= 0 ;
1200 PyObject
* obj4
= 0 ;
1201 PyObject
* obj5
= 0 ;
1202 PyObject
* obj6
= 0 ;
1203 PyObject
* obj7
= 0 ;
1205 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Button",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1212 arg2
= (int)SWIG_As_int(obj1
);
1213 if (PyErr_Occurred()) SWIG_fail
;
1217 arg3
= wxString_in_helper(obj2
);
1218 if (arg3
== NULL
) SWIG_fail
;
1225 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1231 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1235 arg6
= (long)SWIG_As_long(obj5
);
1236 if (PyErr_Occurred()) SWIG_fail
;
1239 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1240 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1243 PyErr_SetString(PyExc_TypeError
,"null reference");
1249 arg8
= wxString_in_helper(obj7
);
1250 if (arg8
== NULL
) SWIG_fail
;
1255 if (!wxPyCheckForApp()) SWIG_fail
;
1256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1257 result
= (wxButton
*)new wxButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1259 wxPyEndAllowThreads(__tstate
);
1260 if (PyErr_Occurred()) SWIG_fail
;
1262 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
1285 static PyObject
*_wrap_new_PreButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1286 PyObject
*resultobj
;
1292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreButton",kwnames
)) goto fail
;
1294 if (!wxPyCheckForApp()) SWIG_fail
;
1295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1296 result
= (wxButton
*)new wxButton();
1298 wxPyEndAllowThreads(__tstate
);
1299 if (PyErr_Occurred()) SWIG_fail
;
1301 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxButton
, 1);
1308 static PyObject
*_wrap_Button_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1309 PyObject
*resultobj
;
1310 wxButton
*arg1
= (wxButton
*) 0 ;
1311 wxWindow
*arg2
= (wxWindow
*) 0 ;
1312 int arg3
= (int) -1 ;
1313 wxString
const &arg4_defvalue
= wxPyEmptyString
;
1314 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
1315 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1316 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1317 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1318 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1319 long arg7
= (long) 0 ;
1320 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1321 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1322 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1323 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1325 bool temp4
= False
;
1328 bool temp9
= False
;
1329 PyObject
* obj0
= 0 ;
1330 PyObject
* obj1
= 0 ;
1331 PyObject
* obj2
= 0 ;
1332 PyObject
* obj3
= 0 ;
1333 PyObject
* obj4
= 0 ;
1334 PyObject
* obj5
= 0 ;
1335 PyObject
* obj6
= 0 ;
1336 PyObject
* obj7
= 0 ;
1337 PyObject
* obj8
= 0 ;
1339 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Button_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1345 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1348 arg3
= (int)SWIG_As_int(obj2
);
1349 if (PyErr_Occurred()) SWIG_fail
;
1353 arg4
= wxString_in_helper(obj3
);
1354 if (arg4
== NULL
) SWIG_fail
;
1361 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1367 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1371 arg7
= (long)SWIG_As_long(obj6
);
1372 if (PyErr_Occurred()) SWIG_fail
;
1375 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1376 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1379 PyErr_SetString(PyExc_TypeError
,"null reference");
1385 arg9
= wxString_in_helper(obj8
);
1386 if (arg9
== NULL
) SWIG_fail
;
1391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1392 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1394 wxPyEndAllowThreads(__tstate
);
1395 if (PyErr_Occurred()) SWIG_fail
;
1398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1422 static PyObject
*_wrap_Button_SetDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1423 PyObject
*resultobj
;
1424 wxButton
*arg1
= (wxButton
*) 0 ;
1425 PyObject
* obj0
= 0 ;
1427 (char *) "self", NULL
1430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Button_SetDefault",kwnames
,&obj0
)) goto fail
;
1431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxButton
,
1432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1435 (arg1
)->SetDefault();
1437 wxPyEndAllowThreads(__tstate
);
1438 if (PyErr_Occurred()) SWIG_fail
;
1440 Py_INCREF(Py_None
); resultobj
= Py_None
;
1447 static PyObject
*_wrap_Button_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1448 PyObject
*resultobj
;
1454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Button_GetDefaultSize",kwnames
)) goto fail
;
1456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1457 result
= wxButton::GetDefaultSize();
1459 wxPyEndAllowThreads(__tstate
);
1460 if (PyErr_Occurred()) SWIG_fail
;
1464 resultptr
= new wxSize((wxSize
&) result
);
1465 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
1473 static PyObject
*_wrap_Button_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1474 PyObject
*resultobj
;
1475 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
1476 wxVisualAttributes result
;
1477 PyObject
* obj0
= 0 ;
1479 (char *) "variant", NULL
1482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Button_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
1484 arg1
= (int)SWIG_As_int(obj0
);
1485 if (PyErr_Occurred()) SWIG_fail
;
1488 if (!wxPyCheckForApp()) SWIG_fail
;
1489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1490 result
= wxButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
1492 wxPyEndAllowThreads(__tstate
);
1493 if (PyErr_Occurred()) SWIG_fail
;
1496 wxVisualAttributes
* resultptr
;
1497 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
1498 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
1506 static PyObject
* Button_swigregister(PyObject
*, PyObject
*args
) {
1508 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1509 SWIG_TypeClientData(SWIGTYPE_p_wxButton
, obj
);
1511 return Py_BuildValue((char *)"");
1513 static PyObject
*_wrap_new_BitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1514 PyObject
*resultobj
;
1515 wxWindow
*arg1
= (wxWindow
*) 0 ;
1516 int arg2
= (int) -1 ;
1517 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
1518 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
1519 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
1520 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
1521 wxSize
const &arg5_defvalue
= wxDefaultSize
;
1522 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
1523 long arg6
= (long) wxBU_AUTODRAW
;
1524 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
1525 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
1526 wxString
const &arg8_defvalue
= wxPyButtonNameStr
;
1527 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
1528 wxBitmapButton
*result
;
1531 bool temp8
= False
;
1532 PyObject
* obj0
= 0 ;
1533 PyObject
* obj1
= 0 ;
1534 PyObject
* obj2
= 0 ;
1535 PyObject
* obj3
= 0 ;
1536 PyObject
* obj4
= 0 ;
1537 PyObject
* obj5
= 0 ;
1538 PyObject
* obj6
= 0 ;
1539 PyObject
* obj7
= 0 ;
1541 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_BitmapButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
1545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
1546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1548 arg2
= (int)SWIG_As_int(obj1
);
1549 if (PyErr_Occurred()) SWIG_fail
;
1552 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
1553 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1556 PyErr_SetString(PyExc_TypeError
,"null reference");
1563 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
1569 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
1573 arg6
= (long)SWIG_As_long(obj5
);
1574 if (PyErr_Occurred()) SWIG_fail
;
1577 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
1578 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1581 PyErr_SetString(PyExc_TypeError
,"null reference");
1587 arg8
= wxString_in_helper(obj7
);
1588 if (arg8
== NULL
) SWIG_fail
;
1593 if (!wxPyCheckForApp()) SWIG_fail
;
1594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1595 result
= (wxBitmapButton
*)new wxBitmapButton(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
1597 wxPyEndAllowThreads(__tstate
);
1598 if (PyErr_Occurred()) SWIG_fail
;
1600 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
1615 static PyObject
*_wrap_new_PreBitmapButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1616 PyObject
*resultobj
;
1617 wxBitmapButton
*result
;
1622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreBitmapButton",kwnames
)) goto fail
;
1624 if (!wxPyCheckForApp()) SWIG_fail
;
1625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1626 result
= (wxBitmapButton
*)new wxBitmapButton();
1628 wxPyEndAllowThreads(__tstate
);
1629 if (PyErr_Occurred()) SWIG_fail
;
1631 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapButton
, 1);
1638 static PyObject
*_wrap_BitmapButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1639 PyObject
*resultobj
;
1640 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1641 wxWindow
*arg2
= (wxWindow
*) 0 ;
1642 int arg3
= (int) -1 ;
1643 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
1644 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
1645 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
1646 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
1647 wxSize
const &arg6_defvalue
= wxDefaultSize
;
1648 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
1649 long arg7
= (long) wxBU_AUTODRAW
;
1650 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
1651 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
1652 wxString
const &arg9_defvalue
= wxPyButtonNameStr
;
1653 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
1657 bool temp9
= False
;
1658 PyObject
* obj0
= 0 ;
1659 PyObject
* obj1
= 0 ;
1660 PyObject
* obj2
= 0 ;
1661 PyObject
* obj3
= 0 ;
1662 PyObject
* obj4
= 0 ;
1663 PyObject
* obj5
= 0 ;
1664 PyObject
* obj6
= 0 ;
1665 PyObject
* obj7
= 0 ;
1666 PyObject
* obj8
= 0 ;
1668 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:BitmapButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
1672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1674 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
1675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1677 arg3
= (int)SWIG_As_int(obj2
);
1678 if (PyErr_Occurred()) SWIG_fail
;
1681 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
1682 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1685 PyErr_SetString(PyExc_TypeError
,"null reference");
1692 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
1698 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
1702 arg7
= (long)SWIG_As_long(obj6
);
1703 if (PyErr_Occurred()) SWIG_fail
;
1706 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
1707 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1710 PyErr_SetString(PyExc_TypeError
,"null reference");
1716 arg9
= wxString_in_helper(obj8
);
1717 if (arg9
== NULL
) SWIG_fail
;
1722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1723 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
1725 wxPyEndAllowThreads(__tstate
);
1726 if (PyErr_Occurred()) SWIG_fail
;
1729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1745 static PyObject
*_wrap_BitmapButton_GetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1746 PyObject
*resultobj
;
1747 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1749 PyObject
* obj0
= 0 ;
1751 (char *) "self", NULL
1754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapLabel",kwnames
,&obj0
)) goto fail
;
1755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1759 result
= (arg1
)->GetBitmapLabel();
1761 wxPyEndAllowThreads(__tstate
);
1762 if (PyErr_Occurred()) SWIG_fail
;
1765 wxBitmap
* resultptr
;
1766 resultptr
= new wxBitmap((wxBitmap
&) result
);
1767 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1775 static PyObject
*_wrap_BitmapButton_GetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1776 PyObject
*resultobj
;
1777 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1779 PyObject
* obj0
= 0 ;
1781 (char *) "self", NULL
1784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames
,&obj0
)) goto fail
;
1785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1789 result
= (arg1
)->GetBitmapDisabled();
1791 wxPyEndAllowThreads(__tstate
);
1792 if (PyErr_Occurred()) SWIG_fail
;
1795 wxBitmap
* resultptr
;
1796 resultptr
= new wxBitmap((wxBitmap
&) result
);
1797 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1805 static PyObject
*_wrap_BitmapButton_GetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1806 PyObject
*resultobj
;
1807 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1809 PyObject
* obj0
= 0 ;
1811 (char *) "self", NULL
1814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapFocus",kwnames
,&obj0
)) goto fail
;
1815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1819 result
= (arg1
)->GetBitmapFocus();
1821 wxPyEndAllowThreads(__tstate
);
1822 if (PyErr_Occurred()) SWIG_fail
;
1825 wxBitmap
* resultptr
;
1826 resultptr
= new wxBitmap((wxBitmap
&) result
);
1827 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1835 static PyObject
*_wrap_BitmapButton_GetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1836 PyObject
*resultobj
;
1837 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1839 PyObject
* obj0
= 0 ;
1841 (char *) "self", NULL
1844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetBitmapSelected",kwnames
,&obj0
)) goto fail
;
1845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1849 result
= (arg1
)->GetBitmapSelected();
1851 wxPyEndAllowThreads(__tstate
);
1852 if (PyErr_Occurred()) SWIG_fail
;
1855 wxBitmap
* resultptr
;
1856 resultptr
= new wxBitmap((wxBitmap
&) result
);
1857 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
1865 static PyObject
*_wrap_BitmapButton_SetBitmapDisabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1866 PyObject
*resultobj
;
1867 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1868 wxBitmap
*arg2
= 0 ;
1869 PyObject
* obj0
= 0 ;
1870 PyObject
* obj1
= 0 ;
1872 (char *) "self",(char *) "bitmap", NULL
1875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames
,&obj0
,&obj1
)) goto fail
;
1876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1878 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1879 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1882 PyErr_SetString(PyExc_TypeError
,"null reference");
1886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1887 (arg1
)->SetBitmapDisabled((wxBitmap
const &)*arg2
);
1889 wxPyEndAllowThreads(__tstate
);
1890 if (PyErr_Occurred()) SWIG_fail
;
1892 Py_INCREF(Py_None
); resultobj
= Py_None
;
1899 static PyObject
*_wrap_BitmapButton_SetBitmapFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1900 PyObject
*resultobj
;
1901 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1902 wxBitmap
*arg2
= 0 ;
1903 PyObject
* obj0
= 0 ;
1904 PyObject
* obj1
= 0 ;
1906 (char *) "self",(char *) "bitmap", NULL
1909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
1910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1912 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1913 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1916 PyErr_SetString(PyExc_TypeError
,"null reference");
1920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1921 (arg1
)->SetBitmapFocus((wxBitmap
const &)*arg2
);
1923 wxPyEndAllowThreads(__tstate
);
1924 if (PyErr_Occurred()) SWIG_fail
;
1926 Py_INCREF(Py_None
); resultobj
= Py_None
;
1933 static PyObject
*_wrap_BitmapButton_SetBitmapSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1934 PyObject
*resultobj
;
1935 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1936 wxBitmap
*arg2
= 0 ;
1937 PyObject
* obj0
= 0 ;
1938 PyObject
* obj1
= 0 ;
1940 (char *) "self",(char *) "bitmap", NULL
1943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
1944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1946 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1947 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1950 PyErr_SetString(PyExc_TypeError
,"null reference");
1954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1955 (arg1
)->SetBitmapSelected((wxBitmap
const &)*arg2
);
1957 wxPyEndAllowThreads(__tstate
);
1958 if (PyErr_Occurred()) SWIG_fail
;
1960 Py_INCREF(Py_None
); resultobj
= Py_None
;
1967 static PyObject
*_wrap_BitmapButton_SetBitmapLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1968 PyObject
*resultobj
;
1969 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
1970 wxBitmap
*arg2
= 0 ;
1971 PyObject
* obj0
= 0 ;
1972 PyObject
* obj1
= 0 ;
1974 (char *) "self",(char *) "bitmap", NULL
1977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
1978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
1979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1980 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
1981 SWIG_POINTER_EXCEPTION
| 0)) == -1)
1984 PyErr_SetString(PyExc_TypeError
,"null reference");
1988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1989 (arg1
)->SetBitmapLabel((wxBitmap
const &)*arg2
);
1991 wxPyEndAllowThreads(__tstate
);
1992 if (PyErr_Occurred()) SWIG_fail
;
1994 Py_INCREF(Py_None
); resultobj
= Py_None
;
2001 static PyObject
*_wrap_BitmapButton_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2002 PyObject
*resultobj
;
2003 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2006 PyObject
* obj0
= 0 ;
2007 PyObject
* obj1
= 0 ;
2008 PyObject
* obj2
= 0 ;
2010 (char *) "self",(char *) "x",(char *) "y", NULL
2013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BitmapButton_SetMargins",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
2015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2016 arg2
= (int)SWIG_As_int(obj1
);
2017 if (PyErr_Occurred()) SWIG_fail
;
2018 arg3
= (int)SWIG_As_int(obj2
);
2019 if (PyErr_Occurred()) SWIG_fail
;
2021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2022 (arg1
)->SetMargins(arg2
,arg3
);
2024 wxPyEndAllowThreads(__tstate
);
2025 if (PyErr_Occurred()) SWIG_fail
;
2027 Py_INCREF(Py_None
); resultobj
= Py_None
;
2034 static PyObject
*_wrap_BitmapButton_GetMarginX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2035 PyObject
*resultobj
;
2036 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2038 PyObject
* obj0
= 0 ;
2040 (char *) "self", NULL
2043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginX",kwnames
,&obj0
)) goto fail
;
2044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
2045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2048 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginX();
2050 wxPyEndAllowThreads(__tstate
);
2051 if (PyErr_Occurred()) SWIG_fail
;
2053 resultobj
= SWIG_From_int((int)result
);
2060 static PyObject
*_wrap_BitmapButton_GetMarginY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2061 PyObject
*resultobj
;
2062 wxBitmapButton
*arg1
= (wxBitmapButton
*) 0 ;
2064 PyObject
* obj0
= 0 ;
2066 (char *) "self", NULL
2069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapButton_GetMarginY",kwnames
,&obj0
)) goto fail
;
2070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapButton
,
2071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2074 result
= (int)((wxBitmapButton
const *)arg1
)->GetMarginY();
2076 wxPyEndAllowThreads(__tstate
);
2077 if (PyErr_Occurred()) SWIG_fail
;
2079 resultobj
= SWIG_From_int((int)result
);
2086 static PyObject
* BitmapButton_swigregister(PyObject
*, PyObject
*args
) {
2088 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2089 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton
, obj
);
2091 return Py_BuildValue((char *)"");
2093 static int _wrap_CheckBoxNameStr_set(PyObject
*) {
2094 PyErr_SetString(PyExc_TypeError
,"Variable CheckBoxNameStr is read-only.");
2099 static PyObject
*_wrap_CheckBoxNameStr_get() {
2104 pyobj
= PyUnicode_FromWideChar((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
2106 pyobj
= PyString_FromStringAndSize((&wxPyCheckBoxNameStr
)->c_str(), (&wxPyCheckBoxNameStr
)->Len());
2113 static PyObject
*_wrap_new_CheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2114 PyObject
*resultobj
;
2115 wxWindow
*arg1
= (wxWindow
*) 0 ;
2116 int arg2
= (int) -1 ;
2117 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2118 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2119 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2120 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2121 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2122 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2123 long arg6
= (long) 0 ;
2124 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2125 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2126 wxString
const &arg8_defvalue
= wxPyCheckBoxNameStr
;
2127 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2129 bool temp3
= False
;
2132 bool temp8
= False
;
2133 PyObject
* obj0
= 0 ;
2134 PyObject
* obj1
= 0 ;
2135 PyObject
* obj2
= 0 ;
2136 PyObject
* obj3
= 0 ;
2137 PyObject
* obj4
= 0 ;
2138 PyObject
* obj5
= 0 ;
2139 PyObject
* obj6
= 0 ;
2140 PyObject
* obj7
= 0 ;
2142 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2149 arg2
= (int)SWIG_As_int(obj1
);
2150 if (PyErr_Occurred()) SWIG_fail
;
2154 arg3
= wxString_in_helper(obj2
);
2155 if (arg3
== NULL
) SWIG_fail
;
2162 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2168 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2172 arg6
= (long)SWIG_As_long(obj5
);
2173 if (PyErr_Occurred()) SWIG_fail
;
2176 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2177 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2180 PyErr_SetString(PyExc_TypeError
,"null reference");
2186 arg8
= wxString_in_helper(obj7
);
2187 if (arg8
== NULL
) SWIG_fail
;
2192 if (!wxPyCheckForApp()) SWIG_fail
;
2193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2194 result
= (wxCheckBox
*)new wxCheckBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2196 wxPyEndAllowThreads(__tstate
);
2197 if (PyErr_Occurred()) SWIG_fail
;
2199 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2222 static PyObject
*_wrap_new_PreCheckBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2223 PyObject
*resultobj
;
2229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckBox",kwnames
)) goto fail
;
2231 if (!wxPyCheckForApp()) SWIG_fail
;
2232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2233 result
= (wxCheckBox
*)new wxCheckBox();
2235 wxPyEndAllowThreads(__tstate
);
2236 if (PyErr_Occurred()) SWIG_fail
;
2238 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckBox
, 1);
2245 static PyObject
*_wrap_CheckBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2246 PyObject
*resultobj
;
2247 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2248 wxWindow
*arg2
= (wxWindow
*) 0 ;
2249 int arg3
= (int) -1 ;
2250 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2251 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2252 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
2253 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
2254 wxSize
const &arg6_defvalue
= wxDefaultSize
;
2255 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
2256 long arg7
= (long) 0 ;
2257 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2258 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2259 wxString
const &arg9_defvalue
= wxPyCheckBoxNameStr
;
2260 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2262 bool temp4
= False
;
2265 bool temp9
= False
;
2266 PyObject
* obj0
= 0 ;
2267 PyObject
* obj1
= 0 ;
2268 PyObject
* obj2
= 0 ;
2269 PyObject
* obj3
= 0 ;
2270 PyObject
* obj4
= 0 ;
2271 PyObject
* obj5
= 0 ;
2272 PyObject
* obj6
= 0 ;
2273 PyObject
* obj7
= 0 ;
2274 PyObject
* obj8
= 0 ;
2276 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
2279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2282 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2285 arg3
= (int)SWIG_As_int(obj2
);
2286 if (PyErr_Occurred()) SWIG_fail
;
2290 arg4
= wxString_in_helper(obj3
);
2291 if (arg4
== NULL
) SWIG_fail
;
2298 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
2304 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
2308 arg7
= (long)SWIG_As_long(obj6
);
2309 if (PyErr_Occurred()) SWIG_fail
;
2312 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2313 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2316 PyErr_SetString(PyExc_TypeError
,"null reference");
2322 arg9
= wxString_in_helper(obj8
);
2323 if (arg9
== NULL
) SWIG_fail
;
2328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2329 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2331 wxPyEndAllowThreads(__tstate
);
2332 if (PyErr_Occurred()) SWIG_fail
;
2335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2359 static PyObject
*_wrap_CheckBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2360 PyObject
*resultobj
;
2361 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2363 PyObject
* obj0
= 0 ;
2365 (char *) "self", NULL
2368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_GetValue",kwnames
,&obj0
)) goto fail
;
2369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2373 result
= (bool)(arg1
)->GetValue();
2375 wxPyEndAllowThreads(__tstate
);
2376 if (PyErr_Occurred()) SWIG_fail
;
2379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2387 static PyObject
*_wrap_CheckBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2388 PyObject
*resultobj
;
2389 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2391 PyObject
* obj0
= 0 ;
2393 (char *) "self", NULL
2396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_IsChecked",kwnames
,&obj0
)) goto fail
;
2397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2401 result
= (bool)(arg1
)->IsChecked();
2403 wxPyEndAllowThreads(__tstate
);
2404 if (PyErr_Occurred()) SWIG_fail
;
2407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2415 static PyObject
*_wrap_CheckBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2416 PyObject
*resultobj
;
2417 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2419 PyObject
* obj0
= 0 ;
2420 PyObject
* obj1
= 0 ;
2422 (char *) "self",(char *) "state", NULL
2425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2428 arg2
= (bool)SWIG_As_bool(obj1
);
2429 if (PyErr_Occurred()) SWIG_fail
;
2431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2432 (arg1
)->SetValue(arg2
);
2434 wxPyEndAllowThreads(__tstate
);
2435 if (PyErr_Occurred()) SWIG_fail
;
2437 Py_INCREF(Py_None
); resultobj
= Py_None
;
2444 static PyObject
*_wrap_CheckBox_Get3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2445 PyObject
*resultobj
;
2446 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2448 PyObject
* obj0
= 0 ;
2450 (char *) "self", NULL
2453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Get3StateValue",kwnames
,&obj0
)) goto fail
;
2454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2458 result
= (int)((wxCheckBox
const *)arg1
)->Get3StateValue();
2460 wxPyEndAllowThreads(__tstate
);
2461 if (PyErr_Occurred()) SWIG_fail
;
2463 resultobj
= SWIG_From_int((int)result
);
2470 static PyObject
*_wrap_CheckBox_Set3StateValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2471 PyObject
*resultobj
;
2472 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2474 PyObject
* obj0
= 0 ;
2475 PyObject
* obj1
= 0 ;
2477 (char *) "self",(char *) "state", NULL
2480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckBox_Set3StateValue",kwnames
,&obj0
,&obj1
)) goto fail
;
2481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2483 arg2
= (int)SWIG_As_int(obj1
);
2484 if (PyErr_Occurred()) SWIG_fail
;
2486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2487 (arg1
)->Set3StateValue((wxCheckBoxState
)arg2
);
2489 wxPyEndAllowThreads(__tstate
);
2490 if (PyErr_Occurred()) SWIG_fail
;
2492 Py_INCREF(Py_None
); resultobj
= Py_None
;
2499 static PyObject
*_wrap_CheckBox_Is3State(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2500 PyObject
*resultobj
;
2501 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2503 PyObject
* obj0
= 0 ;
2505 (char *) "self", NULL
2508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3State",kwnames
,&obj0
)) goto fail
;
2509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2513 result
= (bool)((wxCheckBox
const *)arg1
)->Is3State();
2515 wxPyEndAllowThreads(__tstate
);
2516 if (PyErr_Occurred()) SWIG_fail
;
2519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2527 static PyObject
*_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2528 PyObject
*resultobj
;
2529 wxCheckBox
*arg1
= (wxCheckBox
*) 0 ;
2531 PyObject
* obj0
= 0 ;
2533 (char *) "self", NULL
2536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames
,&obj0
)) goto fail
;
2537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckBox
,
2538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2541 result
= (bool)((wxCheckBox
const *)arg1
)->Is3rdStateAllowedForUser();
2543 wxPyEndAllowThreads(__tstate
);
2544 if (PyErr_Occurred()) SWIG_fail
;
2547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2555 static PyObject
*_wrap_CheckBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2556 PyObject
*resultobj
;
2557 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
2558 wxVisualAttributes result
;
2559 PyObject
* obj0
= 0 ;
2561 (char *) "variant", NULL
2564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:CheckBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
2566 arg1
= (int)SWIG_As_int(obj0
);
2567 if (PyErr_Occurred()) SWIG_fail
;
2570 if (!wxPyCheckForApp()) SWIG_fail
;
2571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2572 result
= wxCheckBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
2574 wxPyEndAllowThreads(__tstate
);
2575 if (PyErr_Occurred()) SWIG_fail
;
2578 wxVisualAttributes
* resultptr
;
2579 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
2580 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
2588 static PyObject
* CheckBox_swigregister(PyObject
*, PyObject
*args
) {
2590 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2591 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox
, obj
);
2593 return Py_BuildValue((char *)"");
2595 static int _wrap_ChoiceNameStr_set(PyObject
*) {
2596 PyErr_SetString(PyExc_TypeError
,"Variable ChoiceNameStr is read-only.");
2601 static PyObject
*_wrap_ChoiceNameStr_get() {
2606 pyobj
= PyUnicode_FromWideChar((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2608 pyobj
= PyString_FromStringAndSize((&wxPyChoiceNameStr
)->c_str(), (&wxPyChoiceNameStr
)->Len());
2615 static PyObject
*_wrap_new_Choice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2616 PyObject
*resultobj
;
2617 wxWindow
*arg1
= (wxWindow
*) 0 ;
2618 int arg2
= (int) -1 ;
2619 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
2620 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
2621 wxSize
const &arg4_defvalue
= wxDefaultSize
;
2622 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
2623 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
2624 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
2625 long arg6
= (long) 0 ;
2626 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
2627 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
2628 wxString
const &arg8_defvalue
= wxPyChoiceNameStr
;
2629 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
2633 bool temp5
= False
;
2634 bool temp8
= False
;
2635 PyObject
* obj0
= 0 ;
2636 PyObject
* obj1
= 0 ;
2637 PyObject
* obj2
= 0 ;
2638 PyObject
* obj3
= 0 ;
2639 PyObject
* obj4
= 0 ;
2640 PyObject
* obj5
= 0 ;
2641 PyObject
* obj6
= 0 ;
2642 PyObject
* obj7
= 0 ;
2644 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Choice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
2648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
2649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2651 arg2
= (int)SWIG_As_int(obj1
);
2652 if (PyErr_Occurred()) SWIG_fail
;
2657 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
2663 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
2668 if (! PySequence_Check(obj4
)) {
2669 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2672 arg5
= new wxArrayString
;
2674 int i
, len
=PySequence_Length(obj4
);
2675 for (i
=0; i
<len
; i
++) {
2676 PyObject
* item
= PySequence_GetItem(obj4
, i
);
2678 PyObject
* str
= PyObject_Unicode(item
);
2680 PyObject
* str
= PyObject_Str(item
);
2682 if (PyErr_Occurred()) SWIG_fail
;
2683 arg5
->Add(Py2wxString(str
));
2690 arg6
= (long)SWIG_As_long(obj5
);
2691 if (PyErr_Occurred()) SWIG_fail
;
2694 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
2695 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2698 PyErr_SetString(PyExc_TypeError
,"null reference");
2704 arg8
= wxString_in_helper(obj7
);
2705 if (arg8
== NULL
) SWIG_fail
;
2710 if (!wxPyCheckForApp()) SWIG_fail
;
2711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2712 result
= (wxChoice
*)new wxChoice(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
2714 wxPyEndAllowThreads(__tstate
);
2715 if (PyErr_Occurred()) SWIG_fail
;
2717 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2719 if (temp5
) delete arg5
;
2728 if (temp5
) delete arg5
;
2738 static PyObject
*_wrap_new_PreChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2739 PyObject
*resultobj
;
2745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreChoice",kwnames
)) goto fail
;
2747 if (!wxPyCheckForApp()) SWIG_fail
;
2748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2749 result
= (wxChoice
*)new wxChoice();
2751 wxPyEndAllowThreads(__tstate
);
2752 if (PyErr_Occurred()) SWIG_fail
;
2754 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChoice
, 1);
2761 static PyObject
*_wrap_Choice_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2762 PyObject
*resultobj
;
2763 wxChoice
*arg1
= (wxChoice
*) 0 ;
2764 wxWindow
*arg2
= (wxWindow
*) 0 ;
2765 int arg3
= (int) -1 ;
2766 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
2767 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
2768 wxSize
const &arg5_defvalue
= wxDefaultSize
;
2769 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
2770 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
2771 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
2772 long arg7
= (long) 0 ;
2773 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
2774 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
2775 wxString
const &arg9_defvalue
= wxPyChoiceNameStr
;
2776 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
2780 bool temp6
= False
;
2781 bool temp9
= False
;
2782 PyObject
* obj0
= 0 ;
2783 PyObject
* obj1
= 0 ;
2784 PyObject
* obj2
= 0 ;
2785 PyObject
* obj3
= 0 ;
2786 PyObject
* obj4
= 0 ;
2787 PyObject
* obj5
= 0 ;
2788 PyObject
* obj6
= 0 ;
2789 PyObject
* obj7
= 0 ;
2790 PyObject
* obj8
= 0 ;
2792 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Choice_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2798 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
2799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2801 arg3
= (int)SWIG_As_int(obj2
);
2802 if (PyErr_Occurred()) SWIG_fail
;
2807 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
2813 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
2818 if (! PySequence_Check(obj5
)) {
2819 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
2822 arg6
= new wxArrayString
;
2824 int i
, len
=PySequence_Length(obj5
);
2825 for (i
=0; i
<len
; i
++) {
2826 PyObject
* item
= PySequence_GetItem(obj5
, i
);
2828 PyObject
* str
= PyObject_Unicode(item
);
2830 PyObject
* str
= PyObject_Str(item
);
2832 if (PyErr_Occurred()) SWIG_fail
;
2833 arg6
->Add(Py2wxString(str
));
2840 arg7
= (long)SWIG_As_long(obj6
);
2841 if (PyErr_Occurred()) SWIG_fail
;
2844 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
2845 SWIG_POINTER_EXCEPTION
| 0)) == -1)
2848 PyErr_SetString(PyExc_TypeError
,"null reference");
2854 arg9
= wxString_in_helper(obj8
);
2855 if (arg9
== NULL
) SWIG_fail
;
2860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2861 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
2863 wxPyEndAllowThreads(__tstate
);
2864 if (PyErr_Occurred()) SWIG_fail
;
2867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2870 if (temp6
) delete arg6
;
2879 if (temp6
) delete arg6
;
2889 static PyObject
*_wrap_Choice_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2890 PyObject
*resultobj
;
2891 wxChoice
*arg1
= (wxChoice
*) 0 ;
2893 PyObject
* obj0
= 0 ;
2894 PyObject
* obj1
= 0 ;
2896 (char *) "self",(char *) "n", NULL
2899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2902 arg2
= (int)SWIG_As_int(obj1
);
2903 if (PyErr_Occurred()) SWIG_fail
;
2905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2906 (arg1
)->SetSelection(arg2
);
2908 wxPyEndAllowThreads(__tstate
);
2909 if (PyErr_Occurred()) SWIG_fail
;
2911 Py_INCREF(Py_None
); resultobj
= Py_None
;
2918 static PyObject
*_wrap_Choice_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2919 PyObject
*resultobj
;
2920 wxChoice
*arg1
= (wxChoice
*) 0 ;
2921 wxString
*arg2
= 0 ;
2923 bool temp2
= False
;
2924 PyObject
* obj0
= 0 ;
2925 PyObject
* obj1
= 0 ;
2927 (char *) "self",(char *) "string", NULL
2930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Choice_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
2931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2934 arg2
= wxString_in_helper(obj1
);
2935 if (arg2
== NULL
) SWIG_fail
;
2939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2940 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
2942 wxPyEndAllowThreads(__tstate
);
2943 if (PyErr_Occurred()) SWIG_fail
;
2946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2962 static PyObject
*_wrap_Choice_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2963 PyObject
*resultobj
;
2964 wxChoice
*arg1
= (wxChoice
*) 0 ;
2966 wxString
*arg3
= 0 ;
2967 bool temp3
= False
;
2968 PyObject
* obj0
= 0 ;
2969 PyObject
* obj1
= 0 ;
2970 PyObject
* obj2
= 0 ;
2972 (char *) "self",(char *) "n",(char *) "string", NULL
2975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Choice_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChoice
,
2977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2978 arg2
= (int)SWIG_As_int(obj1
);
2979 if (PyErr_Occurred()) SWIG_fail
;
2981 arg3
= wxString_in_helper(obj2
);
2982 if (arg3
== NULL
) SWIG_fail
;
2986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2987 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
2989 wxPyEndAllowThreads(__tstate
);
2990 if (PyErr_Occurred()) SWIG_fail
;
2992 Py_INCREF(Py_None
); resultobj
= Py_None
;
3007 static PyObject
*_wrap_Choice_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3008 PyObject
*resultobj
;
3009 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
3010 wxVisualAttributes result
;
3011 PyObject
* obj0
= 0 ;
3013 (char *) "variant", NULL
3016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Choice_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3018 arg1
= (int)SWIG_As_int(obj0
);
3019 if (PyErr_Occurred()) SWIG_fail
;
3022 if (!wxPyCheckForApp()) SWIG_fail
;
3023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3024 result
= wxChoice::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3026 wxPyEndAllowThreads(__tstate
);
3027 if (PyErr_Occurred()) SWIG_fail
;
3030 wxVisualAttributes
* resultptr
;
3031 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
3032 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3040 static PyObject
* Choice_swigregister(PyObject
*, PyObject
*args
) {
3042 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3043 SWIG_TypeClientData(SWIGTYPE_p_wxChoice
, obj
);
3045 return Py_BuildValue((char *)"");
3047 static int _wrap_ComboBoxNameStr_set(PyObject
*) {
3048 PyErr_SetString(PyExc_TypeError
,"Variable ComboBoxNameStr is read-only.");
3053 static PyObject
*_wrap_ComboBoxNameStr_get() {
3058 pyobj
= PyUnicode_FromWideChar((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
3060 pyobj
= PyString_FromStringAndSize((&wxPyComboBoxNameStr
)->c_str(), (&wxPyComboBoxNameStr
)->Len());
3067 static PyObject
*_wrap_new_ComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3068 PyObject
*resultobj
;
3069 wxWindow
*arg1
= (wxWindow
*) 0 ;
3070 int arg2
= (int) -1 ;
3071 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3072 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3073 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3074 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3075 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3076 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3077 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
3078 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
3079 long arg7
= (long) 0 ;
3080 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
3081 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
3082 wxString
const &arg9_defvalue
= wxPyComboBoxNameStr
;
3083 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
3085 bool temp3
= False
;
3088 bool temp6
= False
;
3089 bool temp9
= False
;
3090 PyObject
* obj0
= 0 ;
3091 PyObject
* obj1
= 0 ;
3092 PyObject
* obj2
= 0 ;
3093 PyObject
* obj3
= 0 ;
3094 PyObject
* obj4
= 0 ;
3095 PyObject
* obj5
= 0 ;
3096 PyObject
* obj6
= 0 ;
3097 PyObject
* obj7
= 0 ;
3098 PyObject
* obj8
= 0 ;
3100 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_ComboBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3107 arg2
= (int)SWIG_As_int(obj1
);
3108 if (PyErr_Occurred()) SWIG_fail
;
3112 arg3
= wxString_in_helper(obj2
);
3113 if (arg3
== NULL
) SWIG_fail
;
3120 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3126 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3131 if (! PySequence_Check(obj5
)) {
3132 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3135 arg6
= new wxArrayString
;
3137 int i
, len
=PySequence_Length(obj5
);
3138 for (i
=0; i
<len
; i
++) {
3139 PyObject
* item
= PySequence_GetItem(obj5
, i
);
3141 PyObject
* str
= PyObject_Unicode(item
);
3143 PyObject
* str
= PyObject_Str(item
);
3145 if (PyErr_Occurred()) SWIG_fail
;
3146 arg6
->Add(Py2wxString(str
));
3153 arg7
= (long)SWIG_As_long(obj6
);
3154 if (PyErr_Occurred()) SWIG_fail
;
3157 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
3158 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3161 PyErr_SetString(PyExc_TypeError
,"null reference");
3167 arg9
= wxString_in_helper(obj8
);
3168 if (arg9
== NULL
) SWIG_fail
;
3173 if (!wxPyCheckForApp()) SWIG_fail
;
3174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3175 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
);
3177 wxPyEndAllowThreads(__tstate
);
3178 if (PyErr_Occurred()) SWIG_fail
;
3180 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
3186 if (temp6
) delete arg6
;
3199 if (temp6
) delete arg6
;
3209 static PyObject
*_wrap_new_PreComboBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3210 PyObject
*resultobj
;
3216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreComboBox",kwnames
)) goto fail
;
3218 if (!wxPyCheckForApp()) SWIG_fail
;
3219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3220 result
= (wxComboBox
*)new wxComboBox();
3222 wxPyEndAllowThreads(__tstate
);
3223 if (PyErr_Occurred()) SWIG_fail
;
3225 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxComboBox
, 1);
3232 static PyObject
*_wrap_ComboBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3233 PyObject
*resultobj
;
3234 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3235 wxWindow
*arg2
= (wxWindow
*) 0 ;
3236 int arg3
= (int) -1 ;
3237 wxString
const &arg4_defvalue
= wxPyEmptyString
;
3238 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
3239 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
3240 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
3241 wxSize
const &arg6_defvalue
= wxDefaultSize
;
3242 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
3243 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
3244 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
3245 long arg8
= (long) 0 ;
3246 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
3247 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
3248 wxString
const &arg10_defvalue
= wxPyChoiceNameStr
;
3249 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
3251 bool temp4
= False
;
3254 bool temp7
= False
;
3255 bool temp10
= False
;
3256 PyObject
* obj0
= 0 ;
3257 PyObject
* obj1
= 0 ;
3258 PyObject
* obj2
= 0 ;
3259 PyObject
* obj3
= 0 ;
3260 PyObject
* obj4
= 0 ;
3261 PyObject
* obj5
= 0 ;
3262 PyObject
* obj6
= 0 ;
3263 PyObject
* obj7
= 0 ;
3264 PyObject
* obj8
= 0 ;
3265 PyObject
* obj9
= 0 ;
3267 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
3270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:ComboBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
3271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3273 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
3274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3276 arg3
= (int)SWIG_As_int(obj2
);
3277 if (PyErr_Occurred()) SWIG_fail
;
3281 arg4
= wxString_in_helper(obj3
);
3282 if (arg4
== NULL
) SWIG_fail
;
3289 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
3295 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
3300 if (! PySequence_Check(obj6
)) {
3301 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
3304 arg7
= new wxArrayString
;
3306 int i
, len
=PySequence_Length(obj6
);
3307 for (i
=0; i
<len
; i
++) {
3308 PyObject
* item
= PySequence_GetItem(obj6
, i
);
3310 PyObject
* str
= PyObject_Unicode(item
);
3312 PyObject
* str
= PyObject_Str(item
);
3314 if (PyErr_Occurred()) SWIG_fail
;
3315 arg7
->Add(Py2wxString(str
));
3322 arg8
= (long)SWIG_As_long(obj7
);
3323 if (PyErr_Occurred()) SWIG_fail
;
3326 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
3327 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3330 PyErr_SetString(PyExc_TypeError
,"null reference");
3336 arg10
= wxString_in_helper(obj9
);
3337 if (arg10
== NULL
) SWIG_fail
;
3342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3343 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
);
3345 wxPyEndAllowThreads(__tstate
);
3346 if (PyErr_Occurred()) SWIG_fail
;
3349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3356 if (temp7
) delete arg7
;
3369 if (temp7
) delete arg7
;
3379 static PyObject
*_wrap_ComboBox_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3380 PyObject
*resultobj
;
3381 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3383 PyObject
* obj0
= 0 ;
3385 (char *) "self", NULL
3388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetValue",kwnames
,&obj0
)) goto fail
;
3389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3393 result
= ((wxComboBox
const *)arg1
)->GetValue();
3395 wxPyEndAllowThreads(__tstate
);
3396 if (PyErr_Occurred()) SWIG_fail
;
3400 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3402 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3411 static PyObject
*_wrap_ComboBox_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3412 PyObject
*resultobj
;
3413 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3414 wxString
*arg2
= 0 ;
3415 bool temp2
= False
;
3416 PyObject
* obj0
= 0 ;
3417 PyObject
* obj1
= 0 ;
3419 (char *) "self",(char *) "value", NULL
3422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
3423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3426 arg2
= wxString_in_helper(obj1
);
3427 if (arg2
== NULL
) SWIG_fail
;
3431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3432 (arg1
)->SetValue((wxString
const &)*arg2
);
3434 wxPyEndAllowThreads(__tstate
);
3435 if (PyErr_Occurred()) SWIG_fail
;
3437 Py_INCREF(Py_None
); resultobj
= Py_None
;
3452 static PyObject
*_wrap_ComboBox_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3453 PyObject
*resultobj
;
3454 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3455 PyObject
* obj0
= 0 ;
3457 (char *) "self", NULL
3460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Copy",kwnames
,&obj0
)) goto fail
;
3461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3467 wxPyEndAllowThreads(__tstate
);
3468 if (PyErr_Occurred()) SWIG_fail
;
3470 Py_INCREF(Py_None
); resultobj
= Py_None
;
3477 static PyObject
*_wrap_ComboBox_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3478 PyObject
*resultobj
;
3479 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3480 PyObject
* obj0
= 0 ;
3482 (char *) "self", NULL
3485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Cut",kwnames
,&obj0
)) goto fail
;
3486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3492 wxPyEndAllowThreads(__tstate
);
3493 if (PyErr_Occurred()) SWIG_fail
;
3495 Py_INCREF(Py_None
); resultobj
= Py_None
;
3502 static PyObject
*_wrap_ComboBox_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3503 PyObject
*resultobj
;
3504 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3505 PyObject
* obj0
= 0 ;
3507 (char *) "self", NULL
3510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_Paste",kwnames
,&obj0
)) goto fail
;
3511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3517 wxPyEndAllowThreads(__tstate
);
3518 if (PyErr_Occurred()) SWIG_fail
;
3520 Py_INCREF(Py_None
); resultobj
= Py_None
;
3527 static PyObject
*_wrap_ComboBox_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3528 PyObject
*resultobj
;
3529 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3531 PyObject
* obj0
= 0 ;
3532 PyObject
* obj1
= 0 ;
3534 (char *) "self",(char *) "pos", NULL
3537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
3538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3540 arg2
= (long)SWIG_As_long(obj1
);
3541 if (PyErr_Occurred()) SWIG_fail
;
3543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3544 (arg1
)->SetInsertionPoint(arg2
);
3546 wxPyEndAllowThreads(__tstate
);
3547 if (PyErr_Occurred()) SWIG_fail
;
3549 Py_INCREF(Py_None
); resultobj
= Py_None
;
3556 static PyObject
*_wrap_ComboBox_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3557 PyObject
*resultobj
;
3558 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3560 PyObject
* obj0
= 0 ;
3562 (char *) "self", NULL
3565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
3566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3570 result
= (long)((wxComboBox
const *)arg1
)->GetInsertionPoint();
3572 wxPyEndAllowThreads(__tstate
);
3573 if (PyErr_Occurred()) SWIG_fail
;
3575 resultobj
= SWIG_From_long((long)result
);
3582 static PyObject
*_wrap_ComboBox_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3583 PyObject
*resultobj
;
3584 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3586 PyObject
* obj0
= 0 ;
3588 (char *) "self", NULL
3591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_GetLastPosition",kwnames
,&obj0
)) goto fail
;
3592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3596 result
= (long)((wxComboBox
const *)arg1
)->GetLastPosition();
3598 wxPyEndAllowThreads(__tstate
);
3599 if (PyErr_Occurred()) SWIG_fail
;
3601 resultobj
= SWIG_From_long((long)result
);
3608 static PyObject
*_wrap_ComboBox_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3609 PyObject
*resultobj
;
3610 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3613 wxString
*arg4
= 0 ;
3614 bool temp4
= False
;
3615 PyObject
* obj0
= 0 ;
3616 PyObject
* obj1
= 0 ;
3617 PyObject
* obj2
= 0 ;
3618 PyObject
* obj3
= 0 ;
3620 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
3623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ComboBox_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3626 arg2
= (long)SWIG_As_long(obj1
);
3627 if (PyErr_Occurred()) SWIG_fail
;
3628 arg3
= (long)SWIG_As_long(obj2
);
3629 if (PyErr_Occurred()) SWIG_fail
;
3631 arg4
= wxString_in_helper(obj3
);
3632 if (arg4
== NULL
) SWIG_fail
;
3636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3637 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
3639 wxPyEndAllowThreads(__tstate
);
3640 if (PyErr_Occurred()) SWIG_fail
;
3642 Py_INCREF(Py_None
); resultobj
= Py_None
;
3657 static PyObject
*_wrap_ComboBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3658 PyObject
*resultobj
;
3659 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3661 PyObject
* obj0
= 0 ;
3662 PyObject
* obj1
= 0 ;
3664 (char *) "self",(char *) "n", NULL
3667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3670 arg2
= (int)SWIG_As_int(obj1
);
3671 if (PyErr_Occurred()) SWIG_fail
;
3673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3674 (arg1
)->SetSelection(arg2
);
3676 wxPyEndAllowThreads(__tstate
);
3677 if (PyErr_Occurred()) SWIG_fail
;
3679 Py_INCREF(Py_None
); resultobj
= Py_None
;
3686 static PyObject
*_wrap_ComboBox_SetMark(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3687 PyObject
*resultobj
;
3688 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3691 PyObject
* obj0
= 0 ;
3692 PyObject
* obj1
= 0 ;
3693 PyObject
* obj2
= 0 ;
3695 (char *) "self",(char *) "from",(char *) "to", NULL
3698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetMark",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3701 arg2
= (long)SWIG_As_long(obj1
);
3702 if (PyErr_Occurred()) SWIG_fail
;
3703 arg3
= (long)SWIG_As_long(obj2
);
3704 if (PyErr_Occurred()) SWIG_fail
;
3706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3707 (arg1
)->SetSelection(arg2
,arg3
);
3709 wxPyEndAllowThreads(__tstate
);
3710 if (PyErr_Occurred()) SWIG_fail
;
3712 Py_INCREF(Py_None
); resultobj
= Py_None
;
3719 static PyObject
*_wrap_ComboBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3720 PyObject
*resultobj
;
3721 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3722 wxString
*arg2
= 0 ;
3724 bool temp2
= False
;
3725 PyObject
* obj0
= 0 ;
3726 PyObject
* obj1
= 0 ;
3728 (char *) "self",(char *) "string", NULL
3731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
3732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3735 arg2
= wxString_in_helper(obj1
);
3736 if (arg2
== NULL
) SWIG_fail
;
3740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3741 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
3743 wxPyEndAllowThreads(__tstate
);
3744 if (PyErr_Occurred()) SWIG_fail
;
3747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3763 static PyObject
*_wrap_ComboBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3764 PyObject
*resultobj
;
3765 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3767 wxString
*arg3
= 0 ;
3768 bool temp3
= False
;
3769 PyObject
* obj0
= 0 ;
3770 PyObject
* obj1
= 0 ;
3771 PyObject
* obj2
= 0 ;
3773 (char *) "self",(char *) "n",(char *) "string", NULL
3776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3779 arg2
= (int)SWIG_As_int(obj1
);
3780 if (PyErr_Occurred()) SWIG_fail
;
3782 arg3
= wxString_in_helper(obj2
);
3783 if (arg3
== NULL
) SWIG_fail
;
3787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3788 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
3790 wxPyEndAllowThreads(__tstate
);
3791 if (PyErr_Occurred()) SWIG_fail
;
3793 Py_INCREF(Py_None
); resultobj
= Py_None
;
3808 static PyObject
*_wrap_ComboBox_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3809 PyObject
*resultobj
;
3810 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3812 PyObject
* obj0
= 0 ;
3813 PyObject
* obj1
= 0 ;
3815 (char *) "self",(char *) "editable", NULL
3818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ComboBox_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
3819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3821 arg2
= (bool)SWIG_As_bool(obj1
);
3822 if (PyErr_Occurred()) SWIG_fail
;
3824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3825 (arg1
)->SetEditable(arg2
);
3827 wxPyEndAllowThreads(__tstate
);
3828 if (PyErr_Occurred()) SWIG_fail
;
3830 Py_INCREF(Py_None
); resultobj
= Py_None
;
3837 static PyObject
*_wrap_ComboBox_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3838 PyObject
*resultobj
;
3839 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3840 PyObject
* obj0
= 0 ;
3842 (char *) "self", NULL
3845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
3846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3850 (arg1
)->SetInsertionPointEnd();
3852 wxPyEndAllowThreads(__tstate
);
3853 if (PyErr_Occurred()) SWIG_fail
;
3855 Py_INCREF(Py_None
); resultobj
= Py_None
;
3862 static PyObject
*_wrap_ComboBox_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3863 PyObject
*resultobj
;
3864 wxComboBox
*arg1
= (wxComboBox
*) 0 ;
3867 PyObject
* obj0
= 0 ;
3868 PyObject
* obj1
= 0 ;
3869 PyObject
* obj2
= 0 ;
3871 (char *) "self",(char *) "from",(char *) "to", NULL
3874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ComboBox_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxComboBox
,
3876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3877 arg2
= (long)SWIG_As_long(obj1
);
3878 if (PyErr_Occurred()) SWIG_fail
;
3879 arg3
= (long)SWIG_As_long(obj2
);
3880 if (PyErr_Occurred()) SWIG_fail
;
3882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3883 (arg1
)->Remove(arg2
,arg3
);
3885 wxPyEndAllowThreads(__tstate
);
3886 if (PyErr_Occurred()) SWIG_fail
;
3888 Py_INCREF(Py_None
); resultobj
= Py_None
;
3895 static PyObject
*_wrap_ComboBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3896 PyObject
*resultobj
;
3897 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
3898 wxVisualAttributes result
;
3899 PyObject
* obj0
= 0 ;
3901 (char *) "variant", NULL
3904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ComboBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
3906 arg1
= (int)SWIG_As_int(obj0
);
3907 if (PyErr_Occurred()) SWIG_fail
;
3910 if (!wxPyCheckForApp()) SWIG_fail
;
3911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3912 result
= wxComboBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
3914 wxPyEndAllowThreads(__tstate
);
3915 if (PyErr_Occurred()) SWIG_fail
;
3918 wxVisualAttributes
* resultptr
;
3919 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
3920 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
3928 static PyObject
* ComboBox_swigregister(PyObject
*, PyObject
*args
) {
3930 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3931 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox
, obj
);
3933 return Py_BuildValue((char *)"");
3935 static int _wrap_GaugeNameStr_set(PyObject
*) {
3936 PyErr_SetString(PyExc_TypeError
,"Variable GaugeNameStr is read-only.");
3941 static PyObject
*_wrap_GaugeNameStr_get() {
3946 pyobj
= PyUnicode_FromWideChar((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3948 pyobj
= PyString_FromStringAndSize((&wxPyGaugeNameStr
)->c_str(), (&wxPyGaugeNameStr
)->Len());
3955 static PyObject
*_wrap_new_Gauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3956 PyObject
*resultobj
;
3957 wxWindow
*arg1
= (wxWindow
*) 0 ;
3958 int arg2
= (int) -1 ;
3959 int arg3
= (int) 100 ;
3960 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3961 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3962 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3963 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3964 long arg6
= (long) wxGA_HORIZONTAL
;
3965 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
3966 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
3967 wxString
const &arg8_defvalue
= wxPyGaugeNameStr
;
3968 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
3972 bool temp8
= False
;
3973 PyObject
* obj0
= 0 ;
3974 PyObject
* obj1
= 0 ;
3975 PyObject
* obj2
= 0 ;
3976 PyObject
* obj3
= 0 ;
3977 PyObject
* obj4
= 0 ;
3978 PyObject
* obj5
= 0 ;
3979 PyObject
* obj6
= 0 ;
3980 PyObject
* obj7
= 0 ;
3982 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_Gauge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
3987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3989 arg2
= (int)SWIG_As_int(obj1
);
3990 if (PyErr_Occurred()) SWIG_fail
;
3993 arg3
= (int)SWIG_As_int(obj2
);
3994 if (PyErr_Occurred()) SWIG_fail
;
3999 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4005 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4009 arg6
= (long)SWIG_As_long(obj5
);
4010 if (PyErr_Occurred()) SWIG_fail
;
4013 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
4014 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4017 PyErr_SetString(PyExc_TypeError
,"null reference");
4023 arg8
= wxString_in_helper(obj7
);
4024 if (arg8
== NULL
) SWIG_fail
;
4029 if (!wxPyCheckForApp()) SWIG_fail
;
4030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4031 result
= (wxGauge
*)new wxGauge(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
4033 wxPyEndAllowThreads(__tstate
);
4034 if (PyErr_Occurred()) SWIG_fail
;
4036 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
4051 static PyObject
*_wrap_new_PreGauge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4052 PyObject
*resultobj
;
4058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGauge",kwnames
)) goto fail
;
4060 if (!wxPyCheckForApp()) SWIG_fail
;
4061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4062 result
= (wxGauge
*)new wxGauge();
4064 wxPyEndAllowThreads(__tstate
);
4065 if (PyErr_Occurred()) SWIG_fail
;
4067 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGauge
, 1);
4074 static PyObject
*_wrap_Gauge_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4075 PyObject
*resultobj
;
4076 wxGauge
*arg1
= (wxGauge
*) 0 ;
4077 wxWindow
*arg2
= (wxWindow
*) 0 ;
4078 int arg3
= (int) -1 ;
4079 int arg4
= (int) 100 ;
4080 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4081 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4082 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4083 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4084 long arg7
= (long) wxGA_HORIZONTAL
;
4085 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
4086 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
4087 wxString
const &arg9_defvalue
= wxPyGaugeNameStr
;
4088 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
4092 bool temp9
= False
;
4093 PyObject
* obj0
= 0 ;
4094 PyObject
* obj1
= 0 ;
4095 PyObject
* obj2
= 0 ;
4096 PyObject
* obj3
= 0 ;
4097 PyObject
* obj4
= 0 ;
4098 PyObject
* obj5
= 0 ;
4099 PyObject
* obj6
= 0 ;
4100 PyObject
* obj7
= 0 ;
4101 PyObject
* obj8
= 0 ;
4103 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:Gauge_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
4107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4109 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4112 arg3
= (int)SWIG_As_int(obj2
);
4113 if (PyErr_Occurred()) SWIG_fail
;
4116 arg4
= (int)SWIG_As_int(obj3
);
4117 if (PyErr_Occurred()) SWIG_fail
;
4122 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4128 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4132 arg7
= (long)SWIG_As_long(obj6
);
4133 if (PyErr_Occurred()) SWIG_fail
;
4136 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
4137 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4140 PyErr_SetString(PyExc_TypeError
,"null reference");
4146 arg9
= wxString_in_helper(obj8
);
4147 if (arg9
== NULL
) SWIG_fail
;
4152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4153 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
4155 wxPyEndAllowThreads(__tstate
);
4156 if (PyErr_Occurred()) SWIG_fail
;
4159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4175 static PyObject
*_wrap_Gauge_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4176 PyObject
*resultobj
;
4177 wxGauge
*arg1
= (wxGauge
*) 0 ;
4179 PyObject
* obj0
= 0 ;
4180 PyObject
* obj1
= 0 ;
4182 (char *) "self",(char *) "range", NULL
4185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetRange",kwnames
,&obj0
,&obj1
)) goto fail
;
4186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4188 arg2
= (int)SWIG_As_int(obj1
);
4189 if (PyErr_Occurred()) SWIG_fail
;
4191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4192 (arg1
)->SetRange(arg2
);
4194 wxPyEndAllowThreads(__tstate
);
4195 if (PyErr_Occurred()) SWIG_fail
;
4197 Py_INCREF(Py_None
); resultobj
= Py_None
;
4204 static PyObject
*_wrap_Gauge_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4205 PyObject
*resultobj
;
4206 wxGauge
*arg1
= (wxGauge
*) 0 ;
4208 PyObject
* obj0
= 0 ;
4210 (char *) "self", NULL
4213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetRange",kwnames
,&obj0
)) goto fail
;
4214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4218 result
= (int)((wxGauge
const *)arg1
)->GetRange();
4220 wxPyEndAllowThreads(__tstate
);
4221 if (PyErr_Occurred()) SWIG_fail
;
4223 resultobj
= SWIG_From_int((int)result
);
4230 static PyObject
*_wrap_Gauge_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4231 PyObject
*resultobj
;
4232 wxGauge
*arg1
= (wxGauge
*) 0 ;
4234 PyObject
* obj0
= 0 ;
4235 PyObject
* obj1
= 0 ;
4237 (char *) "self",(char *) "pos", NULL
4240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
4241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4243 arg2
= (int)SWIG_As_int(obj1
);
4244 if (PyErr_Occurred()) SWIG_fail
;
4246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4247 (arg1
)->SetValue(arg2
);
4249 wxPyEndAllowThreads(__tstate
);
4250 if (PyErr_Occurred()) SWIG_fail
;
4252 Py_INCREF(Py_None
); resultobj
= Py_None
;
4259 static PyObject
*_wrap_Gauge_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4260 PyObject
*resultobj
;
4261 wxGauge
*arg1
= (wxGauge
*) 0 ;
4263 PyObject
* obj0
= 0 ;
4265 (char *) "self", NULL
4268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetValue",kwnames
,&obj0
)) goto fail
;
4269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4273 result
= (int)((wxGauge
const *)arg1
)->GetValue();
4275 wxPyEndAllowThreads(__tstate
);
4276 if (PyErr_Occurred()) SWIG_fail
;
4278 resultobj
= SWIG_From_int((int)result
);
4285 static PyObject
*_wrap_Gauge_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4286 PyObject
*resultobj
;
4287 wxGauge
*arg1
= (wxGauge
*) 0 ;
4289 PyObject
* obj0
= 0 ;
4291 (char *) "self", NULL
4294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_IsVertical",kwnames
,&obj0
)) goto fail
;
4295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4299 result
= (bool)((wxGauge
const *)arg1
)->IsVertical();
4301 wxPyEndAllowThreads(__tstate
);
4302 if (PyErr_Occurred()) SWIG_fail
;
4305 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4313 static PyObject
*_wrap_Gauge_SetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4314 PyObject
*resultobj
;
4315 wxGauge
*arg1
= (wxGauge
*) 0 ;
4317 PyObject
* obj0
= 0 ;
4318 PyObject
* obj1
= 0 ;
4320 (char *) "self",(char *) "w", NULL
4323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetShadowWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
4324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4326 arg2
= (int)SWIG_As_int(obj1
);
4327 if (PyErr_Occurred()) SWIG_fail
;
4329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4330 (arg1
)->SetShadowWidth(arg2
);
4332 wxPyEndAllowThreads(__tstate
);
4333 if (PyErr_Occurred()) SWIG_fail
;
4335 Py_INCREF(Py_None
); resultobj
= Py_None
;
4342 static PyObject
*_wrap_Gauge_GetShadowWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4343 PyObject
*resultobj
;
4344 wxGauge
*arg1
= (wxGauge
*) 0 ;
4346 PyObject
* obj0
= 0 ;
4348 (char *) "self", NULL
4351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetShadowWidth",kwnames
,&obj0
)) goto fail
;
4352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4356 result
= (int)((wxGauge
const *)arg1
)->GetShadowWidth();
4358 wxPyEndAllowThreads(__tstate
);
4359 if (PyErr_Occurred()) SWIG_fail
;
4361 resultobj
= SWIG_From_int((int)result
);
4368 static PyObject
*_wrap_Gauge_SetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4369 PyObject
*resultobj
;
4370 wxGauge
*arg1
= (wxGauge
*) 0 ;
4372 PyObject
* obj0
= 0 ;
4373 PyObject
* obj1
= 0 ;
4375 (char *) "self",(char *) "w", NULL
4378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Gauge_SetBezelFace",kwnames
,&obj0
,&obj1
)) goto fail
;
4379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4381 arg2
= (int)SWIG_As_int(obj1
);
4382 if (PyErr_Occurred()) SWIG_fail
;
4384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4385 (arg1
)->SetBezelFace(arg2
);
4387 wxPyEndAllowThreads(__tstate
);
4388 if (PyErr_Occurred()) SWIG_fail
;
4390 Py_INCREF(Py_None
); resultobj
= Py_None
;
4397 static PyObject
*_wrap_Gauge_GetBezelFace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4398 PyObject
*resultobj
;
4399 wxGauge
*arg1
= (wxGauge
*) 0 ;
4401 PyObject
* obj0
= 0 ;
4403 (char *) "self", NULL
4406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Gauge_GetBezelFace",kwnames
,&obj0
)) goto fail
;
4407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGauge
,
4408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4411 result
= (int)((wxGauge
const *)arg1
)->GetBezelFace();
4413 wxPyEndAllowThreads(__tstate
);
4414 if (PyErr_Occurred()) SWIG_fail
;
4416 resultobj
= SWIG_From_int((int)result
);
4423 static PyObject
*_wrap_Gauge_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4424 PyObject
*resultobj
;
4425 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4426 wxVisualAttributes result
;
4427 PyObject
* obj0
= 0 ;
4429 (char *) "variant", NULL
4432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Gauge_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4434 arg1
= (int)SWIG_As_int(obj0
);
4435 if (PyErr_Occurred()) SWIG_fail
;
4438 if (!wxPyCheckForApp()) SWIG_fail
;
4439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4440 result
= wxGauge::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4442 wxPyEndAllowThreads(__tstate
);
4443 if (PyErr_Occurred()) SWIG_fail
;
4446 wxVisualAttributes
* resultptr
;
4447 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4448 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4456 static PyObject
* Gauge_swigregister(PyObject
*, PyObject
*args
) {
4458 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4459 SWIG_TypeClientData(SWIGTYPE_p_wxGauge
, obj
);
4461 return Py_BuildValue((char *)"");
4463 static int _wrap_StaticBitmapNameStr_set(PyObject
*) {
4464 PyErr_SetString(PyExc_TypeError
,"Variable StaticBitmapNameStr is read-only.");
4469 static PyObject
*_wrap_StaticBitmapNameStr_get() {
4474 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4476 pyobj
= PyString_FromStringAndSize((&wxPyStaticBitmapNameStr
)->c_str(), (&wxPyStaticBitmapNameStr
)->Len());
4483 static int _wrap_StaticBoxNameStr_set(PyObject
*) {
4484 PyErr_SetString(PyExc_TypeError
,"Variable StaticBoxNameStr is read-only.");
4489 static PyObject
*_wrap_StaticBoxNameStr_get() {
4494 pyobj
= PyUnicode_FromWideChar((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4496 pyobj
= PyString_FromStringAndSize((&wxPyStaticBoxNameStr
)->c_str(), (&wxPyStaticBoxNameStr
)->Len());
4503 static int _wrap_StaticTextNameStr_set(PyObject
*) {
4504 PyErr_SetString(PyExc_TypeError
,"Variable StaticTextNameStr is read-only.");
4509 static PyObject
*_wrap_StaticTextNameStr_get() {
4514 pyobj
= PyUnicode_FromWideChar((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4516 pyobj
= PyString_FromStringAndSize((&wxPyStaticTextNameStr
)->c_str(), (&wxPyStaticTextNameStr
)->Len());
4523 static PyObject
*_wrap_new_StaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4524 PyObject
*resultobj
;
4525 wxWindow
*arg1
= (wxWindow
*) 0 ;
4526 int arg2
= (int) -1 ;
4527 wxString
const &arg3_defvalue
= wxPyEmptyString
;
4528 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
4529 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4530 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4531 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4532 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4533 long arg6
= (long) 0 ;
4534 wxString
const &arg7_defvalue
= wxPyStaticBoxNameStr
;
4535 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4536 wxStaticBox
*result
;
4537 bool temp3
= False
;
4540 bool temp7
= False
;
4541 PyObject
* obj0
= 0 ;
4542 PyObject
* obj1
= 0 ;
4543 PyObject
* obj2
= 0 ;
4544 PyObject
* obj3
= 0 ;
4545 PyObject
* obj4
= 0 ;
4546 PyObject
* obj5
= 0 ;
4547 PyObject
* obj6
= 0 ;
4549 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4556 arg2
= (int)SWIG_As_int(obj1
);
4557 if (PyErr_Occurred()) SWIG_fail
;
4561 arg3
= wxString_in_helper(obj2
);
4562 if (arg3
== NULL
) SWIG_fail
;
4569 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4575 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4579 arg6
= (long)SWIG_As_long(obj5
);
4580 if (PyErr_Occurred()) SWIG_fail
;
4584 arg7
= wxString_in_helper(obj6
);
4585 if (arg7
== NULL
) SWIG_fail
;
4590 if (!wxPyCheckForApp()) SWIG_fail
;
4591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4592 result
= (wxStaticBox
*)new wxStaticBox(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4594 wxPyEndAllowThreads(__tstate
);
4595 if (PyErr_Occurred()) SWIG_fail
;
4597 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
4620 static PyObject
*_wrap_new_PreStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4621 PyObject
*resultobj
;
4622 wxStaticBox
*result
;
4627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBox",kwnames
)) goto fail
;
4629 if (!wxPyCheckForApp()) SWIG_fail
;
4630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4631 result
= (wxStaticBox
*)new wxStaticBox();
4633 wxPyEndAllowThreads(__tstate
);
4634 if (PyErr_Occurred()) SWIG_fail
;
4636 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBox
, 1);
4643 static PyObject
*_wrap_StaticBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4644 PyObject
*resultobj
;
4645 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
4646 wxWindow
*arg2
= (wxWindow
*) 0 ;
4647 int arg3
= (int) -1 ;
4648 wxString
const &arg4_defvalue
= wxPyEmptyString
;
4649 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
4650 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
4651 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
4652 wxSize
const &arg6_defvalue
= wxDefaultSize
;
4653 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
4654 long arg7
= (long) 0 ;
4655 wxString
const &arg8_defvalue
= wxPyStaticBoxNameStr
;
4656 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
4658 bool temp4
= False
;
4661 bool temp8
= False
;
4662 PyObject
* obj0
= 0 ;
4663 PyObject
* obj1
= 0 ;
4664 PyObject
* obj2
= 0 ;
4665 PyObject
* obj3
= 0 ;
4666 PyObject
* obj4
= 0 ;
4667 PyObject
* obj5
= 0 ;
4668 PyObject
* obj6
= 0 ;
4669 PyObject
* obj7
= 0 ;
4671 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
4675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
4676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4677 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4680 arg3
= (int)SWIG_As_int(obj2
);
4681 if (PyErr_Occurred()) SWIG_fail
;
4685 arg4
= wxString_in_helper(obj3
);
4686 if (arg4
== NULL
) SWIG_fail
;
4693 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
4699 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
4703 arg7
= (long)SWIG_As_long(obj6
);
4704 if (PyErr_Occurred()) SWIG_fail
;
4708 arg8
= wxString_in_helper(obj7
);
4709 if (arg8
== NULL
) SWIG_fail
;
4714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4715 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
4717 wxPyEndAllowThreads(__tstate
);
4718 if (PyErr_Occurred()) SWIG_fail
;
4721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4745 static PyObject
*_wrap_StaticBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4746 PyObject
*resultobj
;
4747 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
4748 wxVisualAttributes result
;
4749 PyObject
* obj0
= 0 ;
4751 (char *) "variant", NULL
4754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
4756 arg1
= (int)SWIG_As_int(obj0
);
4757 if (PyErr_Occurred()) SWIG_fail
;
4760 if (!wxPyCheckForApp()) SWIG_fail
;
4761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4762 result
= wxStaticBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
4764 wxPyEndAllowThreads(__tstate
);
4765 if (PyErr_Occurred()) SWIG_fail
;
4768 wxVisualAttributes
* resultptr
;
4769 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
4770 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
4778 static PyObject
* StaticBox_swigregister(PyObject
*, PyObject
*args
) {
4780 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4781 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox
, obj
);
4783 return Py_BuildValue((char *)"");
4785 static PyObject
*_wrap_new_StaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4786 PyObject
*resultobj
;
4787 wxWindow
*arg1
= (wxWindow
*) 0 ;
4788 int arg2
= (int) -1 ;
4789 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4790 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4791 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4792 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4793 long arg5
= (long) wxLI_HORIZONTAL
;
4794 wxString
const &arg6_defvalue
= wxPyStaticTextNameStr
;
4795 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4796 wxStaticLine
*result
;
4799 bool temp6
= False
;
4800 PyObject
* obj0
= 0 ;
4801 PyObject
* obj1
= 0 ;
4802 PyObject
* obj2
= 0 ;
4803 PyObject
* obj3
= 0 ;
4804 PyObject
* obj4
= 0 ;
4805 PyObject
* obj5
= 0 ;
4807 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_StaticLine",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
4811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4814 arg2
= (int)SWIG_As_int(obj1
);
4815 if (PyErr_Occurred()) SWIG_fail
;
4820 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4826 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4830 arg5
= (long)SWIG_As_long(obj4
);
4831 if (PyErr_Occurred()) SWIG_fail
;
4835 arg6
= wxString_in_helper(obj5
);
4836 if (arg6
== NULL
) SWIG_fail
;
4841 if (!wxPyCheckForApp()) SWIG_fail
;
4842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4843 result
= (wxStaticLine
*)new wxStaticLine(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4845 wxPyEndAllowThreads(__tstate
);
4846 if (PyErr_Occurred()) SWIG_fail
;
4848 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4863 static PyObject
*_wrap_new_PreStaticLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4864 PyObject
*resultobj
;
4865 wxStaticLine
*result
;
4870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticLine",kwnames
)) goto fail
;
4872 if (!wxPyCheckForApp()) SWIG_fail
;
4873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4874 result
= (wxStaticLine
*)new wxStaticLine();
4876 wxPyEndAllowThreads(__tstate
);
4877 if (PyErr_Occurred()) SWIG_fail
;
4879 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticLine
, 1);
4886 static PyObject
*_wrap_StaticLine_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4887 PyObject
*resultobj
;
4888 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4889 wxWindow
*arg2
= (wxWindow
*) 0 ;
4890 int arg3
= (int) -1 ;
4891 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4892 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4893 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4894 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4895 long arg6
= (long) wxLI_HORIZONTAL
;
4896 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
4897 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4901 bool temp7
= False
;
4902 PyObject
* obj0
= 0 ;
4903 PyObject
* obj1
= 0 ;
4904 PyObject
* obj2
= 0 ;
4905 PyObject
* obj3
= 0 ;
4906 PyObject
* obj4
= 0 ;
4907 PyObject
* obj5
= 0 ;
4908 PyObject
* obj6
= 0 ;
4910 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:StaticLine_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
4914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4916 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
4917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4919 arg3
= (int)SWIG_As_int(obj2
);
4920 if (PyErr_Occurred()) SWIG_fail
;
4925 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4931 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4935 arg6
= (long)SWIG_As_long(obj5
);
4936 if (PyErr_Occurred()) SWIG_fail
;
4940 arg7
= wxString_in_helper(obj6
);
4941 if (arg7
== NULL
) SWIG_fail
;
4946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4947 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4949 wxPyEndAllowThreads(__tstate
);
4950 if (PyErr_Occurred()) SWIG_fail
;
4953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4969 static PyObject
*_wrap_StaticLine_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4970 PyObject
*resultobj
;
4971 wxStaticLine
*arg1
= (wxStaticLine
*) 0 ;
4973 PyObject
* obj0
= 0 ;
4975 (char *) "self", NULL
4978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticLine_IsVertical",kwnames
,&obj0
)) goto fail
;
4979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticLine
,
4980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4983 result
= (bool)((wxStaticLine
const *)arg1
)->IsVertical();
4985 wxPyEndAllowThreads(__tstate
);
4986 if (PyErr_Occurred()) SWIG_fail
;
4989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4997 static PyObject
*_wrap_StaticLine_GetDefaultSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4998 PyObject
*resultobj
;
5004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StaticLine_GetDefaultSize",kwnames
)) goto fail
;
5006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5007 result
= (int)wxStaticLine::GetDefaultSize();
5009 wxPyEndAllowThreads(__tstate
);
5010 if (PyErr_Occurred()) SWIG_fail
;
5012 resultobj
= SWIG_From_int((int)result
);
5019 static PyObject
*_wrap_StaticLine_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5020 PyObject
*resultobj
;
5021 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5022 wxVisualAttributes result
;
5023 PyObject
* obj0
= 0 ;
5025 (char *) "variant", NULL
5028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticLine_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5030 arg1
= (int)SWIG_As_int(obj0
);
5031 if (PyErr_Occurred()) SWIG_fail
;
5034 if (!wxPyCheckForApp()) SWIG_fail
;
5035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5036 result
= wxStaticLine::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5038 wxPyEndAllowThreads(__tstate
);
5039 if (PyErr_Occurred()) SWIG_fail
;
5042 wxVisualAttributes
* resultptr
;
5043 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5044 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5052 static PyObject
* StaticLine_swigregister(PyObject
*, PyObject
*args
) {
5054 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5055 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine
, obj
);
5057 return Py_BuildValue((char *)"");
5059 static PyObject
*_wrap_new_StaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5060 PyObject
*resultobj
;
5061 wxWindow
*arg1
= (wxWindow
*) 0 ;
5062 int arg2
= (int) -1 ;
5063 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5064 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5065 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5066 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5067 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5068 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5069 long arg6
= (long) 0 ;
5070 wxString
const &arg7_defvalue
= wxPyStaticTextNameStr
;
5071 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5072 wxStaticText
*result
;
5073 bool temp3
= False
;
5076 bool temp7
= False
;
5077 PyObject
* obj0
= 0 ;
5078 PyObject
* obj1
= 0 ;
5079 PyObject
* obj2
= 0 ;
5080 PyObject
* obj3
= 0 ;
5081 PyObject
* obj4
= 0 ;
5082 PyObject
* obj5
= 0 ;
5083 PyObject
* obj6
= 0 ;
5085 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticText",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5092 arg2
= (int)SWIG_As_int(obj1
);
5093 if (PyErr_Occurred()) SWIG_fail
;
5097 arg3
= wxString_in_helper(obj2
);
5098 if (arg3
== NULL
) SWIG_fail
;
5105 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5111 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5115 arg6
= (long)SWIG_As_long(obj5
);
5116 if (PyErr_Occurred()) SWIG_fail
;
5120 arg7
= wxString_in_helper(obj6
);
5121 if (arg7
== NULL
) SWIG_fail
;
5126 if (!wxPyCheckForApp()) SWIG_fail
;
5127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5128 result
= (wxStaticText
*)new wxStaticText(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5130 wxPyEndAllowThreads(__tstate
);
5131 if (PyErr_Occurred()) SWIG_fail
;
5133 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
5156 static PyObject
*_wrap_new_PreStaticText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5157 PyObject
*resultobj
;
5158 wxStaticText
*result
;
5163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticText",kwnames
)) goto fail
;
5165 if (!wxPyCheckForApp()) SWIG_fail
;
5166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5167 result
= (wxStaticText
*)new wxStaticText();
5169 wxPyEndAllowThreads(__tstate
);
5170 if (PyErr_Occurred()) SWIG_fail
;
5172 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticText
, 1);
5179 static PyObject
*_wrap_StaticText_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5180 PyObject
*resultobj
;
5181 wxStaticText
*arg1
= (wxStaticText
*) 0 ;
5182 wxWindow
*arg2
= (wxWindow
*) 0 ;
5183 int arg3
= (int) -1 ;
5184 wxString
const &arg4_defvalue
= wxPyEmptyString
;
5185 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
5186 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5187 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5188 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5189 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5190 long arg7
= (long) 0 ;
5191 wxString
const &arg8_defvalue
= wxPyStaticTextNameStr
;
5192 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5194 bool temp4
= False
;
5197 bool temp8
= False
;
5198 PyObject
* obj0
= 0 ;
5199 PyObject
* obj1
= 0 ;
5200 PyObject
* obj2
= 0 ;
5201 PyObject
* obj3
= 0 ;
5202 PyObject
* obj4
= 0 ;
5203 PyObject
* obj5
= 0 ;
5204 PyObject
* obj6
= 0 ;
5205 PyObject
* obj7
= 0 ;
5207 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticText_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticText
,
5212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5213 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5216 arg3
= (int)SWIG_As_int(obj2
);
5217 if (PyErr_Occurred()) SWIG_fail
;
5221 arg4
= wxString_in_helper(obj3
);
5222 if (arg4
== NULL
) SWIG_fail
;
5229 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5235 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5239 arg7
= (long)SWIG_As_long(obj6
);
5240 if (PyErr_Occurred()) SWIG_fail
;
5244 arg8
= wxString_in_helper(obj7
);
5245 if (arg8
== NULL
) SWIG_fail
;
5250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5251 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5253 wxPyEndAllowThreads(__tstate
);
5254 if (PyErr_Occurred()) SWIG_fail
;
5257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5281 static PyObject
*_wrap_StaticText_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5282 PyObject
*resultobj
;
5283 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5284 wxVisualAttributes result
;
5285 PyObject
* obj0
= 0 ;
5287 (char *) "variant", NULL
5290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticText_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5292 arg1
= (int)SWIG_As_int(obj0
);
5293 if (PyErr_Occurred()) SWIG_fail
;
5296 if (!wxPyCheckForApp()) SWIG_fail
;
5297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5298 result
= wxStaticText::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5300 wxPyEndAllowThreads(__tstate
);
5301 if (PyErr_Occurred()) SWIG_fail
;
5304 wxVisualAttributes
* resultptr
;
5305 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5306 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5314 static PyObject
* StaticText_swigregister(PyObject
*, PyObject
*args
) {
5316 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5317 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText
, obj
);
5319 return Py_BuildValue((char *)"");
5321 static PyObject
*_wrap_new_StaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5322 PyObject
*resultobj
;
5323 wxWindow
*arg1
= (wxWindow
*) 0 ;
5324 int arg2
= (int) -1 ;
5325 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
5326 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
5327 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5328 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5329 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5330 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5331 long arg6
= (long) 0 ;
5332 wxString
const &arg7_defvalue
= wxPyStaticBitmapNameStr
;
5333 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5334 wxStaticBitmap
*result
;
5337 bool temp7
= False
;
5338 PyObject
* obj0
= 0 ;
5339 PyObject
* obj1
= 0 ;
5340 PyObject
* obj2
= 0 ;
5341 PyObject
* obj3
= 0 ;
5342 PyObject
* obj4
= 0 ;
5343 PyObject
* obj5
= 0 ;
5344 PyObject
* obj6
= 0 ;
5346 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_StaticBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
5350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5353 arg2
= (int)SWIG_As_int(obj1
);
5354 if (PyErr_Occurred()) SWIG_fail
;
5357 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
5358 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5361 PyErr_SetString(PyExc_TypeError
,"null reference");
5368 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5374 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5378 arg6
= (long)SWIG_As_long(obj5
);
5379 if (PyErr_Occurred()) SWIG_fail
;
5383 arg7
= wxString_in_helper(obj6
);
5384 if (arg7
== NULL
) SWIG_fail
;
5389 if (!wxPyCheckForApp()) SWIG_fail
;
5390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5391 result
= (wxStaticBitmap
*)new wxStaticBitmap(arg1
,arg2
,(wxBitmap
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5393 wxPyEndAllowThreads(__tstate
);
5394 if (PyErr_Occurred()) SWIG_fail
;
5396 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5411 static PyObject
*_wrap_new_PreStaticBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5412 PyObject
*resultobj
;
5413 wxStaticBitmap
*result
;
5418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreStaticBitmap",kwnames
)) goto fail
;
5420 if (!wxPyCheckForApp()) SWIG_fail
;
5421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5422 result
= (wxStaticBitmap
*)new wxStaticBitmap();
5424 wxPyEndAllowThreads(__tstate
);
5425 if (PyErr_Occurred()) SWIG_fail
;
5427 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBitmap
, 1);
5434 static PyObject
*_wrap_StaticBitmap_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5435 PyObject
*resultobj
;
5436 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5437 wxWindow
*arg2
= (wxWindow
*) 0 ;
5438 int arg3
= (int) -1 ;
5439 wxBitmap
const &arg4_defvalue
= wxNullBitmap
;
5440 wxBitmap
*arg4
= (wxBitmap
*) &arg4_defvalue
;
5441 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
5442 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
5443 wxSize
const &arg6_defvalue
= wxDefaultSize
;
5444 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
5445 long arg7
= (long) 0 ;
5446 wxString
const &arg8_defvalue
= wxPyStaticBitmapNameStr
;
5447 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5451 bool temp8
= False
;
5452 PyObject
* obj0
= 0 ;
5453 PyObject
* obj1
= 0 ;
5454 PyObject
* obj2
= 0 ;
5455 PyObject
* obj3
= 0 ;
5456 PyObject
* obj4
= 0 ;
5457 PyObject
* obj5
= 0 ;
5458 PyObject
* obj6
= 0 ;
5459 PyObject
* obj7
= 0 ;
5461 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:StaticBitmap_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5467 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5470 arg3
= (int)SWIG_As_int(obj2
);
5471 if (PyErr_Occurred()) SWIG_fail
;
5474 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
5475 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5478 PyErr_SetString(PyExc_TypeError
,"null reference");
5485 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
5491 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
5495 arg7
= (long)SWIG_As_long(obj6
);
5496 if (PyErr_Occurred()) SWIG_fail
;
5500 arg8
= wxString_in_helper(obj7
);
5501 if (arg8
== NULL
) SWIG_fail
;
5506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5507 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxBitmap
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
5509 wxPyEndAllowThreads(__tstate
);
5510 if (PyErr_Occurred()) SWIG_fail
;
5513 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5529 static PyObject
*_wrap_StaticBitmap_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5530 PyObject
*resultobj
;
5531 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5533 PyObject
* obj0
= 0 ;
5535 (char *) "self", NULL
5538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBitmap_GetBitmap",kwnames
,&obj0
)) goto fail
;
5539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5543 result
= (arg1
)->GetBitmap();
5545 wxPyEndAllowThreads(__tstate
);
5546 if (PyErr_Occurred()) SWIG_fail
;
5549 wxBitmap
* resultptr
;
5550 resultptr
= new wxBitmap((wxBitmap
&) result
);
5551 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
5559 static PyObject
*_wrap_StaticBitmap_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5560 PyObject
*resultobj
;
5561 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5562 wxBitmap
*arg2
= 0 ;
5563 PyObject
* obj0
= 0 ;
5564 PyObject
* obj1
= 0 ;
5566 (char *) "self",(char *) "bitmap", NULL
5569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
5570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5572 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
5573 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5576 PyErr_SetString(PyExc_TypeError
,"null reference");
5580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5581 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
5583 wxPyEndAllowThreads(__tstate
);
5584 if (PyErr_Occurred()) SWIG_fail
;
5586 Py_INCREF(Py_None
); resultobj
= Py_None
;
5593 static PyObject
*_wrap_StaticBitmap_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5594 PyObject
*resultobj
;
5595 wxStaticBitmap
*arg1
= (wxStaticBitmap
*) 0 ;
5597 PyObject
* obj0
= 0 ;
5598 PyObject
* obj1
= 0 ;
5600 (char *) "self",(char *) "icon", NULL
5603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StaticBitmap_SetIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
5604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBitmap
,
5605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5606 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
5607 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5610 PyErr_SetString(PyExc_TypeError
,"null reference");
5614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5615 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5617 wxPyEndAllowThreads(__tstate
);
5618 if (PyErr_Occurred()) SWIG_fail
;
5620 Py_INCREF(Py_None
); resultobj
= Py_None
;
5627 static PyObject
*_wrap_StaticBitmap_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5628 PyObject
*resultobj
;
5629 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
5630 wxVisualAttributes result
;
5631 PyObject
* obj0
= 0 ;
5633 (char *) "variant", NULL
5636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StaticBitmap_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
5638 arg1
= (int)SWIG_As_int(obj0
);
5639 if (PyErr_Occurred()) SWIG_fail
;
5642 if (!wxPyCheckForApp()) SWIG_fail
;
5643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5644 result
= wxStaticBitmap::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
5646 wxPyEndAllowThreads(__tstate
);
5647 if (PyErr_Occurred()) SWIG_fail
;
5650 wxVisualAttributes
* resultptr
;
5651 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
5652 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
5660 static PyObject
* StaticBitmap_swigregister(PyObject
*, PyObject
*args
) {
5662 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5663 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap
, obj
);
5665 return Py_BuildValue((char *)"");
5667 static int _wrap_ListBoxNameStr_set(PyObject
*) {
5668 PyErr_SetString(PyExc_TypeError
,"Variable ListBoxNameStr is read-only.");
5673 static PyObject
*_wrap_ListBoxNameStr_get() {
5678 pyobj
= PyUnicode_FromWideChar((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5680 pyobj
= PyString_FromStringAndSize((&wxPyListBoxNameStr
)->c_str(), (&wxPyListBoxNameStr
)->Len());
5687 static PyObject
*_wrap_new_ListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5688 PyObject
*resultobj
;
5689 wxWindow
*arg1
= (wxWindow
*) 0 ;
5690 int arg2
= (int) -1 ;
5691 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
5692 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
5693 wxSize
const &arg4_defvalue
= wxDefaultSize
;
5694 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
5695 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
5696 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
5697 long arg6
= (long) 0 ;
5698 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
5699 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
5700 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
5701 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
5705 bool temp5
= False
;
5706 bool temp8
= False
;
5707 PyObject
* obj0
= 0 ;
5708 PyObject
* obj1
= 0 ;
5709 PyObject
* obj2
= 0 ;
5710 PyObject
* obj3
= 0 ;
5711 PyObject
* obj4
= 0 ;
5712 PyObject
* obj5
= 0 ;
5713 PyObject
* obj6
= 0 ;
5714 PyObject
* obj7
= 0 ;
5716 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
5720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5723 arg2
= (int)SWIG_As_int(obj1
);
5724 if (PyErr_Occurred()) SWIG_fail
;
5729 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
5735 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
5740 if (! PySequence_Check(obj4
)) {
5741 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5744 arg5
= new wxArrayString
;
5746 int i
, len
=PySequence_Length(obj4
);
5747 for (i
=0; i
<len
; i
++) {
5748 PyObject
* item
= PySequence_GetItem(obj4
, i
);
5750 PyObject
* str
= PyObject_Unicode(item
);
5752 PyObject
* str
= PyObject_Str(item
);
5754 if (PyErr_Occurred()) SWIG_fail
;
5755 arg5
->Add(Py2wxString(str
));
5762 arg6
= (long)SWIG_As_long(obj5
);
5763 if (PyErr_Occurred()) SWIG_fail
;
5766 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
5767 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5770 PyErr_SetString(PyExc_TypeError
,"null reference");
5776 arg8
= wxString_in_helper(obj7
);
5777 if (arg8
== NULL
) SWIG_fail
;
5782 if (!wxPyCheckForApp()) SWIG_fail
;
5783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5784 result
= (wxListBox
*)new wxListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
5786 wxPyEndAllowThreads(__tstate
);
5787 if (PyErr_Occurred()) SWIG_fail
;
5789 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5791 if (temp5
) delete arg5
;
5800 if (temp5
) delete arg5
;
5810 static PyObject
*_wrap_new_PreListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5811 PyObject
*resultobj
;
5817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListBox",kwnames
)) goto fail
;
5819 if (!wxPyCheckForApp()) SWIG_fail
;
5820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5821 result
= (wxListBox
*)new wxListBox();
5823 wxPyEndAllowThreads(__tstate
);
5824 if (PyErr_Occurred()) SWIG_fail
;
5826 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListBox
, 1);
5833 static PyObject
*_wrap_ListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5834 PyObject
*resultobj
;
5835 wxListBox
*arg1
= (wxListBox
*) 0 ;
5836 wxWindow
*arg2
= (wxWindow
*) 0 ;
5837 int arg3
= (int) -1 ;
5838 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5839 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5840 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5841 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5842 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
5843 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
5844 long arg7
= (long) 0 ;
5845 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
5846 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
5847 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
5848 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
5852 bool temp6
= False
;
5853 bool temp9
= False
;
5854 PyObject
* obj0
= 0 ;
5855 PyObject
* obj1
= 0 ;
5856 PyObject
* obj2
= 0 ;
5857 PyObject
* obj3
= 0 ;
5858 PyObject
* obj4
= 0 ;
5859 PyObject
* obj5
= 0 ;
5860 PyObject
* obj6
= 0 ;
5861 PyObject
* obj7
= 0 ;
5862 PyObject
* obj8
= 0 ;
5864 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
5868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5870 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
5871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5873 arg3
= (int)SWIG_As_int(obj2
);
5874 if (PyErr_Occurred()) SWIG_fail
;
5879 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5885 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5890 if (! PySequence_Check(obj5
)) {
5891 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
5894 arg6
= new wxArrayString
;
5896 int i
, len
=PySequence_Length(obj5
);
5897 for (i
=0; i
<len
; i
++) {
5898 PyObject
* item
= PySequence_GetItem(obj5
, i
);
5900 PyObject
* str
= PyObject_Unicode(item
);
5902 PyObject
* str
= PyObject_Str(item
);
5904 if (PyErr_Occurred()) SWIG_fail
;
5905 arg6
->Add(Py2wxString(str
));
5912 arg7
= (long)SWIG_As_long(obj6
);
5913 if (PyErr_Occurred()) SWIG_fail
;
5916 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
5917 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5920 PyErr_SetString(PyExc_TypeError
,"null reference");
5926 arg9
= wxString_in_helper(obj8
);
5927 if (arg9
== NULL
) SWIG_fail
;
5932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5933 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
5935 wxPyEndAllowThreads(__tstate
);
5936 if (PyErr_Occurred()) SWIG_fail
;
5939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5942 if (temp6
) delete arg6
;
5951 if (temp6
) delete arg6
;
5961 static PyObject
*_wrap_ListBox_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5962 PyObject
*resultobj
;
5963 wxListBox
*arg1
= (wxListBox
*) 0 ;
5964 wxString
*arg2
= 0 ;
5966 PyObject
*arg4
= (PyObject
*) NULL
;
5967 bool temp2
= False
;
5968 PyObject
* obj0
= 0 ;
5969 PyObject
* obj1
= 0 ;
5970 PyObject
* obj2
= 0 ;
5971 PyObject
* obj3
= 0 ;
5973 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
5976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListBox_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
5977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
5978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5980 arg2
= wxString_in_helper(obj1
);
5981 if (arg2
== NULL
) SWIG_fail
;
5984 arg3
= (int)SWIG_As_int(obj2
);
5985 if (PyErr_Occurred()) SWIG_fail
;
5990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5991 wxListBox_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
5993 wxPyEndAllowThreads(__tstate
);
5994 if (PyErr_Occurred()) SWIG_fail
;
5996 Py_INCREF(Py_None
); resultobj
= Py_None
;
6011 static PyObject
*_wrap_ListBox_InsertItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6012 PyObject
*resultobj
;
6013 wxListBox
*arg1
= (wxListBox
*) 0 ;
6014 wxArrayString
*arg2
= 0 ;
6016 bool temp2
= False
;
6017 PyObject
* obj0
= 0 ;
6018 PyObject
* obj1
= 0 ;
6019 PyObject
* obj2
= 0 ;
6021 (char *) "self",(char *) "items",(char *) "pos", NULL
6024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_InsertItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6028 if (! PySequence_Check(obj1
)) {
6029 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6032 arg2
= new wxArrayString
;
6034 int i
, len
=PySequence_Length(obj1
);
6035 for (i
=0; i
<len
; i
++) {
6036 PyObject
* item
= PySequence_GetItem(obj1
, i
);
6038 PyObject
* str
= PyObject_Unicode(item
);
6040 PyObject
* str
= PyObject_Str(item
);
6042 if (PyErr_Occurred()) SWIG_fail
;
6043 arg2
->Add(Py2wxString(str
));
6048 arg3
= (int)SWIG_As_int(obj2
);
6049 if (PyErr_Occurred()) SWIG_fail
;
6051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6052 (arg1
)->InsertItems((wxArrayString
const &)*arg2
,arg3
);
6054 wxPyEndAllowThreads(__tstate
);
6055 if (PyErr_Occurred()) SWIG_fail
;
6057 Py_INCREF(Py_None
); resultobj
= Py_None
;
6059 if (temp2
) delete arg2
;
6064 if (temp2
) delete arg2
;
6070 static PyObject
*_wrap_ListBox_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6071 PyObject
*resultobj
;
6072 wxListBox
*arg1
= (wxListBox
*) 0 ;
6073 wxArrayString
*arg2
= 0 ;
6074 bool temp2
= False
;
6075 PyObject
* obj0
= 0 ;
6076 PyObject
* obj1
= 0 ;
6078 (char *) "self",(char *) "items", NULL
6081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Set",kwnames
,&obj0
,&obj1
)) goto fail
;
6082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6085 if (! PySequence_Check(obj1
)) {
6086 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6089 arg2
= new wxArrayString
;
6091 int i
, len
=PySequence_Length(obj1
);
6092 for (i
=0; i
<len
; i
++) {
6093 PyObject
* item
= PySequence_GetItem(obj1
, i
);
6095 PyObject
* str
= PyObject_Unicode(item
);
6097 PyObject
* str
= PyObject_Str(item
);
6099 if (PyErr_Occurred()) SWIG_fail
;
6100 arg2
->Add(Py2wxString(str
));
6106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6107 (arg1
)->Set((wxArrayString
const &)*arg2
);
6109 wxPyEndAllowThreads(__tstate
);
6110 if (PyErr_Occurred()) SWIG_fail
;
6112 Py_INCREF(Py_None
); resultobj
= Py_None
;
6114 if (temp2
) delete arg2
;
6119 if (temp2
) delete arg2
;
6125 static PyObject
*_wrap_ListBox_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6126 PyObject
*resultobj
;
6127 wxListBox
*arg1
= (wxListBox
*) 0 ;
6130 PyObject
* obj0
= 0 ;
6131 PyObject
* obj1
= 0 ;
6133 (char *) "self",(char *) "n", NULL
6136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
6137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6139 arg2
= (int)SWIG_As_int(obj1
);
6140 if (PyErr_Occurred()) SWIG_fail
;
6142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6143 result
= (bool)((wxListBox
const *)arg1
)->IsSelected(arg2
);
6145 wxPyEndAllowThreads(__tstate
);
6146 if (PyErr_Occurred()) SWIG_fail
;
6149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6157 static PyObject
*_wrap_ListBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6158 PyObject
*resultobj
;
6159 wxListBox
*arg1
= (wxListBox
*) 0 ;
6161 bool arg3
= (bool) True
;
6162 PyObject
* obj0
= 0 ;
6163 PyObject
* obj1
= 0 ;
6164 PyObject
* obj2
= 0 ;
6166 (char *) "self",(char *) "n",(char *) "select", NULL
6169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6172 arg2
= (int)SWIG_As_int(obj1
);
6173 if (PyErr_Occurred()) SWIG_fail
;
6175 arg3
= (bool)SWIG_As_bool(obj2
);
6176 if (PyErr_Occurred()) SWIG_fail
;
6179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6180 (arg1
)->SetSelection(arg2
,arg3
);
6182 wxPyEndAllowThreads(__tstate
);
6183 if (PyErr_Occurred()) SWIG_fail
;
6185 Py_INCREF(Py_None
); resultobj
= Py_None
;
6192 static PyObject
*_wrap_ListBox_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6193 PyObject
*resultobj
;
6194 wxListBox
*arg1
= (wxListBox
*) 0 ;
6196 PyObject
* obj0
= 0 ;
6197 PyObject
* obj1
= 0 ;
6199 (char *) "self",(char *) "n", NULL
6202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
6203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6205 arg2
= (int)SWIG_As_int(obj1
);
6206 if (PyErr_Occurred()) SWIG_fail
;
6208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6209 (arg1
)->Select(arg2
);
6211 wxPyEndAllowThreads(__tstate
);
6212 if (PyErr_Occurred()) SWIG_fail
;
6214 Py_INCREF(Py_None
); resultobj
= Py_None
;
6221 static PyObject
*_wrap_ListBox_Deselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6222 PyObject
*resultobj
;
6223 wxListBox
*arg1
= (wxListBox
*) 0 ;
6225 PyObject
* obj0
= 0 ;
6226 PyObject
* obj1
= 0 ;
6228 (char *) "self",(char *) "n", NULL
6231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_Deselect",kwnames
,&obj0
,&obj1
)) goto fail
;
6232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6234 arg2
= (int)SWIG_As_int(obj1
);
6235 if (PyErr_Occurred()) SWIG_fail
;
6237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6238 (arg1
)->Deselect(arg2
);
6240 wxPyEndAllowThreads(__tstate
);
6241 if (PyErr_Occurred()) SWIG_fail
;
6243 Py_INCREF(Py_None
); resultobj
= Py_None
;
6250 static PyObject
*_wrap_ListBox_DeselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6251 PyObject
*resultobj
;
6252 wxListBox
*arg1
= (wxListBox
*) 0 ;
6253 int arg2
= (int) -1 ;
6254 PyObject
* obj0
= 0 ;
6255 PyObject
* obj1
= 0 ;
6257 (char *) "self",(char *) "itemToLeaveSelected", NULL
6260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListBox_DeselectAll",kwnames
,&obj0
,&obj1
)) goto fail
;
6261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6264 arg2
= (int)SWIG_As_int(obj1
);
6265 if (PyErr_Occurred()) SWIG_fail
;
6268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6269 (arg1
)->DeselectAll(arg2
);
6271 wxPyEndAllowThreads(__tstate
);
6272 if (PyErr_Occurred()) SWIG_fail
;
6274 Py_INCREF(Py_None
); resultobj
= Py_None
;
6281 static PyObject
*_wrap_ListBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6282 PyObject
*resultobj
;
6283 wxListBox
*arg1
= (wxListBox
*) 0 ;
6284 wxString
*arg2
= 0 ;
6285 bool arg3
= (bool) True
;
6287 bool temp2
= False
;
6288 PyObject
* obj0
= 0 ;
6289 PyObject
* obj1
= 0 ;
6290 PyObject
* obj2
= 0 ;
6292 (char *) "self",(char *) "s",(char *) "select", NULL
6295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListBox_SetStringSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6299 arg2
= wxString_in_helper(obj1
);
6300 if (arg2
== NULL
) SWIG_fail
;
6304 arg3
= (bool)SWIG_As_bool(obj2
);
6305 if (PyErr_Occurred()) SWIG_fail
;
6308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6309 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
,arg3
);
6311 wxPyEndAllowThreads(__tstate
);
6312 if (PyErr_Occurred()) SWIG_fail
;
6315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6331 static PyObject
*_wrap_ListBox_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6332 PyObject
*resultobj
;
6333 wxListBox
*arg1
= (wxListBox
*) 0 ;
6335 PyObject
* obj0
= 0 ;
6337 (char *) "self", NULL
6340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_GetSelections",kwnames
,&obj0
)) goto fail
;
6341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6345 result
= (PyObject
*)wxListBox_GetSelections(arg1
);
6347 wxPyEndAllowThreads(__tstate
);
6348 if (PyErr_Occurred()) SWIG_fail
;
6357 static PyObject
*_wrap_ListBox_SetFirstItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6358 PyObject
*resultobj
;
6359 wxListBox
*arg1
= (wxListBox
*) 0 ;
6361 PyObject
* obj0
= 0 ;
6362 PyObject
* obj1
= 0 ;
6364 (char *) "self",(char *) "n", NULL
6367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItem",kwnames
,&obj0
,&obj1
)) goto fail
;
6368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6370 arg2
= (int)SWIG_As_int(obj1
);
6371 if (PyErr_Occurred()) SWIG_fail
;
6373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6374 (arg1
)->SetFirstItem(arg2
);
6376 wxPyEndAllowThreads(__tstate
);
6377 if (PyErr_Occurred()) SWIG_fail
;
6379 Py_INCREF(Py_None
); resultobj
= Py_None
;
6386 static PyObject
*_wrap_ListBox_SetFirstItemStr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6387 PyObject
*resultobj
;
6388 wxListBox
*arg1
= (wxListBox
*) 0 ;
6389 wxString
*arg2
= 0 ;
6390 bool temp2
= False
;
6391 PyObject
* obj0
= 0 ;
6392 PyObject
* obj1
= 0 ;
6394 (char *) "self",(char *) "s", NULL
6397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_SetFirstItemStr",kwnames
,&obj0
,&obj1
)) goto fail
;
6398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6401 arg2
= wxString_in_helper(obj1
);
6402 if (arg2
== NULL
) SWIG_fail
;
6406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6407 (arg1
)->SetFirstItem((wxString
const &)*arg2
);
6409 wxPyEndAllowThreads(__tstate
);
6410 if (PyErr_Occurred()) SWIG_fail
;
6412 Py_INCREF(Py_None
); resultobj
= Py_None
;
6427 static PyObject
*_wrap_ListBox_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6428 PyObject
*resultobj
;
6429 wxListBox
*arg1
= (wxListBox
*) 0 ;
6431 PyObject
* obj0
= 0 ;
6432 PyObject
* obj1
= 0 ;
6434 (char *) "self",(char *) "n", NULL
6437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6440 arg2
= (int)SWIG_As_int(obj1
);
6441 if (PyErr_Occurred()) SWIG_fail
;
6443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6444 (arg1
)->EnsureVisible(arg2
);
6446 wxPyEndAllowThreads(__tstate
);
6447 if (PyErr_Occurred()) SWIG_fail
;
6449 Py_INCREF(Py_None
); resultobj
= Py_None
;
6456 static PyObject
*_wrap_ListBox_AppendAndEnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6457 PyObject
*resultobj
;
6458 wxListBox
*arg1
= (wxListBox
*) 0 ;
6459 wxString
*arg2
= 0 ;
6460 bool temp2
= False
;
6461 PyObject
* obj0
= 0 ;
6462 PyObject
* obj1
= 0 ;
6464 (char *) "self",(char *) "s", NULL
6467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
6468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6471 arg2
= wxString_in_helper(obj1
);
6472 if (arg2
== NULL
) SWIG_fail
;
6476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6477 (arg1
)->AppendAndEnsureVisible((wxString
const &)*arg2
);
6479 wxPyEndAllowThreads(__tstate
);
6480 if (PyErr_Occurred()) SWIG_fail
;
6482 Py_INCREF(Py_None
); resultobj
= Py_None
;
6497 static PyObject
*_wrap_ListBox_IsSorted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6498 PyObject
*resultobj
;
6499 wxListBox
*arg1
= (wxListBox
*) 0 ;
6501 PyObject
* obj0
= 0 ;
6503 (char *) "self", NULL
6506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListBox_IsSorted",kwnames
,&obj0
)) goto fail
;
6507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6511 result
= (bool)((wxListBox
const *)arg1
)->IsSorted();
6513 wxPyEndAllowThreads(__tstate
);
6514 if (PyErr_Occurred()) SWIG_fail
;
6517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6525 static PyObject
*_wrap_ListBox_SetItemForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6526 PyObject
*resultobj
;
6527 wxListBox
*arg1
= (wxListBox
*) 0 ;
6529 wxColour
*arg3
= 0 ;
6531 PyObject
* obj0
= 0 ;
6532 PyObject
* obj1
= 0 ;
6533 PyObject
* obj2
= 0 ;
6535 (char *) "self",(char *) "item",(char *) "c", NULL
6538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemForegroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6541 arg2
= (int)SWIG_As_int(obj1
);
6542 if (PyErr_Occurred()) SWIG_fail
;
6545 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6549 wxListBox_SetItemForegroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6551 wxPyEndAllowThreads(__tstate
);
6552 if (PyErr_Occurred()) SWIG_fail
;
6554 Py_INCREF(Py_None
); resultobj
= Py_None
;
6561 static PyObject
*_wrap_ListBox_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6562 PyObject
*resultobj
;
6563 wxListBox
*arg1
= (wxListBox
*) 0 ;
6565 wxColour
*arg3
= 0 ;
6567 PyObject
* obj0
= 0 ;
6568 PyObject
* obj1
= 0 ;
6569 PyObject
* obj2
= 0 ;
6571 (char *) "self",(char *) "item",(char *) "c", NULL
6574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6577 arg2
= (int)SWIG_As_int(obj1
);
6578 if (PyErr_Occurred()) SWIG_fail
;
6581 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
6584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6585 wxListBox_SetItemBackgroundColour(arg1
,arg2
,(wxColour
const &)*arg3
);
6587 wxPyEndAllowThreads(__tstate
);
6588 if (PyErr_Occurred()) SWIG_fail
;
6590 Py_INCREF(Py_None
); resultobj
= Py_None
;
6597 static PyObject
*_wrap_ListBox_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6598 PyObject
*resultobj
;
6599 wxListBox
*arg1
= (wxListBox
*) 0 ;
6602 PyObject
* obj0
= 0 ;
6603 PyObject
* obj1
= 0 ;
6604 PyObject
* obj2
= 0 ;
6606 (char *) "self",(char *) "item",(char *) "f", NULL
6609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListBox_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListBox
,
6611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6612 arg2
= (int)SWIG_As_int(obj1
);
6613 if (PyErr_Occurred()) SWIG_fail
;
6614 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
6615 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6618 PyErr_SetString(PyExc_TypeError
,"null reference");
6622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6623 wxListBox_SetItemFont(arg1
,arg2
,(wxFont
const &)*arg3
);
6625 wxPyEndAllowThreads(__tstate
);
6626 if (PyErr_Occurred()) SWIG_fail
;
6628 Py_INCREF(Py_None
); resultobj
= Py_None
;
6635 static PyObject
*_wrap_ListBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6636 PyObject
*resultobj
;
6637 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
6638 wxVisualAttributes result
;
6639 PyObject
* obj0
= 0 ;
6641 (char *) "variant", NULL
6644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
6646 arg1
= (int)SWIG_As_int(obj0
);
6647 if (PyErr_Occurred()) SWIG_fail
;
6650 if (!wxPyCheckForApp()) SWIG_fail
;
6651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6652 result
= wxListBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
6654 wxPyEndAllowThreads(__tstate
);
6655 if (PyErr_Occurred()) SWIG_fail
;
6658 wxVisualAttributes
* resultptr
;
6659 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
6660 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
6668 static PyObject
* ListBox_swigregister(PyObject
*, PyObject
*args
) {
6670 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6671 SWIG_TypeClientData(SWIGTYPE_p_wxListBox
, obj
);
6673 return Py_BuildValue((char *)"");
6675 static PyObject
*_wrap_new_CheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6676 PyObject
*resultobj
;
6677 wxWindow
*arg1
= (wxWindow
*) 0 ;
6678 int arg2
= (int) -1 ;
6679 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
6680 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
6681 wxSize
const &arg4_defvalue
= wxDefaultSize
;
6682 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
6683 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
6684 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
6685 long arg6
= (long) 0 ;
6686 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
6687 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
6688 wxString
const &arg8_defvalue
= wxPyListBoxNameStr
;
6689 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6690 wxCheckListBox
*result
;
6693 bool temp5
= False
;
6694 bool temp8
= False
;
6695 PyObject
* obj0
= 0 ;
6696 PyObject
* obj1
= 0 ;
6697 PyObject
* obj2
= 0 ;
6698 PyObject
* obj3
= 0 ;
6699 PyObject
* obj4
= 0 ;
6700 PyObject
* obj5
= 0 ;
6701 PyObject
* obj6
= 0 ;
6702 PyObject
* obj7
= 0 ;
6704 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_CheckListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
6708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6711 arg2
= (int)SWIG_As_int(obj1
);
6712 if (PyErr_Occurred()) SWIG_fail
;
6717 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
6723 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
6728 if (! PySequence_Check(obj4
)) {
6729 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6732 arg5
= new wxArrayString
;
6734 int i
, len
=PySequence_Length(obj4
);
6735 for (i
=0; i
<len
; i
++) {
6736 PyObject
* item
= PySequence_GetItem(obj4
, i
);
6738 PyObject
* str
= PyObject_Unicode(item
);
6740 PyObject
* str
= PyObject_Str(item
);
6742 if (PyErr_Occurred()) SWIG_fail
;
6743 arg5
->Add(Py2wxString(str
));
6750 arg6
= (long)SWIG_As_long(obj5
);
6751 if (PyErr_Occurred()) SWIG_fail
;
6754 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
6755 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6758 PyErr_SetString(PyExc_TypeError
,"null reference");
6764 arg8
= wxString_in_helper(obj7
);
6765 if (arg8
== NULL
) SWIG_fail
;
6770 if (!wxPyCheckForApp()) SWIG_fail
;
6771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6772 result
= (wxCheckListBox
*)new wxCheckListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
6774 wxPyEndAllowThreads(__tstate
);
6775 if (PyErr_Occurred()) SWIG_fail
;
6777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6779 if (temp5
) delete arg5
;
6788 if (temp5
) delete arg5
;
6798 static PyObject
*_wrap_new_PreCheckListBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6799 PyObject
*resultobj
;
6800 wxCheckListBox
*result
;
6805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreCheckListBox",kwnames
)) goto fail
;
6807 if (!wxPyCheckForApp()) SWIG_fail
;
6808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6809 result
= (wxCheckListBox
*)new wxCheckListBox();
6811 wxPyEndAllowThreads(__tstate
);
6812 if (PyErr_Occurred()) SWIG_fail
;
6814 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCheckListBox
, 1);
6821 static PyObject
*_wrap_CheckListBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6822 PyObject
*resultobj
;
6823 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6824 wxWindow
*arg2
= (wxWindow
*) 0 ;
6825 int arg3
= (int) -1 ;
6826 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6827 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6828 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6829 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6830 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
6831 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
6832 long arg7
= (long) 0 ;
6833 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
6834 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
6835 wxString
const &arg9_defvalue
= wxPyListBoxNameStr
;
6836 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
6840 bool temp6
= False
;
6841 bool temp9
= False
;
6842 PyObject
* obj0
= 0 ;
6843 PyObject
* obj1
= 0 ;
6844 PyObject
* obj2
= 0 ;
6845 PyObject
* obj3
= 0 ;
6846 PyObject
* obj4
= 0 ;
6847 PyObject
* obj5
= 0 ;
6848 PyObject
* obj6
= 0 ;
6849 PyObject
* obj7
= 0 ;
6850 PyObject
* obj8
= 0 ;
6852 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
6855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:CheckListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
6856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6858 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
6859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6861 arg3
= (int)SWIG_As_int(obj2
);
6862 if (PyErr_Occurred()) SWIG_fail
;
6867 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6873 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6878 if (! PySequence_Check(obj5
)) {
6879 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
6882 arg6
= new wxArrayString
;
6884 int i
, len
=PySequence_Length(obj5
);
6885 for (i
=0; i
<len
; i
++) {
6886 PyObject
* item
= PySequence_GetItem(obj5
, i
);
6888 PyObject
* str
= PyObject_Unicode(item
);
6890 PyObject
* str
= PyObject_Str(item
);
6892 if (PyErr_Occurred()) SWIG_fail
;
6893 arg6
->Add(Py2wxString(str
));
6900 arg7
= (long)SWIG_As_long(obj6
);
6901 if (PyErr_Occurred()) SWIG_fail
;
6904 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
6905 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6908 PyErr_SetString(PyExc_TypeError
,"null reference");
6914 arg9
= wxString_in_helper(obj8
);
6915 if (arg9
== NULL
) SWIG_fail
;
6920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6921 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
6923 wxPyEndAllowThreads(__tstate
);
6924 if (PyErr_Occurred()) SWIG_fail
;
6927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6930 if (temp6
) delete arg6
;
6939 if (temp6
) delete arg6
;
6949 static PyObject
*_wrap_CheckListBox_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6950 PyObject
*resultobj
;
6951 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6954 PyObject
* obj0
= 0 ;
6955 PyObject
* obj1
= 0 ;
6957 (char *) "self",(char *) "index", NULL
6960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
6961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6963 arg2
= (int)SWIG_As_int(obj1
);
6964 if (PyErr_Occurred()) SWIG_fail
;
6966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6967 result
= (bool)(arg1
)->IsChecked(arg2
);
6969 wxPyEndAllowThreads(__tstate
);
6970 if (PyErr_Occurred()) SWIG_fail
;
6973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6981 static PyObject
*_wrap_CheckListBox_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6982 PyObject
*resultobj
;
6983 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
6985 int arg3
= (int) True
;
6986 PyObject
* obj0
= 0 ;
6987 PyObject
* obj1
= 0 ;
6988 PyObject
* obj2
= 0 ;
6990 (char *) "self",(char *) "index",(char *) "check", NULL
6993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:CheckListBox_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
6995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6996 arg2
= (int)SWIG_As_int(obj1
);
6997 if (PyErr_Occurred()) SWIG_fail
;
6999 arg3
= (int)SWIG_As_int(obj2
);
7000 if (PyErr_Occurred()) SWIG_fail
;
7003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7004 (arg1
)->Check(arg2
,arg3
);
7006 wxPyEndAllowThreads(__tstate
);
7007 if (PyErr_Occurred()) SWIG_fail
;
7009 Py_INCREF(Py_None
); resultobj
= Py_None
;
7016 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7017 PyObject
*resultobj
;
7018 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
7022 PyObject
* obj0
= 0 ;
7023 PyObject
* obj1
= 0 ;
7025 (char *) "self",(char *) "pt", NULL
7028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
7029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
7030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7033 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7037 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
7039 wxPyEndAllowThreads(__tstate
);
7040 if (PyErr_Occurred()) SWIG_fail
;
7042 resultobj
= SWIG_From_int((int)result
);
7049 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7050 PyObject
*resultobj
;
7051 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
7055 PyObject
* obj0
= 0 ;
7056 PyObject
* obj1
= 0 ;
7057 PyObject
* obj2
= 0 ;
7059 (char *) "self",(char *) "x",(char *) "y", NULL
7062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
7064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7065 arg2
= (int)SWIG_As_int(obj1
);
7066 if (PyErr_Occurred()) SWIG_fail
;
7067 arg3
= (int)SWIG_As_int(obj2
);
7068 if (PyErr_Occurred()) SWIG_fail
;
7070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7071 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
7073 wxPyEndAllowThreads(__tstate
);
7074 if (PyErr_Occurred()) SWIG_fail
;
7076 resultobj
= SWIG_From_int((int)result
);
7083 static PyObject
* CheckListBox_swigregister(PyObject
*, PyObject
*args
) {
7085 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7086 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
7088 return Py_BuildValue((char *)"");
7090 static int _wrap_TextCtrlNameStr_set(PyObject
*) {
7091 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
7096 static PyObject
*_wrap_TextCtrlNameStr_get() {
7101 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
7103 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
7110 static PyObject
*_wrap_new_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7111 PyObject
*resultobj
;
7112 wxColour
const &arg1_defvalue
= wxNullColour
;
7113 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
7114 wxColour
const &arg2_defvalue
= wxNullColour
;
7115 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
7116 wxFont
const &arg3_defvalue
= wxNullFont
;
7117 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
7118 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
7122 PyObject
* obj0
= 0 ;
7123 PyObject
* obj1
= 0 ;
7124 PyObject
* obj2
= 0 ;
7125 PyObject
* obj3
= 0 ;
7127 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
7130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7134 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
7140 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7144 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
7145 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7148 PyErr_SetString(PyExc_TypeError
,"null reference");
7153 arg4
= (int)SWIG_As_int(obj3
);
7154 if (PyErr_Occurred()) SWIG_fail
;
7157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7158 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
7160 wxPyEndAllowThreads(__tstate
);
7161 if (PyErr_Occurred()) SWIG_fail
;
7163 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
7170 static PyObject
*_wrap_delete_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7171 PyObject
*resultobj
;
7172 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7173 PyObject
* obj0
= 0 ;
7175 (char *) "self", NULL
7178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
7179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7185 wxPyEndAllowThreads(__tstate
);
7186 if (PyErr_Occurred()) SWIG_fail
;
7188 Py_INCREF(Py_None
); resultobj
= Py_None
;
7195 static PyObject
*_wrap_TextAttr_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7196 PyObject
*resultobj
;
7197 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7198 PyObject
* obj0
= 0 ;
7200 (char *) "self", NULL
7203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
7204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7210 wxPyEndAllowThreads(__tstate
);
7211 if (PyErr_Occurred()) SWIG_fail
;
7213 Py_INCREF(Py_None
); resultobj
= Py_None
;
7220 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7221 PyObject
*resultobj
;
7222 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7223 wxColour
*arg2
= 0 ;
7225 PyObject
* obj0
= 0 ;
7226 PyObject
* obj1
= 0 ;
7228 (char *) "self",(char *) "colText", NULL
7231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7236 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7240 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
7242 wxPyEndAllowThreads(__tstate
);
7243 if (PyErr_Occurred()) SWIG_fail
;
7245 Py_INCREF(Py_None
); resultobj
= Py_None
;
7252 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7253 PyObject
*resultobj
;
7254 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7255 wxColour
*arg2
= 0 ;
7257 PyObject
* obj0
= 0 ;
7258 PyObject
* obj1
= 0 ;
7260 (char *) "self",(char *) "colBack", NULL
7263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7268 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7272 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
7274 wxPyEndAllowThreads(__tstate
);
7275 if (PyErr_Occurred()) SWIG_fail
;
7277 Py_INCREF(Py_None
); resultobj
= Py_None
;
7284 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7285 PyObject
*resultobj
;
7286 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7288 long arg3
= (long) wxTEXT_ATTR_FONT
;
7289 PyObject
* obj0
= 0 ;
7290 PyObject
* obj1
= 0 ;
7291 PyObject
* obj2
= 0 ;
7293 (char *) "self",(char *) "font",(char *) "flags", NULL
7296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7299 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7300 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7303 PyErr_SetString(PyExc_TypeError
,"null reference");
7307 arg3
= (long)SWIG_As_long(obj2
);
7308 if (PyErr_Occurred()) SWIG_fail
;
7311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7312 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
7314 wxPyEndAllowThreads(__tstate
);
7315 if (PyErr_Occurred()) SWIG_fail
;
7317 Py_INCREF(Py_None
); resultobj
= Py_None
;
7324 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7325 PyObject
*resultobj
;
7326 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7328 PyObject
* obj0
= 0 ;
7329 PyObject
* obj1
= 0 ;
7331 (char *) "self",(char *) "alignment", NULL
7334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7337 arg2
= (int)SWIG_As_int(obj1
);
7338 if (PyErr_Occurred()) SWIG_fail
;
7340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7341 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
7343 wxPyEndAllowThreads(__tstate
);
7344 if (PyErr_Occurred()) SWIG_fail
;
7346 Py_INCREF(Py_None
); resultobj
= Py_None
;
7353 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7354 PyObject
*resultobj
;
7355 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7356 wxArrayInt
*arg2
= 0 ;
7357 bool temp2
= False
;
7358 PyObject
* obj0
= 0 ;
7359 PyObject
* obj1
= 0 ;
7361 (char *) "self",(char *) "tabs", NULL
7364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
7365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7368 if (! PySequence_Check(obj1
)) {
7369 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
7372 arg2
= new wxArrayInt
;
7374 int i
, len
=PySequence_Length(obj1
);
7375 for (i
=0; i
<len
; i
++) {
7376 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7377 PyObject
* number
= PyNumber_Int(item
);
7378 arg2
->Add(PyInt_AS_LONG(number
));
7384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7385 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
7387 wxPyEndAllowThreads(__tstate
);
7388 if (PyErr_Occurred()) SWIG_fail
;
7390 Py_INCREF(Py_None
); resultobj
= Py_None
;
7392 if (temp2
) delete arg2
;
7397 if (temp2
) delete arg2
;
7403 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7404 PyObject
*resultobj
;
7405 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7407 int arg3
= (int) 0 ;
7408 PyObject
* obj0
= 0 ;
7409 PyObject
* obj1
= 0 ;
7410 PyObject
* obj2
= 0 ;
7412 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
7415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7418 arg2
= (int)SWIG_As_int(obj1
);
7419 if (PyErr_Occurred()) SWIG_fail
;
7421 arg3
= (int)SWIG_As_int(obj2
);
7422 if (PyErr_Occurred()) SWIG_fail
;
7425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7426 (arg1
)->SetLeftIndent(arg2
,arg3
);
7428 wxPyEndAllowThreads(__tstate
);
7429 if (PyErr_Occurred()) SWIG_fail
;
7431 Py_INCREF(Py_None
); resultobj
= Py_None
;
7438 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7439 PyObject
*resultobj
;
7440 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7442 PyObject
* obj0
= 0 ;
7443 PyObject
* obj1
= 0 ;
7445 (char *) "self",(char *) "indent", NULL
7448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
7449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7451 arg2
= (int)SWIG_As_int(obj1
);
7452 if (PyErr_Occurred()) SWIG_fail
;
7454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7455 (arg1
)->SetRightIndent(arg2
);
7457 wxPyEndAllowThreads(__tstate
);
7458 if (PyErr_Occurred()) SWIG_fail
;
7460 Py_INCREF(Py_None
); resultobj
= Py_None
;
7467 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7468 PyObject
*resultobj
;
7469 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7471 PyObject
* obj0
= 0 ;
7472 PyObject
* obj1
= 0 ;
7474 (char *) "self",(char *) "flags", NULL
7477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7480 arg2
= (long)SWIG_As_long(obj1
);
7481 if (PyErr_Occurred()) SWIG_fail
;
7483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7484 (arg1
)->SetFlags(arg2
);
7486 wxPyEndAllowThreads(__tstate
);
7487 if (PyErr_Occurred()) SWIG_fail
;
7489 Py_INCREF(Py_None
); resultobj
= Py_None
;
7496 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7497 PyObject
*resultobj
;
7498 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7500 PyObject
* obj0
= 0 ;
7502 (char *) "self", NULL
7505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
7506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7510 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
7512 wxPyEndAllowThreads(__tstate
);
7513 if (PyErr_Occurred()) SWIG_fail
;
7516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7524 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7525 PyObject
*resultobj
;
7526 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7528 PyObject
* obj0
= 0 ;
7530 (char *) "self", NULL
7533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
7534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7538 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
7540 wxPyEndAllowThreads(__tstate
);
7541 if (PyErr_Occurred()) SWIG_fail
;
7544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7552 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7553 PyObject
*resultobj
;
7554 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7556 PyObject
* obj0
= 0 ;
7558 (char *) "self", NULL
7561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
7562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7566 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
7568 wxPyEndAllowThreads(__tstate
);
7569 if (PyErr_Occurred()) SWIG_fail
;
7572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7580 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7581 PyObject
*resultobj
;
7582 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7584 PyObject
* obj0
= 0 ;
7586 (char *) "self", NULL
7589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
7590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7594 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
7596 wxPyEndAllowThreads(__tstate
);
7597 if (PyErr_Occurred()) SWIG_fail
;
7600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7608 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7609 PyObject
*resultobj
;
7610 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7612 PyObject
* obj0
= 0 ;
7614 (char *) "self", NULL
7617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
7618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7622 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
7624 wxPyEndAllowThreads(__tstate
);
7625 if (PyErr_Occurred()) SWIG_fail
;
7628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7636 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7637 PyObject
*resultobj
;
7638 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7640 PyObject
* obj0
= 0 ;
7642 (char *) "self", NULL
7645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
7646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7650 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
7652 wxPyEndAllowThreads(__tstate
);
7653 if (PyErr_Occurred()) SWIG_fail
;
7656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7664 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7665 PyObject
*resultobj
;
7666 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7668 PyObject
* obj0
= 0 ;
7670 (char *) "self", NULL
7673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
7674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7678 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
7680 wxPyEndAllowThreads(__tstate
);
7681 if (PyErr_Occurred()) SWIG_fail
;
7684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7692 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7693 PyObject
*resultobj
;
7694 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7697 PyObject
* obj0
= 0 ;
7698 PyObject
* obj1
= 0 ;
7700 (char *) "self",(char *) "flag", NULL
7703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
7704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7706 arg2
= (long)SWIG_As_long(obj1
);
7707 if (PyErr_Occurred()) SWIG_fail
;
7709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7710 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
7712 wxPyEndAllowThreads(__tstate
);
7713 if (PyErr_Occurred()) SWIG_fail
;
7716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7724 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7725 PyObject
*resultobj
;
7726 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7728 PyObject
* obj0
= 0 ;
7730 (char *) "self", NULL
7733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
7734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7739 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
7740 result
= (wxColour
*) &_result_ref
;
7743 wxPyEndAllowThreads(__tstate
);
7744 if (PyErr_Occurred()) SWIG_fail
;
7746 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7753 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7754 PyObject
*resultobj
;
7755 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7757 PyObject
* obj0
= 0 ;
7759 (char *) "self", NULL
7762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
7763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7768 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
7769 result
= (wxColour
*) &_result_ref
;
7772 wxPyEndAllowThreads(__tstate
);
7773 if (PyErr_Occurred()) SWIG_fail
;
7775 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7782 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7783 PyObject
*resultobj
;
7784 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7786 PyObject
* obj0
= 0 ;
7788 (char *) "self", NULL
7791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
7792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7797 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7798 result
= (wxFont
*) &_result_ref
;
7801 wxPyEndAllowThreads(__tstate
);
7802 if (PyErr_Occurred()) SWIG_fail
;
7805 wxFont
* resultptr
= new wxFont(*result
);
7806 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
7814 static PyObject
*_wrap_TextAttr_GetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7815 PyObject
*resultobj
;
7816 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7818 PyObject
* obj0
= 0 ;
7820 (char *) "self", NULL
7823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetAlignment",kwnames
,&obj0
)) goto fail
;
7824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7828 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7830 wxPyEndAllowThreads(__tstate
);
7831 if (PyErr_Occurred()) SWIG_fail
;
7833 resultobj
= SWIG_From_int((int)result
);
7840 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7841 PyObject
*resultobj
;
7842 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7844 PyObject
* obj0
= 0 ;
7846 (char *) "self", NULL
7849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
7850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7855 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7856 result
= (wxArrayInt
*) &_result_ref
;
7859 wxPyEndAllowThreads(__tstate
);
7860 if (PyErr_Occurred()) SWIG_fail
;
7863 resultobj
= PyList_New(0);
7865 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7866 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7867 PyList_Append(resultobj
, val
);
7877 static PyObject
*_wrap_TextAttr_GetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7878 PyObject
*resultobj
;
7879 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7881 PyObject
* obj0
= 0 ;
7883 (char *) "self", NULL
7886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftIndent",kwnames
,&obj0
)) goto fail
;
7887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7891 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftIndent();
7893 wxPyEndAllowThreads(__tstate
);
7894 if (PyErr_Occurred()) SWIG_fail
;
7896 resultobj
= SWIG_From_long((long)result
);
7903 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7904 PyObject
*resultobj
;
7905 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7907 PyObject
* obj0
= 0 ;
7909 (char *) "self", NULL
7912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetLeftSubIndent",kwnames
,&obj0
)) goto fail
;
7913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7917 result
= (long)((wxTextAttr
const *)arg1
)->GetLeftSubIndent();
7919 wxPyEndAllowThreads(__tstate
);
7920 if (PyErr_Occurred()) SWIG_fail
;
7922 resultobj
= SWIG_From_long((long)result
);
7929 static PyObject
*_wrap_TextAttr_GetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7930 PyObject
*resultobj
;
7931 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7933 PyObject
* obj0
= 0 ;
7935 (char *) "self", NULL
7938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetRightIndent",kwnames
,&obj0
)) goto fail
;
7939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7943 result
= (long)((wxTextAttr
const *)arg1
)->GetRightIndent();
7945 wxPyEndAllowThreads(__tstate
);
7946 if (PyErr_Occurred()) SWIG_fail
;
7948 resultobj
= SWIG_From_long((long)result
);
7955 static PyObject
*_wrap_TextAttr_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7956 PyObject
*resultobj
;
7957 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7959 PyObject
* obj0
= 0 ;
7961 (char *) "self", NULL
7964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFlags",kwnames
,&obj0
)) goto fail
;
7965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7969 result
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
7971 wxPyEndAllowThreads(__tstate
);
7972 if (PyErr_Occurred()) SWIG_fail
;
7974 resultobj
= SWIG_From_long((long)result
);
7981 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7982 PyObject
*resultobj
;
7983 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7985 PyObject
* obj0
= 0 ;
7987 (char *) "self", NULL
7990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
7991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7995 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
7997 wxPyEndAllowThreads(__tstate
);
7998 if (PyErr_Occurred()) SWIG_fail
;
8001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8009 static PyObject
*_wrap_TextAttr_Combine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8010 PyObject
*resultobj
;
8011 wxTextAttr
*arg1
= 0 ;
8012 wxTextAttr
*arg2
= 0 ;
8013 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
8015 PyObject
* obj0
= 0 ;
8016 PyObject
* obj1
= 0 ;
8017 PyObject
* obj2
= 0 ;
8019 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
8022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
8024 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8027 PyErr_SetString(PyExc_TypeError
,"null reference");
8030 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
8031 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8034 PyErr_SetString(PyExc_TypeError
,"null reference");
8037 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextCtrl
,
8038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8041 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
8043 wxPyEndAllowThreads(__tstate
);
8044 if (PyErr_Occurred()) SWIG_fail
;
8047 wxTextAttr
* resultptr
;
8048 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
8049 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
8057 static PyObject
* TextAttr_swigregister(PyObject
*, PyObject
*args
) {
8059 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8060 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
8062 return Py_BuildValue((char *)"");
8064 static PyObject
*_wrap_new_TextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8065 PyObject
*resultobj
;
8066 wxWindow
*arg1
= (wxWindow
*) 0 ;
8067 int arg2
= (int) -1 ;
8068 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8069 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8070 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8071 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8072 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8073 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8074 long arg6
= (long) 0 ;
8075 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8076 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8077 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
8078 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8080 bool temp3
= False
;
8083 bool temp8
= False
;
8084 PyObject
* obj0
= 0 ;
8085 PyObject
* obj1
= 0 ;
8086 PyObject
* obj2
= 0 ;
8087 PyObject
* obj3
= 0 ;
8088 PyObject
* obj4
= 0 ;
8089 PyObject
* obj5
= 0 ;
8090 PyObject
* obj6
= 0 ;
8091 PyObject
* obj7
= 0 ;
8093 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
8097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8100 arg2
= (int)SWIG_As_int(obj1
);
8101 if (PyErr_Occurred()) SWIG_fail
;
8105 arg3
= wxString_in_helper(obj2
);
8106 if (arg3
== NULL
) SWIG_fail
;
8113 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8119 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8123 arg6
= (long)SWIG_As_long(obj5
);
8124 if (PyErr_Occurred()) SWIG_fail
;
8127 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
8128 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8131 PyErr_SetString(PyExc_TypeError
,"null reference");
8137 arg8
= wxString_in_helper(obj7
);
8138 if (arg8
== NULL
) SWIG_fail
;
8143 if (!wxPyCheckForApp()) SWIG_fail
;
8144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8145 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8147 wxPyEndAllowThreads(__tstate
);
8148 if (PyErr_Occurred()) SWIG_fail
;
8150 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
8173 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8174 PyObject
*resultobj
;
8180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
8182 if (!wxPyCheckForApp()) SWIG_fail
;
8183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8184 result
= (wxTextCtrl
*)new wxTextCtrl();
8186 wxPyEndAllowThreads(__tstate
);
8187 if (PyErr_Occurred()) SWIG_fail
;
8189 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
8196 static PyObject
*_wrap_TextCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8197 PyObject
*resultobj
;
8198 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8199 wxWindow
*arg2
= (wxWindow
*) 0 ;
8200 int arg3
= (int) -1 ;
8201 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8202 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8203 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8204 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8205 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8206 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8207 long arg7
= (long) 0 ;
8208 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8209 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8210 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
8211 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8213 bool temp4
= False
;
8216 bool temp9
= False
;
8217 PyObject
* obj0
= 0 ;
8218 PyObject
* obj1
= 0 ;
8219 PyObject
* obj2
= 0 ;
8220 PyObject
* obj3
= 0 ;
8221 PyObject
* obj4
= 0 ;
8222 PyObject
* obj5
= 0 ;
8223 PyObject
* obj6
= 0 ;
8224 PyObject
* obj7
= 0 ;
8225 PyObject
* obj8
= 0 ;
8227 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8233 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8236 arg3
= (int)SWIG_As_int(obj2
);
8237 if (PyErr_Occurred()) SWIG_fail
;
8241 arg4
= wxString_in_helper(obj3
);
8242 if (arg4
== NULL
) SWIG_fail
;
8249 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8255 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8259 arg7
= (long)SWIG_As_long(obj6
);
8260 if (PyErr_Occurred()) SWIG_fail
;
8263 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
8264 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8267 PyErr_SetString(PyExc_TypeError
,"null reference");
8273 arg9
= wxString_in_helper(obj8
);
8274 if (arg9
== NULL
) SWIG_fail
;
8279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8280 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8282 wxPyEndAllowThreads(__tstate
);
8283 if (PyErr_Occurred()) SWIG_fail
;
8286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8310 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8311 PyObject
*resultobj
;
8312 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8314 PyObject
* obj0
= 0 ;
8316 (char *) "self", NULL
8319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
8320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8324 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
8326 wxPyEndAllowThreads(__tstate
);
8327 if (PyErr_Occurred()) SWIG_fail
;
8331 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8333 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8342 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8343 PyObject
*resultobj
;
8344 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8345 wxString
*arg2
= 0 ;
8346 bool temp2
= False
;
8347 PyObject
* obj0
= 0 ;
8348 PyObject
* obj1
= 0 ;
8350 (char *) "self",(char *) "value", NULL
8353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
8354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8357 arg2
= wxString_in_helper(obj1
);
8358 if (arg2
== NULL
) SWIG_fail
;
8362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8363 (arg1
)->SetValue((wxString
const &)*arg2
);
8365 wxPyEndAllowThreads(__tstate
);
8366 if (PyErr_Occurred()) SWIG_fail
;
8368 Py_INCREF(Py_None
); resultobj
= Py_None
;
8383 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8384 PyObject
*resultobj
;
8385 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8389 PyObject
* obj0
= 0 ;
8390 PyObject
* obj1
= 0 ;
8391 PyObject
* obj2
= 0 ;
8393 (char *) "self",(char *) "from",(char *) "to", NULL
8396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8399 arg2
= (long)SWIG_As_long(obj1
);
8400 if (PyErr_Occurred()) SWIG_fail
;
8401 arg3
= (long)SWIG_As_long(obj2
);
8402 if (PyErr_Occurred()) SWIG_fail
;
8404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8405 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
8407 wxPyEndAllowThreads(__tstate
);
8408 if (PyErr_Occurred()) SWIG_fail
;
8412 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8414 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8423 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8424 PyObject
*resultobj
;
8425 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8428 PyObject
* obj0
= 0 ;
8429 PyObject
* obj1
= 0 ;
8431 (char *) "self",(char *) "lineNo", NULL
8434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8437 arg2
= (long)SWIG_As_long(obj1
);
8438 if (PyErr_Occurred()) SWIG_fail
;
8440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8441 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
8443 wxPyEndAllowThreads(__tstate
);
8444 if (PyErr_Occurred()) SWIG_fail
;
8446 resultobj
= SWIG_From_int((int)result
);
8453 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8454 PyObject
*resultobj
;
8455 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8458 PyObject
* obj0
= 0 ;
8459 PyObject
* obj1
= 0 ;
8461 (char *) "self",(char *) "lineNo", NULL
8464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
8465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8467 arg2
= (long)SWIG_As_long(obj1
);
8468 if (PyErr_Occurred()) SWIG_fail
;
8470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8471 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
8473 wxPyEndAllowThreads(__tstate
);
8474 if (PyErr_Occurred()) SWIG_fail
;
8478 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8480 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8489 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8490 PyObject
*resultobj
;
8491 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8493 PyObject
* obj0
= 0 ;
8495 (char *) "self", NULL
8498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetNumberOfLines",kwnames
,&obj0
)) goto fail
;
8499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8503 result
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
8505 wxPyEndAllowThreads(__tstate
);
8506 if (PyErr_Occurred()) SWIG_fail
;
8508 resultobj
= SWIG_From_int((int)result
);
8515 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8516 PyObject
*resultobj
;
8517 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8519 PyObject
* obj0
= 0 ;
8521 (char *) "self", NULL
8524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
8525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8529 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
8531 wxPyEndAllowThreads(__tstate
);
8532 if (PyErr_Occurred()) SWIG_fail
;
8535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8543 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8544 PyObject
*resultobj
;
8545 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8547 PyObject
* obj0
= 0 ;
8549 (char *) "self", NULL
8552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
8553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8557 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
8559 wxPyEndAllowThreads(__tstate
);
8560 if (PyErr_Occurred()) SWIG_fail
;
8563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8571 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8572 PyObject
*resultobj
;
8573 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8575 PyObject
* obj0
= 0 ;
8577 (char *) "self", NULL
8580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
8581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8585 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
8587 wxPyEndAllowThreads(__tstate
);
8588 if (PyErr_Occurred()) SWIG_fail
;
8591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8599 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8600 PyObject
*resultobj
;
8601 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8603 PyObject
* obj0
= 0 ;
8605 (char *) "self", NULL
8608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
8609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8613 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
8615 wxPyEndAllowThreads(__tstate
);
8616 if (PyErr_Occurred()) SWIG_fail
;
8619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8627 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8628 PyObject
*resultobj
;
8629 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8630 long *arg2
= (long *) 0 ;
8631 long *arg3
= (long *) 0 ;
8636 PyObject
* obj0
= 0 ;
8638 (char *) "self", NULL
8641 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
8642 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
8643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
8644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8648 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
8650 wxPyEndAllowThreads(__tstate
);
8651 if (PyErr_Occurred()) SWIG_fail
;
8653 Py_INCREF(Py_None
); resultobj
= Py_None
;
8654 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
8655 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
8656 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
8657 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
8664 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8665 PyObject
*resultobj
;
8666 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8668 PyObject
* obj0
= 0 ;
8670 (char *) "self", NULL
8673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
8674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8678 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
8680 wxPyEndAllowThreads(__tstate
);
8681 if (PyErr_Occurred()) SWIG_fail
;
8685 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8687 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8696 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8697 PyObject
*resultobj
;
8698 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8699 PyObject
* obj0
= 0 ;
8701 (char *) "self", NULL
8704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
8705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8711 wxPyEndAllowThreads(__tstate
);
8712 if (PyErr_Occurred()) SWIG_fail
;
8714 Py_INCREF(Py_None
); resultobj
= Py_None
;
8721 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8722 PyObject
*resultobj
;
8723 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8726 wxString
*arg4
= 0 ;
8727 bool temp4
= False
;
8728 PyObject
* obj0
= 0 ;
8729 PyObject
* obj1
= 0 ;
8730 PyObject
* obj2
= 0 ;
8731 PyObject
* obj3
= 0 ;
8733 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8739 arg2
= (long)SWIG_As_long(obj1
);
8740 if (PyErr_Occurred()) SWIG_fail
;
8741 arg3
= (long)SWIG_As_long(obj2
);
8742 if (PyErr_Occurred()) SWIG_fail
;
8744 arg4
= wxString_in_helper(obj3
);
8745 if (arg4
== NULL
) SWIG_fail
;
8749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8750 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
8752 wxPyEndAllowThreads(__tstate
);
8753 if (PyErr_Occurred()) SWIG_fail
;
8755 Py_INCREF(Py_None
); resultobj
= Py_None
;
8770 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8771 PyObject
*resultobj
;
8772 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8775 PyObject
* obj0
= 0 ;
8776 PyObject
* obj1
= 0 ;
8777 PyObject
* obj2
= 0 ;
8779 (char *) "self",(char *) "from",(char *) "to", NULL
8782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8785 arg2
= (long)SWIG_As_long(obj1
);
8786 if (PyErr_Occurred()) SWIG_fail
;
8787 arg3
= (long)SWIG_As_long(obj2
);
8788 if (PyErr_Occurred()) SWIG_fail
;
8790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8791 (arg1
)->Remove(arg2
,arg3
);
8793 wxPyEndAllowThreads(__tstate
);
8794 if (PyErr_Occurred()) SWIG_fail
;
8796 Py_INCREF(Py_None
); resultobj
= Py_None
;
8803 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8804 PyObject
*resultobj
;
8805 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8806 wxString
*arg2
= 0 ;
8808 bool temp2
= False
;
8809 PyObject
* obj0
= 0 ;
8810 PyObject
* obj1
= 0 ;
8812 (char *) "self",(char *) "file", NULL
8815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8819 arg2
= wxString_in_helper(obj1
);
8820 if (arg2
== NULL
) SWIG_fail
;
8824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8825 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
8827 wxPyEndAllowThreads(__tstate
);
8828 if (PyErr_Occurred()) SWIG_fail
;
8831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8847 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8848 PyObject
*resultobj
;
8849 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8850 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8851 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8853 bool temp2
= False
;
8854 PyObject
* obj0
= 0 ;
8855 PyObject
* obj1
= 0 ;
8857 (char *) "self",(char *) "file", NULL
8860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8865 arg2
= wxString_in_helper(obj1
);
8866 if (arg2
== NULL
) SWIG_fail
;
8871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8872 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8874 wxPyEndAllowThreads(__tstate
);
8875 if (PyErr_Occurred()) SWIG_fail
;
8878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8894 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8895 PyObject
*resultobj
;
8896 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8897 PyObject
* obj0
= 0 ;
8899 (char *) "self", NULL
8902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8907 (arg1
)->MarkDirty();
8909 wxPyEndAllowThreads(__tstate
);
8910 if (PyErr_Occurred()) SWIG_fail
;
8912 Py_INCREF(Py_None
); resultobj
= Py_None
;
8919 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8920 PyObject
*resultobj
;
8921 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8922 PyObject
* obj0
= 0 ;
8924 (char *) "self", NULL
8927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8932 (arg1
)->DiscardEdits();
8934 wxPyEndAllowThreads(__tstate
);
8935 if (PyErr_Occurred()) SWIG_fail
;
8937 Py_INCREF(Py_None
); resultobj
= Py_None
;
8944 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8945 PyObject
*resultobj
;
8946 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8947 unsigned long arg2
;
8948 PyObject
* obj0
= 0 ;
8949 PyObject
* obj1
= 0 ;
8951 (char *) "self",(char *) "len", NULL
8954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8957 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
8958 if (PyErr_Occurred()) SWIG_fail
;
8960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8961 (arg1
)->SetMaxLength(arg2
);
8963 wxPyEndAllowThreads(__tstate
);
8964 if (PyErr_Occurred()) SWIG_fail
;
8966 Py_INCREF(Py_None
); resultobj
= Py_None
;
8973 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8974 PyObject
*resultobj
;
8975 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8976 wxString
*arg2
= 0 ;
8977 bool temp2
= False
;
8978 PyObject
* obj0
= 0 ;
8979 PyObject
* obj1
= 0 ;
8981 (char *) "self",(char *) "text", NULL
8984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
8985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8988 arg2
= wxString_in_helper(obj1
);
8989 if (arg2
== NULL
) SWIG_fail
;
8993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8994 (arg1
)->WriteText((wxString
const &)*arg2
);
8996 wxPyEndAllowThreads(__tstate
);
8997 if (PyErr_Occurred()) SWIG_fail
;
8999 Py_INCREF(Py_None
); resultobj
= Py_None
;
9014 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9015 PyObject
*resultobj
;
9016 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9017 wxString
*arg2
= 0 ;
9018 bool temp2
= False
;
9019 PyObject
* obj0
= 0 ;
9020 PyObject
* obj1
= 0 ;
9022 (char *) "self",(char *) "text", NULL
9025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
9026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9029 arg2
= wxString_in_helper(obj1
);
9030 if (arg2
== NULL
) SWIG_fail
;
9034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9035 (arg1
)->AppendText((wxString
const &)*arg2
);
9037 wxPyEndAllowThreads(__tstate
);
9038 if (PyErr_Occurred()) SWIG_fail
;
9040 Py_INCREF(Py_None
); resultobj
= Py_None
;
9055 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9056 PyObject
*resultobj
;
9057 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9058 wxKeyEvent
*arg2
= 0 ;
9060 PyObject
* obj0
= 0 ;
9061 PyObject
* obj1
= 0 ;
9063 (char *) "self",(char *) "event", NULL
9066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
9067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9069 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
9070 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9073 PyErr_SetString(PyExc_TypeError
,"null reference");
9077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9078 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
9080 wxPyEndAllowThreads(__tstate
);
9081 if (PyErr_Occurred()) SWIG_fail
;
9084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9092 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9093 PyObject
*resultobj
;
9094 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9097 wxTextAttr
*arg4
= 0 ;
9099 PyObject
* obj0
= 0 ;
9100 PyObject
* obj1
= 0 ;
9101 PyObject
* obj2
= 0 ;
9102 PyObject
* obj3
= 0 ;
9104 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
9107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9110 arg2
= (long)SWIG_As_long(obj1
);
9111 if (PyErr_Occurred()) SWIG_fail
;
9112 arg3
= (long)SWIG_As_long(obj2
);
9113 if (PyErr_Occurred()) SWIG_fail
;
9114 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxTextAttr
,
9115 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9118 PyErr_SetString(PyExc_TypeError
,"null reference");
9122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9123 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
9125 wxPyEndAllowThreads(__tstate
);
9126 if (PyErr_Occurred()) SWIG_fail
;
9129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9137 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9138 PyObject
*resultobj
;
9139 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9141 wxTextAttr
*arg3
= 0 ;
9143 PyObject
* obj0
= 0 ;
9144 PyObject
* obj1
= 0 ;
9145 PyObject
* obj2
= 0 ;
9147 (char *) "self",(char *) "position",(char *) "style", NULL
9150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9153 arg2
= (long)SWIG_As_long(obj1
);
9154 if (PyErr_Occurred()) SWIG_fail
;
9155 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextAttr
,
9156 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9159 PyErr_SetString(PyExc_TypeError
,"null reference");
9163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9164 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
9166 wxPyEndAllowThreads(__tstate
);
9167 if (PyErr_Occurred()) SWIG_fail
;
9170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9178 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9179 PyObject
*resultobj
;
9180 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9181 wxTextAttr
*arg2
= 0 ;
9183 PyObject
* obj0
= 0 ;
9184 PyObject
* obj1
= 0 ;
9186 (char *) "self",(char *) "style", NULL
9189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
9190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9192 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
9193 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9196 PyErr_SetString(PyExc_TypeError
,"null reference");
9200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9201 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
9203 wxPyEndAllowThreads(__tstate
);
9204 if (PyErr_Occurred()) SWIG_fail
;
9207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9215 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9216 PyObject
*resultobj
;
9217 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9219 PyObject
* obj0
= 0 ;
9221 (char *) "self", NULL
9224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
9225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9230 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
9231 result
= (wxTextAttr
*) &_result_ref
;
9234 wxPyEndAllowThreads(__tstate
);
9235 if (PyErr_Occurred()) SWIG_fail
;
9237 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
9244 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9245 PyObject
*resultobj
;
9246 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9250 PyObject
* obj0
= 0 ;
9251 PyObject
* obj1
= 0 ;
9252 PyObject
* obj2
= 0 ;
9254 (char *) "self",(char *) "x",(char *) "y", NULL
9257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9260 arg2
= (long)SWIG_As_long(obj1
);
9261 if (PyErr_Occurred()) SWIG_fail
;
9262 arg3
= (long)SWIG_As_long(obj2
);
9263 if (PyErr_Occurred()) SWIG_fail
;
9265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9266 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
9268 wxPyEndAllowThreads(__tstate
);
9269 if (PyErr_Occurred()) SWIG_fail
;
9271 resultobj
= SWIG_From_long((long)result
);
9278 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9279 PyObject
*resultobj
;
9280 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9282 long *arg3
= (long *) 0 ;
9283 long *arg4
= (long *) 0 ;
9288 PyObject
* obj0
= 0 ;
9289 PyObject
* obj1
= 0 ;
9291 (char *) "self",(char *) "pos", NULL
9294 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
9295 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
9296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
9297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9299 arg2
= (long)SWIG_As_long(obj1
);
9300 if (PyErr_Occurred()) SWIG_fail
;
9302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9303 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
9305 wxPyEndAllowThreads(__tstate
);
9306 if (PyErr_Occurred()) SWIG_fail
;
9308 Py_INCREF(Py_None
); resultobj
= Py_None
;
9309 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
9310 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
9311 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
9312 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
9319 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9320 PyObject
*resultobj
;
9321 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9323 PyObject
* obj0
= 0 ;
9324 PyObject
* obj1
= 0 ;
9326 (char *) "self",(char *) "pos", NULL
9329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9332 arg2
= (long)SWIG_As_long(obj1
);
9333 if (PyErr_Occurred()) SWIG_fail
;
9335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9336 (arg1
)->ShowPosition(arg2
);
9338 wxPyEndAllowThreads(__tstate
);
9339 if (PyErr_Occurred()) SWIG_fail
;
9341 Py_INCREF(Py_None
); resultobj
= Py_None
;
9348 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9349 PyObject
*resultobj
;
9350 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9352 long *arg3
= (long *) 0 ;
9353 long *arg4
= (long *) 0 ;
9360 PyObject
* obj0
= 0 ;
9361 PyObject
* obj1
= 0 ;
9363 (char *) "self",(char *) "pt", NULL
9366 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
9367 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
9368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9373 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9377 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
9379 wxPyEndAllowThreads(__tstate
);
9380 if (PyErr_Occurred()) SWIG_fail
;
9382 resultobj
= SWIG_From_int((int)result
);
9383 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
9384 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
9385 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
9386 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
9393 static PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9394 PyObject
*resultobj
;
9395 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9397 long *arg3
= (long *) 0 ;
9402 PyObject
* obj0
= 0 ;
9403 PyObject
* obj1
= 0 ;
9405 (char *) "self",(char *) "pt", NULL
9408 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
9409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) goto fail
;
9410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9414 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9418 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
9420 wxPyEndAllowThreads(__tstate
);
9421 if (PyErr_Occurred()) SWIG_fail
;
9423 resultobj
= SWIG_From_int((int)result
);
9424 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
9425 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
9432 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9433 PyObject
*resultobj
;
9434 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9435 PyObject
* obj0
= 0 ;
9437 (char *) "self", NULL
9440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
9441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9447 wxPyEndAllowThreads(__tstate
);
9448 if (PyErr_Occurred()) SWIG_fail
;
9450 Py_INCREF(Py_None
); resultobj
= Py_None
;
9457 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9458 PyObject
*resultobj
;
9459 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9460 PyObject
* obj0
= 0 ;
9462 (char *) "self", NULL
9465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
9466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9472 wxPyEndAllowThreads(__tstate
);
9473 if (PyErr_Occurred()) SWIG_fail
;
9475 Py_INCREF(Py_None
); resultobj
= Py_None
;
9482 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9483 PyObject
*resultobj
;
9484 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9485 PyObject
* obj0
= 0 ;
9487 (char *) "self", NULL
9490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",kwnames
,&obj0
)) goto fail
;
9491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9497 wxPyEndAllowThreads(__tstate
);
9498 if (PyErr_Occurred()) SWIG_fail
;
9500 Py_INCREF(Py_None
); resultobj
= Py_None
;
9507 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9508 PyObject
*resultobj
;
9509 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9511 PyObject
* obj0
= 0 ;
9513 (char *) "self", NULL
9516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
9517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9521 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
9523 wxPyEndAllowThreads(__tstate
);
9524 if (PyErr_Occurred()) SWIG_fail
;
9527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9535 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9536 PyObject
*resultobj
;
9537 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9539 PyObject
* obj0
= 0 ;
9541 (char *) "self", NULL
9544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
9545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9549 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
9551 wxPyEndAllowThreads(__tstate
);
9552 if (PyErr_Occurred()) SWIG_fail
;
9555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9563 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9564 PyObject
*resultobj
;
9565 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9567 PyObject
* obj0
= 0 ;
9569 (char *) "self", NULL
9572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
9573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9577 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
9579 wxPyEndAllowThreads(__tstate
);
9580 if (PyErr_Occurred()) SWIG_fail
;
9583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9591 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9592 PyObject
*resultobj
;
9593 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9594 PyObject
* obj0
= 0 ;
9596 (char *) "self", NULL
9599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
9600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9606 wxPyEndAllowThreads(__tstate
);
9607 if (PyErr_Occurred()) SWIG_fail
;
9609 Py_INCREF(Py_None
); resultobj
= Py_None
;
9616 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9617 PyObject
*resultobj
;
9618 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9619 PyObject
* obj0
= 0 ;
9621 (char *) "self", NULL
9624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",kwnames
,&obj0
)) goto fail
;
9625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9631 wxPyEndAllowThreads(__tstate
);
9632 if (PyErr_Occurred()) SWIG_fail
;
9634 Py_INCREF(Py_None
); resultobj
= Py_None
;
9641 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9642 PyObject
*resultobj
;
9643 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9645 PyObject
* obj0
= 0 ;
9647 (char *) "self", NULL
9650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
9651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9655 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
9657 wxPyEndAllowThreads(__tstate
);
9658 if (PyErr_Occurred()) SWIG_fail
;
9661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9669 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9670 PyObject
*resultobj
;
9671 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9673 PyObject
* obj0
= 0 ;
9675 (char *) "self", NULL
9678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
9679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9683 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
9685 wxPyEndAllowThreads(__tstate
);
9686 if (PyErr_Occurred()) SWIG_fail
;
9689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9697 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9698 PyObject
*resultobj
;
9699 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9701 PyObject
* obj0
= 0 ;
9702 PyObject
* obj1
= 0 ;
9704 (char *) "self",(char *) "pos", NULL
9707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
9708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9710 arg2
= (long)SWIG_As_long(obj1
);
9711 if (PyErr_Occurred()) SWIG_fail
;
9713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9714 (arg1
)->SetInsertionPoint(arg2
);
9716 wxPyEndAllowThreads(__tstate
);
9717 if (PyErr_Occurred()) SWIG_fail
;
9719 Py_INCREF(Py_None
); resultobj
= Py_None
;
9726 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9727 PyObject
*resultobj
;
9728 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9729 PyObject
* obj0
= 0 ;
9731 (char *) "self", NULL
9734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames
,&obj0
)) goto fail
;
9735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9739 (arg1
)->SetInsertionPointEnd();
9741 wxPyEndAllowThreads(__tstate
);
9742 if (PyErr_Occurred()) SWIG_fail
;
9744 Py_INCREF(Py_None
); resultobj
= Py_None
;
9751 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9752 PyObject
*resultobj
;
9753 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9755 PyObject
* obj0
= 0 ;
9757 (char *) "self", NULL
9760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetInsertionPoint",kwnames
,&obj0
)) goto fail
;
9761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9765 result
= (long)((wxTextCtrl
const *)arg1
)->GetInsertionPoint();
9767 wxPyEndAllowThreads(__tstate
);
9768 if (PyErr_Occurred()) SWIG_fail
;
9770 resultobj
= SWIG_From_long((long)result
);
9777 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9778 PyObject
*resultobj
;
9779 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9781 PyObject
* obj0
= 0 ;
9783 (char *) "self", NULL
9786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
9787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9791 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
9793 wxPyEndAllowThreads(__tstate
);
9794 if (PyErr_Occurred()) SWIG_fail
;
9796 resultobj
= SWIG_From_long((long)result
);
9803 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9804 PyObject
*resultobj
;
9805 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9808 PyObject
* obj0
= 0 ;
9809 PyObject
* obj1
= 0 ;
9810 PyObject
* obj2
= 0 ;
9812 (char *) "self",(char *) "from",(char *) "to", NULL
9815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9818 arg2
= (long)SWIG_As_long(obj1
);
9819 if (PyErr_Occurred()) SWIG_fail
;
9820 arg3
= (long)SWIG_As_long(obj2
);
9821 if (PyErr_Occurred()) SWIG_fail
;
9823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9824 (arg1
)->SetSelection(arg2
,arg3
);
9826 wxPyEndAllowThreads(__tstate
);
9827 if (PyErr_Occurred()) SWIG_fail
;
9829 Py_INCREF(Py_None
); resultobj
= Py_None
;
9836 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9837 PyObject
*resultobj
;
9838 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9839 PyObject
* obj0
= 0 ;
9841 (char *) "self", NULL
9844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
9845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9849 (arg1
)->SelectAll();
9851 wxPyEndAllowThreads(__tstate
);
9852 if (PyErr_Occurred()) SWIG_fail
;
9854 Py_INCREF(Py_None
); resultobj
= Py_None
;
9861 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9862 PyObject
*resultobj
;
9863 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9865 PyObject
* obj0
= 0 ;
9866 PyObject
* obj1
= 0 ;
9868 (char *) "self",(char *) "editable", NULL
9871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
9872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9874 arg2
= (bool)SWIG_As_bool(obj1
);
9875 if (PyErr_Occurred()) SWIG_fail
;
9877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9878 (arg1
)->SetEditable(arg2
);
9880 wxPyEndAllowThreads(__tstate
);
9881 if (PyErr_Occurred()) SWIG_fail
;
9883 Py_INCREF(Py_None
); resultobj
= Py_None
;
9890 static PyObject
*_wrap_TextCtrl_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9891 PyObject
*resultobj
;
9892 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9893 wxString
*arg2
= 0 ;
9894 bool temp2
= False
;
9895 PyObject
* obj0
= 0 ;
9896 PyObject
* obj1
= 0 ;
9898 (char *) "self",(char *) "text", NULL
9901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9905 arg2
= wxString_in_helper(obj1
);
9906 if (arg2
== NULL
) SWIG_fail
;
9910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9911 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
9913 wxPyEndAllowThreads(__tstate
);
9914 if (PyErr_Occurred()) SWIG_fail
;
9916 Py_INCREF(Py_None
); resultobj
= Py_None
;
9931 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9932 PyObject
*resultobj
;
9933 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9937 PyObject
* obj0
= 0 ;
9938 PyObject
* obj1
= 0 ;
9939 PyObject
* obj2
= 0 ;
9941 (char *) "self",(char *) "from",(char *) "to", NULL
9944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9947 arg2
= (long)SWIG_As_long(obj1
);
9948 if (PyErr_Occurred()) SWIG_fail
;
9949 arg3
= (long)SWIG_As_long(obj2
);
9950 if (PyErr_Occurred()) SWIG_fail
;
9952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9953 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
9955 wxPyEndAllowThreads(__tstate
);
9956 if (PyErr_Occurred()) SWIG_fail
;
9960 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9962 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9971 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9972 PyObject
*resultobj
;
9973 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
9974 wxVisualAttributes result
;
9975 PyObject
* obj0
= 0 ;
9977 (char *) "variant", NULL
9980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
9982 arg1
= (int)SWIG_As_int(obj0
);
9983 if (PyErr_Occurred()) SWIG_fail
;
9986 if (!wxPyCheckForApp()) SWIG_fail
;
9987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9988 result
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
9990 wxPyEndAllowThreads(__tstate
);
9991 if (PyErr_Occurred()) SWIG_fail
;
9994 wxVisualAttributes
* resultptr
;
9995 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
9996 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10004 static PyObject
* TextCtrl_swigregister(PyObject
*, PyObject
*args
) {
10006 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10007 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
10009 return Py_BuildValue((char *)"");
10011 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10012 PyObject
*resultobj
;
10014 wxMouseEvent
*arg2
= 0 ;
10017 wxTextUrlEvent
*result
;
10018 PyObject
* obj0
= 0 ;
10019 PyObject
* obj1
= 0 ;
10020 PyObject
* obj2
= 0 ;
10021 PyObject
* obj3
= 0 ;
10022 char *kwnames
[] = {
10023 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
10026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10027 arg1
= (int)SWIG_As_int(obj0
);
10028 if (PyErr_Occurred()) SWIG_fail
;
10029 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
,
10030 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10032 if (arg2
== NULL
) {
10033 PyErr_SetString(PyExc_TypeError
,"null reference");
10036 arg3
= (long)SWIG_As_long(obj2
);
10037 if (PyErr_Occurred()) SWIG_fail
;
10038 arg4
= (long)SWIG_As_long(obj3
);
10039 if (PyErr_Occurred()) SWIG_fail
;
10041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10042 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
10044 wxPyEndAllowThreads(__tstate
);
10045 if (PyErr_Occurred()) SWIG_fail
;
10047 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
10054 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10055 PyObject
*resultobj
;
10056 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
10057 wxMouseEvent
*result
;
10058 PyObject
* obj0
= 0 ;
10059 char *kwnames
[] = {
10060 (char *) "self", NULL
10063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
10064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
10065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10069 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
10070 result
= (wxMouseEvent
*) &_result_ref
;
10073 wxPyEndAllowThreads(__tstate
);
10074 if (PyErr_Occurred()) SWIG_fail
;
10076 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
10083 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10084 PyObject
*resultobj
;
10085 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
10087 PyObject
* obj0
= 0 ;
10088 char *kwnames
[] = {
10089 (char *) "self", NULL
10092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
10093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
10094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10097 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
10099 wxPyEndAllowThreads(__tstate
);
10100 if (PyErr_Occurred()) SWIG_fail
;
10102 resultobj
= SWIG_From_long((long)result
);
10109 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10110 PyObject
*resultobj
;
10111 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
10113 PyObject
* obj0
= 0 ;
10114 char *kwnames
[] = {
10115 (char *) "self", NULL
10118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
10119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
10120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10123 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
10125 wxPyEndAllowThreads(__tstate
);
10126 if (PyErr_Occurred()) SWIG_fail
;
10128 resultobj
= SWIG_From_long((long)result
);
10135 static PyObject
* TextUrlEvent_swigregister(PyObject
*, PyObject
*args
) {
10137 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10138 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
10140 return Py_BuildValue((char *)"");
10142 static int _wrap_ScrollBarNameStr_set(PyObject
*) {
10143 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
10148 static PyObject
*_wrap_ScrollBarNameStr_get() {
10153 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
10155 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
10162 static PyObject
*_wrap_new_ScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10163 PyObject
*resultobj
;
10164 wxWindow
*arg1
= (wxWindow
*) 0 ;
10165 int arg2
= (int) -1 ;
10166 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10167 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10168 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10169 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10170 long arg5
= (long) wxSB_HORIZONTAL
;
10171 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
10172 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
10173 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
10174 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10175 wxScrollBar
*result
;
10178 bool temp7
= False
;
10179 PyObject
* obj0
= 0 ;
10180 PyObject
* obj1
= 0 ;
10181 PyObject
* obj2
= 0 ;
10182 PyObject
* obj3
= 0 ;
10183 PyObject
* obj4
= 0 ;
10184 PyObject
* obj5
= 0 ;
10185 PyObject
* obj6
= 0 ;
10186 char *kwnames
[] = {
10187 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10194 arg2
= (int)SWIG_As_int(obj1
);
10195 if (PyErr_Occurred()) SWIG_fail
;
10200 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10206 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10210 arg5
= (long)SWIG_As_long(obj4
);
10211 if (PyErr_Occurred()) SWIG_fail
;
10214 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
10215 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10217 if (arg6
== NULL
) {
10218 PyErr_SetString(PyExc_TypeError
,"null reference");
10224 arg7
= wxString_in_helper(obj6
);
10225 if (arg7
== NULL
) SWIG_fail
;
10230 if (!wxPyCheckForApp()) SWIG_fail
;
10231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10232 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
10234 wxPyEndAllowThreads(__tstate
);
10235 if (PyErr_Occurred()) SWIG_fail
;
10237 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10252 static PyObject
*_wrap_new_PreScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10253 PyObject
*resultobj
;
10254 wxScrollBar
*result
;
10255 char *kwnames
[] = {
10259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
10261 if (!wxPyCheckForApp()) SWIG_fail
;
10262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10263 result
= (wxScrollBar
*)new wxScrollBar();
10265 wxPyEndAllowThreads(__tstate
);
10266 if (PyErr_Occurred()) SWIG_fail
;
10268 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10275 static PyObject
*_wrap_ScrollBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10276 PyObject
*resultobj
;
10277 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10278 wxWindow
*arg2
= (wxWindow
*) 0 ;
10279 int arg3
= (int) -1 ;
10280 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10281 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10282 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10283 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10284 long arg6
= (long) wxSB_HORIZONTAL
;
10285 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10286 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10287 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
10288 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10292 bool temp8
= False
;
10293 PyObject
* obj0
= 0 ;
10294 PyObject
* obj1
= 0 ;
10295 PyObject
* obj2
= 0 ;
10296 PyObject
* obj3
= 0 ;
10297 PyObject
* obj4
= 0 ;
10298 PyObject
* obj5
= 0 ;
10299 PyObject
* obj6
= 0 ;
10300 PyObject
* obj7
= 0 ;
10301 char *kwnames
[] = {
10302 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
10306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10308 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10311 arg3
= (int)SWIG_As_int(obj2
);
10312 if (PyErr_Occurred()) SWIG_fail
;
10317 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10323 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10327 arg6
= (long)SWIG_As_long(obj5
);
10328 if (PyErr_Occurred()) SWIG_fail
;
10331 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
10332 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10334 if (arg7
== NULL
) {
10335 PyErr_SetString(PyExc_TypeError
,"null reference");
10341 arg8
= wxString_in_helper(obj7
);
10342 if (arg8
== NULL
) SWIG_fail
;
10347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10348 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10350 wxPyEndAllowThreads(__tstate
);
10351 if (PyErr_Occurred()) SWIG_fail
;
10354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10370 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10371 PyObject
*resultobj
;
10372 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10374 PyObject
* obj0
= 0 ;
10375 char *kwnames
[] = {
10376 (char *) "self", NULL
10379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
10380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10384 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
10386 wxPyEndAllowThreads(__tstate
);
10387 if (PyErr_Occurred()) SWIG_fail
;
10389 resultobj
= SWIG_From_int((int)result
);
10396 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10397 PyObject
*resultobj
;
10398 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10400 PyObject
* obj0
= 0 ;
10401 char *kwnames
[] = {
10402 (char *) "self", NULL
10405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
10406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10410 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
10412 wxPyEndAllowThreads(__tstate
);
10413 if (PyErr_Occurred()) SWIG_fail
;
10415 resultobj
= SWIG_From_int((int)result
);
10422 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10423 PyObject
*resultobj
;
10424 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10426 PyObject
* obj0
= 0 ;
10427 char *kwnames
[] = {
10428 (char *) "self", NULL
10431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
10432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10436 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
10438 wxPyEndAllowThreads(__tstate
);
10439 if (PyErr_Occurred()) SWIG_fail
;
10441 resultobj
= SWIG_From_int((int)result
);
10448 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10449 PyObject
*resultobj
;
10450 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10452 PyObject
* obj0
= 0 ;
10453 char *kwnames
[] = {
10454 (char *) "self", NULL
10457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
10458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10462 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
10464 wxPyEndAllowThreads(__tstate
);
10465 if (PyErr_Occurred()) SWIG_fail
;
10467 resultobj
= SWIG_From_int((int)result
);
10474 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10475 PyObject
*resultobj
;
10476 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10478 PyObject
* obj0
= 0 ;
10479 char *kwnames
[] = {
10480 (char *) "self", NULL
10483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
10484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10488 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
10490 wxPyEndAllowThreads(__tstate
);
10491 if (PyErr_Occurred()) SWIG_fail
;
10494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10502 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10503 PyObject
*resultobj
;
10504 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10506 PyObject
* obj0
= 0 ;
10507 PyObject
* obj1
= 0 ;
10508 char *kwnames
[] = {
10509 (char *) "self",(char *) "viewStart", NULL
10512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10515 arg2
= (int)SWIG_As_int(obj1
);
10516 if (PyErr_Occurred()) SWIG_fail
;
10518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10519 (arg1
)->SetThumbPosition(arg2
);
10521 wxPyEndAllowThreads(__tstate
);
10522 if (PyErr_Occurred()) SWIG_fail
;
10524 Py_INCREF(Py_None
); resultobj
= Py_None
;
10531 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10532 PyObject
*resultobj
;
10533 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10538 bool arg6
= (bool) True
;
10539 PyObject
* obj0
= 0 ;
10540 PyObject
* obj1
= 0 ;
10541 PyObject
* obj2
= 0 ;
10542 PyObject
* obj3
= 0 ;
10543 PyObject
* obj4
= 0 ;
10544 PyObject
* obj5
= 0 ;
10545 char *kwnames
[] = {
10546 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
10549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10552 arg2
= (int)SWIG_As_int(obj1
);
10553 if (PyErr_Occurred()) SWIG_fail
;
10554 arg3
= (int)SWIG_As_int(obj2
);
10555 if (PyErr_Occurred()) SWIG_fail
;
10556 arg4
= (int)SWIG_As_int(obj3
);
10557 if (PyErr_Occurred()) SWIG_fail
;
10558 arg5
= (int)SWIG_As_int(obj4
);
10559 if (PyErr_Occurred()) SWIG_fail
;
10561 arg6
= (bool)SWIG_As_bool(obj5
);
10562 if (PyErr_Occurred()) SWIG_fail
;
10565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10566 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
10568 wxPyEndAllowThreads(__tstate
);
10569 if (PyErr_Occurred()) SWIG_fail
;
10571 Py_INCREF(Py_None
); resultobj
= Py_None
;
10578 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10579 PyObject
*resultobj
;
10580 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10581 wxVisualAttributes result
;
10582 PyObject
* obj0
= 0 ;
10583 char *kwnames
[] = {
10584 (char *) "variant", NULL
10587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10589 arg1
= (int)SWIG_As_int(obj0
);
10590 if (PyErr_Occurred()) SWIG_fail
;
10593 if (!wxPyCheckForApp()) SWIG_fail
;
10594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10595 result
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10597 wxPyEndAllowThreads(__tstate
);
10598 if (PyErr_Occurred()) SWIG_fail
;
10601 wxVisualAttributes
* resultptr
;
10602 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10603 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10611 static PyObject
* ScrollBar_swigregister(PyObject
*, PyObject
*args
) {
10613 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10614 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
10616 return Py_BuildValue((char *)"");
10618 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*) {
10619 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
10624 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
10629 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10631 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10638 static int _wrap_SpinCtrlNameStr_set(PyObject
*) {
10639 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
10644 static PyObject
*_wrap_SpinCtrlNameStr_get() {
10649 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10651 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10658 static PyObject
*_wrap_new_SpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10659 PyObject
*resultobj
;
10660 wxWindow
*arg1
= (wxWindow
*) 0 ;
10661 int arg2
= (int) -1 ;
10662 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10663 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10664 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10665 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10666 long arg5
= (long) wxSP_HORIZONTAL
;
10667 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
10668 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10669 wxSpinButton
*result
;
10672 bool temp6
= False
;
10673 PyObject
* obj0
= 0 ;
10674 PyObject
* obj1
= 0 ;
10675 PyObject
* obj2
= 0 ;
10676 PyObject
* obj3
= 0 ;
10677 PyObject
* obj4
= 0 ;
10678 PyObject
* obj5
= 0 ;
10679 char *kwnames
[] = {
10680 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10687 arg2
= (int)SWIG_As_int(obj1
);
10688 if (PyErr_Occurred()) SWIG_fail
;
10693 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10699 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10703 arg5
= (long)SWIG_As_long(obj4
);
10704 if (PyErr_Occurred()) SWIG_fail
;
10708 arg6
= wxString_in_helper(obj5
);
10709 if (arg6
== NULL
) SWIG_fail
;
10714 if (!wxPyCheckForApp()) SWIG_fail
;
10715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10716 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10718 wxPyEndAllowThreads(__tstate
);
10719 if (PyErr_Occurred()) SWIG_fail
;
10721 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10736 static PyObject
*_wrap_new_PreSpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10737 PyObject
*resultobj
;
10738 wxSpinButton
*result
;
10739 char *kwnames
[] = {
10743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
10745 if (!wxPyCheckForApp()) SWIG_fail
;
10746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10747 result
= (wxSpinButton
*)new wxSpinButton();
10749 wxPyEndAllowThreads(__tstate
);
10750 if (PyErr_Occurred()) SWIG_fail
;
10752 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10759 static PyObject
*_wrap_SpinButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10760 PyObject
*resultobj
;
10761 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10762 wxWindow
*arg2
= (wxWindow
*) 0 ;
10763 int arg3
= (int) -1 ;
10764 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10765 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10766 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10767 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10768 long arg6
= (long) wxSP_HORIZONTAL
;
10769 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
10770 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10774 bool temp7
= False
;
10775 PyObject
* obj0
= 0 ;
10776 PyObject
* obj1
= 0 ;
10777 PyObject
* obj2
= 0 ;
10778 PyObject
* obj3
= 0 ;
10779 PyObject
* obj4
= 0 ;
10780 PyObject
* obj5
= 0 ;
10781 PyObject
* obj6
= 0 ;
10782 char *kwnames
[] = {
10783 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10789 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10792 arg3
= (int)SWIG_As_int(obj2
);
10793 if (PyErr_Occurred()) SWIG_fail
;
10798 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10804 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10808 arg6
= (long)SWIG_As_long(obj5
);
10809 if (PyErr_Occurred()) SWIG_fail
;
10813 arg7
= wxString_in_helper(obj6
);
10814 if (arg7
== NULL
) SWIG_fail
;
10819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10820 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10822 wxPyEndAllowThreads(__tstate
);
10823 if (PyErr_Occurred()) SWIG_fail
;
10826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10842 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10843 PyObject
*resultobj
;
10844 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10846 PyObject
* obj0
= 0 ;
10847 char *kwnames
[] = {
10848 (char *) "self", NULL
10851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
10852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10856 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
10858 wxPyEndAllowThreads(__tstate
);
10859 if (PyErr_Occurred()) SWIG_fail
;
10861 resultobj
= SWIG_From_int((int)result
);
10868 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10869 PyObject
*resultobj
;
10870 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10872 PyObject
* obj0
= 0 ;
10873 char *kwnames
[] = {
10874 (char *) "self", NULL
10877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
10878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10882 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
10884 wxPyEndAllowThreads(__tstate
);
10885 if (PyErr_Occurred()) SWIG_fail
;
10887 resultobj
= SWIG_From_int((int)result
);
10894 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10895 PyObject
*resultobj
;
10896 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10898 PyObject
* obj0
= 0 ;
10899 char *kwnames
[] = {
10900 (char *) "self", NULL
10903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
10904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10908 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
10910 wxPyEndAllowThreads(__tstate
);
10911 if (PyErr_Occurred()) SWIG_fail
;
10913 resultobj
= SWIG_From_int((int)result
);
10920 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10921 PyObject
*resultobj
;
10922 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10924 PyObject
* obj0
= 0 ;
10925 PyObject
* obj1
= 0 ;
10926 char *kwnames
[] = {
10927 (char *) "self",(char *) "val", NULL
10930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
10931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10933 arg2
= (int)SWIG_As_int(obj1
);
10934 if (PyErr_Occurred()) SWIG_fail
;
10936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10937 (arg1
)->SetValue(arg2
);
10939 wxPyEndAllowThreads(__tstate
);
10940 if (PyErr_Occurred()) SWIG_fail
;
10942 Py_INCREF(Py_None
); resultobj
= Py_None
;
10949 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10950 PyObject
*resultobj
;
10951 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10953 PyObject
* obj0
= 0 ;
10954 PyObject
* obj1
= 0 ;
10955 char *kwnames
[] = {
10956 (char *) "self",(char *) "minVal", NULL
10959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
10960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10962 arg2
= (int)SWIG_As_int(obj1
);
10963 if (PyErr_Occurred()) SWIG_fail
;
10965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10966 (arg1
)->SetMin(arg2
);
10968 wxPyEndAllowThreads(__tstate
);
10969 if (PyErr_Occurred()) SWIG_fail
;
10971 Py_INCREF(Py_None
); resultobj
= Py_None
;
10978 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10979 PyObject
*resultobj
;
10980 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10982 PyObject
* obj0
= 0 ;
10983 PyObject
* obj1
= 0 ;
10984 char *kwnames
[] = {
10985 (char *) "self",(char *) "maxVal", NULL
10988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
10989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10991 arg2
= (int)SWIG_As_int(obj1
);
10992 if (PyErr_Occurred()) SWIG_fail
;
10994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10995 (arg1
)->SetMax(arg2
);
10997 wxPyEndAllowThreads(__tstate
);
10998 if (PyErr_Occurred()) SWIG_fail
;
11000 Py_INCREF(Py_None
); resultobj
= Py_None
;
11007 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11008 PyObject
*resultobj
;
11009 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
11012 PyObject
* obj0
= 0 ;
11013 PyObject
* obj1
= 0 ;
11014 PyObject
* obj2
= 0 ;
11015 char *kwnames
[] = {
11016 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
11021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11022 arg2
= (int)SWIG_As_int(obj1
);
11023 if (PyErr_Occurred()) SWIG_fail
;
11024 arg3
= (int)SWIG_As_int(obj2
);
11025 if (PyErr_Occurred()) SWIG_fail
;
11027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11028 (arg1
)->SetRange(arg2
,arg3
);
11030 wxPyEndAllowThreads(__tstate
);
11031 if (PyErr_Occurred()) SWIG_fail
;
11033 Py_INCREF(Py_None
); resultobj
= Py_None
;
11040 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11041 PyObject
*resultobj
;
11042 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
11044 PyObject
* obj0
= 0 ;
11045 char *kwnames
[] = {
11046 (char *) "self", NULL
11049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
11050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
11051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11054 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
11056 wxPyEndAllowThreads(__tstate
);
11057 if (PyErr_Occurred()) SWIG_fail
;
11060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11068 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11069 PyObject
*resultobj
;
11070 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
11071 wxVisualAttributes result
;
11072 PyObject
* obj0
= 0 ;
11073 char *kwnames
[] = {
11074 (char *) "variant", NULL
11077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11079 arg1
= (int)SWIG_As_int(obj0
);
11080 if (PyErr_Occurred()) SWIG_fail
;
11083 if (!wxPyCheckForApp()) SWIG_fail
;
11084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11085 result
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11087 wxPyEndAllowThreads(__tstate
);
11088 if (PyErr_Occurred()) SWIG_fail
;
11091 wxVisualAttributes
* resultptr
;
11092 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
11093 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11101 static PyObject
* SpinButton_swigregister(PyObject
*, PyObject
*args
) {
11103 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11104 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
11106 return Py_BuildValue((char *)"");
11108 static PyObject
*_wrap_new_SpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11109 PyObject
*resultobj
;
11110 wxWindow
*arg1
= (wxWindow
*) 0 ;
11111 int arg2
= (int) -1 ;
11112 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11113 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11114 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11115 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11116 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11117 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11118 long arg6
= (long) wxSP_ARROW_KEYS
;
11119 int arg7
= (int) 0 ;
11120 int arg8
= (int) 100 ;
11121 int arg9
= (int) 0 ;
11122 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
11123 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11124 wxSpinCtrl
*result
;
11125 bool temp3
= False
;
11128 bool temp10
= False
;
11129 PyObject
* obj0
= 0 ;
11130 PyObject
* obj1
= 0 ;
11131 PyObject
* obj2
= 0 ;
11132 PyObject
* obj3
= 0 ;
11133 PyObject
* obj4
= 0 ;
11134 PyObject
* obj5
= 0 ;
11135 PyObject
* obj6
= 0 ;
11136 PyObject
* obj7
= 0 ;
11137 PyObject
* obj8
= 0 ;
11138 PyObject
* obj9
= 0 ;
11139 char *kwnames
[] = {
11140 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11147 arg2
= (int)SWIG_As_int(obj1
);
11148 if (PyErr_Occurred()) SWIG_fail
;
11152 arg3
= wxString_in_helper(obj2
);
11153 if (arg3
== NULL
) SWIG_fail
;
11160 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11166 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11170 arg6
= (long)SWIG_As_long(obj5
);
11171 if (PyErr_Occurred()) SWIG_fail
;
11174 arg7
= (int)SWIG_As_int(obj6
);
11175 if (PyErr_Occurred()) SWIG_fail
;
11178 arg8
= (int)SWIG_As_int(obj7
);
11179 if (PyErr_Occurred()) SWIG_fail
;
11182 arg9
= (int)SWIG_As_int(obj8
);
11183 if (PyErr_Occurred()) SWIG_fail
;
11187 arg10
= wxString_in_helper(obj9
);
11188 if (arg10
== NULL
) SWIG_fail
;
11193 if (!wxPyCheckForApp()) SWIG_fail
;
11194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11195 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
11197 wxPyEndAllowThreads(__tstate
);
11198 if (PyErr_Occurred()) SWIG_fail
;
11200 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11223 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11224 PyObject
*resultobj
;
11225 wxSpinCtrl
*result
;
11226 char *kwnames
[] = {
11230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
11232 if (!wxPyCheckForApp()) SWIG_fail
;
11233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11234 result
= (wxSpinCtrl
*)new wxSpinCtrl();
11236 wxPyEndAllowThreads(__tstate
);
11237 if (PyErr_Occurred()) SWIG_fail
;
11239 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11246 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11247 PyObject
*resultobj
;
11248 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11249 wxWindow
*arg2
= (wxWindow
*) 0 ;
11250 int arg3
= (int) -1 ;
11251 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11252 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11253 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11254 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11255 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11256 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11257 long arg7
= (long) wxSP_ARROW_KEYS
;
11258 int arg8
= (int) 0 ;
11259 int arg9
= (int) 100 ;
11260 int arg10
= (int) 0 ;
11261 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
11262 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11264 bool temp4
= False
;
11267 bool temp11
= False
;
11268 PyObject
* obj0
= 0 ;
11269 PyObject
* obj1
= 0 ;
11270 PyObject
* obj2
= 0 ;
11271 PyObject
* obj3
= 0 ;
11272 PyObject
* obj4
= 0 ;
11273 PyObject
* obj5
= 0 ;
11274 PyObject
* obj6
= 0 ;
11275 PyObject
* obj7
= 0 ;
11276 PyObject
* obj8
= 0 ;
11277 PyObject
* obj9
= 0 ;
11278 PyObject
* obj10
= 0 ;
11279 char *kwnames
[] = {
11280 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11286 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11289 arg3
= (int)SWIG_As_int(obj2
);
11290 if (PyErr_Occurred()) SWIG_fail
;
11294 arg4
= wxString_in_helper(obj3
);
11295 if (arg4
== NULL
) SWIG_fail
;
11302 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11308 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11312 arg7
= (long)SWIG_As_long(obj6
);
11313 if (PyErr_Occurred()) SWIG_fail
;
11316 arg8
= (int)SWIG_As_int(obj7
);
11317 if (PyErr_Occurred()) SWIG_fail
;
11320 arg9
= (int)SWIG_As_int(obj8
);
11321 if (PyErr_Occurred()) SWIG_fail
;
11324 arg10
= (int)SWIG_As_int(obj9
);
11325 if (PyErr_Occurred()) SWIG_fail
;
11329 arg11
= wxString_in_helper(obj10
);
11330 if (arg11
== NULL
) SWIG_fail
;
11335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11336 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
11338 wxPyEndAllowThreads(__tstate
);
11339 if (PyErr_Occurred()) SWIG_fail
;
11342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11366 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11367 PyObject
*resultobj
;
11368 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11370 PyObject
* obj0
= 0 ;
11371 char *kwnames
[] = {
11372 (char *) "self", NULL
11375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
11376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11380 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
11382 wxPyEndAllowThreads(__tstate
);
11383 if (PyErr_Occurred()) SWIG_fail
;
11385 resultobj
= SWIG_From_int((int)result
);
11392 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11393 PyObject
*resultobj
;
11394 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11396 PyObject
* obj0
= 0 ;
11397 PyObject
* obj1
= 0 ;
11398 char *kwnames
[] = {
11399 (char *) "self",(char *) "value", NULL
11402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11405 arg2
= (int)SWIG_As_int(obj1
);
11406 if (PyErr_Occurred()) SWIG_fail
;
11408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11409 (arg1
)->SetValue(arg2
);
11411 wxPyEndAllowThreads(__tstate
);
11412 if (PyErr_Occurred()) SWIG_fail
;
11414 Py_INCREF(Py_None
); resultobj
= Py_None
;
11421 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11422 PyObject
*resultobj
;
11423 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11424 wxString
*arg2
= 0 ;
11425 bool temp2
= False
;
11426 PyObject
* obj0
= 0 ;
11427 PyObject
* obj1
= 0 ;
11428 char *kwnames
[] = {
11429 (char *) "self",(char *) "text", NULL
11432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
11433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11436 arg2
= wxString_in_helper(obj1
);
11437 if (arg2
== NULL
) SWIG_fail
;
11441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11442 (arg1
)->SetValue((wxString
const &)*arg2
);
11444 wxPyEndAllowThreads(__tstate
);
11445 if (PyErr_Occurred()) SWIG_fail
;
11447 Py_INCREF(Py_None
); resultobj
= Py_None
;
11462 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11463 PyObject
*resultobj
;
11464 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11467 PyObject
* obj0
= 0 ;
11468 PyObject
* obj1
= 0 ;
11469 PyObject
* obj2
= 0 ;
11470 char *kwnames
[] = {
11471 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11477 arg2
= (int)SWIG_As_int(obj1
);
11478 if (PyErr_Occurred()) SWIG_fail
;
11479 arg3
= (int)SWIG_As_int(obj2
);
11480 if (PyErr_Occurred()) SWIG_fail
;
11482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11483 (arg1
)->SetRange(arg2
,arg3
);
11485 wxPyEndAllowThreads(__tstate
);
11486 if (PyErr_Occurred()) SWIG_fail
;
11488 Py_INCREF(Py_None
); resultobj
= Py_None
;
11495 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11496 PyObject
*resultobj
;
11497 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11499 PyObject
* obj0
= 0 ;
11500 char *kwnames
[] = {
11501 (char *) "self", NULL
11504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
11505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11509 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
11511 wxPyEndAllowThreads(__tstate
);
11512 if (PyErr_Occurred()) SWIG_fail
;
11514 resultobj
= SWIG_From_int((int)result
);
11521 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11522 PyObject
*resultobj
;
11523 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11525 PyObject
* obj0
= 0 ;
11526 char *kwnames
[] = {
11527 (char *) "self", NULL
11530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
11531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11535 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
11537 wxPyEndAllowThreads(__tstate
);
11538 if (PyErr_Occurred()) SWIG_fail
;
11540 resultobj
= SWIG_From_int((int)result
);
11547 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11548 PyObject
*resultobj
;
11549 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11552 PyObject
* obj0
= 0 ;
11553 PyObject
* obj1
= 0 ;
11554 PyObject
* obj2
= 0 ;
11555 char *kwnames
[] = {
11556 (char *) "self",(char *) "from",(char *) "to", NULL
11559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11562 arg2
= (long)SWIG_As_long(obj1
);
11563 if (PyErr_Occurred()) SWIG_fail
;
11564 arg3
= (long)SWIG_As_long(obj2
);
11565 if (PyErr_Occurred()) SWIG_fail
;
11567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11568 (arg1
)->SetSelection(arg2
,arg3
);
11570 wxPyEndAllowThreads(__tstate
);
11571 if (PyErr_Occurred()) SWIG_fail
;
11573 Py_INCREF(Py_None
); resultobj
= Py_None
;
11580 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11581 PyObject
*resultobj
;
11582 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
11583 wxVisualAttributes result
;
11584 PyObject
* obj0
= 0 ;
11585 char *kwnames
[] = {
11586 (char *) "variant", NULL
11589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11591 arg1
= (int)SWIG_As_int(obj0
);
11592 if (PyErr_Occurred()) SWIG_fail
;
11595 if (!wxPyCheckForApp()) SWIG_fail
;
11596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11597 result
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11599 wxPyEndAllowThreads(__tstate
);
11600 if (PyErr_Occurred()) SWIG_fail
;
11603 wxVisualAttributes
* resultptr
;
11604 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
11605 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11613 static PyObject
* SpinCtrl_swigregister(PyObject
*, PyObject
*args
) {
11615 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11616 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
11618 return Py_BuildValue((char *)"");
11620 static PyObject
*_wrap_new_SpinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11621 PyObject
*resultobj
;
11622 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11623 int arg2
= (int) 0 ;
11624 wxSpinEvent
*result
;
11625 PyObject
* obj0
= 0 ;
11626 PyObject
* obj1
= 0 ;
11627 char *kwnames
[] = {
11628 (char *) "commandType",(char *) "winid", NULL
11631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11633 arg1
= (wxEventType
)SWIG_As_int(obj0
);
11634 if (PyErr_Occurred()) SWIG_fail
;
11637 arg2
= (int)SWIG_As_int(obj1
);
11638 if (PyErr_Occurred()) SWIG_fail
;
11641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11642 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
11644 wxPyEndAllowThreads(__tstate
);
11645 if (PyErr_Occurred()) SWIG_fail
;
11647 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
11654 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11655 PyObject
*resultobj
;
11656 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11658 PyObject
* obj0
= 0 ;
11659 char *kwnames
[] = {
11660 (char *) "self", NULL
11663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11668 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
11670 wxPyEndAllowThreads(__tstate
);
11671 if (PyErr_Occurred()) SWIG_fail
;
11673 resultobj
= SWIG_From_int((int)result
);
11680 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11681 PyObject
*resultobj
;
11682 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11684 PyObject
* obj0
= 0 ;
11685 PyObject
* obj1
= 0 ;
11686 char *kwnames
[] = {
11687 (char *) "self",(char *) "pos", NULL
11690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11693 arg2
= (int)SWIG_As_int(obj1
);
11694 if (PyErr_Occurred()) SWIG_fail
;
11696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11697 (arg1
)->SetPosition(arg2
);
11699 wxPyEndAllowThreads(__tstate
);
11700 if (PyErr_Occurred()) SWIG_fail
;
11702 Py_INCREF(Py_None
); resultobj
= Py_None
;
11709 static PyObject
* SpinEvent_swigregister(PyObject
*, PyObject
*args
) {
11711 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11712 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
11714 return Py_BuildValue((char *)"");
11716 static int _wrap_RadioBoxNameStr_set(PyObject
*) {
11717 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
11722 static PyObject
*_wrap_RadioBoxNameStr_get() {
11727 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11729 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11736 static int _wrap_RadioButtonNameStr_set(PyObject
*) {
11737 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
11742 static PyObject
*_wrap_RadioButtonNameStr_get() {
11747 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11749 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11756 static PyObject
*_wrap_new_RadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11757 PyObject
*resultobj
;
11758 wxWindow
*arg1
= (wxWindow
*) 0 ;
11759 int arg2
= (int) -1 ;
11760 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11761 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11762 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11763 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11764 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11765 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11766 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
11767 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
11768 int arg7
= (int) 0 ;
11769 long arg8
= (long) wxRA_HORIZONTAL
;
11770 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11771 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11772 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
11773 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11774 wxRadioBox
*result
;
11775 bool temp3
= False
;
11778 bool temp6
= False
;
11779 bool temp10
= False
;
11780 PyObject
* obj0
= 0 ;
11781 PyObject
* obj1
= 0 ;
11782 PyObject
* obj2
= 0 ;
11783 PyObject
* obj3
= 0 ;
11784 PyObject
* obj4
= 0 ;
11785 PyObject
* obj5
= 0 ;
11786 PyObject
* obj6
= 0 ;
11787 PyObject
* obj7
= 0 ;
11788 PyObject
* obj8
= 0 ;
11789 PyObject
* obj9
= 0 ;
11790 char *kwnames
[] = {
11791 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11798 arg2
= (int)SWIG_As_int(obj1
);
11799 if (PyErr_Occurred()) SWIG_fail
;
11803 arg3
= wxString_in_helper(obj2
);
11804 if (arg3
== NULL
) SWIG_fail
;
11811 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11817 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11822 if (! PySequence_Check(obj5
)) {
11823 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11826 arg6
= new wxArrayString
;
11828 int i
, len
=PySequence_Length(obj5
);
11829 for (i
=0; i
<len
; i
++) {
11830 PyObject
* item
= PySequence_GetItem(obj5
, i
);
11832 PyObject
* str
= PyObject_Unicode(item
);
11834 PyObject
* str
= PyObject_Str(item
);
11836 if (PyErr_Occurred()) SWIG_fail
;
11837 arg6
->Add(Py2wxString(str
));
11844 arg7
= (int)SWIG_As_int(obj6
);
11845 if (PyErr_Occurred()) SWIG_fail
;
11848 arg8
= (long)SWIG_As_long(obj7
);
11849 if (PyErr_Occurred()) SWIG_fail
;
11852 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
11853 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11855 if (arg9
== NULL
) {
11856 PyErr_SetString(PyExc_TypeError
,"null reference");
11862 arg10
= wxString_in_helper(obj9
);
11863 if (arg10
== NULL
) SWIG_fail
;
11868 if (!wxPyCheckForApp()) SWIG_fail
;
11869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11870 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
);
11872 wxPyEndAllowThreads(__tstate
);
11873 if (PyErr_Occurred()) SWIG_fail
;
11875 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11881 if (temp6
) delete arg6
;
11894 if (temp6
) delete arg6
;
11904 static PyObject
*_wrap_new_PreRadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11905 PyObject
*resultobj
;
11906 wxRadioBox
*result
;
11907 char *kwnames
[] = {
11911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
11913 if (!wxPyCheckForApp()) SWIG_fail
;
11914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11915 result
= (wxRadioBox
*)new wxRadioBox();
11917 wxPyEndAllowThreads(__tstate
);
11918 if (PyErr_Occurred()) SWIG_fail
;
11920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11927 static PyObject
*_wrap_RadioBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11928 PyObject
*resultobj
;
11929 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
11930 wxWindow
*arg2
= (wxWindow
*) 0 ;
11931 int arg3
= (int) -1 ;
11932 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11933 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11934 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11935 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11936 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11937 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11938 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
11939 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
11940 int arg8
= (int) 0 ;
11941 long arg9
= (long) wxRA_HORIZONTAL
;
11942 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
11943 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
11944 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
11945 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11947 bool temp4
= False
;
11950 bool temp7
= False
;
11951 bool temp11
= False
;
11952 PyObject
* obj0
= 0 ;
11953 PyObject
* obj1
= 0 ;
11954 PyObject
* obj2
= 0 ;
11955 PyObject
* obj3
= 0 ;
11956 PyObject
* obj4
= 0 ;
11957 PyObject
* obj5
= 0 ;
11958 PyObject
* obj6
= 0 ;
11959 PyObject
* obj7
= 0 ;
11960 PyObject
* obj8
= 0 ;
11961 PyObject
* obj9
= 0 ;
11962 PyObject
* obj10
= 0 ;
11963 char *kwnames
[] = {
11964 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
11969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11970 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11973 arg3
= (int)SWIG_As_int(obj2
);
11974 if (PyErr_Occurred()) SWIG_fail
;
11978 arg4
= wxString_in_helper(obj3
);
11979 if (arg4
== NULL
) SWIG_fail
;
11986 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11992 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11997 if (! PySequence_Check(obj6
)) {
11998 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
12001 arg7
= new wxArrayString
;
12003 int i
, len
=PySequence_Length(obj6
);
12004 for (i
=0; i
<len
; i
++) {
12005 PyObject
* item
= PySequence_GetItem(obj6
, i
);
12007 PyObject
* str
= PyObject_Unicode(item
);
12009 PyObject
* str
= PyObject_Str(item
);
12011 if (PyErr_Occurred()) SWIG_fail
;
12012 arg7
->Add(Py2wxString(str
));
12019 arg8
= (int)SWIG_As_int(obj7
);
12020 if (PyErr_Occurred()) SWIG_fail
;
12023 arg9
= (long)SWIG_As_long(obj8
);
12024 if (PyErr_Occurred()) SWIG_fail
;
12027 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
12028 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12030 if (arg10
== NULL
) {
12031 PyErr_SetString(PyExc_TypeError
,"null reference");
12037 arg11
= wxString_in_helper(obj10
);
12038 if (arg11
== NULL
) SWIG_fail
;
12043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12044 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
);
12046 wxPyEndAllowThreads(__tstate
);
12047 if (PyErr_Occurred()) SWIG_fail
;
12050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12057 if (temp7
) delete arg7
;
12070 if (temp7
) delete arg7
;
12080 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12081 PyObject
*resultobj
;
12082 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12084 PyObject
* obj0
= 0 ;
12085 PyObject
* obj1
= 0 ;
12086 char *kwnames
[] = {
12087 (char *) "self",(char *) "n", NULL
12090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12093 arg2
= (int)SWIG_As_int(obj1
);
12094 if (PyErr_Occurred()) SWIG_fail
;
12096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12097 (arg1
)->SetSelection(arg2
);
12099 wxPyEndAllowThreads(__tstate
);
12100 if (PyErr_Occurred()) SWIG_fail
;
12102 Py_INCREF(Py_None
); resultobj
= Py_None
;
12109 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12110 PyObject
*resultobj
;
12111 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12113 PyObject
* obj0
= 0 ;
12114 char *kwnames
[] = {
12115 (char *) "self", NULL
12118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
12119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12123 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
12125 wxPyEndAllowThreads(__tstate
);
12126 if (PyErr_Occurred()) SWIG_fail
;
12128 resultobj
= SWIG_From_int((int)result
);
12135 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12136 PyObject
*resultobj
;
12137 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12139 PyObject
* obj0
= 0 ;
12140 char *kwnames
[] = {
12141 (char *) "self", NULL
12144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12149 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
12151 wxPyEndAllowThreads(__tstate
);
12152 if (PyErr_Occurred()) SWIG_fail
;
12156 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12158 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12167 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12168 PyObject
*resultobj
;
12169 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12170 wxString
*arg2
= 0 ;
12172 bool temp2
= False
;
12173 PyObject
* obj0
= 0 ;
12174 PyObject
* obj1
= 0 ;
12175 char *kwnames
[] = {
12176 (char *) "self",(char *) "s", NULL
12179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12183 arg2
= wxString_in_helper(obj1
);
12184 if (arg2
== NULL
) SWIG_fail
;
12188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12189 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
12191 wxPyEndAllowThreads(__tstate
);
12192 if (PyErr_Occurred()) SWIG_fail
;
12195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12211 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12212 PyObject
*resultobj
;
12213 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12215 PyObject
* obj0
= 0 ;
12216 char *kwnames
[] = {
12217 (char *) "self", NULL
12220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
12221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12225 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
12227 wxPyEndAllowThreads(__tstate
);
12228 if (PyErr_Occurred()) SWIG_fail
;
12230 resultobj
= SWIG_From_int((int)result
);
12237 static PyObject
*_wrap_RadioBox_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12238 PyObject
*resultobj
;
12239 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12240 wxString
*arg2
= 0 ;
12242 bool temp2
= False
;
12243 PyObject
* obj0
= 0 ;
12244 PyObject
* obj1
= 0 ;
12245 char *kwnames
[] = {
12246 (char *) "self",(char *) "s", NULL
12249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
12250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12253 arg2
= wxString_in_helper(obj1
);
12254 if (arg2
== NULL
) SWIG_fail
;
12258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12259 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
12261 wxPyEndAllowThreads(__tstate
);
12262 if (PyErr_Occurred()) SWIG_fail
;
12264 resultobj
= SWIG_From_int((int)result
);
12279 static PyObject
*_wrap_RadioBox_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12280 PyObject
*resultobj
;
12281 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12284 PyObject
* obj0
= 0 ;
12285 PyObject
* obj1
= 0 ;
12286 char *kwnames
[] = {
12287 (char *) "self",(char *) "n", NULL
12290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12293 arg2
= (int)SWIG_As_int(obj1
);
12294 if (PyErr_Occurred()) SWIG_fail
;
12296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12297 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
12299 wxPyEndAllowThreads(__tstate
);
12300 if (PyErr_Occurred()) SWIG_fail
;
12304 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12306 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12315 static PyObject
*_wrap_RadioBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12316 PyObject
*resultobj
;
12317 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12319 wxString
*arg3
= 0 ;
12320 bool temp3
= False
;
12321 PyObject
* obj0
= 0 ;
12322 PyObject
* obj1
= 0 ;
12323 PyObject
* obj2
= 0 ;
12324 char *kwnames
[] = {
12325 (char *) "self",(char *) "n",(char *) "label", NULL
12328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12331 arg2
= (int)SWIG_As_int(obj1
);
12332 if (PyErr_Occurred()) SWIG_fail
;
12334 arg3
= wxString_in_helper(obj2
);
12335 if (arg3
== NULL
) SWIG_fail
;
12339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12340 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
12342 wxPyEndAllowThreads(__tstate
);
12343 if (PyErr_Occurred()) SWIG_fail
;
12345 Py_INCREF(Py_None
); resultobj
= Py_None
;
12360 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12361 PyObject
*resultobj
;
12362 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12364 bool arg3
= (bool) True
;
12365 PyObject
* obj0
= 0 ;
12366 PyObject
* obj1
= 0 ;
12367 PyObject
* obj2
= 0 ;
12368 char *kwnames
[] = {
12369 (char *) "self",(char *) "n",(char *) "enable", NULL
12372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12375 arg2
= (int)SWIG_As_int(obj1
);
12376 if (PyErr_Occurred()) SWIG_fail
;
12378 arg3
= (bool)SWIG_As_bool(obj2
);
12379 if (PyErr_Occurred()) SWIG_fail
;
12382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12383 (arg1
)->Enable(arg2
,arg3
);
12385 wxPyEndAllowThreads(__tstate
);
12386 if (PyErr_Occurred()) SWIG_fail
;
12388 Py_INCREF(Py_None
); resultobj
= Py_None
;
12395 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12396 PyObject
*resultobj
;
12397 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12399 bool arg3
= (bool) True
;
12400 PyObject
* obj0
= 0 ;
12401 PyObject
* obj1
= 0 ;
12402 PyObject
* obj2
= 0 ;
12403 char *kwnames
[] = {
12404 (char *) "self",(char *) "n",(char *) "show", NULL
12407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12410 arg2
= (int)SWIG_As_int(obj1
);
12411 if (PyErr_Occurred()) SWIG_fail
;
12413 arg3
= (bool)SWIG_As_bool(obj2
);
12414 if (PyErr_Occurred()) SWIG_fail
;
12417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12418 (arg1
)->Show(arg2
,arg3
);
12420 wxPyEndAllowThreads(__tstate
);
12421 if (PyErr_Occurred()) SWIG_fail
;
12423 Py_INCREF(Py_None
); resultobj
= Py_None
;
12430 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12431 PyObject
*resultobj
;
12432 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12434 PyObject
* obj0
= 0 ;
12435 char *kwnames
[] = {
12436 (char *) "self", NULL
12439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
12440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12444 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
12446 wxPyEndAllowThreads(__tstate
);
12447 if (PyErr_Occurred()) SWIG_fail
;
12449 resultobj
= SWIG_From_int((int)result
);
12456 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12457 PyObject
*resultobj
;
12458 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12460 PyObject
* obj0
= 0 ;
12461 char *kwnames
[] = {
12462 (char *) "self", NULL
12465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
12466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12470 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
12472 wxPyEndAllowThreads(__tstate
);
12473 if (PyErr_Occurred()) SWIG_fail
;
12475 resultobj
= SWIG_From_int((int)result
);
12482 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12483 PyObject
*resultobj
;
12484 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12489 PyObject
* obj0
= 0 ;
12490 PyObject
* obj1
= 0 ;
12491 PyObject
* obj2
= 0 ;
12492 PyObject
* obj3
= 0 ;
12493 char *kwnames
[] = {
12494 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
12497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12500 arg2
= (int)SWIG_As_int(obj1
);
12501 if (PyErr_Occurred()) SWIG_fail
;
12502 arg3
= (int)SWIG_As_int(obj2
);
12503 if (PyErr_Occurred()) SWIG_fail
;
12504 arg4
= (long)SWIG_As_long(obj3
);
12505 if (PyErr_Occurred()) SWIG_fail
;
12507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12508 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
12510 wxPyEndAllowThreads(__tstate
);
12511 if (PyErr_Occurred()) SWIG_fail
;
12513 resultobj
= SWIG_From_int((int)result
);
12520 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12521 PyObject
*resultobj
;
12522 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12523 wxVisualAttributes result
;
12524 PyObject
* obj0
= 0 ;
12525 char *kwnames
[] = {
12526 (char *) "variant", NULL
12529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12531 arg1
= (int)SWIG_As_int(obj0
);
12532 if (PyErr_Occurred()) SWIG_fail
;
12535 if (!wxPyCheckForApp()) SWIG_fail
;
12536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12537 result
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12539 wxPyEndAllowThreads(__tstate
);
12540 if (PyErr_Occurred()) SWIG_fail
;
12543 wxVisualAttributes
* resultptr
;
12544 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12545 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12553 static PyObject
* RadioBox_swigregister(PyObject
*, PyObject
*args
) {
12555 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12556 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
12558 return Py_BuildValue((char *)"");
12560 static PyObject
*_wrap_new_RadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12561 PyObject
*resultobj
;
12562 wxWindow
*arg1
= (wxWindow
*) 0 ;
12563 int arg2
= (int) -1 ;
12564 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12565 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12566 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12567 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12568 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12569 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12570 long arg6
= (long) 0 ;
12571 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12572 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12573 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
12574 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12575 wxRadioButton
*result
;
12576 bool temp3
= False
;
12579 bool temp8
= False
;
12580 PyObject
* obj0
= 0 ;
12581 PyObject
* obj1
= 0 ;
12582 PyObject
* obj2
= 0 ;
12583 PyObject
* obj3
= 0 ;
12584 PyObject
* obj4
= 0 ;
12585 PyObject
* obj5
= 0 ;
12586 PyObject
* obj6
= 0 ;
12587 PyObject
* obj7
= 0 ;
12588 char *kwnames
[] = {
12589 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12596 arg2
= (int)SWIG_As_int(obj1
);
12597 if (PyErr_Occurred()) SWIG_fail
;
12601 arg3
= wxString_in_helper(obj2
);
12602 if (arg3
== NULL
) SWIG_fail
;
12609 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12615 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12619 arg6
= (long)SWIG_As_long(obj5
);
12620 if (PyErr_Occurred()) SWIG_fail
;
12623 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
12624 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12626 if (arg7
== NULL
) {
12627 PyErr_SetString(PyExc_TypeError
,"null reference");
12633 arg8
= wxString_in_helper(obj7
);
12634 if (arg8
== NULL
) SWIG_fail
;
12639 if (!wxPyCheckForApp()) SWIG_fail
;
12640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12641 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12643 wxPyEndAllowThreads(__tstate
);
12644 if (PyErr_Occurred()) SWIG_fail
;
12646 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12669 static PyObject
*_wrap_new_PreRadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12670 PyObject
*resultobj
;
12671 wxRadioButton
*result
;
12672 char *kwnames
[] = {
12676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
12678 if (!wxPyCheckForApp()) SWIG_fail
;
12679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12680 result
= (wxRadioButton
*)new wxRadioButton();
12682 wxPyEndAllowThreads(__tstate
);
12683 if (PyErr_Occurred()) SWIG_fail
;
12685 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12692 static PyObject
*_wrap_RadioButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12693 PyObject
*resultobj
;
12694 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12695 wxWindow
*arg2
= (wxWindow
*) 0 ;
12696 int arg3
= (int) -1 ;
12697 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12698 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12699 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12700 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12701 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12702 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12703 long arg7
= (long) 0 ;
12704 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
12705 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
12706 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
12707 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
12709 bool temp4
= False
;
12712 bool temp9
= False
;
12713 PyObject
* obj0
= 0 ;
12714 PyObject
* obj1
= 0 ;
12715 PyObject
* obj2
= 0 ;
12716 PyObject
* obj3
= 0 ;
12717 PyObject
* obj4
= 0 ;
12718 PyObject
* obj5
= 0 ;
12719 PyObject
* obj6
= 0 ;
12720 PyObject
* obj7
= 0 ;
12721 PyObject
* obj8
= 0 ;
12722 char *kwnames
[] = {
12723 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
12727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12729 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12732 arg3
= (int)SWIG_As_int(obj2
);
12733 if (PyErr_Occurred()) SWIG_fail
;
12737 arg4
= wxString_in_helper(obj3
);
12738 if (arg4
== NULL
) SWIG_fail
;
12745 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12751 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12755 arg7
= (long)SWIG_As_long(obj6
);
12756 if (PyErr_Occurred()) SWIG_fail
;
12759 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
12760 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12762 if (arg8
== NULL
) {
12763 PyErr_SetString(PyExc_TypeError
,"null reference");
12769 arg9
= wxString_in_helper(obj8
);
12770 if (arg9
== NULL
) SWIG_fail
;
12775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12776 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
12778 wxPyEndAllowThreads(__tstate
);
12779 if (PyErr_Occurred()) SWIG_fail
;
12782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12806 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12807 PyObject
*resultobj
;
12808 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12810 PyObject
* obj0
= 0 ;
12811 char *kwnames
[] = {
12812 (char *) "self", NULL
12815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
12816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12820 result
= (bool)(arg1
)->GetValue();
12822 wxPyEndAllowThreads(__tstate
);
12823 if (PyErr_Occurred()) SWIG_fail
;
12826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12834 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12835 PyObject
*resultobj
;
12836 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12838 PyObject
* obj0
= 0 ;
12839 PyObject
* obj1
= 0 ;
12840 char *kwnames
[] = {
12841 (char *) "self",(char *) "value", NULL
12844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12847 arg2
= (bool)SWIG_As_bool(obj1
);
12848 if (PyErr_Occurred()) SWIG_fail
;
12850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12851 (arg1
)->SetValue(arg2
);
12853 wxPyEndAllowThreads(__tstate
);
12854 if (PyErr_Occurred()) SWIG_fail
;
12856 Py_INCREF(Py_None
); resultobj
= Py_None
;
12863 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12864 PyObject
*resultobj
;
12865 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12866 wxVisualAttributes result
;
12867 PyObject
* obj0
= 0 ;
12868 char *kwnames
[] = {
12869 (char *) "variant", NULL
12872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12874 arg1
= (int)SWIG_As_int(obj0
);
12875 if (PyErr_Occurred()) SWIG_fail
;
12878 if (!wxPyCheckForApp()) SWIG_fail
;
12879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12880 result
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12882 wxPyEndAllowThreads(__tstate
);
12883 if (PyErr_Occurred()) SWIG_fail
;
12886 wxVisualAttributes
* resultptr
;
12887 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12888 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12896 static PyObject
* RadioButton_swigregister(PyObject
*, PyObject
*args
) {
12898 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12899 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
12901 return Py_BuildValue((char *)"");
12903 static int _wrap_SliderNameStr_set(PyObject
*) {
12904 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
12909 static PyObject
*_wrap_SliderNameStr_get() {
12914 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12916 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
12923 static PyObject
*_wrap_new_Slider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12924 PyObject
*resultobj
;
12925 wxWindow
*arg1
= (wxWindow
*) 0 ;
12926 int arg2
= (int) -1 ;
12927 int arg3
= (int) 0 ;
12928 int arg4
= (int) 0 ;
12929 int arg5
= (int) 100 ;
12930 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
12931 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
12932 wxSize
const &arg7_defvalue
= wxDefaultSize
;
12933 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
12934 long arg8
= (long) wxSL_HORIZONTAL
;
12935 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
12936 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
12937 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
12938 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
12942 bool temp10
= False
;
12943 PyObject
* obj0
= 0 ;
12944 PyObject
* obj1
= 0 ;
12945 PyObject
* obj2
= 0 ;
12946 PyObject
* obj3
= 0 ;
12947 PyObject
* obj4
= 0 ;
12948 PyObject
* obj5
= 0 ;
12949 PyObject
* obj6
= 0 ;
12950 PyObject
* obj7
= 0 ;
12951 PyObject
* obj8
= 0 ;
12952 PyObject
* obj9
= 0 ;
12953 char *kwnames
[] = {
12954 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
12958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12961 arg2
= (int)SWIG_As_int(obj1
);
12962 if (PyErr_Occurred()) SWIG_fail
;
12965 arg3
= (int)SWIG_As_int(obj2
);
12966 if (PyErr_Occurred()) SWIG_fail
;
12969 arg4
= (int)SWIG_As_int(obj3
);
12970 if (PyErr_Occurred()) SWIG_fail
;
12973 arg5
= (int)SWIG_As_int(obj4
);
12974 if (PyErr_Occurred()) SWIG_fail
;
12979 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
12985 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
12989 arg8
= (long)SWIG_As_long(obj7
);
12990 if (PyErr_Occurred()) SWIG_fail
;
12993 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
12994 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12996 if (arg9
== NULL
) {
12997 PyErr_SetString(PyExc_TypeError
,"null reference");
13003 arg10
= wxString_in_helper(obj9
);
13004 if (arg10
== NULL
) SWIG_fail
;
13009 if (!wxPyCheckForApp()) SWIG_fail
;
13010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13011 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
13013 wxPyEndAllowThreads(__tstate
);
13014 if (PyErr_Occurred()) SWIG_fail
;
13016 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
13031 static PyObject
*_wrap_new_PreSlider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13032 PyObject
*resultobj
;
13034 char *kwnames
[] = {
13038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
13040 if (!wxPyCheckForApp()) SWIG_fail
;
13041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13042 result
= (wxSlider
*)new wxSlider();
13044 wxPyEndAllowThreads(__tstate
);
13045 if (PyErr_Occurred()) SWIG_fail
;
13047 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
13054 static PyObject
*_wrap_Slider_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13055 PyObject
*resultobj
;
13056 wxSlider
*arg1
= (wxSlider
*) 0 ;
13057 wxWindow
*arg2
= (wxWindow
*) 0 ;
13058 int arg3
= (int) -1 ;
13059 int arg4
= (int) 0 ;
13060 int arg5
= (int) 0 ;
13061 int arg6
= (int) 100 ;
13062 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
13063 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
13064 wxSize
const &arg8_defvalue
= wxDefaultSize
;
13065 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
13066 long arg9
= (long) wxSL_HORIZONTAL
;
13067 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
13068 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
13069 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
13070 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13074 bool temp11
= False
;
13075 PyObject
* obj0
= 0 ;
13076 PyObject
* obj1
= 0 ;
13077 PyObject
* obj2
= 0 ;
13078 PyObject
* obj3
= 0 ;
13079 PyObject
* obj4
= 0 ;
13080 PyObject
* obj5
= 0 ;
13081 PyObject
* obj6
= 0 ;
13082 PyObject
* obj7
= 0 ;
13083 PyObject
* obj8
= 0 ;
13084 PyObject
* obj9
= 0 ;
13085 PyObject
* obj10
= 0 ;
13086 char *kwnames
[] = {
13087 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13093 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13096 arg3
= (int)SWIG_As_int(obj2
);
13097 if (PyErr_Occurred()) SWIG_fail
;
13100 arg4
= (int)SWIG_As_int(obj3
);
13101 if (PyErr_Occurred()) SWIG_fail
;
13104 arg5
= (int)SWIG_As_int(obj4
);
13105 if (PyErr_Occurred()) SWIG_fail
;
13108 arg6
= (int)SWIG_As_int(obj5
);
13109 if (PyErr_Occurred()) SWIG_fail
;
13114 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
13120 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
13124 arg9
= (long)SWIG_As_long(obj8
);
13125 if (PyErr_Occurred()) SWIG_fail
;
13128 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
13129 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13131 if (arg10
== NULL
) {
13132 PyErr_SetString(PyExc_TypeError
,"null reference");
13138 arg11
= wxString_in_helper(obj10
);
13139 if (arg11
== NULL
) SWIG_fail
;
13144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13145 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
13147 wxPyEndAllowThreads(__tstate
);
13148 if (PyErr_Occurred()) SWIG_fail
;
13151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13167 static PyObject
*_wrap_Slider_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13168 PyObject
*resultobj
;
13169 wxSlider
*arg1
= (wxSlider
*) 0 ;
13171 PyObject
* obj0
= 0 ;
13172 char *kwnames
[] = {
13173 (char *) "self", NULL
13176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetValue",kwnames
,&obj0
)) goto fail
;
13177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13181 result
= (int)((wxSlider
const *)arg1
)->GetValue();
13183 wxPyEndAllowThreads(__tstate
);
13184 if (PyErr_Occurred()) SWIG_fail
;
13186 resultobj
= SWIG_From_int((int)result
);
13193 static PyObject
*_wrap_Slider_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13194 PyObject
*resultobj
;
13195 wxSlider
*arg1
= (wxSlider
*) 0 ;
13197 PyObject
* obj0
= 0 ;
13198 PyObject
* obj1
= 0 ;
13199 char *kwnames
[] = {
13200 (char *) "self",(char *) "value", NULL
13203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13206 arg2
= (int)SWIG_As_int(obj1
);
13207 if (PyErr_Occurred()) SWIG_fail
;
13209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13210 (arg1
)->SetValue(arg2
);
13212 wxPyEndAllowThreads(__tstate
);
13213 if (PyErr_Occurred()) SWIG_fail
;
13215 Py_INCREF(Py_None
); resultobj
= Py_None
;
13222 static PyObject
*_wrap_Slider_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13223 PyObject
*resultobj
;
13224 wxSlider
*arg1
= (wxSlider
*) 0 ;
13227 PyObject
* obj0
= 0 ;
13228 PyObject
* obj1
= 0 ;
13229 PyObject
* obj2
= 0 ;
13230 char *kwnames
[] = {
13231 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
13234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13237 arg2
= (int)SWIG_As_int(obj1
);
13238 if (PyErr_Occurred()) SWIG_fail
;
13239 arg3
= (int)SWIG_As_int(obj2
);
13240 if (PyErr_Occurred()) SWIG_fail
;
13242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13243 (arg1
)->SetRange(arg2
,arg3
);
13245 wxPyEndAllowThreads(__tstate
);
13246 if (PyErr_Occurred()) SWIG_fail
;
13248 Py_INCREF(Py_None
); resultobj
= Py_None
;
13255 static PyObject
*_wrap_Slider_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13256 PyObject
*resultobj
;
13257 wxSlider
*arg1
= (wxSlider
*) 0 ;
13259 PyObject
* obj0
= 0 ;
13260 char *kwnames
[] = {
13261 (char *) "self", NULL
13264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
13265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13269 result
= (int)((wxSlider
const *)arg1
)->GetMin();
13271 wxPyEndAllowThreads(__tstate
);
13272 if (PyErr_Occurred()) SWIG_fail
;
13274 resultobj
= SWIG_From_int((int)result
);
13281 static PyObject
*_wrap_Slider_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13282 PyObject
*resultobj
;
13283 wxSlider
*arg1
= (wxSlider
*) 0 ;
13285 PyObject
* obj0
= 0 ;
13286 char *kwnames
[] = {
13287 (char *) "self", NULL
13290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
13291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13295 result
= (int)((wxSlider
const *)arg1
)->GetMax();
13297 wxPyEndAllowThreads(__tstate
);
13298 if (PyErr_Occurred()) SWIG_fail
;
13300 resultobj
= SWIG_From_int((int)result
);
13307 static PyObject
*_wrap_Slider_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13308 PyObject
*resultobj
;
13309 wxSlider
*arg1
= (wxSlider
*) 0 ;
13311 PyObject
* obj0
= 0 ;
13312 PyObject
* obj1
= 0 ;
13313 char *kwnames
[] = {
13314 (char *) "self",(char *) "minValue", NULL
13317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
13318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13320 arg2
= (int)SWIG_As_int(obj1
);
13321 if (PyErr_Occurred()) SWIG_fail
;
13323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13324 (arg1
)->SetMin(arg2
);
13326 wxPyEndAllowThreads(__tstate
);
13327 if (PyErr_Occurred()) SWIG_fail
;
13329 Py_INCREF(Py_None
); resultobj
= Py_None
;
13336 static PyObject
*_wrap_Slider_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13337 PyObject
*resultobj
;
13338 wxSlider
*arg1
= (wxSlider
*) 0 ;
13340 PyObject
* obj0
= 0 ;
13341 PyObject
* obj1
= 0 ;
13342 char *kwnames
[] = {
13343 (char *) "self",(char *) "maxValue", NULL
13346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
13347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13349 arg2
= (int)SWIG_As_int(obj1
);
13350 if (PyErr_Occurred()) SWIG_fail
;
13352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13353 (arg1
)->SetMax(arg2
);
13355 wxPyEndAllowThreads(__tstate
);
13356 if (PyErr_Occurred()) SWIG_fail
;
13358 Py_INCREF(Py_None
); resultobj
= Py_None
;
13365 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13366 PyObject
*resultobj
;
13367 wxSlider
*arg1
= (wxSlider
*) 0 ;
13369 PyObject
* obj0
= 0 ;
13370 PyObject
* obj1
= 0 ;
13371 char *kwnames
[] = {
13372 (char *) "self",(char *) "lineSize", NULL
13375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13378 arg2
= (int)SWIG_As_int(obj1
);
13379 if (PyErr_Occurred()) SWIG_fail
;
13381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13382 (arg1
)->SetLineSize(arg2
);
13384 wxPyEndAllowThreads(__tstate
);
13385 if (PyErr_Occurred()) SWIG_fail
;
13387 Py_INCREF(Py_None
); resultobj
= Py_None
;
13394 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13395 PyObject
*resultobj
;
13396 wxSlider
*arg1
= (wxSlider
*) 0 ;
13398 PyObject
* obj0
= 0 ;
13399 PyObject
* obj1
= 0 ;
13400 char *kwnames
[] = {
13401 (char *) "self",(char *) "pageSize", NULL
13404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13407 arg2
= (int)SWIG_As_int(obj1
);
13408 if (PyErr_Occurred()) SWIG_fail
;
13410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13411 (arg1
)->SetPageSize(arg2
);
13413 wxPyEndAllowThreads(__tstate
);
13414 if (PyErr_Occurred()) SWIG_fail
;
13416 Py_INCREF(Py_None
); resultobj
= Py_None
;
13423 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13424 PyObject
*resultobj
;
13425 wxSlider
*arg1
= (wxSlider
*) 0 ;
13427 PyObject
* obj0
= 0 ;
13428 char *kwnames
[] = {
13429 (char *) "self", NULL
13432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
13433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13437 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
13439 wxPyEndAllowThreads(__tstate
);
13440 if (PyErr_Occurred()) SWIG_fail
;
13442 resultobj
= SWIG_From_int((int)result
);
13449 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13450 PyObject
*resultobj
;
13451 wxSlider
*arg1
= (wxSlider
*) 0 ;
13453 PyObject
* obj0
= 0 ;
13454 char *kwnames
[] = {
13455 (char *) "self", NULL
13458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
13459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13463 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
13465 wxPyEndAllowThreads(__tstate
);
13466 if (PyErr_Occurred()) SWIG_fail
;
13468 resultobj
= SWIG_From_int((int)result
);
13475 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13476 PyObject
*resultobj
;
13477 wxSlider
*arg1
= (wxSlider
*) 0 ;
13479 PyObject
* obj0
= 0 ;
13480 PyObject
* obj1
= 0 ;
13481 char *kwnames
[] = {
13482 (char *) "self",(char *) "lenPixels", NULL
13485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
13486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13488 arg2
= (int)SWIG_As_int(obj1
);
13489 if (PyErr_Occurred()) SWIG_fail
;
13491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13492 (arg1
)->SetThumbLength(arg2
);
13494 wxPyEndAllowThreads(__tstate
);
13495 if (PyErr_Occurred()) SWIG_fail
;
13497 Py_INCREF(Py_None
); resultobj
= Py_None
;
13504 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13505 PyObject
*resultobj
;
13506 wxSlider
*arg1
= (wxSlider
*) 0 ;
13508 PyObject
* obj0
= 0 ;
13509 char *kwnames
[] = {
13510 (char *) "self", NULL
13513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
13514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13518 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
13520 wxPyEndAllowThreads(__tstate
);
13521 if (PyErr_Occurred()) SWIG_fail
;
13523 resultobj
= SWIG_From_int((int)result
);
13530 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13531 PyObject
*resultobj
;
13532 wxSlider
*arg1
= (wxSlider
*) 0 ;
13534 int arg3
= (int) 1 ;
13535 PyObject
* obj0
= 0 ;
13536 PyObject
* obj1
= 0 ;
13537 PyObject
* obj2
= 0 ;
13538 char *kwnames
[] = {
13539 (char *) "self",(char *) "n",(char *) "pos", NULL
13542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13545 arg2
= (int)SWIG_As_int(obj1
);
13546 if (PyErr_Occurred()) SWIG_fail
;
13548 arg3
= (int)SWIG_As_int(obj2
);
13549 if (PyErr_Occurred()) SWIG_fail
;
13552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13553 (arg1
)->SetTickFreq(arg2
,arg3
);
13555 wxPyEndAllowThreads(__tstate
);
13556 if (PyErr_Occurred()) SWIG_fail
;
13558 Py_INCREF(Py_None
); resultobj
= Py_None
;
13565 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13566 PyObject
*resultobj
;
13567 wxSlider
*arg1
= (wxSlider
*) 0 ;
13569 PyObject
* obj0
= 0 ;
13570 char *kwnames
[] = {
13571 (char *) "self", NULL
13574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
13575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13579 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
13581 wxPyEndAllowThreads(__tstate
);
13582 if (PyErr_Occurred()) SWIG_fail
;
13584 resultobj
= SWIG_From_int((int)result
);
13591 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13592 PyObject
*resultobj
;
13593 wxSlider
*arg1
= (wxSlider
*) 0 ;
13594 PyObject
* obj0
= 0 ;
13595 char *kwnames
[] = {
13596 (char *) "self", NULL
13599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
13600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13604 (arg1
)->ClearTicks();
13606 wxPyEndAllowThreads(__tstate
);
13607 if (PyErr_Occurred()) SWIG_fail
;
13609 Py_INCREF(Py_None
); resultobj
= Py_None
;
13616 static PyObject
*_wrap_Slider_SetTick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13617 PyObject
*resultobj
;
13618 wxSlider
*arg1
= (wxSlider
*) 0 ;
13620 PyObject
* obj0
= 0 ;
13621 PyObject
* obj1
= 0 ;
13622 char *kwnames
[] = {
13623 (char *) "self",(char *) "tickPos", NULL
13626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
13627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13629 arg2
= (int)SWIG_As_int(obj1
);
13630 if (PyErr_Occurred()) SWIG_fail
;
13632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13633 (arg1
)->SetTick(arg2
);
13635 wxPyEndAllowThreads(__tstate
);
13636 if (PyErr_Occurred()) SWIG_fail
;
13638 Py_INCREF(Py_None
); resultobj
= Py_None
;
13645 static PyObject
*_wrap_Slider_ClearSel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13646 PyObject
*resultobj
;
13647 wxSlider
*arg1
= (wxSlider
*) 0 ;
13648 PyObject
* obj0
= 0 ;
13649 char *kwnames
[] = {
13650 (char *) "self", NULL
13653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
13654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13658 (arg1
)->ClearSel();
13660 wxPyEndAllowThreads(__tstate
);
13661 if (PyErr_Occurred()) SWIG_fail
;
13663 Py_INCREF(Py_None
); resultobj
= Py_None
;
13670 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13671 PyObject
*resultobj
;
13672 wxSlider
*arg1
= (wxSlider
*) 0 ;
13674 PyObject
* obj0
= 0 ;
13675 char *kwnames
[] = {
13676 (char *) "self", NULL
13679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
13680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13684 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
13686 wxPyEndAllowThreads(__tstate
);
13687 if (PyErr_Occurred()) SWIG_fail
;
13689 resultobj
= SWIG_From_int((int)result
);
13696 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13697 PyObject
*resultobj
;
13698 wxSlider
*arg1
= (wxSlider
*) 0 ;
13700 PyObject
* obj0
= 0 ;
13701 char *kwnames
[] = {
13702 (char *) "self", NULL
13705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
13706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13710 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
13712 wxPyEndAllowThreads(__tstate
);
13713 if (PyErr_Occurred()) SWIG_fail
;
13715 resultobj
= SWIG_From_int((int)result
);
13722 static PyObject
*_wrap_Slider_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13723 PyObject
*resultobj
;
13724 wxSlider
*arg1
= (wxSlider
*) 0 ;
13727 PyObject
* obj0
= 0 ;
13728 PyObject
* obj1
= 0 ;
13729 PyObject
* obj2
= 0 ;
13730 char *kwnames
[] = {
13731 (char *) "self",(char *) "min",(char *) "max", NULL
13734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13737 arg2
= (int)SWIG_As_int(obj1
);
13738 if (PyErr_Occurred()) SWIG_fail
;
13739 arg3
= (int)SWIG_As_int(obj2
);
13740 if (PyErr_Occurred()) SWIG_fail
;
13742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13743 (arg1
)->SetSelection(arg2
,arg3
);
13745 wxPyEndAllowThreads(__tstate
);
13746 if (PyErr_Occurred()) SWIG_fail
;
13748 Py_INCREF(Py_None
); resultobj
= Py_None
;
13755 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13756 PyObject
*resultobj
;
13757 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
13758 wxVisualAttributes result
;
13759 PyObject
* obj0
= 0 ;
13760 char *kwnames
[] = {
13761 (char *) "variant", NULL
13764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13766 arg1
= (int)SWIG_As_int(obj0
);
13767 if (PyErr_Occurred()) SWIG_fail
;
13770 if (!wxPyCheckForApp()) SWIG_fail
;
13771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13772 result
= wxSlider::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13774 wxPyEndAllowThreads(__tstate
);
13775 if (PyErr_Occurred()) SWIG_fail
;
13778 wxVisualAttributes
* resultptr
;
13779 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
13780 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13788 static PyObject
* Slider_swigregister(PyObject
*, PyObject
*args
) {
13790 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13791 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
13793 return Py_BuildValue((char *)"");
13795 static int _wrap_ToggleButtonNameStr_set(PyObject
*) {
13796 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
13801 static PyObject
*_wrap_ToggleButtonNameStr_get() {
13806 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13808 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13815 static PyObject
*_wrap_new_ToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13816 PyObject
*resultobj
;
13817 wxWindow
*arg1
= (wxWindow
*) 0 ;
13818 int arg2
= (int) -1 ;
13819 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13820 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13821 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13822 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13823 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13824 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13825 long arg6
= (long) 0 ;
13826 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
13827 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
13828 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
13829 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13830 wxToggleButton
*result
;
13831 bool temp3
= False
;
13834 bool temp8
= False
;
13835 PyObject
* obj0
= 0 ;
13836 PyObject
* obj1
= 0 ;
13837 PyObject
* obj2
= 0 ;
13838 PyObject
* obj3
= 0 ;
13839 PyObject
* obj4
= 0 ;
13840 PyObject
* obj5
= 0 ;
13841 PyObject
* obj6
= 0 ;
13842 PyObject
* obj7
= 0 ;
13843 char *kwnames
[] = {
13844 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
13848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13851 arg2
= (int)SWIG_As_int(obj1
);
13852 if (PyErr_Occurred()) SWIG_fail
;
13856 arg3
= wxString_in_helper(obj2
);
13857 if (arg3
== NULL
) SWIG_fail
;
13864 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13870 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13874 arg6
= (long)SWIG_As_long(obj5
);
13875 if (PyErr_Occurred()) SWIG_fail
;
13878 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
13879 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13881 if (arg7
== NULL
) {
13882 PyErr_SetString(PyExc_TypeError
,"null reference");
13888 arg8
= wxString_in_helper(obj7
);
13889 if (arg8
== NULL
) SWIG_fail
;
13894 if (!wxPyCheckForApp()) SWIG_fail
;
13895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13896 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
13898 wxPyEndAllowThreads(__tstate
);
13899 if (PyErr_Occurred()) SWIG_fail
;
13901 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13924 static PyObject
*_wrap_new_PreToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13925 PyObject
*resultobj
;
13926 wxToggleButton
*result
;
13927 char *kwnames
[] = {
13931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
13933 if (!wxPyCheckForApp()) SWIG_fail
;
13934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13935 result
= (wxToggleButton
*)new wxToggleButton();
13937 wxPyEndAllowThreads(__tstate
);
13938 if (PyErr_Occurred()) SWIG_fail
;
13940 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
13947 static PyObject
*_wrap_ToggleButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13948 PyObject
*resultobj
;
13949 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
13950 wxWindow
*arg2
= (wxWindow
*) 0 ;
13951 int arg3
= (int) -1 ;
13952 wxString
const &arg4_defvalue
= wxPyEmptyString
;
13953 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
13954 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
13955 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
13956 wxSize
const &arg6_defvalue
= wxDefaultSize
;
13957 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
13958 long arg7
= (long) 0 ;
13959 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
13960 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
13961 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
13962 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
13964 bool temp4
= False
;
13967 bool temp9
= False
;
13968 PyObject
* obj0
= 0 ;
13969 PyObject
* obj1
= 0 ;
13970 PyObject
* obj2
= 0 ;
13971 PyObject
* obj3
= 0 ;
13972 PyObject
* obj4
= 0 ;
13973 PyObject
* obj5
= 0 ;
13974 PyObject
* obj6
= 0 ;
13975 PyObject
* obj7
= 0 ;
13976 PyObject
* obj8
= 0 ;
13977 char *kwnames
[] = {
13978 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
13982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
13983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13984 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13987 arg3
= (int)SWIG_As_int(obj2
);
13988 if (PyErr_Occurred()) SWIG_fail
;
13992 arg4
= wxString_in_helper(obj3
);
13993 if (arg4
== NULL
) SWIG_fail
;
14000 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14006 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14010 arg7
= (long)SWIG_As_long(obj6
);
14011 if (PyErr_Occurred()) SWIG_fail
;
14014 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
14015 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14017 if (arg8
== NULL
) {
14018 PyErr_SetString(PyExc_TypeError
,"null reference");
14024 arg9
= wxString_in_helper(obj8
);
14025 if (arg9
== NULL
) SWIG_fail
;
14030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14031 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
14033 wxPyEndAllowThreads(__tstate
);
14034 if (PyErr_Occurred()) SWIG_fail
;
14037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14061 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14062 PyObject
*resultobj
;
14063 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14065 PyObject
* obj0
= 0 ;
14066 PyObject
* obj1
= 0 ;
14067 char *kwnames
[] = {
14068 (char *) "self",(char *) "value", NULL
14071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14074 arg2
= (bool)SWIG_As_bool(obj1
);
14075 if (PyErr_Occurred()) SWIG_fail
;
14077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14078 (arg1
)->SetValue(arg2
);
14080 wxPyEndAllowThreads(__tstate
);
14081 if (PyErr_Occurred()) SWIG_fail
;
14083 Py_INCREF(Py_None
); resultobj
= Py_None
;
14090 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14091 PyObject
*resultobj
;
14092 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14094 PyObject
* obj0
= 0 ;
14095 char *kwnames
[] = {
14096 (char *) "self", NULL
14099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
14100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14104 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
14106 wxPyEndAllowThreads(__tstate
);
14107 if (PyErr_Occurred()) SWIG_fail
;
14110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14118 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14119 PyObject
*resultobj
;
14120 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14121 wxString
*arg2
= 0 ;
14122 bool temp2
= False
;
14123 PyObject
* obj0
= 0 ;
14124 PyObject
* obj1
= 0 ;
14125 char *kwnames
[] = {
14126 (char *) "self",(char *) "label", NULL
14129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
14130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14133 arg2
= wxString_in_helper(obj1
);
14134 if (arg2
== NULL
) SWIG_fail
;
14138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14139 (arg1
)->SetLabel((wxString
const &)*arg2
);
14141 wxPyEndAllowThreads(__tstate
);
14142 if (PyErr_Occurred()) SWIG_fail
;
14144 Py_INCREF(Py_None
); resultobj
= Py_None
;
14159 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14160 PyObject
*resultobj
;
14161 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14162 wxVisualAttributes result
;
14163 PyObject
* obj0
= 0 ;
14164 char *kwnames
[] = {
14165 (char *) "variant", NULL
14168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14170 arg1
= (int)SWIG_As_int(obj0
);
14171 if (PyErr_Occurred()) SWIG_fail
;
14174 if (!wxPyCheckForApp()) SWIG_fail
;
14175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14176 result
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14178 wxPyEndAllowThreads(__tstate
);
14179 if (PyErr_Occurred()) SWIG_fail
;
14182 wxVisualAttributes
* resultptr
;
14183 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14184 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14192 static PyObject
* ToggleButton_swigregister(PyObject
*, PyObject
*args
) {
14194 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14195 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
14197 return Py_BuildValue((char *)"");
14199 static int _wrap_NOTEBOOK_NAME_set(PyObject
*) {
14200 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
14205 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
14210 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
14212 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
14219 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14220 PyObject
*resultobj
;
14221 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14223 PyObject
* obj0
= 0 ;
14224 char *kwnames
[] = {
14225 (char *) "self", NULL
14228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
14229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14233 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
14235 wxPyEndAllowThreads(__tstate
);
14236 if (PyErr_Occurred()) SWIG_fail
;
14238 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
14245 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14246 PyObject
*resultobj
;
14247 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14250 PyObject
* obj0
= 0 ;
14251 PyObject
* obj1
= 0 ;
14252 char *kwnames
[] = {
14253 (char *) "self",(char *) "n", NULL
14256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14259 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14260 if (PyErr_Occurred()) SWIG_fail
;
14262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14263 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
14265 wxPyEndAllowThreads(__tstate
);
14266 if (PyErr_Occurred()) SWIG_fail
;
14269 resultobj
= wxPyMake_wxObject(result
, 0);
14277 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14278 PyObject
*resultobj
;
14279 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14281 PyObject
* obj0
= 0 ;
14282 char *kwnames
[] = {
14283 (char *) "self", NULL
14286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
14287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14291 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
14293 wxPyEndAllowThreads(__tstate
);
14294 if (PyErr_Occurred()) SWIG_fail
;
14296 resultobj
= SWIG_From_int((int)result
);
14303 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14304 PyObject
*resultobj
;
14305 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14307 wxString
*arg3
= 0 ;
14309 bool temp3
= False
;
14310 PyObject
* obj0
= 0 ;
14311 PyObject
* obj1
= 0 ;
14312 PyObject
* obj2
= 0 ;
14313 char *kwnames
[] = {
14314 (char *) "self",(char *) "n",(char *) "strText", NULL
14317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14320 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14321 if (PyErr_Occurred()) SWIG_fail
;
14323 arg3
= wxString_in_helper(obj2
);
14324 if (arg3
== NULL
) SWIG_fail
;
14328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14329 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
14331 wxPyEndAllowThreads(__tstate
);
14332 if (PyErr_Occurred()) SWIG_fail
;
14335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14351 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14352 PyObject
*resultobj
;
14353 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14356 PyObject
* obj0
= 0 ;
14357 PyObject
* obj1
= 0 ;
14358 char *kwnames
[] = {
14359 (char *) "self",(char *) "n", NULL
14362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
14363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14365 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14366 if (PyErr_Occurred()) SWIG_fail
;
14368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14369 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
14371 wxPyEndAllowThreads(__tstate
);
14372 if (PyErr_Occurred()) SWIG_fail
;
14376 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14378 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14387 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14388 PyObject
*resultobj
;
14389 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14390 wxImageList
*arg2
= (wxImageList
*) 0 ;
14391 PyObject
* obj0
= 0 ;
14392 PyObject
* obj1
= 0 ;
14393 char *kwnames
[] = {
14394 (char *) "self",(char *) "imageList", NULL
14397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14400 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14404 (arg1
)->SetImageList(arg2
);
14406 wxPyEndAllowThreads(__tstate
);
14407 if (PyErr_Occurred()) SWIG_fail
;
14409 Py_INCREF(Py_None
); resultobj
= Py_None
;
14416 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14417 PyObject
*resultobj
;
14418 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14419 wxImageList
*arg2
= (wxImageList
*) 0 ;
14420 PyObject
* obj0
= 0 ;
14421 PyObject
* obj1
= 0 ;
14422 char *kwnames
[] = {
14423 (char *) "self",(char *) "imageList", NULL
14426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14429 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14430 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
14432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14433 (arg1
)->AssignImageList(arg2
);
14435 wxPyEndAllowThreads(__tstate
);
14436 if (PyErr_Occurred()) SWIG_fail
;
14438 Py_INCREF(Py_None
); resultobj
= Py_None
;
14445 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14446 PyObject
*resultobj
;
14447 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14448 wxImageList
*result
;
14449 PyObject
* obj0
= 0 ;
14450 char *kwnames
[] = {
14451 (char *) "self", NULL
14454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
14455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14459 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
14461 wxPyEndAllowThreads(__tstate
);
14462 if (PyErr_Occurred()) SWIG_fail
;
14465 resultobj
= wxPyMake_wxObject(result
, 0);
14473 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14474 PyObject
*resultobj
;
14475 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14478 PyObject
* obj0
= 0 ;
14479 PyObject
* obj1
= 0 ;
14480 char *kwnames
[] = {
14481 (char *) "self",(char *) "n", NULL
14484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
14485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14487 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14488 if (PyErr_Occurred()) SWIG_fail
;
14490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14491 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
14493 wxPyEndAllowThreads(__tstate
);
14494 if (PyErr_Occurred()) SWIG_fail
;
14496 resultobj
= SWIG_From_int((int)result
);
14503 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14504 PyObject
*resultobj
;
14505 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14509 PyObject
* obj0
= 0 ;
14510 PyObject
* obj1
= 0 ;
14511 PyObject
* obj2
= 0 ;
14512 char *kwnames
[] = {
14513 (char *) "self",(char *) "n",(char *) "imageId", NULL
14516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14519 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14520 if (PyErr_Occurred()) SWIG_fail
;
14521 arg3
= (int)SWIG_As_int(obj2
);
14522 if (PyErr_Occurred()) SWIG_fail
;
14524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14525 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
14527 wxPyEndAllowThreads(__tstate
);
14528 if (PyErr_Occurred()) SWIG_fail
;
14531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14539 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14540 PyObject
*resultobj
;
14541 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14544 PyObject
* obj0
= 0 ;
14545 PyObject
* obj1
= 0 ;
14546 char *kwnames
[] = {
14547 (char *) "self",(char *) "size", NULL
14550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14555 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14559 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
14561 wxPyEndAllowThreads(__tstate
);
14562 if (PyErr_Occurred()) SWIG_fail
;
14564 Py_INCREF(Py_None
); resultobj
= Py_None
;
14571 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14572 PyObject
*resultobj
;
14573 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14577 PyObject
* obj0
= 0 ;
14578 PyObject
* obj1
= 0 ;
14579 char *kwnames
[] = {
14580 (char *) "self",(char *) "sizePage", NULL
14583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14588 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14592 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14594 wxPyEndAllowThreads(__tstate
);
14595 if (PyErr_Occurred()) SWIG_fail
;
14598 wxSize
* resultptr
;
14599 resultptr
= new wxSize((wxSize
&) result
);
14600 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14608 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14609 PyObject
*resultobj
;
14610 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14613 PyObject
* obj0
= 0 ;
14614 PyObject
* obj1
= 0 ;
14615 char *kwnames
[] = {
14616 (char *) "self",(char *) "n", NULL
14619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14622 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14623 if (PyErr_Occurred()) SWIG_fail
;
14625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14626 result
= (bool)(arg1
)->DeletePage(arg2
);
14628 wxPyEndAllowThreads(__tstate
);
14629 if (PyErr_Occurred()) SWIG_fail
;
14632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14640 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14641 PyObject
*resultobj
;
14642 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14645 PyObject
* obj0
= 0 ;
14646 PyObject
* obj1
= 0 ;
14647 char *kwnames
[] = {
14648 (char *) "self",(char *) "n", NULL
14651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14654 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14655 if (PyErr_Occurred()) SWIG_fail
;
14657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14658 result
= (bool)(arg1
)->RemovePage(arg2
);
14660 wxPyEndAllowThreads(__tstate
);
14661 if (PyErr_Occurred()) SWIG_fail
;
14664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14672 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14673 PyObject
*resultobj
;
14674 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14676 PyObject
* obj0
= 0 ;
14677 char *kwnames
[] = {
14678 (char *) "self", NULL
14681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
14682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14686 result
= (bool)(arg1
)->DeleteAllPages();
14688 wxPyEndAllowThreads(__tstate
);
14689 if (PyErr_Occurred()) SWIG_fail
;
14692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14700 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14701 PyObject
*resultobj
;
14702 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14703 wxWindow
*arg2
= (wxWindow
*) 0 ;
14704 wxString
*arg3
= 0 ;
14705 bool arg4
= (bool) False
;
14706 int arg5
= (int) -1 ;
14708 bool temp3
= False
;
14709 PyObject
* obj0
= 0 ;
14710 PyObject
* obj1
= 0 ;
14711 PyObject
* obj2
= 0 ;
14712 PyObject
* obj3
= 0 ;
14713 PyObject
* obj4
= 0 ;
14714 char *kwnames
[] = {
14715 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14721 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14724 arg3
= wxString_in_helper(obj2
);
14725 if (arg3
== NULL
) SWIG_fail
;
14729 arg4
= (bool)SWIG_As_bool(obj3
);
14730 if (PyErr_Occurred()) SWIG_fail
;
14733 arg5
= (int)SWIG_As_int(obj4
);
14734 if (PyErr_Occurred()) SWIG_fail
;
14737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14738 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
14740 wxPyEndAllowThreads(__tstate
);
14741 if (PyErr_Occurred()) SWIG_fail
;
14744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14760 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14761 PyObject
*resultobj
;
14762 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14764 wxWindow
*arg3
= (wxWindow
*) 0 ;
14765 wxString
*arg4
= 0 ;
14766 bool arg5
= (bool) False
;
14767 int arg6
= (int) -1 ;
14769 bool temp4
= False
;
14770 PyObject
* obj0
= 0 ;
14771 PyObject
* obj1
= 0 ;
14772 PyObject
* obj2
= 0 ;
14773 PyObject
* obj3
= 0 ;
14774 PyObject
* obj4
= 0 ;
14775 PyObject
* obj5
= 0 ;
14776 char *kwnames
[] = {
14777 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14783 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14784 if (PyErr_Occurred()) SWIG_fail
;
14785 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
14786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14788 arg4
= wxString_in_helper(obj3
);
14789 if (arg4
== NULL
) SWIG_fail
;
14793 arg5
= (bool)SWIG_As_bool(obj4
);
14794 if (PyErr_Occurred()) SWIG_fail
;
14797 arg6
= (int)SWIG_As_int(obj5
);
14798 if (PyErr_Occurred()) SWIG_fail
;
14801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14802 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
14804 wxPyEndAllowThreads(__tstate
);
14805 if (PyErr_Occurred()) SWIG_fail
;
14808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14824 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14825 PyObject
*resultobj
;
14826 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14829 PyObject
* obj0
= 0 ;
14830 PyObject
* obj1
= 0 ;
14831 char *kwnames
[] = {
14832 (char *) "self",(char *) "n", NULL
14835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14838 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14839 if (PyErr_Occurred()) SWIG_fail
;
14841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14842 result
= (int)(arg1
)->SetSelection(arg2
);
14844 wxPyEndAllowThreads(__tstate
);
14845 if (PyErr_Occurred()) SWIG_fail
;
14847 resultobj
= SWIG_From_int((int)result
);
14854 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14855 PyObject
*resultobj
;
14856 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14857 bool arg2
= (bool) True
;
14858 PyObject
* obj0
= 0 ;
14859 PyObject
* obj1
= 0 ;
14860 char *kwnames
[] = {
14861 (char *) "self",(char *) "forward", NULL
14864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14868 arg2
= (bool)SWIG_As_bool(obj1
);
14869 if (PyErr_Occurred()) SWIG_fail
;
14872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14873 (arg1
)->AdvanceSelection(arg2
);
14875 wxPyEndAllowThreads(__tstate
);
14876 if (PyErr_Occurred()) SWIG_fail
;
14878 Py_INCREF(Py_None
); resultobj
= Py_None
;
14885 static PyObject
*_wrap_BookCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14886 PyObject
*resultobj
;
14887 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14888 wxVisualAttributes result
;
14889 PyObject
* obj0
= 0 ;
14890 char *kwnames
[] = {
14891 (char *) "variant", NULL
14894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14896 arg1
= (int)SWIG_As_int(obj0
);
14897 if (PyErr_Occurred()) SWIG_fail
;
14900 if (!wxPyCheckForApp()) SWIG_fail
;
14901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14902 result
= wxBookCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14904 wxPyEndAllowThreads(__tstate
);
14905 if (PyErr_Occurred()) SWIG_fail
;
14908 wxVisualAttributes
* resultptr
;
14909 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14910 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14918 static PyObject
* BookCtrl_swigregister(PyObject
*, PyObject
*args
) {
14920 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14921 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
14923 return Py_BuildValue((char *)"");
14925 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14926 PyObject
*resultobj
;
14927 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14928 int arg2
= (int) 0 ;
14929 int arg3
= (int) -1 ;
14930 int arg4
= (int) -1 ;
14931 wxBookCtrlEvent
*result
;
14932 PyObject
* obj0
= 0 ;
14933 PyObject
* obj1
= 0 ;
14934 PyObject
* obj2
= 0 ;
14935 PyObject
* obj3
= 0 ;
14936 char *kwnames
[] = {
14937 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
14940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
14942 arg1
= (wxEventType
)SWIG_As_int(obj0
);
14943 if (PyErr_Occurred()) SWIG_fail
;
14946 arg2
= (int)SWIG_As_int(obj1
);
14947 if (PyErr_Occurred()) SWIG_fail
;
14950 arg3
= (int)SWIG_As_int(obj2
);
14951 if (PyErr_Occurred()) SWIG_fail
;
14954 arg4
= (int)SWIG_As_int(obj3
);
14955 if (PyErr_Occurred()) SWIG_fail
;
14958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14959 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
14961 wxPyEndAllowThreads(__tstate
);
14962 if (PyErr_Occurred()) SWIG_fail
;
14964 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlEvent
, 1);
14971 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14972 PyObject
*resultobj
;
14973 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
14975 PyObject
* obj0
= 0 ;
14976 char *kwnames
[] = {
14977 (char *) "self", NULL
14980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
14981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
14982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14985 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
14987 wxPyEndAllowThreads(__tstate
);
14988 if (PyErr_Occurred()) SWIG_fail
;
14990 resultobj
= SWIG_From_int((int)result
);
14997 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14998 PyObject
*resultobj
;
14999 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
15001 PyObject
* obj0
= 0 ;
15002 PyObject
* obj1
= 0 ;
15003 char *kwnames
[] = {
15004 (char *) "self",(char *) "nSel", NULL
15007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
15008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
15009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15010 arg2
= (int)SWIG_As_int(obj1
);
15011 if (PyErr_Occurred()) SWIG_fail
;
15013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15014 (arg1
)->SetSelection(arg2
);
15016 wxPyEndAllowThreads(__tstate
);
15017 if (PyErr_Occurred()) SWIG_fail
;
15019 Py_INCREF(Py_None
); resultobj
= Py_None
;
15026 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15027 PyObject
*resultobj
;
15028 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
15030 PyObject
* obj0
= 0 ;
15031 char *kwnames
[] = {
15032 (char *) "self", NULL
15035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
15036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
15037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15040 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
15042 wxPyEndAllowThreads(__tstate
);
15043 if (PyErr_Occurred()) SWIG_fail
;
15045 resultobj
= SWIG_From_int((int)result
);
15052 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15053 PyObject
*resultobj
;
15054 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
15056 PyObject
* obj0
= 0 ;
15057 PyObject
* obj1
= 0 ;
15058 char *kwnames
[] = {
15059 (char *) "self",(char *) "nOldSel", NULL
15062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
15063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
15064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15065 arg2
= (int)SWIG_As_int(obj1
);
15066 if (PyErr_Occurred()) SWIG_fail
;
15068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15069 (arg1
)->SetOldSelection(arg2
);
15071 wxPyEndAllowThreads(__tstate
);
15072 if (PyErr_Occurred()) SWIG_fail
;
15074 Py_INCREF(Py_None
); resultobj
= Py_None
;
15081 static PyObject
* BookCtrlEvent_swigregister(PyObject
*, PyObject
*args
) {
15083 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15084 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
15086 return Py_BuildValue((char *)"");
15088 static PyObject
*_wrap_new_Notebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15089 PyObject
*resultobj
;
15090 wxWindow
*arg1
= (wxWindow
*) 0 ;
15091 int arg2
= (int) -1 ;
15092 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15093 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15094 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15095 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15096 long arg5
= (long) 0 ;
15097 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
15098 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15099 wxNotebook
*result
;
15102 bool temp6
= False
;
15103 PyObject
* obj0
= 0 ;
15104 PyObject
* obj1
= 0 ;
15105 PyObject
* obj2
= 0 ;
15106 PyObject
* obj3
= 0 ;
15107 PyObject
* obj4
= 0 ;
15108 PyObject
* obj5
= 0 ;
15109 char *kwnames
[] = {
15110 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15117 arg2
= (int)SWIG_As_int(obj1
);
15118 if (PyErr_Occurred()) SWIG_fail
;
15123 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15129 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15133 arg5
= (long)SWIG_As_long(obj4
);
15134 if (PyErr_Occurred()) SWIG_fail
;
15138 arg6
= wxString_in_helper(obj5
);
15139 if (arg6
== NULL
) SWIG_fail
;
15144 if (!wxPyCheckForApp()) SWIG_fail
;
15145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15146 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15148 wxPyEndAllowThreads(__tstate
);
15149 if (PyErr_Occurred()) SWIG_fail
;
15151 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
15166 static PyObject
*_wrap_new_PreNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15167 PyObject
*resultobj
;
15168 wxNotebook
*result
;
15169 char *kwnames
[] = {
15173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
15175 if (!wxPyCheckForApp()) SWIG_fail
;
15176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15177 result
= (wxNotebook
*)new wxNotebook();
15179 wxPyEndAllowThreads(__tstate
);
15180 if (PyErr_Occurred()) SWIG_fail
;
15182 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
15189 static PyObject
*_wrap_Notebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15190 PyObject
*resultobj
;
15191 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15192 wxWindow
*arg2
= (wxWindow
*) 0 ;
15193 int arg3
= (int) -1 ;
15194 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15195 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15196 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15197 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15198 long arg6
= (long) 0 ;
15199 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
15200 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15204 bool temp7
= False
;
15205 PyObject
* obj0
= 0 ;
15206 PyObject
* obj1
= 0 ;
15207 PyObject
* obj2
= 0 ;
15208 PyObject
* obj3
= 0 ;
15209 PyObject
* obj4
= 0 ;
15210 PyObject
* obj5
= 0 ;
15211 PyObject
* obj6
= 0 ;
15212 char *kwnames
[] = {
15213 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15219 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15222 arg3
= (int)SWIG_As_int(obj2
);
15223 if (PyErr_Occurred()) SWIG_fail
;
15228 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15234 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15238 arg6
= (long)SWIG_As_long(obj5
);
15239 if (PyErr_Occurred()) SWIG_fail
;
15243 arg7
= wxString_in_helper(obj6
);
15244 if (arg7
== NULL
) SWIG_fail
;
15249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15250 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15252 wxPyEndAllowThreads(__tstate
);
15253 if (PyErr_Occurred()) SWIG_fail
;
15256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15272 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15273 PyObject
*resultobj
;
15274 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15276 PyObject
* obj0
= 0 ;
15277 char *kwnames
[] = {
15278 (char *) "self", NULL
15281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
15282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15286 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
15288 wxPyEndAllowThreads(__tstate
);
15289 if (PyErr_Occurred()) SWIG_fail
;
15291 resultobj
= SWIG_From_int((int)result
);
15298 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15299 PyObject
*resultobj
;
15300 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15303 PyObject
* obj0
= 0 ;
15304 PyObject
* obj1
= 0 ;
15305 char *kwnames
[] = {
15306 (char *) "self",(char *) "padding", NULL
15309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
15310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15314 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15318 (arg1
)->SetPadding((wxSize
const &)*arg2
);
15320 wxPyEndAllowThreads(__tstate
);
15321 if (PyErr_Occurred()) SWIG_fail
;
15323 Py_INCREF(Py_None
); resultobj
= Py_None
;
15330 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15331 PyObject
*resultobj
;
15332 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15335 PyObject
* obj0
= 0 ;
15336 PyObject
* obj1
= 0 ;
15337 char *kwnames
[] = {
15338 (char *) "self",(char *) "sz", NULL
15341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15346 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15350 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
15352 wxPyEndAllowThreads(__tstate
);
15353 if (PyErr_Occurred()) SWIG_fail
;
15355 Py_INCREF(Py_None
); resultobj
= Py_None
;
15362 static PyObject
*_wrap_Notebook_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15363 PyObject
*resultobj
;
15364 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15365 wxPoint
*arg2
= 0 ;
15366 long *arg3
= (long *) 0 ;
15371 PyObject
* obj0
= 0 ;
15372 PyObject
* obj1
= 0 ;
15373 char *kwnames
[] = {
15374 (char *) "self",(char *) "pt", NULL
15377 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
15379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15383 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15387 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
15389 wxPyEndAllowThreads(__tstate
);
15390 if (PyErr_Occurred()) SWIG_fail
;
15392 resultobj
= SWIG_From_int((int)result
);
15393 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15394 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
15401 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15402 PyObject
*resultobj
;
15403 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15407 PyObject
* obj0
= 0 ;
15408 PyObject
* obj1
= 0 ;
15409 char *kwnames
[] = {
15410 (char *) "self",(char *) "sizePage", NULL
15413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
15414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15418 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15422 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
15424 wxPyEndAllowThreads(__tstate
);
15425 if (PyErr_Occurred()) SWIG_fail
;
15428 wxSize
* resultptr
;
15429 resultptr
= new wxSize((wxSize
&) result
);
15430 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15438 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15439 PyObject
*resultobj
;
15440 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
15441 wxVisualAttributes result
;
15442 PyObject
* obj0
= 0 ;
15443 char *kwnames
[] = {
15444 (char *) "variant", NULL
15447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15449 arg1
= (int)SWIG_As_int(obj0
);
15450 if (PyErr_Occurred()) SWIG_fail
;
15453 if (!wxPyCheckForApp()) SWIG_fail
;
15454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15455 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15457 wxPyEndAllowThreads(__tstate
);
15458 if (PyErr_Occurred()) SWIG_fail
;
15461 wxVisualAttributes
* resultptr
;
15462 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
15463 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15471 static PyObject
* Notebook_swigregister(PyObject
*, PyObject
*args
) {
15473 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15474 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
15476 return Py_BuildValue((char *)"");
15478 static PyObject
*_wrap_new_NotebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15479 PyObject
*resultobj
;
15480 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15481 int arg2
= (int) 0 ;
15482 int arg3
= (int) -1 ;
15483 int arg4
= (int) -1 ;
15484 wxNotebookEvent
*result
;
15485 PyObject
* obj0
= 0 ;
15486 PyObject
* obj1
= 0 ;
15487 PyObject
* obj2
= 0 ;
15488 PyObject
* obj3
= 0 ;
15489 char *kwnames
[] = {
15490 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15495 arg1
= (wxEventType
)SWIG_As_int(obj0
);
15496 if (PyErr_Occurred()) SWIG_fail
;
15499 arg2
= (int)SWIG_As_int(obj1
);
15500 if (PyErr_Occurred()) SWIG_fail
;
15503 arg3
= (int)SWIG_As_int(obj2
);
15504 if (PyErr_Occurred()) SWIG_fail
;
15507 arg4
= (int)SWIG_As_int(obj3
);
15508 if (PyErr_Occurred()) SWIG_fail
;
15511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15512 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
15514 wxPyEndAllowThreads(__tstate
);
15515 if (PyErr_Occurred()) SWIG_fail
;
15517 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
15524 static PyObject
* NotebookEvent_swigregister(PyObject
*, PyObject
*args
) {
15526 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15527 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
15529 return Py_BuildValue((char *)"");
15531 static PyObject
*_wrap_new_Listbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15532 PyObject
*resultobj
;
15533 wxWindow
*arg1
= (wxWindow
*) 0 ;
15534 int arg2
= (int) -1 ;
15535 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15536 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15537 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15538 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15539 long arg5
= (long) 0 ;
15540 wxString
const &arg6_defvalue
= wxPyEmptyString
;
15541 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15542 wxListbook
*result
;
15545 bool temp6
= False
;
15546 PyObject
* obj0
= 0 ;
15547 PyObject
* obj1
= 0 ;
15548 PyObject
* obj2
= 0 ;
15549 PyObject
* obj3
= 0 ;
15550 PyObject
* obj4
= 0 ;
15551 PyObject
* obj5
= 0 ;
15552 char *kwnames
[] = {
15553 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15560 arg2
= (int)SWIG_As_int(obj1
);
15561 if (PyErr_Occurred()) SWIG_fail
;
15566 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15572 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15576 arg5
= (long)SWIG_As_long(obj4
);
15577 if (PyErr_Occurred()) SWIG_fail
;
15581 arg6
= wxString_in_helper(obj5
);
15582 if (arg6
== NULL
) SWIG_fail
;
15587 if (!wxPyCheckForApp()) SWIG_fail
;
15588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15589 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15591 wxPyEndAllowThreads(__tstate
);
15592 if (PyErr_Occurred()) SWIG_fail
;
15594 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15609 static PyObject
*_wrap_new_PreListbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15610 PyObject
*resultobj
;
15611 wxListbook
*result
;
15612 char *kwnames
[] = {
15616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
15618 if (!wxPyCheckForApp()) SWIG_fail
;
15619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15620 result
= (wxListbook
*)new wxListbook();
15622 wxPyEndAllowThreads(__tstate
);
15623 if (PyErr_Occurred()) SWIG_fail
;
15625 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15632 static PyObject
*_wrap_Listbook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15633 PyObject
*resultobj
;
15634 wxListbook
*arg1
= (wxListbook
*) 0 ;
15635 wxWindow
*arg2
= (wxWindow
*) 0 ;
15636 int arg3
= (int) -1 ;
15637 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15638 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15639 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15640 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15641 long arg6
= (long) 0 ;
15642 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15643 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15647 bool temp7
= False
;
15648 PyObject
* obj0
= 0 ;
15649 PyObject
* obj1
= 0 ;
15650 PyObject
* obj2
= 0 ;
15651 PyObject
* obj3
= 0 ;
15652 PyObject
* obj4
= 0 ;
15653 PyObject
* obj5
= 0 ;
15654 PyObject
* obj6
= 0 ;
15655 char *kwnames
[] = {
15656 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15662 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15665 arg3
= (int)SWIG_As_int(obj2
);
15666 if (PyErr_Occurred()) SWIG_fail
;
15671 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15677 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15681 arg6
= (long)SWIG_As_long(obj5
);
15682 if (PyErr_Occurred()) SWIG_fail
;
15686 arg7
= wxString_in_helper(obj6
);
15687 if (arg7
== NULL
) SWIG_fail
;
15692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15693 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15695 wxPyEndAllowThreads(__tstate
);
15696 if (PyErr_Occurred()) SWIG_fail
;
15699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15715 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15716 PyObject
*resultobj
;
15717 wxListbook
*arg1
= (wxListbook
*) 0 ;
15719 PyObject
* obj0
= 0 ;
15720 char *kwnames
[] = {
15721 (char *) "self", NULL
15724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
15725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15729 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
15731 wxPyEndAllowThreads(__tstate
);
15732 if (PyErr_Occurred()) SWIG_fail
;
15735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15743 static PyObject
*_wrap_Listbook_GetListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15744 PyObject
*resultobj
;
15745 wxListbook
*arg1
= (wxListbook
*) 0 ;
15746 wxListView
*result
;
15747 PyObject
* obj0
= 0 ;
15748 char *kwnames
[] = {
15749 (char *) "self", NULL
15752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_GetListView",kwnames
,&obj0
)) goto fail
;
15753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15757 result
= (wxListView
*)(arg1
)->GetListView();
15759 wxPyEndAllowThreads(__tstate
);
15760 if (PyErr_Occurred()) SWIG_fail
;
15762 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 0);
15769 static PyObject
* Listbook_swigregister(PyObject
*, PyObject
*args
) {
15771 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15772 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
15774 return Py_BuildValue((char *)"");
15776 static PyObject
*_wrap_new_ListbookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15777 PyObject
*resultobj
;
15778 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15779 int arg2
= (int) 0 ;
15780 int arg3
= (int) -1 ;
15781 int arg4
= (int) -1 ;
15782 wxListbookEvent
*result
;
15783 PyObject
* obj0
= 0 ;
15784 PyObject
* obj1
= 0 ;
15785 PyObject
* obj2
= 0 ;
15786 PyObject
* obj3
= 0 ;
15787 char *kwnames
[] = {
15788 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15793 arg1
= (wxEventType
)SWIG_As_int(obj0
);
15794 if (PyErr_Occurred()) SWIG_fail
;
15797 arg2
= (int)SWIG_As_int(obj1
);
15798 if (PyErr_Occurred()) SWIG_fail
;
15801 arg3
= (int)SWIG_As_int(obj2
);
15802 if (PyErr_Occurred()) SWIG_fail
;
15805 arg4
= (int)SWIG_As_int(obj3
);
15806 if (PyErr_Occurred()) SWIG_fail
;
15809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15810 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
15812 wxPyEndAllowThreads(__tstate
);
15813 if (PyErr_Occurred()) SWIG_fail
;
15815 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
15822 static PyObject
* ListbookEvent_swigregister(PyObject
*, PyObject
*args
) {
15824 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15825 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
15827 return Py_BuildValue((char *)"");
15829 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15830 PyObject
*resultobj
;
15831 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
15832 wxBookCtrlSizer
*result
;
15833 PyObject
* obj0
= 0 ;
15834 char *kwnames
[] = {
15835 (char *) "nb", NULL
15838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
15839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
15840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15843 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
15845 wxPyEndAllowThreads(__tstate
);
15846 if (PyErr_Occurred()) SWIG_fail
;
15848 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
15855 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15856 PyObject
*resultobj
;
15857 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15858 PyObject
* obj0
= 0 ;
15859 char *kwnames
[] = {
15860 (char *) "self", NULL
15863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
15864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15868 (arg1
)->RecalcSizes();
15870 wxPyEndAllowThreads(__tstate
);
15871 if (PyErr_Occurred()) SWIG_fail
;
15873 Py_INCREF(Py_None
); resultobj
= Py_None
;
15880 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15881 PyObject
*resultobj
;
15882 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15884 PyObject
* obj0
= 0 ;
15885 char *kwnames
[] = {
15886 (char *) "self", NULL
15889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
15890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15894 result
= (arg1
)->CalcMin();
15896 wxPyEndAllowThreads(__tstate
);
15897 if (PyErr_Occurred()) SWIG_fail
;
15900 wxSize
* resultptr
;
15901 resultptr
= new wxSize((wxSize
&) result
);
15902 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15910 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15911 PyObject
*resultobj
;
15912 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15913 wxBookCtrl
*result
;
15914 PyObject
* obj0
= 0 ;
15915 char *kwnames
[] = {
15916 (char *) "self", NULL
15919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
15920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15924 result
= (wxBookCtrl
*)(arg1
)->GetControl();
15926 wxPyEndAllowThreads(__tstate
);
15927 if (PyErr_Occurred()) SWIG_fail
;
15929 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrl
, 0);
15936 static PyObject
* BookCtrlSizer_swigregister(PyObject
*, PyObject
*args
) {
15938 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15939 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
15941 return Py_BuildValue((char *)"");
15943 static PyObject
*_wrap_new_NotebookSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15944 PyObject
*resultobj
;
15945 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15946 wxNotebookSizer
*result
;
15947 PyObject
* obj0
= 0 ;
15948 char *kwnames
[] = {
15949 (char *) "nb", NULL
15952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
15953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15957 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
15959 wxPyEndAllowThreads(__tstate
);
15960 if (PyErr_Occurred()) SWIG_fail
;
15962 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
15969 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15970 PyObject
*resultobj
;
15971 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15972 PyObject
* obj0
= 0 ;
15973 char *kwnames
[] = {
15974 (char *) "self", NULL
15977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
15978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
15979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15982 (arg1
)->RecalcSizes();
15984 wxPyEndAllowThreads(__tstate
);
15985 if (PyErr_Occurred()) SWIG_fail
;
15987 Py_INCREF(Py_None
); resultobj
= Py_None
;
15994 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15995 PyObject
*resultobj
;
15996 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
15998 PyObject
* obj0
= 0 ;
15999 char *kwnames
[] = {
16000 (char *) "self", NULL
16003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
16004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
16005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16008 result
= (arg1
)->CalcMin();
16010 wxPyEndAllowThreads(__tstate
);
16011 if (PyErr_Occurred()) SWIG_fail
;
16014 wxSize
* resultptr
;
16015 resultptr
= new wxSize((wxSize
&) result
);
16016 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16024 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16025 PyObject
*resultobj
;
16026 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
16027 wxNotebook
*result
;
16028 PyObject
* obj0
= 0 ;
16029 char *kwnames
[] = {
16030 (char *) "self", NULL
16033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
16034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
16035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16038 result
= (wxNotebook
*)(arg1
)->GetNotebook();
16040 wxPyEndAllowThreads(__tstate
);
16041 if (PyErr_Occurred()) SWIG_fail
;
16044 resultobj
= wxPyMake_wxObject(result
, 0);
16052 static PyObject
* NotebookSizer_swigregister(PyObject
*, PyObject
*args
) {
16054 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16055 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
16057 return Py_BuildValue((char *)"");
16059 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16060 PyObject
*resultobj
;
16061 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16063 PyObject
* obj0
= 0 ;
16064 char *kwnames
[] = {
16065 (char *) "self", NULL
16068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
16069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16073 result
= (int)(arg1
)->GetId();
16075 wxPyEndAllowThreads(__tstate
);
16076 if (PyErr_Occurred()) SWIG_fail
;
16078 resultobj
= SWIG_From_int((int)result
);
16085 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16086 PyObject
*resultobj
;
16087 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16089 PyObject
* obj0
= 0 ;
16090 char *kwnames
[] = {
16091 (char *) "self", NULL
16094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
16095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16099 result
= (wxControl
*)(arg1
)->GetControl();
16101 wxPyEndAllowThreads(__tstate
);
16102 if (PyErr_Occurred()) SWIG_fail
;
16105 resultobj
= wxPyMake_wxObject(result
, 0);
16113 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16114 PyObject
*resultobj
;
16115 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16116 wxToolBarBase
*result
;
16117 PyObject
* obj0
= 0 ;
16118 char *kwnames
[] = {
16119 (char *) "self", NULL
16122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
16123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16127 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
16129 wxPyEndAllowThreads(__tstate
);
16130 if (PyErr_Occurred()) SWIG_fail
;
16133 resultobj
= wxPyMake_wxObject(result
, 0);
16141 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16142 PyObject
*resultobj
;
16143 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16145 PyObject
* obj0
= 0 ;
16146 char *kwnames
[] = {
16147 (char *) "self", NULL
16150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
16151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16155 result
= (int)(arg1
)->IsButton();
16157 wxPyEndAllowThreads(__tstate
);
16158 if (PyErr_Occurred()) SWIG_fail
;
16160 resultobj
= SWIG_From_int((int)result
);
16167 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16168 PyObject
*resultobj
;
16169 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16171 PyObject
* obj0
= 0 ;
16172 char *kwnames
[] = {
16173 (char *) "self", NULL
16176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
16177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16181 result
= (int)(arg1
)->IsControl();
16183 wxPyEndAllowThreads(__tstate
);
16184 if (PyErr_Occurred()) SWIG_fail
;
16186 resultobj
= SWIG_From_int((int)result
);
16193 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16194 PyObject
*resultobj
;
16195 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16197 PyObject
* obj0
= 0 ;
16198 char *kwnames
[] = {
16199 (char *) "self", NULL
16202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
16203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16207 result
= (int)(arg1
)->IsSeparator();
16209 wxPyEndAllowThreads(__tstate
);
16210 if (PyErr_Occurred()) SWIG_fail
;
16212 resultobj
= SWIG_From_int((int)result
);
16219 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16220 PyObject
*resultobj
;
16221 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16223 PyObject
* obj0
= 0 ;
16224 char *kwnames
[] = {
16225 (char *) "self", NULL
16228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16233 result
= (int)(arg1
)->GetStyle();
16235 wxPyEndAllowThreads(__tstate
);
16236 if (PyErr_Occurred()) SWIG_fail
;
16238 resultobj
= SWIG_From_int((int)result
);
16245 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16246 PyObject
*resultobj
;
16247 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16249 PyObject
* obj0
= 0 ;
16250 char *kwnames
[] = {
16251 (char *) "self", NULL
16254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
16255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16259 result
= (int)(arg1
)->GetKind();
16261 wxPyEndAllowThreads(__tstate
);
16262 if (PyErr_Occurred()) SWIG_fail
;
16264 resultobj
= SWIG_From_int((int)result
);
16271 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16272 PyObject
*resultobj
;
16273 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16275 PyObject
* obj0
= 0 ;
16276 char *kwnames
[] = {
16277 (char *) "self", NULL
16280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
16281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16285 result
= (bool)(arg1
)->IsEnabled();
16287 wxPyEndAllowThreads(__tstate
);
16288 if (PyErr_Occurred()) SWIG_fail
;
16291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16299 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16300 PyObject
*resultobj
;
16301 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16303 PyObject
* obj0
= 0 ;
16304 char *kwnames
[] = {
16305 (char *) "self", NULL
16308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
16309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16313 result
= (bool)(arg1
)->IsToggled();
16315 wxPyEndAllowThreads(__tstate
);
16316 if (PyErr_Occurred()) SWIG_fail
;
16319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16327 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16328 PyObject
*resultobj
;
16329 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16331 PyObject
* obj0
= 0 ;
16332 char *kwnames
[] = {
16333 (char *) "self", NULL
16336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
16337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16341 result
= (bool)(arg1
)->CanBeToggled();
16343 wxPyEndAllowThreads(__tstate
);
16344 if (PyErr_Occurred()) SWIG_fail
;
16347 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16355 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16356 PyObject
*resultobj
;
16357 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16359 PyObject
* obj0
= 0 ;
16360 char *kwnames
[] = {
16361 (char *) "self", NULL
16364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
16365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16370 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
16371 result
= (wxBitmap
*) &_result_ref
;
16374 wxPyEndAllowThreads(__tstate
);
16375 if (PyErr_Occurred()) SWIG_fail
;
16378 wxBitmap
* resultptr
= new wxBitmap(*result
);
16379 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16387 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16388 PyObject
*resultobj
;
16389 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16391 PyObject
* obj0
= 0 ;
16392 char *kwnames
[] = {
16393 (char *) "self", NULL
16396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
16397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16402 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
16403 result
= (wxBitmap
*) &_result_ref
;
16406 wxPyEndAllowThreads(__tstate
);
16407 if (PyErr_Occurred()) SWIG_fail
;
16410 wxBitmap
* resultptr
= new wxBitmap(*result
);
16411 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16419 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16420 PyObject
*resultobj
;
16421 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16423 PyObject
* obj0
= 0 ;
16424 char *kwnames
[] = {
16425 (char *) "self", NULL
16428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
16429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16433 result
= (arg1
)->GetBitmap();
16435 wxPyEndAllowThreads(__tstate
);
16436 if (PyErr_Occurred()) SWIG_fail
;
16439 wxBitmap
* resultptr
;
16440 resultptr
= new wxBitmap((wxBitmap
&) result
);
16441 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16449 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16450 PyObject
*resultobj
;
16451 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16453 PyObject
* obj0
= 0 ;
16454 char *kwnames
[] = {
16455 (char *) "self", NULL
16458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
16459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16463 result
= (arg1
)->GetLabel();
16465 wxPyEndAllowThreads(__tstate
);
16466 if (PyErr_Occurred()) SWIG_fail
;
16470 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16472 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16481 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16482 PyObject
*resultobj
;
16483 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16485 PyObject
* obj0
= 0 ;
16486 char *kwnames
[] = {
16487 (char *) "self", NULL
16490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
16491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16495 result
= (arg1
)->GetShortHelp();
16497 wxPyEndAllowThreads(__tstate
);
16498 if (PyErr_Occurred()) SWIG_fail
;
16502 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16504 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16513 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16514 PyObject
*resultobj
;
16515 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16517 PyObject
* obj0
= 0 ;
16518 char *kwnames
[] = {
16519 (char *) "self", NULL
16522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
16523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16527 result
= (arg1
)->GetLongHelp();
16529 wxPyEndAllowThreads(__tstate
);
16530 if (PyErr_Occurred()) SWIG_fail
;
16534 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16536 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16545 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16546 PyObject
*resultobj
;
16547 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16550 PyObject
* obj0
= 0 ;
16551 PyObject
* obj1
= 0 ;
16552 char *kwnames
[] = {
16553 (char *) "self",(char *) "enable", NULL
16556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
16557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16559 arg2
= (bool)SWIG_As_bool(obj1
);
16560 if (PyErr_Occurred()) SWIG_fail
;
16562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16563 result
= (bool)(arg1
)->Enable(arg2
);
16565 wxPyEndAllowThreads(__tstate
);
16566 if (PyErr_Occurred()) SWIG_fail
;
16569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16577 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16578 PyObject
*resultobj
;
16579 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16580 PyObject
* obj0
= 0 ;
16581 char *kwnames
[] = {
16582 (char *) "self", NULL
16585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
16586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16592 wxPyEndAllowThreads(__tstate
);
16593 if (PyErr_Occurred()) SWIG_fail
;
16595 Py_INCREF(Py_None
); resultobj
= Py_None
;
16602 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16603 PyObject
*resultobj
;
16604 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16607 PyObject
* obj0
= 0 ;
16608 PyObject
* obj1
= 0 ;
16609 char *kwnames
[] = {
16610 (char *) "self",(char *) "toggle", NULL
16613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
16614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16616 arg2
= (bool)SWIG_As_bool(obj1
);
16617 if (PyErr_Occurred()) SWIG_fail
;
16619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16620 result
= (bool)(arg1
)->SetToggle(arg2
);
16622 wxPyEndAllowThreads(__tstate
);
16623 if (PyErr_Occurred()) SWIG_fail
;
16626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16634 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16635 PyObject
*resultobj
;
16636 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16637 wxString
*arg2
= 0 ;
16639 bool temp2
= False
;
16640 PyObject
* obj0
= 0 ;
16641 PyObject
* obj1
= 0 ;
16642 char *kwnames
[] = {
16643 (char *) "self",(char *) "help", NULL
16646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16650 arg2
= wxString_in_helper(obj1
);
16651 if (arg2
== NULL
) SWIG_fail
;
16655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16656 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
16658 wxPyEndAllowThreads(__tstate
);
16659 if (PyErr_Occurred()) SWIG_fail
;
16662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16678 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16679 PyObject
*resultobj
;
16680 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16681 wxString
*arg2
= 0 ;
16683 bool temp2
= False
;
16684 PyObject
* obj0
= 0 ;
16685 PyObject
* obj1
= 0 ;
16686 char *kwnames
[] = {
16687 (char *) "self",(char *) "help", NULL
16690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16694 arg2
= wxString_in_helper(obj1
);
16695 if (arg2
== NULL
) SWIG_fail
;
16699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16700 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
16702 wxPyEndAllowThreads(__tstate
);
16703 if (PyErr_Occurred()) SWIG_fail
;
16706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16722 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16723 PyObject
*resultobj
;
16724 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16725 wxBitmap
*arg2
= 0 ;
16726 PyObject
* obj0
= 0 ;
16727 PyObject
* obj1
= 0 ;
16728 char *kwnames
[] = {
16729 (char *) "self",(char *) "bmp", NULL
16732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
16733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16735 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16736 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16738 if (arg2
== NULL
) {
16739 PyErr_SetString(PyExc_TypeError
,"null reference");
16743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16744 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
16746 wxPyEndAllowThreads(__tstate
);
16747 if (PyErr_Occurred()) SWIG_fail
;
16749 Py_INCREF(Py_None
); resultobj
= Py_None
;
16756 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16757 PyObject
*resultobj
;
16758 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16759 wxBitmap
*arg2
= 0 ;
16760 PyObject
* obj0
= 0 ;
16761 PyObject
* obj1
= 0 ;
16762 char *kwnames
[] = {
16763 (char *) "self",(char *) "bmp", NULL
16766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
16767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16769 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16770 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16772 if (arg2
== NULL
) {
16773 PyErr_SetString(PyExc_TypeError
,"null reference");
16777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16778 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
16780 wxPyEndAllowThreads(__tstate
);
16781 if (PyErr_Occurred()) SWIG_fail
;
16783 Py_INCREF(Py_None
); resultobj
= Py_None
;
16790 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16791 PyObject
*resultobj
;
16792 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16793 wxString
*arg2
= 0 ;
16794 bool temp2
= False
;
16795 PyObject
* obj0
= 0 ;
16796 PyObject
* obj1
= 0 ;
16797 char *kwnames
[] = {
16798 (char *) "self",(char *) "label", NULL
16801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
16802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16805 arg2
= wxString_in_helper(obj1
);
16806 if (arg2
== NULL
) SWIG_fail
;
16810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16811 (arg1
)->SetLabel((wxString
const &)*arg2
);
16813 wxPyEndAllowThreads(__tstate
);
16814 if (PyErr_Occurred()) SWIG_fail
;
16816 Py_INCREF(Py_None
); resultobj
= Py_None
;
16831 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16832 PyObject
*resultobj
;
16833 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16834 PyObject
* obj0
= 0 ;
16835 char *kwnames
[] = {
16836 (char *) "self", NULL
16839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
16840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16846 wxPyEndAllowThreads(__tstate
);
16847 if (PyErr_Occurred()) SWIG_fail
;
16849 Py_INCREF(Py_None
); resultobj
= Py_None
;
16856 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16857 PyObject
*resultobj
;
16858 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16859 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
16860 PyObject
* obj0
= 0 ;
16861 PyObject
* obj1
= 0 ;
16862 char *kwnames
[] = {
16863 (char *) "self",(char *) "tbar", NULL
16866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
16867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16869 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
,
16870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16873 (arg1
)->Attach(arg2
);
16875 wxPyEndAllowThreads(__tstate
);
16876 if (PyErr_Occurred()) SWIG_fail
;
16878 Py_INCREF(Py_None
); resultobj
= Py_None
;
16885 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16886 PyObject
*resultobj
;
16887 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16889 PyObject
* obj0
= 0 ;
16890 char *kwnames
[] = {
16891 (char *) "self", NULL
16894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
16895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16899 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
16901 wxPyEndAllowThreads(__tstate
);
16902 if (PyErr_Occurred()) SWIG_fail
;
16904 resultobj
= result
;
16911 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16912 PyObject
*resultobj
;
16913 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16914 PyObject
*arg2
= (PyObject
*) 0 ;
16915 PyObject
* obj0
= 0 ;
16916 PyObject
* obj1
= 0 ;
16917 char *kwnames
[] = {
16918 (char *) "self",(char *) "clientData", NULL
16921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
16922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16927 wxToolBarToolBase_SetClientData(arg1
,arg2
);
16929 wxPyEndAllowThreads(__tstate
);
16930 if (PyErr_Occurred()) SWIG_fail
;
16932 Py_INCREF(Py_None
); resultobj
= Py_None
;
16939 static PyObject
* ToolBarToolBase_swigregister(PyObject
*, PyObject
*args
) {
16941 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16942 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
16944 return Py_BuildValue((char *)"");
16946 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16947 PyObject
*resultobj
;
16948 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
16950 wxString
*arg3
= 0 ;
16951 wxBitmap
*arg4
= 0 ;
16952 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
16953 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
16954 int arg6
= (int) wxITEM_NORMAL
;
16955 wxString
const &arg7_defvalue
= wxPyEmptyString
;
16956 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16957 wxString
const &arg8_defvalue
= wxPyEmptyString
;
16958 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
16959 PyObject
*arg9
= (PyObject
*) NULL
;
16960 wxToolBarToolBase
*result
;
16961 bool temp3
= False
;
16962 bool temp7
= False
;
16963 bool temp8
= False
;
16964 PyObject
* obj0
= 0 ;
16965 PyObject
* obj1
= 0 ;
16966 PyObject
* obj2
= 0 ;
16967 PyObject
* obj3
= 0 ;
16968 PyObject
* obj4
= 0 ;
16969 PyObject
* obj5
= 0 ;
16970 PyObject
* obj6
= 0 ;
16971 PyObject
* obj7
= 0 ;
16972 PyObject
* obj8
= 0 ;
16973 char *kwnames
[] = {
16974 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
16977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
16978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
16979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16980 arg2
= (int)SWIG_As_int(obj1
);
16981 if (PyErr_Occurred()) SWIG_fail
;
16983 arg3
= wxString_in_helper(obj2
);
16984 if (arg3
== NULL
) SWIG_fail
;
16987 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
16988 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16990 if (arg4
== NULL
) {
16991 PyErr_SetString(PyExc_TypeError
,"null reference");
16995 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
16996 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16998 if (arg5
== NULL
) {
16999 PyErr_SetString(PyExc_TypeError
,"null reference");
17004 arg6
= (int)SWIG_As_int(obj5
);
17005 if (PyErr_Occurred()) SWIG_fail
;
17009 arg7
= wxString_in_helper(obj6
);
17010 if (arg7
== NULL
) SWIG_fail
;
17016 arg8
= wxString_in_helper(obj7
);
17017 if (arg8
== NULL
) SWIG_fail
;
17025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17026 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
17028 wxPyEndAllowThreads(__tstate
);
17029 if (PyErr_Occurred()) SWIG_fail
;
17032 resultobj
= wxPyMake_wxObject(result
, 0);
17064 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17065 PyObject
*resultobj
;
17066 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17069 wxString
*arg4
= 0 ;
17070 wxBitmap
*arg5
= 0 ;
17071 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
17072 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
17073 int arg7
= (int) wxITEM_NORMAL
;
17074 wxString
const &arg8_defvalue
= wxPyEmptyString
;
17075 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17076 wxString
const &arg9_defvalue
= wxPyEmptyString
;
17077 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17078 PyObject
*arg10
= (PyObject
*) NULL
;
17079 wxToolBarToolBase
*result
;
17080 bool temp4
= False
;
17081 bool temp8
= False
;
17082 bool temp9
= False
;
17083 PyObject
* obj0
= 0 ;
17084 PyObject
* obj1
= 0 ;
17085 PyObject
* obj2
= 0 ;
17086 PyObject
* obj3
= 0 ;
17087 PyObject
* obj4
= 0 ;
17088 PyObject
* obj5
= 0 ;
17089 PyObject
* obj6
= 0 ;
17090 PyObject
* obj7
= 0 ;
17091 PyObject
* obj8
= 0 ;
17092 PyObject
* obj9
= 0 ;
17093 char *kwnames
[] = {
17094 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
17097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
17098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17100 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17101 if (PyErr_Occurred()) SWIG_fail
;
17102 arg3
= (int)SWIG_As_int(obj2
);
17103 if (PyErr_Occurred()) SWIG_fail
;
17105 arg4
= wxString_in_helper(obj3
);
17106 if (arg4
== NULL
) SWIG_fail
;
17109 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
17110 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17112 if (arg5
== NULL
) {
17113 PyErr_SetString(PyExc_TypeError
,"null reference");
17117 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
,
17118 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17120 if (arg6
== NULL
) {
17121 PyErr_SetString(PyExc_TypeError
,"null reference");
17126 arg7
= (int)SWIG_As_int(obj6
);
17127 if (PyErr_Occurred()) SWIG_fail
;
17131 arg8
= wxString_in_helper(obj7
);
17132 if (arg8
== NULL
) SWIG_fail
;
17138 arg9
= wxString_in_helper(obj8
);
17139 if (arg9
== NULL
) SWIG_fail
;
17147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17148 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
);
17150 wxPyEndAllowThreads(__tstate
);
17151 if (PyErr_Occurred()) SWIG_fail
;
17154 resultobj
= wxPyMake_wxObject(result
, 0);
17186 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17187 PyObject
*resultobj
;
17188 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17189 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
17190 wxToolBarToolBase
*result
;
17191 PyObject
* obj0
= 0 ;
17192 PyObject
* obj1
= 0 ;
17193 char *kwnames
[] = {
17194 (char *) "self",(char *) "tool", NULL
17197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
17198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17200 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
,
17201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17204 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
17206 wxPyEndAllowThreads(__tstate
);
17207 if (PyErr_Occurred()) SWIG_fail
;
17210 resultobj
= wxPyMake_wxObject(result
, 0);
17218 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17219 PyObject
*resultobj
;
17220 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17222 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
17223 wxToolBarToolBase
*result
;
17224 PyObject
* obj0
= 0 ;
17225 PyObject
* obj1
= 0 ;
17226 PyObject
* obj2
= 0 ;
17227 char *kwnames
[] = {
17228 (char *) "self",(char *) "pos",(char *) "tool", NULL
17231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17234 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17235 if (PyErr_Occurred()) SWIG_fail
;
17236 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
,
17237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17240 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
17242 wxPyEndAllowThreads(__tstate
);
17243 if (PyErr_Occurred()) SWIG_fail
;
17246 resultobj
= wxPyMake_wxObject(result
, 0);
17254 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17255 PyObject
*resultobj
;
17256 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17257 wxControl
*arg2
= (wxControl
*) 0 ;
17258 wxToolBarToolBase
*result
;
17259 PyObject
* obj0
= 0 ;
17260 PyObject
* obj1
= 0 ;
17261 char *kwnames
[] = {
17262 (char *) "self",(char *) "control", NULL
17265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17268 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
17269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17272 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
17274 wxPyEndAllowThreads(__tstate
);
17275 if (PyErr_Occurred()) SWIG_fail
;
17278 resultobj
= wxPyMake_wxObject(result
, 0);
17286 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17287 PyObject
*resultobj
;
17288 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17290 wxControl
*arg3
= (wxControl
*) 0 ;
17291 wxToolBarToolBase
*result
;
17292 PyObject
* obj0
= 0 ;
17293 PyObject
* obj1
= 0 ;
17294 PyObject
* obj2
= 0 ;
17295 char *kwnames
[] = {
17296 (char *) "self",(char *) "pos",(char *) "control", NULL
17299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17302 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17303 if (PyErr_Occurred()) SWIG_fail
;
17304 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
,
17305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17308 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
17310 wxPyEndAllowThreads(__tstate
);
17311 if (PyErr_Occurred()) SWIG_fail
;
17314 resultobj
= wxPyMake_wxObject(result
, 0);
17322 static PyObject
*_wrap_ToolBarBase_FindControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17323 PyObject
*resultobj
;
17324 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17327 PyObject
* obj0
= 0 ;
17328 PyObject
* obj1
= 0 ;
17329 char *kwnames
[] = {
17330 (char *) "self",(char *) "id", NULL
17333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17336 arg2
= (int)SWIG_As_int(obj1
);
17337 if (PyErr_Occurred()) SWIG_fail
;
17339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17340 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
17342 wxPyEndAllowThreads(__tstate
);
17343 if (PyErr_Occurred()) SWIG_fail
;
17346 resultobj
= wxPyMake_wxObject(result
, 0);
17354 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17355 PyObject
*resultobj
;
17356 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17357 wxToolBarToolBase
*result
;
17358 PyObject
* obj0
= 0 ;
17359 char *kwnames
[] = {
17360 (char *) "self", NULL
17363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
17364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17368 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
17370 wxPyEndAllowThreads(__tstate
);
17371 if (PyErr_Occurred()) SWIG_fail
;
17374 resultobj
= wxPyMake_wxObject(result
, 0);
17382 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17383 PyObject
*resultobj
;
17384 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17386 wxToolBarToolBase
*result
;
17387 PyObject
* obj0
= 0 ;
17388 PyObject
* obj1
= 0 ;
17389 char *kwnames
[] = {
17390 (char *) "self",(char *) "pos", NULL
17393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
17394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17396 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17397 if (PyErr_Occurred()) SWIG_fail
;
17399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17400 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
17402 wxPyEndAllowThreads(__tstate
);
17403 if (PyErr_Occurred()) SWIG_fail
;
17406 resultobj
= wxPyMake_wxObject(result
, 0);
17414 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17415 PyObject
*resultobj
;
17416 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17418 wxToolBarToolBase
*result
;
17419 PyObject
* obj0
= 0 ;
17420 PyObject
* obj1
= 0 ;
17421 char *kwnames
[] = {
17422 (char *) "self",(char *) "id", NULL
17425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17428 arg2
= (int)SWIG_As_int(obj1
);
17429 if (PyErr_Occurred()) SWIG_fail
;
17431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17432 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
17434 wxPyEndAllowThreads(__tstate
);
17435 if (PyErr_Occurred()) SWIG_fail
;
17438 resultobj
= wxPyMake_wxObject(result
, 0);
17446 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17447 PyObject
*resultobj
;
17448 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17451 PyObject
* obj0
= 0 ;
17452 PyObject
* obj1
= 0 ;
17453 char *kwnames
[] = {
17454 (char *) "self",(char *) "pos", NULL
17457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17460 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17461 if (PyErr_Occurred()) SWIG_fail
;
17463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17464 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
17466 wxPyEndAllowThreads(__tstate
);
17467 if (PyErr_Occurred()) SWIG_fail
;
17470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17478 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17479 PyObject
*resultobj
;
17480 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17483 PyObject
* obj0
= 0 ;
17484 PyObject
* obj1
= 0 ;
17485 char *kwnames
[] = {
17486 (char *) "self",(char *) "id", NULL
17489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17492 arg2
= (int)SWIG_As_int(obj1
);
17493 if (PyErr_Occurred()) SWIG_fail
;
17495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17496 result
= (bool)(arg1
)->DeleteTool(arg2
);
17498 wxPyEndAllowThreads(__tstate
);
17499 if (PyErr_Occurred()) SWIG_fail
;
17502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17510 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17511 PyObject
*resultobj
;
17512 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17513 PyObject
* obj0
= 0 ;
17514 char *kwnames
[] = {
17515 (char *) "self", NULL
17518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
17519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17523 (arg1
)->ClearTools();
17525 wxPyEndAllowThreads(__tstate
);
17526 if (PyErr_Occurred()) SWIG_fail
;
17528 Py_INCREF(Py_None
); resultobj
= Py_None
;
17535 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17536 PyObject
*resultobj
;
17537 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17539 PyObject
* obj0
= 0 ;
17540 char *kwnames
[] = {
17541 (char *) "self", NULL
17544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
17545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17549 result
= (bool)(arg1
)->Realize();
17551 wxPyEndAllowThreads(__tstate
);
17552 if (PyErr_Occurred()) SWIG_fail
;
17555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17563 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17564 PyObject
*resultobj
;
17565 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17568 PyObject
* obj0
= 0 ;
17569 PyObject
* obj1
= 0 ;
17570 PyObject
* obj2
= 0 ;
17571 char *kwnames
[] = {
17572 (char *) "self",(char *) "id",(char *) "enable", NULL
17575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17578 arg2
= (int)SWIG_As_int(obj1
);
17579 if (PyErr_Occurred()) SWIG_fail
;
17580 arg3
= (bool)SWIG_As_bool(obj2
);
17581 if (PyErr_Occurred()) SWIG_fail
;
17583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17584 (arg1
)->EnableTool(arg2
,arg3
);
17586 wxPyEndAllowThreads(__tstate
);
17587 if (PyErr_Occurred()) SWIG_fail
;
17589 Py_INCREF(Py_None
); resultobj
= Py_None
;
17596 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17597 PyObject
*resultobj
;
17598 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17601 PyObject
* obj0
= 0 ;
17602 PyObject
* obj1
= 0 ;
17603 PyObject
* obj2
= 0 ;
17604 char *kwnames
[] = {
17605 (char *) "self",(char *) "id",(char *) "toggle", NULL
17608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17611 arg2
= (int)SWIG_As_int(obj1
);
17612 if (PyErr_Occurred()) SWIG_fail
;
17613 arg3
= (bool)SWIG_As_bool(obj2
);
17614 if (PyErr_Occurred()) SWIG_fail
;
17616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17617 (arg1
)->ToggleTool(arg2
,arg3
);
17619 wxPyEndAllowThreads(__tstate
);
17620 if (PyErr_Occurred()) SWIG_fail
;
17622 Py_INCREF(Py_None
); resultobj
= Py_None
;
17629 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17630 PyObject
*resultobj
;
17631 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17634 PyObject
* obj0
= 0 ;
17635 PyObject
* obj1
= 0 ;
17636 PyObject
* obj2
= 0 ;
17637 char *kwnames
[] = {
17638 (char *) "self",(char *) "id",(char *) "toggle", NULL
17641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17644 arg2
= (int)SWIG_As_int(obj1
);
17645 if (PyErr_Occurred()) SWIG_fail
;
17646 arg3
= (bool)SWIG_As_bool(obj2
);
17647 if (PyErr_Occurred()) SWIG_fail
;
17649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17650 (arg1
)->SetToggle(arg2
,arg3
);
17652 wxPyEndAllowThreads(__tstate
);
17653 if (PyErr_Occurred()) SWIG_fail
;
17655 Py_INCREF(Py_None
); resultobj
= Py_None
;
17662 static PyObject
*_wrap_ToolBarBase_GetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17663 PyObject
*resultobj
;
17664 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17667 PyObject
* obj0
= 0 ;
17668 PyObject
* obj1
= 0 ;
17669 char *kwnames
[] = {
17670 (char *) "self",(char *) "id", NULL
17673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
17674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17676 arg2
= (int)SWIG_As_int(obj1
);
17677 if (PyErr_Occurred()) SWIG_fail
;
17679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17680 result
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
17682 wxPyEndAllowThreads(__tstate
);
17683 if (PyErr_Occurred()) SWIG_fail
;
17685 resultobj
= result
;
17692 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17693 PyObject
*resultobj
;
17694 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17696 PyObject
*arg3
= (PyObject
*) 0 ;
17697 PyObject
* obj0
= 0 ;
17698 PyObject
* obj1
= 0 ;
17699 PyObject
* obj2
= 0 ;
17700 char *kwnames
[] = {
17701 (char *) "self",(char *) "id",(char *) "clientData", NULL
17704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17707 arg2
= (int)SWIG_As_int(obj1
);
17708 if (PyErr_Occurred()) SWIG_fail
;
17711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17712 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
17714 wxPyEndAllowThreads(__tstate
);
17715 if (PyErr_Occurred()) SWIG_fail
;
17717 Py_INCREF(Py_None
); resultobj
= Py_None
;
17724 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17725 PyObject
*resultobj
;
17726 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17729 PyObject
* obj0
= 0 ;
17730 PyObject
* obj1
= 0 ;
17731 char *kwnames
[] = {
17732 (char *) "self",(char *) "id", NULL
17735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17738 arg2
= (int)SWIG_As_int(obj1
);
17739 if (PyErr_Occurred()) SWIG_fail
;
17741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17742 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
17744 wxPyEndAllowThreads(__tstate
);
17745 if (PyErr_Occurred()) SWIG_fail
;
17747 resultobj
= SWIG_From_int((int)result
);
17754 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17755 PyObject
*resultobj
;
17756 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17759 PyObject
* obj0
= 0 ;
17760 PyObject
* obj1
= 0 ;
17761 char *kwnames
[] = {
17762 (char *) "self",(char *) "id", NULL
17765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
17766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17768 arg2
= (int)SWIG_As_int(obj1
);
17769 if (PyErr_Occurred()) SWIG_fail
;
17771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17772 result
= (bool)(arg1
)->GetToolState(arg2
);
17774 wxPyEndAllowThreads(__tstate
);
17775 if (PyErr_Occurred()) SWIG_fail
;
17778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17786 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17787 PyObject
*resultobj
;
17788 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17791 PyObject
* obj0
= 0 ;
17792 PyObject
* obj1
= 0 ;
17793 char *kwnames
[] = {
17794 (char *) "self",(char *) "id", NULL
17797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
17798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17800 arg2
= (int)SWIG_As_int(obj1
);
17801 if (PyErr_Occurred()) SWIG_fail
;
17803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17804 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
17806 wxPyEndAllowThreads(__tstate
);
17807 if (PyErr_Occurred()) SWIG_fail
;
17810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17818 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17819 PyObject
*resultobj
;
17820 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17822 wxString
*arg3
= 0 ;
17823 bool temp3
= False
;
17824 PyObject
* obj0
= 0 ;
17825 PyObject
* obj1
= 0 ;
17826 PyObject
* obj2
= 0 ;
17827 char *kwnames
[] = {
17828 (char *) "self",(char *) "id",(char *) "helpString", NULL
17831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17834 arg2
= (int)SWIG_As_int(obj1
);
17835 if (PyErr_Occurred()) SWIG_fail
;
17837 arg3
= wxString_in_helper(obj2
);
17838 if (arg3
== NULL
) SWIG_fail
;
17842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17843 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
17845 wxPyEndAllowThreads(__tstate
);
17846 if (PyErr_Occurred()) SWIG_fail
;
17848 Py_INCREF(Py_None
); resultobj
= Py_None
;
17863 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17864 PyObject
*resultobj
;
17865 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17868 PyObject
* obj0
= 0 ;
17869 PyObject
* obj1
= 0 ;
17870 char *kwnames
[] = {
17871 (char *) "self",(char *) "id", NULL
17874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17877 arg2
= (int)SWIG_As_int(obj1
);
17878 if (PyErr_Occurred()) SWIG_fail
;
17880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17881 result
= (arg1
)->GetToolShortHelp(arg2
);
17883 wxPyEndAllowThreads(__tstate
);
17884 if (PyErr_Occurred()) SWIG_fail
;
17888 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17890 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17899 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17900 PyObject
*resultobj
;
17901 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17903 wxString
*arg3
= 0 ;
17904 bool temp3
= False
;
17905 PyObject
* obj0
= 0 ;
17906 PyObject
* obj1
= 0 ;
17907 PyObject
* obj2
= 0 ;
17908 char *kwnames
[] = {
17909 (char *) "self",(char *) "id",(char *) "helpString", NULL
17912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17915 arg2
= (int)SWIG_As_int(obj1
);
17916 if (PyErr_Occurred()) SWIG_fail
;
17918 arg3
= wxString_in_helper(obj2
);
17919 if (arg3
== NULL
) SWIG_fail
;
17923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17924 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
17926 wxPyEndAllowThreads(__tstate
);
17927 if (PyErr_Occurred()) SWIG_fail
;
17929 Py_INCREF(Py_None
); resultobj
= Py_None
;
17944 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17945 PyObject
*resultobj
;
17946 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17949 PyObject
* obj0
= 0 ;
17950 PyObject
* obj1
= 0 ;
17951 char *kwnames
[] = {
17952 (char *) "self",(char *) "id", NULL
17955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17958 arg2
= (int)SWIG_As_int(obj1
);
17959 if (PyErr_Occurred()) SWIG_fail
;
17961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17962 result
= (arg1
)->GetToolLongHelp(arg2
);
17964 wxPyEndAllowThreads(__tstate
);
17965 if (PyErr_Occurred()) SWIG_fail
;
17969 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17971 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17980 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17981 PyObject
*resultobj
;
17982 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17985 PyObject
* obj0
= 0 ;
17986 PyObject
* obj1
= 0 ;
17987 PyObject
* obj2
= 0 ;
17988 char *kwnames
[] = {
17989 (char *) "self",(char *) "x",(char *) "y", NULL
17992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17995 arg2
= (int)SWIG_As_int(obj1
);
17996 if (PyErr_Occurred()) SWIG_fail
;
17997 arg3
= (int)SWIG_As_int(obj2
);
17998 if (PyErr_Occurred()) SWIG_fail
;
18000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18001 (arg1
)->SetMargins(arg2
,arg3
);
18003 wxPyEndAllowThreads(__tstate
);
18004 if (PyErr_Occurred()) SWIG_fail
;
18006 Py_INCREF(Py_None
); resultobj
= Py_None
;
18013 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18014 PyObject
*resultobj
;
18015 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18018 PyObject
* obj0
= 0 ;
18019 PyObject
* obj1
= 0 ;
18020 char *kwnames
[] = {
18021 (char *) "self",(char *) "size", NULL
18024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
18025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18029 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18033 (arg1
)->SetMargins((wxSize
const &)*arg2
);
18035 wxPyEndAllowThreads(__tstate
);
18036 if (PyErr_Occurred()) SWIG_fail
;
18038 Py_INCREF(Py_None
); resultobj
= Py_None
;
18045 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18046 PyObject
*resultobj
;
18047 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18049 PyObject
* obj0
= 0 ;
18050 PyObject
* obj1
= 0 ;
18051 char *kwnames
[] = {
18052 (char *) "self",(char *) "packing", NULL
18055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
18056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18058 arg2
= (int)SWIG_As_int(obj1
);
18059 if (PyErr_Occurred()) SWIG_fail
;
18061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18062 (arg1
)->SetToolPacking(arg2
);
18064 wxPyEndAllowThreads(__tstate
);
18065 if (PyErr_Occurred()) SWIG_fail
;
18067 Py_INCREF(Py_None
); resultobj
= Py_None
;
18074 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18075 PyObject
*resultobj
;
18076 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18078 PyObject
* obj0
= 0 ;
18079 PyObject
* obj1
= 0 ;
18080 char *kwnames
[] = {
18081 (char *) "self",(char *) "separation", NULL
18084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
18085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18087 arg2
= (int)SWIG_As_int(obj1
);
18088 if (PyErr_Occurred()) SWIG_fail
;
18090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18091 (arg1
)->SetToolSeparation(arg2
);
18093 wxPyEndAllowThreads(__tstate
);
18094 if (PyErr_Occurred()) SWIG_fail
;
18096 Py_INCREF(Py_None
); resultobj
= Py_None
;
18103 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18104 PyObject
*resultobj
;
18105 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18107 PyObject
* obj0
= 0 ;
18108 char *kwnames
[] = {
18109 (char *) "self", NULL
18112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
18113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18117 result
= (arg1
)->GetToolMargins();
18119 wxPyEndAllowThreads(__tstate
);
18120 if (PyErr_Occurred()) SWIG_fail
;
18123 wxSize
* resultptr
;
18124 resultptr
= new wxSize((wxSize
&) result
);
18125 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18133 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18134 PyObject
*resultobj
;
18135 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18137 PyObject
* obj0
= 0 ;
18138 char *kwnames
[] = {
18139 (char *) "self", NULL
18142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
18143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18147 result
= (arg1
)->GetMargins();
18149 wxPyEndAllowThreads(__tstate
);
18150 if (PyErr_Occurred()) SWIG_fail
;
18153 wxSize
* resultptr
;
18154 resultptr
= new wxSize((wxSize
&) result
);
18155 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18163 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18164 PyObject
*resultobj
;
18165 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18167 PyObject
* obj0
= 0 ;
18168 char *kwnames
[] = {
18169 (char *) "self", NULL
18172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
18173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18177 result
= (int)(arg1
)->GetToolPacking();
18179 wxPyEndAllowThreads(__tstate
);
18180 if (PyErr_Occurred()) SWIG_fail
;
18182 resultobj
= SWIG_From_int((int)result
);
18189 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18190 PyObject
*resultobj
;
18191 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18193 PyObject
* obj0
= 0 ;
18194 char *kwnames
[] = {
18195 (char *) "self", NULL
18198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
18199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18203 result
= (int)(arg1
)->GetToolSeparation();
18205 wxPyEndAllowThreads(__tstate
);
18206 if (PyErr_Occurred()) SWIG_fail
;
18208 resultobj
= SWIG_From_int((int)result
);
18215 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18216 PyObject
*resultobj
;
18217 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18219 PyObject
* obj0
= 0 ;
18220 PyObject
* obj1
= 0 ;
18221 char *kwnames
[] = {
18222 (char *) "self",(char *) "nRows", NULL
18225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
18226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18228 arg2
= (int)SWIG_As_int(obj1
);
18229 if (PyErr_Occurred()) SWIG_fail
;
18231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18232 (arg1
)->SetRows(arg2
);
18234 wxPyEndAllowThreads(__tstate
);
18235 if (PyErr_Occurred()) SWIG_fail
;
18237 Py_INCREF(Py_None
); resultobj
= Py_None
;
18244 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18245 PyObject
*resultobj
;
18246 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18249 PyObject
* obj0
= 0 ;
18250 PyObject
* obj1
= 0 ;
18251 PyObject
* obj2
= 0 ;
18252 char *kwnames
[] = {
18253 (char *) "self",(char *) "rows",(char *) "cols", NULL
18256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18259 arg2
= (int)SWIG_As_int(obj1
);
18260 if (PyErr_Occurred()) SWIG_fail
;
18261 arg3
= (int)SWIG_As_int(obj2
);
18262 if (PyErr_Occurred()) SWIG_fail
;
18264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18265 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
18267 wxPyEndAllowThreads(__tstate
);
18268 if (PyErr_Occurred()) SWIG_fail
;
18270 Py_INCREF(Py_None
); resultobj
= Py_None
;
18277 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18278 PyObject
*resultobj
;
18279 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18281 PyObject
* obj0
= 0 ;
18282 char *kwnames
[] = {
18283 (char *) "self", NULL
18286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
18287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18291 result
= (int)(arg1
)->GetMaxRows();
18293 wxPyEndAllowThreads(__tstate
);
18294 if (PyErr_Occurred()) SWIG_fail
;
18296 resultobj
= SWIG_From_int((int)result
);
18303 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18304 PyObject
*resultobj
;
18305 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18307 PyObject
* obj0
= 0 ;
18308 char *kwnames
[] = {
18309 (char *) "self", NULL
18312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
18313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18317 result
= (int)(arg1
)->GetMaxCols();
18319 wxPyEndAllowThreads(__tstate
);
18320 if (PyErr_Occurred()) SWIG_fail
;
18322 resultobj
= SWIG_From_int((int)result
);
18329 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18330 PyObject
*resultobj
;
18331 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18334 PyObject
* obj0
= 0 ;
18335 PyObject
* obj1
= 0 ;
18336 char *kwnames
[] = {
18337 (char *) "self",(char *) "size", NULL
18340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18345 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18349 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
18351 wxPyEndAllowThreads(__tstate
);
18352 if (PyErr_Occurred()) SWIG_fail
;
18354 Py_INCREF(Py_None
); resultobj
= Py_None
;
18361 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18362 PyObject
*resultobj
;
18363 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18365 PyObject
* obj0
= 0 ;
18366 char *kwnames
[] = {
18367 (char *) "self", NULL
18370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
18371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18375 result
= (arg1
)->GetToolBitmapSize();
18377 wxPyEndAllowThreads(__tstate
);
18378 if (PyErr_Occurred()) SWIG_fail
;
18381 wxSize
* resultptr
;
18382 resultptr
= new wxSize((wxSize
&) result
);
18383 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18391 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18392 PyObject
*resultobj
;
18393 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18395 PyObject
* obj0
= 0 ;
18396 char *kwnames
[] = {
18397 (char *) "self", NULL
18400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
18401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18405 result
= (arg1
)->GetToolSize();
18407 wxPyEndAllowThreads(__tstate
);
18408 if (PyErr_Occurred()) SWIG_fail
;
18411 wxSize
* resultptr
;
18412 resultptr
= new wxSize((wxSize
&) result
);
18413 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18421 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18422 PyObject
*resultobj
;
18423 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18426 wxToolBarToolBase
*result
;
18427 PyObject
* obj0
= 0 ;
18428 PyObject
* obj1
= 0 ;
18429 PyObject
* obj2
= 0 ;
18430 char *kwnames
[] = {
18431 (char *) "self",(char *) "x",(char *) "y", NULL
18434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18437 arg2
= (int)SWIG_As_int(obj1
);
18438 if (PyErr_Occurred()) SWIG_fail
;
18439 arg3
= (int)SWIG_As_int(obj2
);
18440 if (PyErr_Occurred()) SWIG_fail
;
18442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18443 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18445 wxPyEndAllowThreads(__tstate
);
18446 if (PyErr_Occurred()) SWIG_fail
;
18449 resultobj
= wxPyMake_wxObject(result
, 0);
18457 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18458 PyObject
*resultobj
;
18459 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18461 wxToolBarToolBase
*result
;
18462 PyObject
* obj0
= 0 ;
18463 PyObject
* obj1
= 0 ;
18464 char *kwnames
[] = {
18465 (char *) "self",(char *) "toolid", NULL
18468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
18469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18471 arg2
= (int)SWIG_As_int(obj1
);
18472 if (PyErr_Occurred()) SWIG_fail
;
18474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18475 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
18477 wxPyEndAllowThreads(__tstate
);
18478 if (PyErr_Occurred()) SWIG_fail
;
18481 resultobj
= wxPyMake_wxObject(result
, 0);
18489 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18490 PyObject
*resultobj
;
18491 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18493 PyObject
* obj0
= 0 ;
18494 char *kwnames
[] = {
18495 (char *) "self", NULL
18498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
18499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18503 result
= (bool)(arg1
)->IsVertical();
18505 wxPyEndAllowThreads(__tstate
);
18506 if (PyErr_Occurred()) SWIG_fail
;
18509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18517 static PyObject
* ToolBarBase_swigregister(PyObject
*, PyObject
*args
) {
18519 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18520 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
18522 return Py_BuildValue((char *)"");
18524 static PyObject
*_wrap_new_ToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18525 PyObject
*resultobj
;
18526 wxWindow
*arg1
= (wxWindow
*) 0 ;
18527 int arg2
= (int) -1 ;
18528 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18529 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18530 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18531 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18532 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18533 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
18534 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18538 bool temp6
= False
;
18539 PyObject
* obj0
= 0 ;
18540 PyObject
* obj1
= 0 ;
18541 PyObject
* obj2
= 0 ;
18542 PyObject
* obj3
= 0 ;
18543 PyObject
* obj4
= 0 ;
18544 PyObject
* obj5
= 0 ;
18545 char *kwnames
[] = {
18546 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18553 arg2
= (int)SWIG_As_int(obj1
);
18554 if (PyErr_Occurred()) SWIG_fail
;
18559 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18565 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18569 arg5
= (long)SWIG_As_long(obj4
);
18570 if (PyErr_Occurred()) SWIG_fail
;
18574 arg6
= wxString_in_helper(obj5
);
18575 if (arg6
== NULL
) SWIG_fail
;
18580 if (!wxPyCheckForApp()) SWIG_fail
;
18581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18582 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18584 wxPyEndAllowThreads(__tstate
);
18585 if (PyErr_Occurred()) SWIG_fail
;
18587 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
18602 static PyObject
*_wrap_new_PreToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18603 PyObject
*resultobj
;
18605 char *kwnames
[] = {
18609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
18611 if (!wxPyCheckForApp()) SWIG_fail
;
18612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18613 result
= (wxToolBar
*)new wxToolBar();
18615 wxPyEndAllowThreads(__tstate
);
18616 if (PyErr_Occurred()) SWIG_fail
;
18618 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
18625 static PyObject
*_wrap_ToolBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18626 PyObject
*resultobj
;
18627 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18628 wxWindow
*arg2
= (wxWindow
*) 0 ;
18629 int arg3
= (int) -1 ;
18630 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18631 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18632 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18633 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18634 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18635 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
18636 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18640 bool temp7
= False
;
18641 PyObject
* obj0
= 0 ;
18642 PyObject
* obj1
= 0 ;
18643 PyObject
* obj2
= 0 ;
18644 PyObject
* obj3
= 0 ;
18645 PyObject
* obj4
= 0 ;
18646 PyObject
* obj5
= 0 ;
18647 PyObject
* obj6
= 0 ;
18648 char *kwnames
[] = {
18649 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
18654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18655 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18658 arg3
= (int)SWIG_As_int(obj2
);
18659 if (PyErr_Occurred()) SWIG_fail
;
18664 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18670 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18674 arg6
= (long)SWIG_As_long(obj5
);
18675 if (PyErr_Occurred()) SWIG_fail
;
18679 arg7
= wxString_in_helper(obj6
);
18680 if (arg7
== NULL
) SWIG_fail
;
18685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18686 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18688 wxPyEndAllowThreads(__tstate
);
18689 if (PyErr_Occurred()) SWIG_fail
;
18692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18708 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18709 PyObject
*resultobj
;
18710 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18713 wxToolBarToolBase
*result
;
18714 PyObject
* obj0
= 0 ;
18715 PyObject
* obj1
= 0 ;
18716 PyObject
* obj2
= 0 ;
18717 char *kwnames
[] = {
18718 (char *) "self",(char *) "x",(char *) "y", NULL
18721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
18723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18724 arg2
= (int)SWIG_As_int(obj1
);
18725 if (PyErr_Occurred()) SWIG_fail
;
18726 arg3
= (int)SWIG_As_int(obj2
);
18727 if (PyErr_Occurred()) SWIG_fail
;
18729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18730 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18732 wxPyEndAllowThreads(__tstate
);
18733 if (PyErr_Occurred()) SWIG_fail
;
18736 resultobj
= wxPyMake_wxObject(result
, 0);
18744 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18745 PyObject
*resultobj
;
18746 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
18747 wxVisualAttributes result
;
18748 PyObject
* obj0
= 0 ;
18749 char *kwnames
[] = {
18750 (char *) "variant", NULL
18753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18755 arg1
= (int)SWIG_As_int(obj0
);
18756 if (PyErr_Occurred()) SWIG_fail
;
18759 if (!wxPyCheckForApp()) SWIG_fail
;
18760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18761 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
18763 wxPyEndAllowThreads(__tstate
);
18764 if (PyErr_Occurred()) SWIG_fail
;
18767 wxVisualAttributes
* resultptr
;
18768 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
18769 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18777 static PyObject
* ToolBar_swigregister(PyObject
*, PyObject
*args
) {
18779 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18780 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
18782 return Py_BuildValue((char *)"");
18784 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
18785 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
18790 static PyObject
*_wrap_ListCtrlNameStr_get() {
18795 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
18797 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
18804 static PyObject
*_wrap_new_ListItemAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18805 PyObject
*resultobj
;
18806 wxColour
const &arg1_defvalue
= wxNullColour
;
18807 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
18808 wxColour
const &arg2_defvalue
= wxNullColour
;
18809 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
18810 wxFont
const &arg3_defvalue
= wxNullFont
;
18811 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
18812 wxListItemAttr
*result
;
18815 PyObject
* obj0
= 0 ;
18816 PyObject
* obj1
= 0 ;
18817 PyObject
* obj2
= 0 ;
18818 char *kwnames
[] = {
18819 (char *) "colText",(char *) "colBack",(char *) "font", NULL
18822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18826 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
18832 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18836 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
18837 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18839 if (arg3
== NULL
) {
18840 PyErr_SetString(PyExc_TypeError
,"null reference");
18845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18846 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
18848 wxPyEndAllowThreads(__tstate
);
18849 if (PyErr_Occurred()) SWIG_fail
;
18851 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
18858 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18859 PyObject
*resultobj
;
18860 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18861 wxColour
*arg2
= 0 ;
18863 PyObject
* obj0
= 0 ;
18864 PyObject
* obj1
= 0 ;
18865 char *kwnames
[] = {
18866 (char *) "self",(char *) "colText", NULL
18869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18874 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18878 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
18880 wxPyEndAllowThreads(__tstate
);
18881 if (PyErr_Occurred()) SWIG_fail
;
18883 Py_INCREF(Py_None
); resultobj
= Py_None
;
18890 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18891 PyObject
*resultobj
;
18892 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18893 wxColour
*arg2
= 0 ;
18895 PyObject
* obj0
= 0 ;
18896 PyObject
* obj1
= 0 ;
18897 char *kwnames
[] = {
18898 (char *) "self",(char *) "colBack", NULL
18901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18906 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18910 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
18912 wxPyEndAllowThreads(__tstate
);
18913 if (PyErr_Occurred()) SWIG_fail
;
18915 Py_INCREF(Py_None
); resultobj
= Py_None
;
18922 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18923 PyObject
*resultobj
;
18924 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18926 PyObject
* obj0
= 0 ;
18927 PyObject
* obj1
= 0 ;
18928 char *kwnames
[] = {
18929 (char *) "self",(char *) "font", NULL
18932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
18933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18935 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
18936 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18938 if (arg2
== NULL
) {
18939 PyErr_SetString(PyExc_TypeError
,"null reference");
18943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18944 (arg1
)->SetFont((wxFont
const &)*arg2
);
18946 wxPyEndAllowThreads(__tstate
);
18947 if (PyErr_Occurred()) SWIG_fail
;
18949 Py_INCREF(Py_None
); resultobj
= Py_None
;
18956 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18957 PyObject
*resultobj
;
18958 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18960 PyObject
* obj0
= 0 ;
18961 char *kwnames
[] = {
18962 (char *) "self", NULL
18965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
18966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18970 result
= (bool)(arg1
)->HasTextColour();
18972 wxPyEndAllowThreads(__tstate
);
18973 if (PyErr_Occurred()) SWIG_fail
;
18976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18984 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18985 PyObject
*resultobj
;
18986 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18988 PyObject
* obj0
= 0 ;
18989 char *kwnames
[] = {
18990 (char *) "self", NULL
18993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
18994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18998 result
= (bool)(arg1
)->HasBackgroundColour();
19000 wxPyEndAllowThreads(__tstate
);
19001 if (PyErr_Occurred()) SWIG_fail
;
19004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19012 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19013 PyObject
*resultobj
;
19014 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19016 PyObject
* obj0
= 0 ;
19017 char *kwnames
[] = {
19018 (char *) "self", NULL
19021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
19022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19026 result
= (bool)(arg1
)->HasFont();
19028 wxPyEndAllowThreads(__tstate
);
19029 if (PyErr_Occurred()) SWIG_fail
;
19032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19040 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19041 PyObject
*resultobj
;
19042 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19044 PyObject
* obj0
= 0 ;
19045 char *kwnames
[] = {
19046 (char *) "self", NULL
19049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
19050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19054 result
= (arg1
)->GetTextColour();
19056 wxPyEndAllowThreads(__tstate
);
19057 if (PyErr_Occurred()) SWIG_fail
;
19060 wxColour
* resultptr
;
19061 resultptr
= new wxColour((wxColour
&) result
);
19062 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19070 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19071 PyObject
*resultobj
;
19072 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19074 PyObject
* obj0
= 0 ;
19075 char *kwnames
[] = {
19076 (char *) "self", NULL
19079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
19080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19084 result
= (arg1
)->GetBackgroundColour();
19086 wxPyEndAllowThreads(__tstate
);
19087 if (PyErr_Occurred()) SWIG_fail
;
19090 wxColour
* resultptr
;
19091 resultptr
= new wxColour((wxColour
&) result
);
19092 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19100 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19101 PyObject
*resultobj
;
19102 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19104 PyObject
* obj0
= 0 ;
19105 char *kwnames
[] = {
19106 (char *) "self", NULL
19109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
19110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19114 result
= (arg1
)->GetFont();
19116 wxPyEndAllowThreads(__tstate
);
19117 if (PyErr_Occurred()) SWIG_fail
;
19120 wxFont
* resultptr
;
19121 resultptr
= new wxFont((wxFont
&) result
);
19122 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
19130 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19131 PyObject
*resultobj
;
19132 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19133 PyObject
* obj0
= 0 ;
19134 char *kwnames
[] = {
19135 (char *) "self", NULL
19138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
19139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19143 wxListItemAttr_Destroy(arg1
);
19145 wxPyEndAllowThreads(__tstate
);
19146 if (PyErr_Occurred()) SWIG_fail
;
19148 Py_INCREF(Py_None
); resultobj
= Py_None
;
19155 static PyObject
* ListItemAttr_swigregister(PyObject
*, PyObject
*args
) {
19157 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19158 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
19160 return Py_BuildValue((char *)"");
19162 static PyObject
*_wrap_new_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19163 PyObject
*resultobj
;
19164 wxListItem
*result
;
19165 char *kwnames
[] = {
19169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
19171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19172 result
= (wxListItem
*)new wxListItem();
19174 wxPyEndAllowThreads(__tstate
);
19175 if (PyErr_Occurred()) SWIG_fail
;
19178 resultobj
= wxPyMake_wxObject(result
, 1);
19186 static PyObject
*_wrap_delete_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19187 PyObject
*resultobj
;
19188 wxListItem
*arg1
= (wxListItem
*) 0 ;
19189 PyObject
* obj0
= 0 ;
19190 char *kwnames
[] = {
19191 (char *) "self", NULL
19194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
19195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19201 wxPyEndAllowThreads(__tstate
);
19202 if (PyErr_Occurred()) SWIG_fail
;
19204 Py_INCREF(Py_None
); resultobj
= Py_None
;
19211 static PyObject
*_wrap_ListItem_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19212 PyObject
*resultobj
;
19213 wxListItem
*arg1
= (wxListItem
*) 0 ;
19214 PyObject
* obj0
= 0 ;
19215 char *kwnames
[] = {
19216 (char *) "self", NULL
19219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
19220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19226 wxPyEndAllowThreads(__tstate
);
19227 if (PyErr_Occurred()) SWIG_fail
;
19229 Py_INCREF(Py_None
); resultobj
= Py_None
;
19236 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19237 PyObject
*resultobj
;
19238 wxListItem
*arg1
= (wxListItem
*) 0 ;
19239 PyObject
* obj0
= 0 ;
19240 char *kwnames
[] = {
19241 (char *) "self", NULL
19244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
19245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19249 (arg1
)->ClearAttributes();
19251 wxPyEndAllowThreads(__tstate
);
19252 if (PyErr_Occurred()) SWIG_fail
;
19254 Py_INCREF(Py_None
); resultobj
= Py_None
;
19261 static PyObject
*_wrap_ListItem_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19262 PyObject
*resultobj
;
19263 wxListItem
*arg1
= (wxListItem
*) 0 ;
19265 PyObject
* obj0
= 0 ;
19266 PyObject
* obj1
= 0 ;
19267 char *kwnames
[] = {
19268 (char *) "self",(char *) "mask", NULL
19271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19274 arg2
= (long)SWIG_As_long(obj1
);
19275 if (PyErr_Occurred()) SWIG_fail
;
19277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19278 (arg1
)->SetMask(arg2
);
19280 wxPyEndAllowThreads(__tstate
);
19281 if (PyErr_Occurred()) SWIG_fail
;
19283 Py_INCREF(Py_None
); resultobj
= Py_None
;
19290 static PyObject
*_wrap_ListItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19291 PyObject
*resultobj
;
19292 wxListItem
*arg1
= (wxListItem
*) 0 ;
19294 PyObject
* obj0
= 0 ;
19295 PyObject
* obj1
= 0 ;
19296 char *kwnames
[] = {
19297 (char *) "self",(char *) "id", NULL
19300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
19301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19303 arg2
= (long)SWIG_As_long(obj1
);
19304 if (PyErr_Occurred()) SWIG_fail
;
19306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19307 (arg1
)->SetId(arg2
);
19309 wxPyEndAllowThreads(__tstate
);
19310 if (PyErr_Occurred()) SWIG_fail
;
19312 Py_INCREF(Py_None
); resultobj
= Py_None
;
19319 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19320 PyObject
*resultobj
;
19321 wxListItem
*arg1
= (wxListItem
*) 0 ;
19323 PyObject
* obj0
= 0 ;
19324 PyObject
* obj1
= 0 ;
19325 char *kwnames
[] = {
19326 (char *) "self",(char *) "col", NULL
19329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
19330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19332 arg2
= (int)SWIG_As_int(obj1
);
19333 if (PyErr_Occurred()) SWIG_fail
;
19335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19336 (arg1
)->SetColumn(arg2
);
19338 wxPyEndAllowThreads(__tstate
);
19339 if (PyErr_Occurred()) SWIG_fail
;
19341 Py_INCREF(Py_None
); resultobj
= Py_None
;
19348 static PyObject
*_wrap_ListItem_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19349 PyObject
*resultobj
;
19350 wxListItem
*arg1
= (wxListItem
*) 0 ;
19352 PyObject
* obj0
= 0 ;
19353 PyObject
* obj1
= 0 ;
19354 char *kwnames
[] = {
19355 (char *) "self",(char *) "state", NULL
19358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
19359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19361 arg2
= (long)SWIG_As_long(obj1
);
19362 if (PyErr_Occurred()) SWIG_fail
;
19364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19365 (arg1
)->SetState(arg2
);
19367 wxPyEndAllowThreads(__tstate
);
19368 if (PyErr_Occurred()) SWIG_fail
;
19370 Py_INCREF(Py_None
); resultobj
= Py_None
;
19377 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19378 PyObject
*resultobj
;
19379 wxListItem
*arg1
= (wxListItem
*) 0 ;
19381 PyObject
* obj0
= 0 ;
19382 PyObject
* obj1
= 0 ;
19383 char *kwnames
[] = {
19384 (char *) "self",(char *) "stateMask", NULL
19387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19390 arg2
= (long)SWIG_As_long(obj1
);
19391 if (PyErr_Occurred()) SWIG_fail
;
19393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19394 (arg1
)->SetStateMask(arg2
);
19396 wxPyEndAllowThreads(__tstate
);
19397 if (PyErr_Occurred()) SWIG_fail
;
19399 Py_INCREF(Py_None
); resultobj
= Py_None
;
19406 static PyObject
*_wrap_ListItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19407 PyObject
*resultobj
;
19408 wxListItem
*arg1
= (wxListItem
*) 0 ;
19409 wxString
*arg2
= 0 ;
19410 bool temp2
= False
;
19411 PyObject
* obj0
= 0 ;
19412 PyObject
* obj1
= 0 ;
19413 char *kwnames
[] = {
19414 (char *) "self",(char *) "text", NULL
19417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
19418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19421 arg2
= wxString_in_helper(obj1
);
19422 if (arg2
== NULL
) SWIG_fail
;
19426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19427 (arg1
)->SetText((wxString
const &)*arg2
);
19429 wxPyEndAllowThreads(__tstate
);
19430 if (PyErr_Occurred()) SWIG_fail
;
19432 Py_INCREF(Py_None
); resultobj
= Py_None
;
19447 static PyObject
*_wrap_ListItem_SetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19448 PyObject
*resultobj
;
19449 wxListItem
*arg1
= (wxListItem
*) 0 ;
19451 PyObject
* obj0
= 0 ;
19452 PyObject
* obj1
= 0 ;
19453 char *kwnames
[] = {
19454 (char *) "self",(char *) "image", NULL
19457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
19458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19460 arg2
= (int)SWIG_As_int(obj1
);
19461 if (PyErr_Occurred()) SWIG_fail
;
19463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19464 (arg1
)->SetImage(arg2
);
19466 wxPyEndAllowThreads(__tstate
);
19467 if (PyErr_Occurred()) SWIG_fail
;
19469 Py_INCREF(Py_None
); resultobj
= Py_None
;
19476 static PyObject
*_wrap_ListItem_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19477 PyObject
*resultobj
;
19478 wxListItem
*arg1
= (wxListItem
*) 0 ;
19480 PyObject
* obj0
= 0 ;
19481 PyObject
* obj1
= 0 ;
19482 char *kwnames
[] = {
19483 (char *) "self",(char *) "data", NULL
19486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
19487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19489 arg2
= (long)SWIG_As_long(obj1
);
19490 if (PyErr_Occurred()) SWIG_fail
;
19492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19493 (arg1
)->SetData(arg2
);
19495 wxPyEndAllowThreads(__tstate
);
19496 if (PyErr_Occurred()) SWIG_fail
;
19498 Py_INCREF(Py_None
); resultobj
= Py_None
;
19505 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19506 PyObject
*resultobj
;
19507 wxListItem
*arg1
= (wxListItem
*) 0 ;
19509 PyObject
* obj0
= 0 ;
19510 PyObject
* obj1
= 0 ;
19511 char *kwnames
[] = {
19512 (char *) "self",(char *) "width", NULL
19515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
19516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19518 arg2
= (int)SWIG_As_int(obj1
);
19519 if (PyErr_Occurred()) SWIG_fail
;
19521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19522 (arg1
)->SetWidth(arg2
);
19524 wxPyEndAllowThreads(__tstate
);
19525 if (PyErr_Occurred()) SWIG_fail
;
19527 Py_INCREF(Py_None
); resultobj
= Py_None
;
19534 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19535 PyObject
*resultobj
;
19536 wxListItem
*arg1
= (wxListItem
*) 0 ;
19538 PyObject
* obj0
= 0 ;
19539 PyObject
* obj1
= 0 ;
19540 char *kwnames
[] = {
19541 (char *) "self",(char *) "align", NULL
19544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
19545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19547 arg2
= (int)SWIG_As_int(obj1
);
19548 if (PyErr_Occurred()) SWIG_fail
;
19550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19551 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
19553 wxPyEndAllowThreads(__tstate
);
19554 if (PyErr_Occurred()) SWIG_fail
;
19556 Py_INCREF(Py_None
); resultobj
= Py_None
;
19563 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19564 PyObject
*resultobj
;
19565 wxListItem
*arg1
= (wxListItem
*) 0 ;
19566 wxColour
*arg2
= 0 ;
19568 PyObject
* obj0
= 0 ;
19569 PyObject
* obj1
= 0 ;
19570 char *kwnames
[] = {
19571 (char *) "self",(char *) "colText", NULL
19574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19579 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19583 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
19585 wxPyEndAllowThreads(__tstate
);
19586 if (PyErr_Occurred()) SWIG_fail
;
19588 Py_INCREF(Py_None
); resultobj
= Py_None
;
19595 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19596 PyObject
*resultobj
;
19597 wxListItem
*arg1
= (wxListItem
*) 0 ;
19598 wxColour
*arg2
= 0 ;
19600 PyObject
* obj0
= 0 ;
19601 PyObject
* obj1
= 0 ;
19602 char *kwnames
[] = {
19603 (char *) "self",(char *) "colBack", NULL
19606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19611 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19615 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
19617 wxPyEndAllowThreads(__tstate
);
19618 if (PyErr_Occurred()) SWIG_fail
;
19620 Py_INCREF(Py_None
); resultobj
= Py_None
;
19627 static PyObject
*_wrap_ListItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19628 PyObject
*resultobj
;
19629 wxListItem
*arg1
= (wxListItem
*) 0 ;
19631 PyObject
* obj0
= 0 ;
19632 PyObject
* obj1
= 0 ;
19633 char *kwnames
[] = {
19634 (char *) "self",(char *) "font", NULL
19637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
19638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19640 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
19641 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19643 if (arg2
== NULL
) {
19644 PyErr_SetString(PyExc_TypeError
,"null reference");
19648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19649 (arg1
)->SetFont((wxFont
const &)*arg2
);
19651 wxPyEndAllowThreads(__tstate
);
19652 if (PyErr_Occurred()) SWIG_fail
;
19654 Py_INCREF(Py_None
); resultobj
= Py_None
;
19661 static PyObject
*_wrap_ListItem_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19662 PyObject
*resultobj
;
19663 wxListItem
*arg1
= (wxListItem
*) 0 ;
19665 PyObject
* obj0
= 0 ;
19666 char *kwnames
[] = {
19667 (char *) "self", NULL
19670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
19671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19675 result
= (long)(arg1
)->GetMask();
19677 wxPyEndAllowThreads(__tstate
);
19678 if (PyErr_Occurred()) SWIG_fail
;
19680 resultobj
= SWIG_From_long((long)result
);
19687 static PyObject
*_wrap_ListItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19688 PyObject
*resultobj
;
19689 wxListItem
*arg1
= (wxListItem
*) 0 ;
19691 PyObject
* obj0
= 0 ;
19692 char *kwnames
[] = {
19693 (char *) "self", NULL
19696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
19697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19701 result
= (long)(arg1
)->GetId();
19703 wxPyEndAllowThreads(__tstate
);
19704 if (PyErr_Occurred()) SWIG_fail
;
19706 resultobj
= SWIG_From_long((long)result
);
19713 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19714 PyObject
*resultobj
;
19715 wxListItem
*arg1
= (wxListItem
*) 0 ;
19717 PyObject
* obj0
= 0 ;
19718 char *kwnames
[] = {
19719 (char *) "self", NULL
19722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
19723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19727 result
= (int)(arg1
)->GetColumn();
19729 wxPyEndAllowThreads(__tstate
);
19730 if (PyErr_Occurred()) SWIG_fail
;
19732 resultobj
= SWIG_From_int((int)result
);
19739 static PyObject
*_wrap_ListItem_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19740 PyObject
*resultobj
;
19741 wxListItem
*arg1
= (wxListItem
*) 0 ;
19743 PyObject
* obj0
= 0 ;
19744 char *kwnames
[] = {
19745 (char *) "self", NULL
19748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
19749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19753 result
= (long)(arg1
)->GetState();
19755 wxPyEndAllowThreads(__tstate
);
19756 if (PyErr_Occurred()) SWIG_fail
;
19758 resultobj
= SWIG_From_long((long)result
);
19765 static PyObject
*_wrap_ListItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19766 PyObject
*resultobj
;
19767 wxListItem
*arg1
= (wxListItem
*) 0 ;
19769 PyObject
* obj0
= 0 ;
19770 char *kwnames
[] = {
19771 (char *) "self", NULL
19774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
19775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19780 wxString
const &_result_ref
= (arg1
)->GetText();
19781 result
= (wxString
*) &_result_ref
;
19784 wxPyEndAllowThreads(__tstate
);
19785 if (PyErr_Occurred()) SWIG_fail
;
19789 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19791 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19800 static PyObject
*_wrap_ListItem_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19801 PyObject
*resultobj
;
19802 wxListItem
*arg1
= (wxListItem
*) 0 ;
19804 PyObject
* obj0
= 0 ;
19805 char *kwnames
[] = {
19806 (char *) "self", NULL
19809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
19810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19814 result
= (int)(arg1
)->GetImage();
19816 wxPyEndAllowThreads(__tstate
);
19817 if (PyErr_Occurred()) SWIG_fail
;
19819 resultobj
= SWIG_From_int((int)result
);
19826 static PyObject
*_wrap_ListItem_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19827 PyObject
*resultobj
;
19828 wxListItem
*arg1
= (wxListItem
*) 0 ;
19830 PyObject
* obj0
= 0 ;
19831 char *kwnames
[] = {
19832 (char *) "self", NULL
19835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
19836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19840 result
= (long)(arg1
)->GetData();
19842 wxPyEndAllowThreads(__tstate
);
19843 if (PyErr_Occurred()) SWIG_fail
;
19845 resultobj
= SWIG_From_long((long)result
);
19852 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19853 PyObject
*resultobj
;
19854 wxListItem
*arg1
= (wxListItem
*) 0 ;
19856 PyObject
* obj0
= 0 ;
19857 char *kwnames
[] = {
19858 (char *) "self", NULL
19861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
19862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19866 result
= (int)(arg1
)->GetWidth();
19868 wxPyEndAllowThreads(__tstate
);
19869 if (PyErr_Occurred()) SWIG_fail
;
19871 resultobj
= SWIG_From_int((int)result
);
19878 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19879 PyObject
*resultobj
;
19880 wxListItem
*arg1
= (wxListItem
*) 0 ;
19882 PyObject
* obj0
= 0 ;
19883 char *kwnames
[] = {
19884 (char *) "self", NULL
19887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
19888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19892 result
= (int)(arg1
)->GetAlign();
19894 wxPyEndAllowThreads(__tstate
);
19895 if (PyErr_Occurred()) SWIG_fail
;
19897 resultobj
= SWIG_From_int((int)result
);
19904 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19905 PyObject
*resultobj
;
19906 wxListItem
*arg1
= (wxListItem
*) 0 ;
19907 wxListItemAttr
*result
;
19908 PyObject
* obj0
= 0 ;
19909 char *kwnames
[] = {
19910 (char *) "self", NULL
19913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
19914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19918 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
19920 wxPyEndAllowThreads(__tstate
);
19921 if (PyErr_Occurred()) SWIG_fail
;
19923 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
19930 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19931 PyObject
*resultobj
;
19932 wxListItem
*arg1
= (wxListItem
*) 0 ;
19934 PyObject
* obj0
= 0 ;
19935 char *kwnames
[] = {
19936 (char *) "self", NULL
19939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
19940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19944 result
= (bool)(arg1
)->HasAttributes();
19946 wxPyEndAllowThreads(__tstate
);
19947 if (PyErr_Occurred()) SWIG_fail
;
19950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19958 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19959 PyObject
*resultobj
;
19960 wxListItem
*arg1
= (wxListItem
*) 0 ;
19962 PyObject
* obj0
= 0 ;
19963 char *kwnames
[] = {
19964 (char *) "self", NULL
19967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
19968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19972 result
= ((wxListItem
const *)arg1
)->GetTextColour();
19974 wxPyEndAllowThreads(__tstate
);
19975 if (PyErr_Occurred()) SWIG_fail
;
19978 wxColour
* resultptr
;
19979 resultptr
= new wxColour((wxColour
&) result
);
19980 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19988 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19989 PyObject
*resultobj
;
19990 wxListItem
*arg1
= (wxListItem
*) 0 ;
19992 PyObject
* obj0
= 0 ;
19993 char *kwnames
[] = {
19994 (char *) "self", NULL
19997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
19998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20002 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
20004 wxPyEndAllowThreads(__tstate
);
20005 if (PyErr_Occurred()) SWIG_fail
;
20008 wxColour
* resultptr
;
20009 resultptr
= new wxColour((wxColour
&) result
);
20010 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20018 static PyObject
*_wrap_ListItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20019 PyObject
*resultobj
;
20020 wxListItem
*arg1
= (wxListItem
*) 0 ;
20022 PyObject
* obj0
= 0 ;
20023 char *kwnames
[] = {
20024 (char *) "self", NULL
20027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
20028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20032 result
= ((wxListItem
const *)arg1
)->GetFont();
20034 wxPyEndAllowThreads(__tstate
);
20035 if (PyErr_Occurred()) SWIG_fail
;
20038 wxFont
* resultptr
;
20039 resultptr
= new wxFont((wxFont
&) result
);
20040 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
20048 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20049 PyObject
*resultobj
;
20050 wxListItem
*arg1
= (wxListItem
*) 0 ;
20052 PyObject
* obj0
= 0 ;
20053 PyObject
* obj1
= 0 ;
20054 char *kwnames
[] = {
20055 (char *) "self",(char *) "m_mask", NULL
20058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20061 arg2
= (long)SWIG_As_long(obj1
);
20062 if (PyErr_Occurred()) SWIG_fail
;
20063 if (arg1
) (arg1
)->m_mask
= arg2
;
20065 Py_INCREF(Py_None
); resultobj
= Py_None
;
20072 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20073 PyObject
*resultobj
;
20074 wxListItem
*arg1
= (wxListItem
*) 0 ;
20076 PyObject
* obj0
= 0 ;
20077 char *kwnames
[] = {
20078 (char *) "self", NULL
20081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
20082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20084 result
= (long) ((arg1
)->m_mask
);
20086 resultobj
= SWIG_From_long((long)result
);
20093 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20094 PyObject
*resultobj
;
20095 wxListItem
*arg1
= (wxListItem
*) 0 ;
20097 PyObject
* obj0
= 0 ;
20098 PyObject
* obj1
= 0 ;
20099 char *kwnames
[] = {
20100 (char *) "self",(char *) "m_itemId", NULL
20103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20106 arg2
= (long)SWIG_As_long(obj1
);
20107 if (PyErr_Occurred()) SWIG_fail
;
20108 if (arg1
) (arg1
)->m_itemId
= arg2
;
20110 Py_INCREF(Py_None
); resultobj
= Py_None
;
20117 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20118 PyObject
*resultobj
;
20119 wxListItem
*arg1
= (wxListItem
*) 0 ;
20121 PyObject
* obj0
= 0 ;
20122 char *kwnames
[] = {
20123 (char *) "self", NULL
20126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
20127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20129 result
= (long) ((arg1
)->m_itemId
);
20131 resultobj
= SWIG_From_long((long)result
);
20138 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20139 PyObject
*resultobj
;
20140 wxListItem
*arg1
= (wxListItem
*) 0 ;
20142 PyObject
* obj0
= 0 ;
20143 PyObject
* obj1
= 0 ;
20144 char *kwnames
[] = {
20145 (char *) "self",(char *) "m_col", NULL
20148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20151 arg2
= (int)SWIG_As_int(obj1
);
20152 if (PyErr_Occurred()) SWIG_fail
;
20153 if (arg1
) (arg1
)->m_col
= arg2
;
20155 Py_INCREF(Py_None
); resultobj
= Py_None
;
20162 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20163 PyObject
*resultobj
;
20164 wxListItem
*arg1
= (wxListItem
*) 0 ;
20166 PyObject
* obj0
= 0 ;
20167 char *kwnames
[] = {
20168 (char *) "self", NULL
20171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
20172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20174 result
= (int) ((arg1
)->m_col
);
20176 resultobj
= SWIG_From_int((int)result
);
20183 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20184 PyObject
*resultobj
;
20185 wxListItem
*arg1
= (wxListItem
*) 0 ;
20187 PyObject
* obj0
= 0 ;
20188 PyObject
* obj1
= 0 ;
20189 char *kwnames
[] = {
20190 (char *) "self",(char *) "m_state", NULL
20193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20196 arg2
= (long)SWIG_As_long(obj1
);
20197 if (PyErr_Occurred()) SWIG_fail
;
20198 if (arg1
) (arg1
)->m_state
= arg2
;
20200 Py_INCREF(Py_None
); resultobj
= Py_None
;
20207 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20208 PyObject
*resultobj
;
20209 wxListItem
*arg1
= (wxListItem
*) 0 ;
20211 PyObject
* obj0
= 0 ;
20212 char *kwnames
[] = {
20213 (char *) "self", NULL
20216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
20217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20219 result
= (long) ((arg1
)->m_state
);
20221 resultobj
= SWIG_From_long((long)result
);
20228 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20229 PyObject
*resultobj
;
20230 wxListItem
*arg1
= (wxListItem
*) 0 ;
20232 PyObject
* obj0
= 0 ;
20233 PyObject
* obj1
= 0 ;
20234 char *kwnames
[] = {
20235 (char *) "self",(char *) "m_stateMask", NULL
20238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20241 arg2
= (long)SWIG_As_long(obj1
);
20242 if (PyErr_Occurred()) SWIG_fail
;
20243 if (arg1
) (arg1
)->m_stateMask
= arg2
;
20245 Py_INCREF(Py_None
); resultobj
= Py_None
;
20252 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20253 PyObject
*resultobj
;
20254 wxListItem
*arg1
= (wxListItem
*) 0 ;
20256 PyObject
* obj0
= 0 ;
20257 char *kwnames
[] = {
20258 (char *) "self", NULL
20261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
20262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20264 result
= (long) ((arg1
)->m_stateMask
);
20266 resultobj
= SWIG_From_long((long)result
);
20273 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20274 PyObject
*resultobj
;
20275 wxListItem
*arg1
= (wxListItem
*) 0 ;
20276 wxString
*arg2
= (wxString
*) 0 ;
20277 bool temp2
= False
;
20278 PyObject
* obj0
= 0 ;
20279 PyObject
* obj1
= 0 ;
20280 char *kwnames
[] = {
20281 (char *) "self",(char *) "m_text", NULL
20284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20288 arg2
= wxString_in_helper(obj1
);
20289 if (arg2
== NULL
) SWIG_fail
;
20292 if (arg1
) (arg1
)->m_text
= *arg2
;
20294 Py_INCREF(Py_None
); resultobj
= Py_None
;
20309 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20310 PyObject
*resultobj
;
20311 wxListItem
*arg1
= (wxListItem
*) 0 ;
20313 PyObject
* obj0
= 0 ;
20314 char *kwnames
[] = {
20315 (char *) "self", NULL
20318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
20319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20321 result
= (wxString
*)& ((arg1
)->m_text
);
20325 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20327 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20336 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20337 PyObject
*resultobj
;
20338 wxListItem
*arg1
= (wxListItem
*) 0 ;
20340 PyObject
* obj0
= 0 ;
20341 PyObject
* obj1
= 0 ;
20342 char *kwnames
[] = {
20343 (char *) "self",(char *) "m_image", NULL
20346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20349 arg2
= (int)SWIG_As_int(obj1
);
20350 if (PyErr_Occurred()) SWIG_fail
;
20351 if (arg1
) (arg1
)->m_image
= arg2
;
20353 Py_INCREF(Py_None
); resultobj
= Py_None
;
20360 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20361 PyObject
*resultobj
;
20362 wxListItem
*arg1
= (wxListItem
*) 0 ;
20364 PyObject
* obj0
= 0 ;
20365 char *kwnames
[] = {
20366 (char *) "self", NULL
20369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
20370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20372 result
= (int) ((arg1
)->m_image
);
20374 resultobj
= SWIG_From_int((int)result
);
20381 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20382 PyObject
*resultobj
;
20383 wxListItem
*arg1
= (wxListItem
*) 0 ;
20385 PyObject
* obj0
= 0 ;
20386 PyObject
* obj1
= 0 ;
20387 char *kwnames
[] = {
20388 (char *) "self",(char *) "m_data", NULL
20391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20394 arg2
= (long)SWIG_As_long(obj1
);
20395 if (PyErr_Occurred()) SWIG_fail
;
20396 if (arg1
) (arg1
)->m_data
= arg2
;
20398 Py_INCREF(Py_None
); resultobj
= Py_None
;
20405 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20406 PyObject
*resultobj
;
20407 wxListItem
*arg1
= (wxListItem
*) 0 ;
20409 PyObject
* obj0
= 0 ;
20410 char *kwnames
[] = {
20411 (char *) "self", NULL
20414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
20415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20417 result
= (long) ((arg1
)->m_data
);
20419 resultobj
= SWIG_From_long((long)result
);
20426 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20427 PyObject
*resultobj
;
20428 wxListItem
*arg1
= (wxListItem
*) 0 ;
20430 PyObject
* obj0
= 0 ;
20431 PyObject
* obj1
= 0 ;
20432 char *kwnames
[] = {
20433 (char *) "self",(char *) "m_format", NULL
20436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20439 arg2
= (int)SWIG_As_int(obj1
);
20440 if (PyErr_Occurred()) SWIG_fail
;
20441 if (arg1
) (arg1
)->m_format
= arg2
;
20443 Py_INCREF(Py_None
); resultobj
= Py_None
;
20450 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20451 PyObject
*resultobj
;
20452 wxListItem
*arg1
= (wxListItem
*) 0 ;
20454 PyObject
* obj0
= 0 ;
20455 char *kwnames
[] = {
20456 (char *) "self", NULL
20459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
20460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20462 result
= (int) ((arg1
)->m_format
);
20464 resultobj
= SWIG_From_int((int)result
);
20471 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20472 PyObject
*resultobj
;
20473 wxListItem
*arg1
= (wxListItem
*) 0 ;
20475 PyObject
* obj0
= 0 ;
20476 PyObject
* obj1
= 0 ;
20477 char *kwnames
[] = {
20478 (char *) "self",(char *) "m_width", NULL
20481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20484 arg2
= (int)SWIG_As_int(obj1
);
20485 if (PyErr_Occurred()) SWIG_fail
;
20486 if (arg1
) (arg1
)->m_width
= arg2
;
20488 Py_INCREF(Py_None
); resultobj
= Py_None
;
20495 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20496 PyObject
*resultobj
;
20497 wxListItem
*arg1
= (wxListItem
*) 0 ;
20499 PyObject
* obj0
= 0 ;
20500 char *kwnames
[] = {
20501 (char *) "self", NULL
20504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
20505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20507 result
= (int) ((arg1
)->m_width
);
20509 resultobj
= SWIG_From_int((int)result
);
20516 static PyObject
* ListItem_swigregister(PyObject
*, PyObject
*args
) {
20518 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20519 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
20521 return Py_BuildValue((char *)"");
20523 static PyObject
*_wrap_new_ListEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20524 PyObject
*resultobj
;
20525 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20526 int arg2
= (int) 0 ;
20527 wxListEvent
*result
;
20528 PyObject
* obj0
= 0 ;
20529 PyObject
* obj1
= 0 ;
20530 char *kwnames
[] = {
20531 (char *) "commandType",(char *) "id", NULL
20534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20536 arg1
= (wxEventType
)SWIG_As_int(obj0
);
20537 if (PyErr_Occurred()) SWIG_fail
;
20540 arg2
= (int)SWIG_As_int(obj1
);
20541 if (PyErr_Occurred()) SWIG_fail
;
20544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20545 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
20547 wxPyEndAllowThreads(__tstate
);
20548 if (PyErr_Occurred()) SWIG_fail
;
20550 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
20557 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20558 PyObject
*resultobj
;
20559 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20561 PyObject
* obj0
= 0 ;
20562 PyObject
* obj1
= 0 ;
20563 char *kwnames
[] = {
20564 (char *) "self",(char *) "m_code", NULL
20567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20570 arg2
= (int)SWIG_As_int(obj1
);
20571 if (PyErr_Occurred()) SWIG_fail
;
20572 if (arg1
) (arg1
)->m_code
= arg2
;
20574 Py_INCREF(Py_None
); resultobj
= Py_None
;
20581 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20582 PyObject
*resultobj
;
20583 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20585 PyObject
* obj0
= 0 ;
20586 char *kwnames
[] = {
20587 (char *) "self", NULL
20590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
20591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20593 result
= (int) ((arg1
)->m_code
);
20595 resultobj
= SWIG_From_int((int)result
);
20602 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20603 PyObject
*resultobj
;
20604 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20606 PyObject
* obj0
= 0 ;
20607 PyObject
* obj1
= 0 ;
20608 char *kwnames
[] = {
20609 (char *) "self",(char *) "m_oldItemIndex", NULL
20612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20615 arg2
= (long)SWIG_As_long(obj1
);
20616 if (PyErr_Occurred()) SWIG_fail
;
20617 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
20619 Py_INCREF(Py_None
); resultobj
= Py_None
;
20626 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20627 PyObject
*resultobj
;
20628 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20630 PyObject
* obj0
= 0 ;
20631 char *kwnames
[] = {
20632 (char *) "self", NULL
20635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
20636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20638 result
= (long) ((arg1
)->m_oldItemIndex
);
20640 resultobj
= SWIG_From_long((long)result
);
20647 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20648 PyObject
*resultobj
;
20649 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20651 PyObject
* obj0
= 0 ;
20652 PyObject
* obj1
= 0 ;
20653 char *kwnames
[] = {
20654 (char *) "self",(char *) "m_itemIndex", NULL
20657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20660 arg2
= (long)SWIG_As_long(obj1
);
20661 if (PyErr_Occurred()) SWIG_fail
;
20662 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
20664 Py_INCREF(Py_None
); resultobj
= Py_None
;
20671 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20672 PyObject
*resultobj
;
20673 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20675 PyObject
* obj0
= 0 ;
20676 char *kwnames
[] = {
20677 (char *) "self", NULL
20680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
20681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20683 result
= (long) ((arg1
)->m_itemIndex
);
20685 resultobj
= SWIG_From_long((long)result
);
20692 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20693 PyObject
*resultobj
;
20694 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20696 PyObject
* obj0
= 0 ;
20697 PyObject
* obj1
= 0 ;
20698 char *kwnames
[] = {
20699 (char *) "self",(char *) "m_col", NULL
20702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20705 arg2
= (int)SWIG_As_int(obj1
);
20706 if (PyErr_Occurred()) SWIG_fail
;
20707 if (arg1
) (arg1
)->m_col
= arg2
;
20709 Py_INCREF(Py_None
); resultobj
= Py_None
;
20716 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20717 PyObject
*resultobj
;
20718 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20720 PyObject
* obj0
= 0 ;
20721 char *kwnames
[] = {
20722 (char *) "self", NULL
20725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
20726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20728 result
= (int) ((arg1
)->m_col
);
20730 resultobj
= SWIG_From_int((int)result
);
20737 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20738 PyObject
*resultobj
;
20739 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20740 wxPoint
*arg2
= (wxPoint
*) 0 ;
20741 PyObject
* obj0
= 0 ;
20742 PyObject
* obj1
= 0 ;
20743 char *kwnames
[] = {
20744 (char *) "self",(char *) "m_pointDrag", NULL
20747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20750 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
20751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20752 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
20754 Py_INCREF(Py_None
); resultobj
= Py_None
;
20761 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20762 PyObject
*resultobj
;
20763 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20765 PyObject
* obj0
= 0 ;
20766 char *kwnames
[] = {
20767 (char *) "self", NULL
20770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
20771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20773 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
20775 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
20782 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20783 PyObject
*resultobj
;
20784 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20785 wxListItem
*result
;
20786 PyObject
* obj0
= 0 ;
20787 char *kwnames
[] = {
20788 (char *) "self", NULL
20791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
20792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20794 result
= (wxListItem
*)& ((arg1
)->m_item
);
20797 resultobj
= wxPyMake_wxObject(result
, 0);
20805 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20806 PyObject
*resultobj
;
20807 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20809 PyObject
* obj0
= 0 ;
20810 char *kwnames
[] = {
20811 (char *) "self", NULL
20814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20819 result
= (int)(arg1
)->GetKeyCode();
20821 wxPyEndAllowThreads(__tstate
);
20822 if (PyErr_Occurred()) SWIG_fail
;
20824 resultobj
= SWIG_From_int((int)result
);
20831 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20832 PyObject
*resultobj
;
20833 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20835 PyObject
* obj0
= 0 ;
20836 char *kwnames
[] = {
20837 (char *) "self", NULL
20840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
20841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20845 result
= (long)(arg1
)->GetIndex();
20847 wxPyEndAllowThreads(__tstate
);
20848 if (PyErr_Occurred()) SWIG_fail
;
20850 resultobj
= SWIG_From_long((long)result
);
20857 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20858 PyObject
*resultobj
;
20859 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20861 PyObject
* obj0
= 0 ;
20862 char *kwnames
[] = {
20863 (char *) "self", NULL
20866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
20867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20871 result
= (int)(arg1
)->GetColumn();
20873 wxPyEndAllowThreads(__tstate
);
20874 if (PyErr_Occurred()) SWIG_fail
;
20876 resultobj
= SWIG_From_int((int)result
);
20883 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20884 PyObject
*resultobj
;
20885 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20887 PyObject
* obj0
= 0 ;
20888 char *kwnames
[] = {
20889 (char *) "self", NULL
20892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
20893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20897 result
= (arg1
)->GetPoint();
20899 wxPyEndAllowThreads(__tstate
);
20900 if (PyErr_Occurred()) SWIG_fail
;
20903 wxPoint
* resultptr
;
20904 resultptr
= new wxPoint((wxPoint
&) result
);
20905 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
20913 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20914 PyObject
*resultobj
;
20915 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20917 PyObject
* obj0
= 0 ;
20918 char *kwnames
[] = {
20919 (char *) "self", NULL
20922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
20923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20928 wxString
const &_result_ref
= (arg1
)->GetLabel();
20929 result
= (wxString
*) &_result_ref
;
20932 wxPyEndAllowThreads(__tstate
);
20933 if (PyErr_Occurred()) SWIG_fail
;
20937 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20939 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20948 static PyObject
*_wrap_ListEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20949 PyObject
*resultobj
;
20950 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20952 PyObject
* obj0
= 0 ;
20953 char *kwnames
[] = {
20954 (char *) "self", NULL
20957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
20958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20963 wxString
const &_result_ref
= (arg1
)->GetText();
20964 result
= (wxString
*) &_result_ref
;
20967 wxPyEndAllowThreads(__tstate
);
20968 if (PyErr_Occurred()) SWIG_fail
;
20972 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20974 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20983 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20984 PyObject
*resultobj
;
20985 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20987 PyObject
* obj0
= 0 ;
20988 char *kwnames
[] = {
20989 (char *) "self", NULL
20992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
20993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20997 result
= (int)(arg1
)->GetImage();
20999 wxPyEndAllowThreads(__tstate
);
21000 if (PyErr_Occurred()) SWIG_fail
;
21002 resultobj
= SWIG_From_int((int)result
);
21009 static PyObject
*_wrap_ListEvent_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21010 PyObject
*resultobj
;
21011 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21013 PyObject
* obj0
= 0 ;
21014 char *kwnames
[] = {
21015 (char *) "self", NULL
21018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
21019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21023 result
= (long)(arg1
)->GetData();
21025 wxPyEndAllowThreads(__tstate
);
21026 if (PyErr_Occurred()) SWIG_fail
;
21028 resultobj
= SWIG_From_long((long)result
);
21035 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21036 PyObject
*resultobj
;
21037 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21039 PyObject
* obj0
= 0 ;
21040 char *kwnames
[] = {
21041 (char *) "self", NULL
21044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
21045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21049 result
= (long)(arg1
)->GetMask();
21051 wxPyEndAllowThreads(__tstate
);
21052 if (PyErr_Occurred()) SWIG_fail
;
21054 resultobj
= SWIG_From_long((long)result
);
21061 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21062 PyObject
*resultobj
;
21063 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21064 wxListItem
*result
;
21065 PyObject
* obj0
= 0 ;
21066 char *kwnames
[] = {
21067 (char *) "self", NULL
21070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
21071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21076 wxListItem
const &_result_ref
= (arg1
)->GetItem();
21077 result
= (wxListItem
*) &_result_ref
;
21080 wxPyEndAllowThreads(__tstate
);
21081 if (PyErr_Occurred()) SWIG_fail
;
21083 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
21090 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21091 PyObject
*resultobj
;
21092 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21094 PyObject
* obj0
= 0 ;
21095 char *kwnames
[] = {
21096 (char *) "self", NULL
21099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
21100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21104 result
= (long)(arg1
)->GetCacheFrom();
21106 wxPyEndAllowThreads(__tstate
);
21107 if (PyErr_Occurred()) SWIG_fail
;
21109 resultobj
= SWIG_From_long((long)result
);
21116 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21117 PyObject
*resultobj
;
21118 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21120 PyObject
* obj0
= 0 ;
21121 char *kwnames
[] = {
21122 (char *) "self", NULL
21125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
21126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21130 result
= (long)(arg1
)->GetCacheTo();
21132 wxPyEndAllowThreads(__tstate
);
21133 if (PyErr_Occurred()) SWIG_fail
;
21135 resultobj
= SWIG_From_long((long)result
);
21142 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21143 PyObject
*resultobj
;
21144 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21146 PyObject
* obj0
= 0 ;
21147 char *kwnames
[] = {
21148 (char *) "self", NULL
21151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
21152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21156 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
21158 wxPyEndAllowThreads(__tstate
);
21159 if (PyErr_Occurred()) SWIG_fail
;
21162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21170 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21171 PyObject
*resultobj
;
21172 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21174 PyObject
* obj0
= 0 ;
21175 PyObject
* obj1
= 0 ;
21176 char *kwnames
[] = {
21177 (char *) "self",(char *) "editCancelled", NULL
21180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
21181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21183 arg2
= (bool)SWIG_As_bool(obj1
);
21184 if (PyErr_Occurred()) SWIG_fail
;
21186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21187 (arg1
)->SetEditCanceled(arg2
);
21189 wxPyEndAllowThreads(__tstate
);
21190 if (PyErr_Occurred()) SWIG_fail
;
21192 Py_INCREF(Py_None
); resultobj
= Py_None
;
21199 static PyObject
* ListEvent_swigregister(PyObject
*, PyObject
*args
) {
21201 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21202 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
21204 return Py_BuildValue((char *)"");
21206 static PyObject
*_wrap_new_ListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21207 PyObject
*resultobj
;
21208 wxWindow
*arg1
= (wxWindow
*) 0 ;
21209 int arg2
= (int) -1 ;
21210 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21211 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21212 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21213 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21214 long arg5
= (long) wxLC_ICON
;
21215 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
21216 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
21217 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
21218 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21219 wxPyListCtrl
*result
;
21222 bool temp7
= False
;
21223 PyObject
* obj0
= 0 ;
21224 PyObject
* obj1
= 0 ;
21225 PyObject
* obj2
= 0 ;
21226 PyObject
* obj3
= 0 ;
21227 PyObject
* obj4
= 0 ;
21228 PyObject
* obj5
= 0 ;
21229 PyObject
* obj6
= 0 ;
21230 char *kwnames
[] = {
21231 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21238 arg2
= (int)SWIG_As_int(obj1
);
21239 if (PyErr_Occurred()) SWIG_fail
;
21244 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21250 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21254 arg5
= (long)SWIG_As_long(obj4
);
21255 if (PyErr_Occurred()) SWIG_fail
;
21258 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
21259 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21261 if (arg6
== NULL
) {
21262 PyErr_SetString(PyExc_TypeError
,"null reference");
21268 arg7
= wxString_in_helper(obj6
);
21269 if (arg7
== NULL
) SWIG_fail
;
21274 if (!wxPyCheckForApp()) SWIG_fail
;
21275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21276 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
21278 wxPyEndAllowThreads(__tstate
);
21279 if (PyErr_Occurred()) SWIG_fail
;
21281 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21296 static PyObject
*_wrap_new_PreListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21297 PyObject
*resultobj
;
21298 wxPyListCtrl
*result
;
21299 char *kwnames
[] = {
21303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
21305 if (!wxPyCheckForApp()) SWIG_fail
;
21306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21307 result
= (wxPyListCtrl
*)new wxPyListCtrl();
21309 wxPyEndAllowThreads(__tstate
);
21310 if (PyErr_Occurred()) SWIG_fail
;
21312 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21319 static PyObject
*_wrap_ListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21320 PyObject
*resultobj
;
21321 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21322 wxWindow
*arg2
= (wxWindow
*) 0 ;
21323 int arg3
= (int) -1 ;
21324 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21325 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21326 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21327 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21328 long arg6
= (long) wxLC_ICON
;
21329 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
21330 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
21331 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
21332 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21336 bool temp8
= False
;
21337 PyObject
* obj0
= 0 ;
21338 PyObject
* obj1
= 0 ;
21339 PyObject
* obj2
= 0 ;
21340 PyObject
* obj3
= 0 ;
21341 PyObject
* obj4
= 0 ;
21342 PyObject
* obj5
= 0 ;
21343 PyObject
* obj6
= 0 ;
21344 PyObject
* obj7
= 0 ;
21345 char *kwnames
[] = {
21346 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
21350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21352 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21355 arg3
= (int)SWIG_As_int(obj2
);
21356 if (PyErr_Occurred()) SWIG_fail
;
21361 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21367 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21371 arg6
= (long)SWIG_As_long(obj5
);
21372 if (PyErr_Occurred()) SWIG_fail
;
21375 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
21376 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21378 if (arg7
== NULL
) {
21379 PyErr_SetString(PyExc_TypeError
,"null reference");
21385 arg8
= wxString_in_helper(obj7
);
21386 if (arg8
== NULL
) SWIG_fail
;
21391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21392 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
21394 wxPyEndAllowThreads(__tstate
);
21395 if (PyErr_Occurred()) SWIG_fail
;
21398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21414 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21415 PyObject
*resultobj
;
21416 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21417 PyObject
*arg2
= (PyObject
*) 0 ;
21418 PyObject
*arg3
= (PyObject
*) 0 ;
21419 PyObject
* obj0
= 0 ;
21420 PyObject
* obj1
= 0 ;
21421 PyObject
* obj2
= 0 ;
21422 char *kwnames
[] = {
21423 (char *) "self",(char *) "self",(char *) "_class", NULL
21426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21433 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21435 wxPyEndAllowThreads(__tstate
);
21436 if (PyErr_Occurred()) SWIG_fail
;
21438 Py_INCREF(Py_None
); resultobj
= Py_None
;
21445 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21446 PyObject
*resultobj
;
21447 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21448 wxColour
*arg2
= 0 ;
21451 PyObject
* obj0
= 0 ;
21452 PyObject
* obj1
= 0 ;
21453 char *kwnames
[] = {
21454 (char *) "self",(char *) "col", NULL
21457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21462 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21466 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
21468 wxPyEndAllowThreads(__tstate
);
21469 if (PyErr_Occurred()) SWIG_fail
;
21472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21480 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21481 PyObject
*resultobj
;
21482 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21483 wxColour
*arg2
= 0 ;
21486 PyObject
* obj0
= 0 ;
21487 PyObject
* obj1
= 0 ;
21488 char *kwnames
[] = {
21489 (char *) "self",(char *) "col", NULL
21492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21497 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21501 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21503 wxPyEndAllowThreads(__tstate
);
21504 if (PyErr_Occurred()) SWIG_fail
;
21507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21515 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21516 PyObject
*resultobj
;
21517 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21519 wxListItem
*result
;
21520 PyObject
* obj0
= 0 ;
21521 PyObject
* obj1
= 0 ;
21522 char *kwnames
[] = {
21523 (char *) "self",(char *) "col", NULL
21526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21529 arg2
= (int)SWIG_As_int(obj1
);
21530 if (PyErr_Occurred()) SWIG_fail
;
21532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21533 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
21535 wxPyEndAllowThreads(__tstate
);
21536 if (PyErr_Occurred()) SWIG_fail
;
21539 resultobj
= wxPyMake_wxObject(result
, 0);
21547 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21548 PyObject
*resultobj
;
21549 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21551 wxListItem
*arg3
= 0 ;
21553 PyObject
* obj0
= 0 ;
21554 PyObject
* obj1
= 0 ;
21555 PyObject
* obj2
= 0 ;
21556 char *kwnames
[] = {
21557 (char *) "self",(char *) "col",(char *) "item", NULL
21560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21563 arg2
= (int)SWIG_As_int(obj1
);
21564 if (PyErr_Occurred()) SWIG_fail
;
21565 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
21566 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21568 if (arg3
== NULL
) {
21569 PyErr_SetString(PyExc_TypeError
,"null reference");
21573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21574 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
21576 wxPyEndAllowThreads(__tstate
);
21577 if (PyErr_Occurred()) SWIG_fail
;
21580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21588 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21589 PyObject
*resultobj
;
21590 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21593 PyObject
* obj0
= 0 ;
21594 PyObject
* obj1
= 0 ;
21595 char *kwnames
[] = {
21596 (char *) "self",(char *) "col", NULL
21599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
21600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21602 arg2
= (int)SWIG_As_int(obj1
);
21603 if (PyErr_Occurred()) SWIG_fail
;
21605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21606 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
21608 wxPyEndAllowThreads(__tstate
);
21609 if (PyErr_Occurred()) SWIG_fail
;
21611 resultobj
= SWIG_From_int((int)result
);
21618 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21619 PyObject
*resultobj
;
21620 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21624 PyObject
* obj0
= 0 ;
21625 PyObject
* obj1
= 0 ;
21626 PyObject
* obj2
= 0 ;
21627 char *kwnames
[] = {
21628 (char *) "self",(char *) "col",(char *) "width", NULL
21631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21634 arg2
= (int)SWIG_As_int(obj1
);
21635 if (PyErr_Occurred()) SWIG_fail
;
21636 arg3
= (int)SWIG_As_int(obj2
);
21637 if (PyErr_Occurred()) SWIG_fail
;
21639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21640 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
21642 wxPyEndAllowThreads(__tstate
);
21643 if (PyErr_Occurred()) SWIG_fail
;
21646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21654 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21655 PyObject
*resultobj
;
21656 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21658 PyObject
* obj0
= 0 ;
21659 char *kwnames
[] = {
21660 (char *) "self", NULL
21663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
21664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21668 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
21670 wxPyEndAllowThreads(__tstate
);
21671 if (PyErr_Occurred()) SWIG_fail
;
21673 resultobj
= SWIG_From_int((int)result
);
21680 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21681 PyObject
*resultobj
;
21682 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21684 PyObject
* obj0
= 0 ;
21685 char *kwnames
[] = {
21686 (char *) "self", NULL
21689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
21690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21694 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
21696 wxPyEndAllowThreads(__tstate
);
21697 if (PyErr_Occurred()) SWIG_fail
;
21700 wxRect
* resultptr
;
21701 resultptr
= new wxRect((wxRect
&) result
);
21702 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
21710 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21711 PyObject
*resultobj
;
21712 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21714 int arg3
= (int) 0 ;
21715 wxListItem
*result
;
21716 PyObject
* obj0
= 0 ;
21717 PyObject
* obj1
= 0 ;
21718 PyObject
* obj2
= 0 ;
21719 char *kwnames
[] = {
21720 (char *) "self",(char *) "itemId",(char *) "col", NULL
21723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21726 arg2
= (long)SWIG_As_long(obj1
);
21727 if (PyErr_Occurred()) SWIG_fail
;
21729 arg3
= (int)SWIG_As_int(obj2
);
21730 if (PyErr_Occurred()) SWIG_fail
;
21733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21734 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
21736 wxPyEndAllowThreads(__tstate
);
21737 if (PyErr_Occurred()) SWIG_fail
;
21740 resultobj
= wxPyMake_wxObject(result
, 0);
21748 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21749 PyObject
*resultobj
;
21750 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21751 wxListItem
*arg2
= 0 ;
21753 PyObject
* obj0
= 0 ;
21754 PyObject
* obj1
= 0 ;
21755 char *kwnames
[] = {
21756 (char *) "self",(char *) "info", NULL
21759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21762 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
21763 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21765 if (arg2
== NULL
) {
21766 PyErr_SetString(PyExc_TypeError
,"null reference");
21770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21771 result
= (bool)(arg1
)->SetItem(*arg2
);
21773 wxPyEndAllowThreads(__tstate
);
21774 if (PyErr_Occurred()) SWIG_fail
;
21777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21785 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21786 PyObject
*resultobj
;
21787 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21790 wxString
*arg4
= 0 ;
21791 int arg5
= (int) -1 ;
21793 bool temp4
= False
;
21794 PyObject
* obj0
= 0 ;
21795 PyObject
* obj1
= 0 ;
21796 PyObject
* obj2
= 0 ;
21797 PyObject
* obj3
= 0 ;
21798 PyObject
* obj4
= 0 ;
21799 char *kwnames
[] = {
21800 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
21803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21806 arg2
= (long)SWIG_As_long(obj1
);
21807 if (PyErr_Occurred()) SWIG_fail
;
21808 arg3
= (int)SWIG_As_int(obj2
);
21809 if (PyErr_Occurred()) SWIG_fail
;
21811 arg4
= wxString_in_helper(obj3
);
21812 if (arg4
== NULL
) SWIG_fail
;
21816 arg5
= (int)SWIG_As_int(obj4
);
21817 if (PyErr_Occurred()) SWIG_fail
;
21820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21821 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
21823 wxPyEndAllowThreads(__tstate
);
21824 if (PyErr_Occurred()) SWIG_fail
;
21826 resultobj
= SWIG_From_long((long)result
);
21841 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21842 PyObject
*resultobj
;
21843 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21847 PyObject
* obj0
= 0 ;
21848 PyObject
* obj1
= 0 ;
21849 PyObject
* obj2
= 0 ;
21850 char *kwnames
[] = {
21851 (char *) "self",(char *) "item",(char *) "stateMask", NULL
21854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21857 arg2
= (long)SWIG_As_long(obj1
);
21858 if (PyErr_Occurred()) SWIG_fail
;
21859 arg3
= (long)SWIG_As_long(obj2
);
21860 if (PyErr_Occurred()) SWIG_fail
;
21862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21863 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
21865 wxPyEndAllowThreads(__tstate
);
21866 if (PyErr_Occurred()) SWIG_fail
;
21868 resultobj
= SWIG_From_int((int)result
);
21875 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21876 PyObject
*resultobj
;
21877 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21882 PyObject
* obj0
= 0 ;
21883 PyObject
* obj1
= 0 ;
21884 PyObject
* obj2
= 0 ;
21885 PyObject
* obj3
= 0 ;
21886 char *kwnames
[] = {
21887 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
21890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21893 arg2
= (long)SWIG_As_long(obj1
);
21894 if (PyErr_Occurred()) SWIG_fail
;
21895 arg3
= (long)SWIG_As_long(obj2
);
21896 if (PyErr_Occurred()) SWIG_fail
;
21897 arg4
= (long)SWIG_As_long(obj3
);
21898 if (PyErr_Occurred()) SWIG_fail
;
21900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21901 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
21903 wxPyEndAllowThreads(__tstate
);
21904 if (PyErr_Occurred()) SWIG_fail
;
21907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21915 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21916 PyObject
*resultobj
;
21917 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21922 PyObject
* obj0
= 0 ;
21923 PyObject
* obj1
= 0 ;
21924 PyObject
* obj2
= 0 ;
21925 PyObject
* obj3
= 0 ;
21926 char *kwnames
[] = {
21927 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
21930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21933 arg2
= (long)SWIG_As_long(obj1
);
21934 if (PyErr_Occurred()) SWIG_fail
;
21935 arg3
= (int)SWIG_As_int(obj2
);
21936 if (PyErr_Occurred()) SWIG_fail
;
21937 arg4
= (int)SWIG_As_int(obj3
);
21938 if (PyErr_Occurred()) SWIG_fail
;
21940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21941 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
21943 wxPyEndAllowThreads(__tstate
);
21944 if (PyErr_Occurred()) SWIG_fail
;
21947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21955 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21956 PyObject
*resultobj
;
21957 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21960 PyObject
* obj0
= 0 ;
21961 PyObject
* obj1
= 0 ;
21962 char *kwnames
[] = {
21963 (char *) "self",(char *) "item", NULL
21966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
21967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21969 arg2
= (long)SWIG_As_long(obj1
);
21970 if (PyErr_Occurred()) SWIG_fail
;
21972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21973 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
21975 wxPyEndAllowThreads(__tstate
);
21976 if (PyErr_Occurred()) SWIG_fail
;
21980 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21982 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21991 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21992 PyObject
*resultobj
;
21993 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21995 wxString
*arg3
= 0 ;
21996 bool temp3
= False
;
21997 PyObject
* obj0
= 0 ;
21998 PyObject
* obj1
= 0 ;
21999 PyObject
* obj2
= 0 ;
22000 char *kwnames
[] = {
22001 (char *) "self",(char *) "item",(char *) "str", NULL
22004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22007 arg2
= (long)SWIG_As_long(obj1
);
22008 if (PyErr_Occurred()) SWIG_fail
;
22010 arg3
= wxString_in_helper(obj2
);
22011 if (arg3
== NULL
) SWIG_fail
;
22015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22016 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
22018 wxPyEndAllowThreads(__tstate
);
22019 if (PyErr_Occurred()) SWIG_fail
;
22021 Py_INCREF(Py_None
); resultobj
= Py_None
;
22036 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22037 PyObject
*resultobj
;
22038 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22041 PyObject
* obj0
= 0 ;
22042 PyObject
* obj1
= 0 ;
22043 char *kwnames
[] = {
22044 (char *) "self",(char *) "item", NULL
22047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
22048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22050 arg2
= (long)SWIG_As_long(obj1
);
22051 if (PyErr_Occurred()) SWIG_fail
;
22053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22054 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
22056 wxPyEndAllowThreads(__tstate
);
22057 if (PyErr_Occurred()) SWIG_fail
;
22059 resultobj
= SWIG_From_long((long)result
);
22066 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22067 PyObject
*resultobj
;
22068 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22072 PyObject
* obj0
= 0 ;
22073 PyObject
* obj1
= 0 ;
22074 PyObject
* obj2
= 0 ;
22075 char *kwnames
[] = {
22076 (char *) "self",(char *) "item",(char *) "data", NULL
22079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22082 arg2
= (long)SWIG_As_long(obj1
);
22083 if (PyErr_Occurred()) SWIG_fail
;
22084 arg3
= (long)SWIG_As_long(obj2
);
22085 if (PyErr_Occurred()) SWIG_fail
;
22087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22088 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
22090 wxPyEndAllowThreads(__tstate
);
22091 if (PyErr_Occurred()) SWIG_fail
;
22094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22102 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22103 PyObject
*resultobj
;
22104 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22107 PyObject
* obj0
= 0 ;
22108 PyObject
* obj1
= 0 ;
22109 char *kwnames
[] = {
22110 (char *) "self",(char *) "item", NULL
22113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
22114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22116 arg2
= (long)SWIG_As_long(obj1
);
22117 if (PyErr_Occurred()) SWIG_fail
;
22119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22120 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
22122 wxPyEndAllowThreads(__tstate
);
22123 if (PyErr_Occurred()) SWIG_fail
;
22126 wxPoint
* resultptr
;
22127 resultptr
= new wxPoint((wxPoint
&) result
);
22128 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22136 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22137 PyObject
*resultobj
;
22138 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22140 int arg3
= (int) wxLIST_RECT_BOUNDS
;
22142 PyObject
* obj0
= 0 ;
22143 PyObject
* obj1
= 0 ;
22144 PyObject
* obj2
= 0 ;
22145 char *kwnames
[] = {
22146 (char *) "self",(char *) "item",(char *) "code", NULL
22149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22152 arg2
= (long)SWIG_As_long(obj1
);
22153 if (PyErr_Occurred()) SWIG_fail
;
22155 arg3
= (int)SWIG_As_int(obj2
);
22156 if (PyErr_Occurred()) SWIG_fail
;
22159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22160 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
22162 wxPyEndAllowThreads(__tstate
);
22163 if (PyErr_Occurred()) SWIG_fail
;
22166 wxRect
* resultptr
;
22167 resultptr
= new wxRect((wxRect
&) result
);
22168 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22176 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22177 PyObject
*resultobj
;
22178 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22180 wxPoint
*arg3
= 0 ;
22183 PyObject
* obj0
= 0 ;
22184 PyObject
* obj1
= 0 ;
22185 PyObject
* obj2
= 0 ;
22186 char *kwnames
[] = {
22187 (char *) "self",(char *) "item",(char *) "pos", NULL
22190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22193 arg2
= (long)SWIG_As_long(obj1
);
22194 if (PyErr_Occurred()) SWIG_fail
;
22197 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22201 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
22203 wxPyEndAllowThreads(__tstate
);
22204 if (PyErr_Occurred()) SWIG_fail
;
22207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22215 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22216 PyObject
*resultobj
;
22217 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22219 PyObject
* obj0
= 0 ;
22220 char *kwnames
[] = {
22221 (char *) "self", NULL
22224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
22225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22229 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
22231 wxPyEndAllowThreads(__tstate
);
22232 if (PyErr_Occurred()) SWIG_fail
;
22234 resultobj
= SWIG_From_int((int)result
);
22241 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22242 PyObject
*resultobj
;
22243 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22245 PyObject
* obj0
= 0 ;
22246 char *kwnames
[] = {
22247 (char *) "self", NULL
22250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
22251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22255 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
22257 wxPyEndAllowThreads(__tstate
);
22258 if (PyErr_Occurred()) SWIG_fail
;
22260 resultobj
= SWIG_From_int((int)result
);
22267 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22268 PyObject
*resultobj
;
22269 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22271 PyObject
* obj0
= 0 ;
22272 char *kwnames
[] = {
22273 (char *) "self", NULL
22276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
22277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22281 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
22283 wxPyEndAllowThreads(__tstate
);
22284 if (PyErr_Occurred()) SWIG_fail
;
22287 wxSize
* resultptr
;
22288 resultptr
= new wxSize((wxSize
&) result
);
22289 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22297 static PyObject
*_wrap_ListCtrl_SetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22298 PyObject
*resultobj
;
22299 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22301 bool arg3
= (bool) False
;
22302 PyObject
* obj0
= 0 ;
22303 PyObject
* obj1
= 0 ;
22304 PyObject
* obj2
= 0 ;
22305 char *kwnames
[] = {
22306 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
22309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetItemSpacing",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22312 arg2
= (int)SWIG_As_int(obj1
);
22313 if (PyErr_Occurred()) SWIG_fail
;
22315 arg3
= (bool)SWIG_As_bool(obj2
);
22316 if (PyErr_Occurred()) SWIG_fail
;
22319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22320 (arg1
)->SetItemSpacing(arg2
,arg3
);
22322 wxPyEndAllowThreads(__tstate
);
22323 if (PyErr_Occurred()) SWIG_fail
;
22325 Py_INCREF(Py_None
); resultobj
= Py_None
;
22332 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22333 PyObject
*resultobj
;
22334 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22336 PyObject
* obj0
= 0 ;
22337 char *kwnames
[] = {
22338 (char *) "self", NULL
22341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
22342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22346 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
22348 wxPyEndAllowThreads(__tstate
);
22349 if (PyErr_Occurred()) SWIG_fail
;
22351 resultobj
= SWIG_From_int((int)result
);
22358 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22359 PyObject
*resultobj
;
22360 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22362 PyObject
* obj0
= 0 ;
22363 char *kwnames
[] = {
22364 (char *) "self", NULL
22367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
22368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22372 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
22374 wxPyEndAllowThreads(__tstate
);
22375 if (PyErr_Occurred()) SWIG_fail
;
22378 wxColour
* resultptr
;
22379 resultptr
= new wxColour((wxColour
&) result
);
22380 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22388 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22389 PyObject
*resultobj
;
22390 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22391 wxColour
*arg2
= 0 ;
22393 PyObject
* obj0
= 0 ;
22394 PyObject
* obj1
= 0 ;
22395 char *kwnames
[] = {
22396 (char *) "self",(char *) "col", NULL
22399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22404 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22408 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22410 wxPyEndAllowThreads(__tstate
);
22411 if (PyErr_Occurred()) SWIG_fail
;
22413 Py_INCREF(Py_None
); resultobj
= Py_None
;
22420 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22421 PyObject
*resultobj
;
22422 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22424 PyObject
* obj0
= 0 ;
22425 char *kwnames
[] = {
22426 (char *) "self", NULL
22429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
22430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22434 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
22436 wxPyEndAllowThreads(__tstate
);
22437 if (PyErr_Occurred()) SWIG_fail
;
22439 resultobj
= SWIG_From_long((long)result
);
22446 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22447 PyObject
*resultobj
;
22448 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22450 bool arg3
= (bool) True
;
22451 PyObject
* obj0
= 0 ;
22452 PyObject
* obj1
= 0 ;
22453 PyObject
* obj2
= 0 ;
22454 char *kwnames
[] = {
22455 (char *) "self",(char *) "style",(char *) "add", NULL
22458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22461 arg2
= (long)SWIG_As_long(obj1
);
22462 if (PyErr_Occurred()) SWIG_fail
;
22464 arg3
= (bool)SWIG_As_bool(obj2
);
22465 if (PyErr_Occurred()) SWIG_fail
;
22468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22469 (arg1
)->SetSingleStyle(arg2
,arg3
);
22471 wxPyEndAllowThreads(__tstate
);
22472 if (PyErr_Occurred()) SWIG_fail
;
22474 Py_INCREF(Py_None
); resultobj
= Py_None
;
22481 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22482 PyObject
*resultobj
;
22483 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22485 PyObject
* obj0
= 0 ;
22486 PyObject
* obj1
= 0 ;
22487 char *kwnames
[] = {
22488 (char *) "self",(char *) "style", NULL
22491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
22492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22494 arg2
= (long)SWIG_As_long(obj1
);
22495 if (PyErr_Occurred()) SWIG_fail
;
22497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22498 (arg1
)->SetWindowStyleFlag(arg2
);
22500 wxPyEndAllowThreads(__tstate
);
22501 if (PyErr_Occurred()) SWIG_fail
;
22503 Py_INCREF(Py_None
); resultobj
= Py_None
;
22510 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22511 PyObject
*resultobj
;
22512 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22514 int arg3
= (int) wxLIST_NEXT_ALL
;
22515 int arg4
= (int) wxLIST_STATE_DONTCARE
;
22517 PyObject
* obj0
= 0 ;
22518 PyObject
* obj1
= 0 ;
22519 PyObject
* obj2
= 0 ;
22520 PyObject
* obj3
= 0 ;
22521 char *kwnames
[] = {
22522 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
22525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22528 arg2
= (long)SWIG_As_long(obj1
);
22529 if (PyErr_Occurred()) SWIG_fail
;
22531 arg3
= (int)SWIG_As_int(obj2
);
22532 if (PyErr_Occurred()) SWIG_fail
;
22535 arg4
= (int)SWIG_As_int(obj3
);
22536 if (PyErr_Occurred()) SWIG_fail
;
22539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22540 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
22542 wxPyEndAllowThreads(__tstate
);
22543 if (PyErr_Occurred()) SWIG_fail
;
22545 resultobj
= SWIG_From_long((long)result
);
22552 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22553 PyObject
*resultobj
;
22554 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22556 wxImageList
*result
;
22557 PyObject
* obj0
= 0 ;
22558 PyObject
* obj1
= 0 ;
22559 char *kwnames
[] = {
22560 (char *) "self",(char *) "which", NULL
22563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
22564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22566 arg2
= (int)SWIG_As_int(obj1
);
22567 if (PyErr_Occurred()) SWIG_fail
;
22569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22570 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
22572 wxPyEndAllowThreads(__tstate
);
22573 if (PyErr_Occurred()) SWIG_fail
;
22576 resultobj
= wxPyMake_wxObject(result
, 0);
22584 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22585 PyObject
*resultobj
;
22586 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22587 wxImageList
*arg2
= (wxImageList
*) 0 ;
22589 PyObject
* obj0
= 0 ;
22590 PyObject
* obj1
= 0 ;
22591 PyObject
* obj2
= 0 ;
22592 char *kwnames
[] = {
22593 (char *) "self",(char *) "imageList",(char *) "which", NULL
22596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22599 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22601 arg3
= (int)SWIG_As_int(obj2
);
22602 if (PyErr_Occurred()) SWIG_fail
;
22604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22605 (arg1
)->SetImageList(arg2
,arg3
);
22607 wxPyEndAllowThreads(__tstate
);
22608 if (PyErr_Occurred()) SWIG_fail
;
22610 Py_INCREF(Py_None
); resultobj
= Py_None
;
22617 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22618 PyObject
*resultobj
;
22619 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22620 wxImageList
*arg2
= (wxImageList
*) 0 ;
22622 PyObject
* obj0
= 0 ;
22623 PyObject
* obj1
= 0 ;
22624 PyObject
* obj2
= 0 ;
22625 char *kwnames
[] = {
22626 (char *) "self",(char *) "imageList",(char *) "which", NULL
22629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22632 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22633 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22634 arg3
= (int)SWIG_As_int(obj2
);
22635 if (PyErr_Occurred()) SWIG_fail
;
22637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22638 (arg1
)->AssignImageList(arg2
,arg3
);
22640 wxPyEndAllowThreads(__tstate
);
22641 if (PyErr_Occurred()) SWIG_fail
;
22643 Py_INCREF(Py_None
); resultobj
= Py_None
;
22650 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22651 PyObject
*resultobj
;
22652 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22654 PyObject
* obj0
= 0 ;
22655 char *kwnames
[] = {
22656 (char *) "self", NULL
22659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
22660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22664 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
22666 wxPyEndAllowThreads(__tstate
);
22667 if (PyErr_Occurred()) SWIG_fail
;
22670 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22678 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22679 PyObject
*resultobj
;
22680 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22682 PyObject
* obj0
= 0 ;
22683 char *kwnames
[] = {
22684 (char *) "self", NULL
22687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
22688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22692 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
22694 wxPyEndAllowThreads(__tstate
);
22695 if (PyErr_Occurred()) SWIG_fail
;
22698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22706 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22707 PyObject
*resultobj
;
22708 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22710 PyObject
* obj0
= 0 ;
22711 PyObject
* obj1
= 0 ;
22712 char *kwnames
[] = {
22713 (char *) "self",(char *) "item", NULL
22716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22719 arg2
= (long)SWIG_As_long(obj1
);
22720 if (PyErr_Occurred()) SWIG_fail
;
22722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22723 (arg1
)->RefreshItem(arg2
);
22725 wxPyEndAllowThreads(__tstate
);
22726 if (PyErr_Occurred()) SWIG_fail
;
22728 Py_INCREF(Py_None
); resultobj
= Py_None
;
22735 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22736 PyObject
*resultobj
;
22737 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22740 PyObject
* obj0
= 0 ;
22741 PyObject
* obj1
= 0 ;
22742 PyObject
* obj2
= 0 ;
22743 char *kwnames
[] = {
22744 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
22747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22750 arg2
= (long)SWIG_As_long(obj1
);
22751 if (PyErr_Occurred()) SWIG_fail
;
22752 arg3
= (long)SWIG_As_long(obj2
);
22753 if (PyErr_Occurred()) SWIG_fail
;
22755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22756 (arg1
)->RefreshItems(arg2
,arg3
);
22758 wxPyEndAllowThreads(__tstate
);
22759 if (PyErr_Occurred()) SWIG_fail
;
22761 Py_INCREF(Py_None
); resultobj
= Py_None
;
22768 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22769 PyObject
*resultobj
;
22770 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22771 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
22773 PyObject
* obj0
= 0 ;
22774 PyObject
* obj1
= 0 ;
22775 char *kwnames
[] = {
22776 (char *) "self",(char *) "flag", NULL
22779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
22780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22783 arg2
= (int)SWIG_As_int(obj1
);
22784 if (PyErr_Occurred()) SWIG_fail
;
22787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22788 result
= (bool)(arg1
)->Arrange(arg2
);
22790 wxPyEndAllowThreads(__tstate
);
22791 if (PyErr_Occurred()) SWIG_fail
;
22794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22802 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22803 PyObject
*resultobj
;
22804 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22807 PyObject
* obj0
= 0 ;
22808 PyObject
* obj1
= 0 ;
22809 char *kwnames
[] = {
22810 (char *) "self",(char *) "item", NULL
22813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22816 arg2
= (long)SWIG_As_long(obj1
);
22817 if (PyErr_Occurred()) SWIG_fail
;
22819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22820 result
= (bool)(arg1
)->DeleteItem(arg2
);
22822 wxPyEndAllowThreads(__tstate
);
22823 if (PyErr_Occurred()) SWIG_fail
;
22826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22834 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22835 PyObject
*resultobj
;
22836 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22838 PyObject
* obj0
= 0 ;
22839 char *kwnames
[] = {
22840 (char *) "self", NULL
22843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
22844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22848 result
= (bool)(arg1
)->DeleteAllItems();
22850 wxPyEndAllowThreads(__tstate
);
22851 if (PyErr_Occurred()) SWIG_fail
;
22854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22862 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22863 PyObject
*resultobj
;
22864 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22867 PyObject
* obj0
= 0 ;
22868 PyObject
* obj1
= 0 ;
22869 char *kwnames
[] = {
22870 (char *) "self",(char *) "col", NULL
22873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
22874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22876 arg2
= (int)SWIG_As_int(obj1
);
22877 if (PyErr_Occurred()) SWIG_fail
;
22879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22880 result
= (bool)(arg1
)->DeleteColumn(arg2
);
22882 wxPyEndAllowThreads(__tstate
);
22883 if (PyErr_Occurred()) SWIG_fail
;
22886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22894 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22895 PyObject
*resultobj
;
22896 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22898 PyObject
* obj0
= 0 ;
22899 char *kwnames
[] = {
22900 (char *) "self", NULL
22903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
22904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22908 result
= (bool)(arg1
)->DeleteAllColumns();
22910 wxPyEndAllowThreads(__tstate
);
22911 if (PyErr_Occurred()) SWIG_fail
;
22914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22922 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22923 PyObject
*resultobj
;
22924 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22925 PyObject
* obj0
= 0 ;
22926 char *kwnames
[] = {
22927 (char *) "self", NULL
22930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
22931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22935 (arg1
)->ClearAll();
22937 wxPyEndAllowThreads(__tstate
);
22938 if (PyErr_Occurred()) SWIG_fail
;
22940 Py_INCREF(Py_None
); resultobj
= Py_None
;
22947 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22948 PyObject
*resultobj
;
22949 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22951 PyObject
* obj0
= 0 ;
22952 PyObject
* obj1
= 0 ;
22953 char *kwnames
[] = {
22954 (char *) "self",(char *) "item", NULL
22957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
22958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22960 arg2
= (long)SWIG_As_long(obj1
);
22961 if (PyErr_Occurred()) SWIG_fail
;
22963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22964 (arg1
)->EditLabel(arg2
);
22966 wxPyEndAllowThreads(__tstate
);
22967 if (PyErr_Occurred()) SWIG_fail
;
22969 Py_INCREF(Py_None
); resultobj
= Py_None
;
22976 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22977 PyObject
*resultobj
;
22978 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22981 PyObject
* obj0
= 0 ;
22982 PyObject
* obj1
= 0 ;
22983 char *kwnames
[] = {
22984 (char *) "self",(char *) "item", NULL
22987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
22988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22990 arg2
= (long)SWIG_As_long(obj1
);
22991 if (PyErr_Occurred()) SWIG_fail
;
22993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22994 result
= (bool)(arg1
)->EnsureVisible(arg2
);
22996 wxPyEndAllowThreads(__tstate
);
22997 if (PyErr_Occurred()) SWIG_fail
;
23000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23008 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23009 PyObject
*resultobj
;
23010 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23012 wxString
*arg3
= 0 ;
23013 bool arg4
= (bool) False
;
23015 bool temp3
= False
;
23016 PyObject
* obj0
= 0 ;
23017 PyObject
* obj1
= 0 ;
23018 PyObject
* obj2
= 0 ;
23019 PyObject
* obj3
= 0 ;
23020 char *kwnames
[] = {
23021 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
23024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23027 arg2
= (long)SWIG_As_long(obj1
);
23028 if (PyErr_Occurred()) SWIG_fail
;
23030 arg3
= wxString_in_helper(obj2
);
23031 if (arg3
== NULL
) SWIG_fail
;
23035 arg4
= (bool)SWIG_As_bool(obj3
);
23036 if (PyErr_Occurred()) SWIG_fail
;
23039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23040 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
23042 wxPyEndAllowThreads(__tstate
);
23043 if (PyErr_Occurred()) SWIG_fail
;
23045 resultobj
= SWIG_From_long((long)result
);
23060 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23061 PyObject
*resultobj
;
23062 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23066 PyObject
* obj0
= 0 ;
23067 PyObject
* obj1
= 0 ;
23068 PyObject
* obj2
= 0 ;
23069 char *kwnames
[] = {
23070 (char *) "self",(char *) "start",(char *) "data", NULL
23073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23076 arg2
= (long)SWIG_As_long(obj1
);
23077 if (PyErr_Occurred()) SWIG_fail
;
23078 arg3
= (long)SWIG_As_long(obj2
);
23079 if (PyErr_Occurred()) SWIG_fail
;
23081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23082 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
23084 wxPyEndAllowThreads(__tstate
);
23085 if (PyErr_Occurred()) SWIG_fail
;
23087 resultobj
= SWIG_From_long((long)result
);
23094 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23095 PyObject
*resultobj
;
23096 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23098 wxPoint
*arg3
= 0 ;
23102 PyObject
* obj0
= 0 ;
23103 PyObject
* obj1
= 0 ;
23104 PyObject
* obj2
= 0 ;
23105 PyObject
* obj3
= 0 ;
23106 char *kwnames
[] = {
23107 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
23110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23113 arg2
= (long)SWIG_As_long(obj1
);
23114 if (PyErr_Occurred()) SWIG_fail
;
23117 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23119 arg4
= (int)SWIG_As_int(obj3
);
23120 if (PyErr_Occurred()) SWIG_fail
;
23122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23123 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
23125 wxPyEndAllowThreads(__tstate
);
23126 if (PyErr_Occurred()) SWIG_fail
;
23128 resultobj
= SWIG_From_long((long)result
);
23135 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23136 PyObject
*resultobj
;
23137 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23138 wxPoint
*arg2
= 0 ;
23144 PyObject
* obj0
= 0 ;
23145 PyObject
* obj1
= 0 ;
23146 char *kwnames
[] = {
23147 (char *) "self",(char *) "point", NULL
23150 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
23152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23156 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23160 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
23162 wxPyEndAllowThreads(__tstate
);
23163 if (PyErr_Occurred()) SWIG_fail
;
23165 resultobj
= SWIG_From_long((long)result
);
23166 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23167 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23174 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23175 PyObject
*resultobj
;
23176 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23177 wxListItem
*arg2
= 0 ;
23179 PyObject
* obj0
= 0 ;
23180 PyObject
* obj1
= 0 ;
23181 char *kwnames
[] = {
23182 (char *) "self",(char *) "info", NULL
23185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23188 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
23189 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23191 if (arg2
== NULL
) {
23192 PyErr_SetString(PyExc_TypeError
,"null reference");
23196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23197 result
= (long)(arg1
)->InsertItem(*arg2
);
23199 wxPyEndAllowThreads(__tstate
);
23200 if (PyErr_Occurred()) SWIG_fail
;
23202 resultobj
= SWIG_From_long((long)result
);
23209 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23210 PyObject
*resultobj
;
23211 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23213 wxString
*arg3
= 0 ;
23215 bool temp3
= False
;
23216 PyObject
* obj0
= 0 ;
23217 PyObject
* obj1
= 0 ;
23218 PyObject
* obj2
= 0 ;
23219 char *kwnames
[] = {
23220 (char *) "self",(char *) "index",(char *) "label", NULL
23223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23226 arg2
= (long)SWIG_As_long(obj1
);
23227 if (PyErr_Occurred()) SWIG_fail
;
23229 arg3
= wxString_in_helper(obj2
);
23230 if (arg3
== NULL
) SWIG_fail
;
23234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23235 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
23237 wxPyEndAllowThreads(__tstate
);
23238 if (PyErr_Occurred()) SWIG_fail
;
23240 resultobj
= SWIG_From_long((long)result
);
23255 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23256 PyObject
*resultobj
;
23257 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23261 PyObject
* obj0
= 0 ;
23262 PyObject
* obj1
= 0 ;
23263 PyObject
* obj2
= 0 ;
23264 char *kwnames
[] = {
23265 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
23268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23271 arg2
= (long)SWIG_As_long(obj1
);
23272 if (PyErr_Occurred()) SWIG_fail
;
23273 arg3
= (int)SWIG_As_int(obj2
);
23274 if (PyErr_Occurred()) SWIG_fail
;
23276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23277 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
23279 wxPyEndAllowThreads(__tstate
);
23280 if (PyErr_Occurred()) SWIG_fail
;
23282 resultobj
= SWIG_From_long((long)result
);
23289 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23290 PyObject
*resultobj
;
23291 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23293 wxString
*arg3
= 0 ;
23296 bool temp3
= False
;
23297 PyObject
* obj0
= 0 ;
23298 PyObject
* obj1
= 0 ;
23299 PyObject
* obj2
= 0 ;
23300 PyObject
* obj3
= 0 ;
23301 char *kwnames
[] = {
23302 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
23305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23308 arg2
= (long)SWIG_As_long(obj1
);
23309 if (PyErr_Occurred()) SWIG_fail
;
23311 arg3
= wxString_in_helper(obj2
);
23312 if (arg3
== NULL
) SWIG_fail
;
23315 arg4
= (int)SWIG_As_int(obj3
);
23316 if (PyErr_Occurred()) SWIG_fail
;
23318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23319 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
23321 wxPyEndAllowThreads(__tstate
);
23322 if (PyErr_Occurred()) SWIG_fail
;
23324 resultobj
= SWIG_From_long((long)result
);
23339 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23340 PyObject
*resultobj
;
23341 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23343 wxListItem
*arg3
= 0 ;
23345 PyObject
* obj0
= 0 ;
23346 PyObject
* obj1
= 0 ;
23347 PyObject
* obj2
= 0 ;
23348 char *kwnames
[] = {
23349 (char *) "self",(char *) "col",(char *) "info", NULL
23352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23355 arg2
= (long)SWIG_As_long(obj1
);
23356 if (PyErr_Occurred()) SWIG_fail
;
23357 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
23358 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23360 if (arg3
== NULL
) {
23361 PyErr_SetString(PyExc_TypeError
,"null reference");
23365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23366 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
23368 wxPyEndAllowThreads(__tstate
);
23369 if (PyErr_Occurred()) SWIG_fail
;
23371 resultobj
= SWIG_From_long((long)result
);
23378 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23379 PyObject
*resultobj
;
23380 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23382 wxString
*arg3
= 0 ;
23383 int arg4
= (int) wxLIST_FORMAT_LEFT
;
23384 int arg5
= (int) -1 ;
23386 bool temp3
= False
;
23387 PyObject
* obj0
= 0 ;
23388 PyObject
* obj1
= 0 ;
23389 PyObject
* obj2
= 0 ;
23390 PyObject
* obj3
= 0 ;
23391 PyObject
* obj4
= 0 ;
23392 char *kwnames
[] = {
23393 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
23396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23399 arg2
= (long)SWIG_As_long(obj1
);
23400 if (PyErr_Occurred()) SWIG_fail
;
23402 arg3
= wxString_in_helper(obj2
);
23403 if (arg3
== NULL
) SWIG_fail
;
23407 arg4
= (int)SWIG_As_int(obj3
);
23408 if (PyErr_Occurred()) SWIG_fail
;
23411 arg5
= (int)SWIG_As_int(obj4
);
23412 if (PyErr_Occurred()) SWIG_fail
;
23415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23416 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
23418 wxPyEndAllowThreads(__tstate
);
23419 if (PyErr_Occurred()) SWIG_fail
;
23421 resultobj
= SWIG_From_long((long)result
);
23436 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23437 PyObject
*resultobj
;
23438 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23440 PyObject
* obj0
= 0 ;
23441 PyObject
* obj1
= 0 ;
23442 char *kwnames
[] = {
23443 (char *) "self",(char *) "count", NULL
23446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
23447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23449 arg2
= (long)SWIG_As_long(obj1
);
23450 if (PyErr_Occurred()) SWIG_fail
;
23452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23453 (arg1
)->SetItemCount(arg2
);
23455 wxPyEndAllowThreads(__tstate
);
23456 if (PyErr_Occurred()) SWIG_fail
;
23458 Py_INCREF(Py_None
); resultobj
= Py_None
;
23465 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23466 PyObject
*resultobj
;
23467 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23471 PyObject
* obj0
= 0 ;
23472 PyObject
* obj1
= 0 ;
23473 PyObject
* obj2
= 0 ;
23474 char *kwnames
[] = {
23475 (char *) "self",(char *) "dx",(char *) "dy", NULL
23478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23481 arg2
= (int)SWIG_As_int(obj1
);
23482 if (PyErr_Occurred()) SWIG_fail
;
23483 arg3
= (int)SWIG_As_int(obj2
);
23484 if (PyErr_Occurred()) SWIG_fail
;
23486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23487 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
23489 wxPyEndAllowThreads(__tstate
);
23490 if (PyErr_Occurred()) SWIG_fail
;
23493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23501 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23502 PyObject
*resultobj
;
23503 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23505 wxColour
*arg3
= 0 ;
23507 PyObject
* obj0
= 0 ;
23508 PyObject
* obj1
= 0 ;
23509 PyObject
* obj2
= 0 ;
23510 char *kwnames
[] = {
23511 (char *) "self",(char *) "item",(char *) "col", NULL
23514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23517 arg2
= (long)SWIG_As_long(obj1
);
23518 if (PyErr_Occurred()) SWIG_fail
;
23521 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23525 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
23527 wxPyEndAllowThreads(__tstate
);
23528 if (PyErr_Occurred()) SWIG_fail
;
23530 Py_INCREF(Py_None
); resultobj
= Py_None
;
23537 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23538 PyObject
*resultobj
;
23539 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23542 PyObject
* obj0
= 0 ;
23543 PyObject
* obj1
= 0 ;
23544 char *kwnames
[] = {
23545 (char *) "self",(char *) "item", NULL
23548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23551 arg2
= (long)SWIG_As_long(obj1
);
23552 if (PyErr_Occurred()) SWIG_fail
;
23554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23555 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
23557 wxPyEndAllowThreads(__tstate
);
23558 if (PyErr_Occurred()) SWIG_fail
;
23561 wxColour
* resultptr
;
23562 resultptr
= new wxColour((wxColour
&) result
);
23563 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23571 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23572 PyObject
*resultobj
;
23573 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23575 wxColour
*arg3
= 0 ;
23577 PyObject
* obj0
= 0 ;
23578 PyObject
* obj1
= 0 ;
23579 PyObject
* obj2
= 0 ;
23580 char *kwnames
[] = {
23581 (char *) "self",(char *) "item",(char *) "col", NULL
23584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23587 arg2
= (long)SWIG_As_long(obj1
);
23588 if (PyErr_Occurred()) SWIG_fail
;
23591 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23595 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
23597 wxPyEndAllowThreads(__tstate
);
23598 if (PyErr_Occurred()) SWIG_fail
;
23600 Py_INCREF(Py_None
); resultobj
= Py_None
;
23607 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23608 PyObject
*resultobj
;
23609 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23612 PyObject
* obj0
= 0 ;
23613 PyObject
* obj1
= 0 ;
23614 char *kwnames
[] = {
23615 (char *) "self",(char *) "item", NULL
23618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23621 arg2
= (long)SWIG_As_long(obj1
);
23622 if (PyErr_Occurred()) SWIG_fail
;
23624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23625 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
23627 wxPyEndAllowThreads(__tstate
);
23628 if (PyErr_Occurred()) SWIG_fail
;
23631 wxColour
* resultptr
;
23632 resultptr
= new wxColour((wxColour
&) result
);
23633 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23641 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23642 PyObject
*resultobj
;
23643 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23644 PyObject
*arg2
= (PyObject
*) 0 ;
23646 PyObject
* obj0
= 0 ;
23647 PyObject
* obj1
= 0 ;
23648 char *kwnames
[] = {
23649 (char *) "self",(char *) "func", NULL
23652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
23653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23658 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
23660 wxPyEndAllowThreads(__tstate
);
23661 if (PyErr_Occurred()) SWIG_fail
;
23664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23672 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23673 PyObject
*resultobj
;
23674 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23676 PyObject
* obj0
= 0 ;
23677 char *kwnames
[] = {
23678 (char *) "self", NULL
23681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
23682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23686 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
23688 wxPyEndAllowThreads(__tstate
);
23689 if (PyErr_Occurred()) SWIG_fail
;
23692 resultobj
= wxPyMake_wxObject(result
, 0);
23700 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23701 PyObject
*resultobj
;
23702 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
23703 wxVisualAttributes result
;
23704 PyObject
* obj0
= 0 ;
23705 char *kwnames
[] = {
23706 (char *) "variant", NULL
23709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
23711 arg1
= (int)SWIG_As_int(obj0
);
23712 if (PyErr_Occurred()) SWIG_fail
;
23715 if (!wxPyCheckForApp()) SWIG_fail
;
23716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23717 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
23719 wxPyEndAllowThreads(__tstate
);
23720 if (PyErr_Occurred()) SWIG_fail
;
23723 wxVisualAttributes
* resultptr
;
23724 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
23725 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
23733 static PyObject
* ListCtrl_swigregister(PyObject
*, PyObject
*args
) {
23735 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23736 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
23738 return Py_BuildValue((char *)"");
23740 static PyObject
*_wrap_new_ListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23741 PyObject
*resultobj
;
23742 wxWindow
*arg1
= (wxWindow
*) 0 ;
23743 int arg2
= (int) -1 ;
23744 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23745 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23746 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23747 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23748 long arg5
= (long) wxLC_REPORT
;
23749 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23750 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23751 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
23752 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23753 wxListView
*result
;
23756 bool temp7
= False
;
23757 PyObject
* obj0
= 0 ;
23758 PyObject
* obj1
= 0 ;
23759 PyObject
* obj2
= 0 ;
23760 PyObject
* obj3
= 0 ;
23761 PyObject
* obj4
= 0 ;
23762 PyObject
* obj5
= 0 ;
23763 PyObject
* obj6
= 0 ;
23764 char *kwnames
[] = {
23765 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23772 arg2
= (int)SWIG_As_int(obj1
);
23773 if (PyErr_Occurred()) SWIG_fail
;
23778 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23784 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23788 arg5
= (long)SWIG_As_long(obj4
);
23789 if (PyErr_Occurred()) SWIG_fail
;
23792 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
23793 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23795 if (arg6
== NULL
) {
23796 PyErr_SetString(PyExc_TypeError
,"null reference");
23802 arg7
= wxString_in_helper(obj6
);
23803 if (arg7
== NULL
) SWIG_fail
;
23808 if (!wxPyCheckForApp()) SWIG_fail
;
23809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23810 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23812 wxPyEndAllowThreads(__tstate
);
23813 if (PyErr_Occurred()) SWIG_fail
;
23815 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
23830 static PyObject
*_wrap_new_PreListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23831 PyObject
*resultobj
;
23832 wxListView
*result
;
23833 char *kwnames
[] = {
23837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
23839 if (!wxPyCheckForApp()) SWIG_fail
;
23840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23841 result
= (wxListView
*)new wxListView();
23843 wxPyEndAllowThreads(__tstate
);
23844 if (PyErr_Occurred()) SWIG_fail
;
23846 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
23853 static PyObject
*_wrap_ListView_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23854 PyObject
*resultobj
;
23855 wxListView
*arg1
= (wxListView
*) 0 ;
23856 wxWindow
*arg2
= (wxWindow
*) 0 ;
23857 int arg3
= (int) -1 ;
23858 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
23859 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
23860 wxSize
const &arg5_defvalue
= wxDefaultSize
;
23861 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
23862 long arg6
= (long) wxLC_REPORT
;
23863 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
23864 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
23865 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
23866 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
23870 bool temp8
= False
;
23871 PyObject
* obj0
= 0 ;
23872 PyObject
* obj1
= 0 ;
23873 PyObject
* obj2
= 0 ;
23874 PyObject
* obj3
= 0 ;
23875 PyObject
* obj4
= 0 ;
23876 PyObject
* obj5
= 0 ;
23877 PyObject
* obj6
= 0 ;
23878 PyObject
* obj7
= 0 ;
23879 char *kwnames
[] = {
23880 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
23884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23886 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23889 arg3
= (int)SWIG_As_int(obj2
);
23890 if (PyErr_Occurred()) SWIG_fail
;
23895 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
23901 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
23905 arg6
= (long)SWIG_As_long(obj5
);
23906 if (PyErr_Occurred()) SWIG_fail
;
23909 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
23910 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23912 if (arg7
== NULL
) {
23913 PyErr_SetString(PyExc_TypeError
,"null reference");
23919 arg8
= wxString_in_helper(obj7
);
23920 if (arg8
== NULL
) SWIG_fail
;
23925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23926 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
23928 wxPyEndAllowThreads(__tstate
);
23929 if (PyErr_Occurred()) SWIG_fail
;
23932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23948 static PyObject
*_wrap_ListView_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23949 PyObject
*resultobj
;
23950 wxListView
*arg1
= (wxListView
*) 0 ;
23952 bool arg3
= (bool) True
;
23953 PyObject
* obj0
= 0 ;
23954 PyObject
* obj1
= 0 ;
23955 PyObject
* obj2
= 0 ;
23956 char *kwnames
[] = {
23957 (char *) "self",(char *) "n",(char *) "on", NULL
23960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23963 arg2
= (long)SWIG_As_long(obj1
);
23964 if (PyErr_Occurred()) SWIG_fail
;
23966 arg3
= (bool)SWIG_As_bool(obj2
);
23967 if (PyErr_Occurred()) SWIG_fail
;
23970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23971 (arg1
)->Select(arg2
,arg3
);
23973 wxPyEndAllowThreads(__tstate
);
23974 if (PyErr_Occurred()) SWIG_fail
;
23976 Py_INCREF(Py_None
); resultobj
= Py_None
;
23983 static PyObject
*_wrap_ListView_Focus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23984 PyObject
*resultobj
;
23985 wxListView
*arg1
= (wxListView
*) 0 ;
23987 PyObject
* obj0
= 0 ;
23988 PyObject
* obj1
= 0 ;
23989 char *kwnames
[] = {
23990 (char *) "self",(char *) "index", NULL
23993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
23994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
23995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23996 arg2
= (long)SWIG_As_long(obj1
);
23997 if (PyErr_Occurred()) SWIG_fail
;
23999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24000 (arg1
)->Focus(arg2
);
24002 wxPyEndAllowThreads(__tstate
);
24003 if (PyErr_Occurred()) SWIG_fail
;
24005 Py_INCREF(Py_None
); resultobj
= Py_None
;
24012 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24013 PyObject
*resultobj
;
24014 wxListView
*arg1
= (wxListView
*) 0 ;
24016 PyObject
* obj0
= 0 ;
24017 char *kwnames
[] = {
24018 (char *) "self", NULL
24021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
24022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24026 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
24028 wxPyEndAllowThreads(__tstate
);
24029 if (PyErr_Occurred()) SWIG_fail
;
24031 resultobj
= SWIG_From_long((long)result
);
24038 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24039 PyObject
*resultobj
;
24040 wxListView
*arg1
= (wxListView
*) 0 ;
24043 PyObject
* obj0
= 0 ;
24044 PyObject
* obj1
= 0 ;
24045 char *kwnames
[] = {
24046 (char *) "self",(char *) "item", NULL
24049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
24050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24052 arg2
= (long)SWIG_As_long(obj1
);
24053 if (PyErr_Occurred()) SWIG_fail
;
24055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24056 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
24058 wxPyEndAllowThreads(__tstate
);
24059 if (PyErr_Occurred()) SWIG_fail
;
24061 resultobj
= SWIG_From_long((long)result
);
24068 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24069 PyObject
*resultobj
;
24070 wxListView
*arg1
= (wxListView
*) 0 ;
24072 PyObject
* obj0
= 0 ;
24073 char *kwnames
[] = {
24074 (char *) "self", NULL
24077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
24078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24082 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
24084 wxPyEndAllowThreads(__tstate
);
24085 if (PyErr_Occurred()) SWIG_fail
;
24087 resultobj
= SWIG_From_long((long)result
);
24094 static PyObject
*_wrap_ListView_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24095 PyObject
*resultobj
;
24096 wxListView
*arg1
= (wxListView
*) 0 ;
24099 PyObject
* obj0
= 0 ;
24100 PyObject
* obj1
= 0 ;
24101 char *kwnames
[] = {
24102 (char *) "self",(char *) "index", NULL
24105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
24106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24108 arg2
= (long)SWIG_As_long(obj1
);
24109 if (PyErr_Occurred()) SWIG_fail
;
24111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24112 result
= (bool)(arg1
)->IsSelected(arg2
);
24114 wxPyEndAllowThreads(__tstate
);
24115 if (PyErr_Occurred()) SWIG_fail
;
24118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24126 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24127 PyObject
*resultobj
;
24128 wxListView
*arg1
= (wxListView
*) 0 ;
24131 PyObject
* obj0
= 0 ;
24132 PyObject
* obj1
= 0 ;
24133 PyObject
* obj2
= 0 ;
24134 char *kwnames
[] = {
24135 (char *) "self",(char *) "col",(char *) "image", NULL
24138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24141 arg2
= (int)SWIG_As_int(obj1
);
24142 if (PyErr_Occurred()) SWIG_fail
;
24143 arg3
= (int)SWIG_As_int(obj2
);
24144 if (PyErr_Occurred()) SWIG_fail
;
24146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24147 (arg1
)->SetColumnImage(arg2
,arg3
);
24149 wxPyEndAllowThreads(__tstate
);
24150 if (PyErr_Occurred()) SWIG_fail
;
24152 Py_INCREF(Py_None
); resultobj
= Py_None
;
24159 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24160 PyObject
*resultobj
;
24161 wxListView
*arg1
= (wxListView
*) 0 ;
24163 PyObject
* obj0
= 0 ;
24164 PyObject
* obj1
= 0 ;
24165 char *kwnames
[] = {
24166 (char *) "self",(char *) "col", NULL
24169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
24170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24172 arg2
= (int)SWIG_As_int(obj1
);
24173 if (PyErr_Occurred()) SWIG_fail
;
24175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24176 (arg1
)->ClearColumnImage(arg2
);
24178 wxPyEndAllowThreads(__tstate
);
24179 if (PyErr_Occurred()) SWIG_fail
;
24181 Py_INCREF(Py_None
); resultobj
= Py_None
;
24188 static PyObject
* ListView_swigregister(PyObject
*, PyObject
*args
) {
24190 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24191 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
24193 return Py_BuildValue((char *)"");
24195 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
24196 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
24201 static PyObject
*_wrap_TreeCtrlNameStr_get() {
24206 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
24208 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
24215 static PyObject
*_wrap_new_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24216 PyObject
*resultobj
;
24217 wxTreeItemId
*result
;
24218 char *kwnames
[] = {
24222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
24224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24225 result
= (wxTreeItemId
*)new wxTreeItemId();
24227 wxPyEndAllowThreads(__tstate
);
24228 if (PyErr_Occurred()) SWIG_fail
;
24230 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
24237 static PyObject
*_wrap_delete_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24238 PyObject
*resultobj
;
24239 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24240 PyObject
* obj0
= 0 ;
24241 char *kwnames
[] = {
24242 (char *) "self", NULL
24245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
24246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24252 wxPyEndAllowThreads(__tstate
);
24253 if (PyErr_Occurred()) SWIG_fail
;
24255 Py_INCREF(Py_None
); resultobj
= Py_None
;
24262 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24263 PyObject
*resultobj
;
24264 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24266 PyObject
* obj0
= 0 ;
24267 char *kwnames
[] = {
24268 (char *) "self", NULL
24271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
24272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24276 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
24278 wxPyEndAllowThreads(__tstate
);
24279 if (PyErr_Occurred()) SWIG_fail
;
24282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24290 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24291 PyObject
*resultobj
;
24292 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24293 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24295 PyObject
* obj0
= 0 ;
24296 PyObject
* obj1
= 0 ;
24297 char *kwnames
[] = {
24298 (char *) "self",(char *) "other", NULL
24301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24304 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24308 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
24310 wxPyEndAllowThreads(__tstate
);
24311 if (PyErr_Occurred()) SWIG_fail
;
24314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24322 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24323 PyObject
*resultobj
;
24324 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24325 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24327 PyObject
* obj0
= 0 ;
24328 PyObject
* obj1
= 0 ;
24329 char *kwnames
[] = {
24330 (char *) "self",(char *) "other", NULL
24333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24336 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24340 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
24342 wxPyEndAllowThreads(__tstate
);
24343 if (PyErr_Occurred()) SWIG_fail
;
24346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24354 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24355 PyObject
*resultobj
;
24356 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24357 void *arg2
= (void *) 0 ;
24358 PyObject
* obj0
= 0 ;
24359 PyObject
* obj1
= 0 ;
24360 char *kwnames
[] = {
24361 (char *) "self",(char *) "m_pItem", NULL
24364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24367 if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24368 if (arg1
) (arg1
)->m_pItem
= arg2
;
24370 Py_INCREF(Py_None
); resultobj
= Py_None
;
24377 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24378 PyObject
*resultobj
;
24379 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24381 PyObject
* obj0
= 0 ;
24382 char *kwnames
[] = {
24383 (char *) "self", NULL
24386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
24387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24389 result
= (void *) ((arg1
)->m_pItem
);
24391 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
24398 static PyObject
* TreeItemId_swigregister(PyObject
*, PyObject
*args
) {
24400 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24401 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
24403 return Py_BuildValue((char *)"");
24405 static PyObject
*_wrap_new_TreeItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24406 PyObject
*resultobj
;
24407 PyObject
*arg1
= (PyObject
*) NULL
;
24408 wxPyTreeItemData
*result
;
24409 PyObject
* obj0
= 0 ;
24410 char *kwnames
[] = {
24411 (char *) "obj", NULL
24414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
24419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24420 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
24422 wxPyEndAllowThreads(__tstate
);
24423 if (PyErr_Occurred()) SWIG_fail
;
24425 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
24432 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24433 PyObject
*resultobj
;
24434 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24436 PyObject
* obj0
= 0 ;
24437 char *kwnames
[] = {
24438 (char *) "self", NULL
24441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
24442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24446 result
= (PyObject
*)(arg1
)->GetData();
24448 wxPyEndAllowThreads(__tstate
);
24449 if (PyErr_Occurred()) SWIG_fail
;
24451 resultobj
= result
;
24458 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24459 PyObject
*resultobj
;
24460 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24461 PyObject
*arg2
= (PyObject
*) 0 ;
24462 PyObject
* obj0
= 0 ;
24463 PyObject
* obj1
= 0 ;
24464 char *kwnames
[] = {
24465 (char *) "self",(char *) "obj", NULL
24468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24474 (arg1
)->SetData(arg2
);
24476 wxPyEndAllowThreads(__tstate
);
24477 if (PyErr_Occurred()) SWIG_fail
;
24479 Py_INCREF(Py_None
); resultobj
= Py_None
;
24486 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24487 PyObject
*resultobj
;
24488 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24489 wxTreeItemId
*result
;
24490 PyObject
* obj0
= 0 ;
24491 char *kwnames
[] = {
24492 (char *) "self", NULL
24495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
24496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24501 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
24502 result
= (wxTreeItemId
*) &_result_ref
;
24505 wxPyEndAllowThreads(__tstate
);
24506 if (PyErr_Occurred()) SWIG_fail
;
24508 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
24515 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24516 PyObject
*resultobj
;
24517 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24518 wxTreeItemId
*arg2
= 0 ;
24519 PyObject
* obj0
= 0 ;
24520 PyObject
* obj1
= 0 ;
24521 char *kwnames
[] = {
24522 (char *) "self",(char *) "id", NULL
24525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24528 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24529 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24531 if (arg2
== NULL
) {
24532 PyErr_SetString(PyExc_TypeError
,"null reference");
24536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24537 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
24539 wxPyEndAllowThreads(__tstate
);
24540 if (PyErr_Occurred()) SWIG_fail
;
24542 Py_INCREF(Py_None
); resultobj
= Py_None
;
24549 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24550 PyObject
*resultobj
;
24551 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24552 PyObject
* obj0
= 0 ;
24553 char *kwnames
[] = {
24554 (char *) "self", NULL
24557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
24558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24562 wxPyTreeItemData_Destroy(arg1
);
24564 wxPyEndAllowThreads(__tstate
);
24565 if (PyErr_Occurred()) SWIG_fail
;
24567 Py_INCREF(Py_None
); resultobj
= Py_None
;
24574 static PyObject
* TreeItemData_swigregister(PyObject
*, PyObject
*args
) {
24576 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24577 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
24579 return Py_BuildValue((char *)"");
24581 static PyObject
*_wrap_new_TreeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24582 PyObject
*resultobj
;
24583 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
24584 int arg2
= (int) 0 ;
24585 wxTreeEvent
*result
;
24586 PyObject
* obj0
= 0 ;
24587 PyObject
* obj1
= 0 ;
24588 char *kwnames
[] = {
24589 (char *) "commandType",(char *) "id", NULL
24592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24594 arg1
= (wxEventType
)SWIG_As_int(obj0
);
24595 if (PyErr_Occurred()) SWIG_fail
;
24598 arg2
= (int)SWIG_As_int(obj1
);
24599 if (PyErr_Occurred()) SWIG_fail
;
24602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24603 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
24605 wxPyEndAllowThreads(__tstate
);
24606 if (PyErr_Occurred()) SWIG_fail
;
24608 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
24615 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24616 PyObject
*resultobj
;
24617 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24618 wxTreeItemId result
;
24619 PyObject
* obj0
= 0 ;
24620 char *kwnames
[] = {
24621 (char *) "self", NULL
24624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
24625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24629 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
24631 wxPyEndAllowThreads(__tstate
);
24632 if (PyErr_Occurred()) SWIG_fail
;
24635 wxTreeItemId
* resultptr
;
24636 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24637 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24645 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24646 PyObject
*resultobj
;
24647 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24648 wxTreeItemId
*arg2
= 0 ;
24649 PyObject
* obj0
= 0 ;
24650 PyObject
* obj1
= 0 ;
24651 char *kwnames
[] = {
24652 (char *) "self",(char *) "item", NULL
24655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24658 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24659 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24661 if (arg2
== NULL
) {
24662 PyErr_SetString(PyExc_TypeError
,"null reference");
24666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24667 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
24669 wxPyEndAllowThreads(__tstate
);
24670 if (PyErr_Occurred()) SWIG_fail
;
24672 Py_INCREF(Py_None
); resultobj
= Py_None
;
24679 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24680 PyObject
*resultobj
;
24681 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24682 wxTreeItemId result
;
24683 PyObject
* obj0
= 0 ;
24684 char *kwnames
[] = {
24685 (char *) "self", NULL
24688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
24689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24693 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
24695 wxPyEndAllowThreads(__tstate
);
24696 if (PyErr_Occurred()) SWIG_fail
;
24699 wxTreeItemId
* resultptr
;
24700 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24701 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24709 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24710 PyObject
*resultobj
;
24711 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24712 wxTreeItemId
*arg2
= 0 ;
24713 PyObject
* obj0
= 0 ;
24714 PyObject
* obj1
= 0 ;
24715 char *kwnames
[] = {
24716 (char *) "self",(char *) "item", NULL
24719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24722 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24723 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24725 if (arg2
== NULL
) {
24726 PyErr_SetString(PyExc_TypeError
,"null reference");
24730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24731 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
24733 wxPyEndAllowThreads(__tstate
);
24734 if (PyErr_Occurred()) SWIG_fail
;
24736 Py_INCREF(Py_None
); resultobj
= Py_None
;
24743 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24744 PyObject
*resultobj
;
24745 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24747 PyObject
* obj0
= 0 ;
24748 char *kwnames
[] = {
24749 (char *) "self", NULL
24752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
24753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24757 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
24759 wxPyEndAllowThreads(__tstate
);
24760 if (PyErr_Occurred()) SWIG_fail
;
24763 wxPoint
* resultptr
;
24764 resultptr
= new wxPoint((wxPoint
&) result
);
24765 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24773 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24774 PyObject
*resultobj
;
24775 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24776 wxPoint
*arg2
= 0 ;
24778 PyObject
* obj0
= 0 ;
24779 PyObject
* obj1
= 0 ;
24780 char *kwnames
[] = {
24781 (char *) "self",(char *) "pt", NULL
24784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
24785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24789 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24793 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
24795 wxPyEndAllowThreads(__tstate
);
24796 if (PyErr_Occurred()) SWIG_fail
;
24798 Py_INCREF(Py_None
); resultobj
= Py_None
;
24805 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24806 PyObject
*resultobj
;
24807 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24808 wxKeyEvent
*result
;
24809 PyObject
* obj0
= 0 ;
24810 char *kwnames
[] = {
24811 (char *) "self", NULL
24814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
24815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24820 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
24821 result
= (wxKeyEvent
*) &_result_ref
;
24824 wxPyEndAllowThreads(__tstate
);
24825 if (PyErr_Occurred()) SWIG_fail
;
24827 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
24834 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24835 PyObject
*resultobj
;
24836 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24838 PyObject
* obj0
= 0 ;
24839 char *kwnames
[] = {
24840 (char *) "self", NULL
24843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24848 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
24850 wxPyEndAllowThreads(__tstate
);
24851 if (PyErr_Occurred()) SWIG_fail
;
24853 resultobj
= SWIG_From_int((int)result
);
24860 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24861 PyObject
*resultobj
;
24862 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24863 wxKeyEvent
*arg2
= 0 ;
24864 PyObject
* obj0
= 0 ;
24865 PyObject
* obj1
= 0 ;
24866 char *kwnames
[] = {
24867 (char *) "self",(char *) "evt", NULL
24870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24873 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
24874 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24876 if (arg2
== NULL
) {
24877 PyErr_SetString(PyExc_TypeError
,"null reference");
24881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24882 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
24884 wxPyEndAllowThreads(__tstate
);
24885 if (PyErr_Occurred()) SWIG_fail
;
24887 Py_INCREF(Py_None
); resultobj
= Py_None
;
24894 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24895 PyObject
*resultobj
;
24896 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24898 PyObject
* obj0
= 0 ;
24899 char *kwnames
[] = {
24900 (char *) "self", NULL
24903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
24904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24909 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
24910 result
= (wxString
*) &_result_ref
;
24913 wxPyEndAllowThreads(__tstate
);
24914 if (PyErr_Occurred()) SWIG_fail
;
24918 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24920 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24929 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24930 PyObject
*resultobj
;
24931 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24932 wxString
*arg2
= 0 ;
24933 bool temp2
= False
;
24934 PyObject
* obj0
= 0 ;
24935 PyObject
* obj1
= 0 ;
24936 char *kwnames
[] = {
24937 (char *) "self",(char *) "label", NULL
24940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
24941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24944 arg2
= wxString_in_helper(obj1
);
24945 if (arg2
== NULL
) SWIG_fail
;
24949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24950 (arg1
)->SetLabel((wxString
const &)*arg2
);
24952 wxPyEndAllowThreads(__tstate
);
24953 if (PyErr_Occurred()) SWIG_fail
;
24955 Py_INCREF(Py_None
); resultobj
= Py_None
;
24970 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24971 PyObject
*resultobj
;
24972 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24974 PyObject
* obj0
= 0 ;
24975 char *kwnames
[] = {
24976 (char *) "self", NULL
24979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
24980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24984 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
24986 wxPyEndAllowThreads(__tstate
);
24987 if (PyErr_Occurred()) SWIG_fail
;
24990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24998 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24999 PyObject
*resultobj
;
25000 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25002 PyObject
* obj0
= 0 ;
25003 PyObject
* obj1
= 0 ;
25004 char *kwnames
[] = {
25005 (char *) "self",(char *) "editCancelled", NULL
25008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
25009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25011 arg2
= (bool)SWIG_As_bool(obj1
);
25012 if (PyErr_Occurred()) SWIG_fail
;
25014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25015 (arg1
)->SetEditCanceled(arg2
);
25017 wxPyEndAllowThreads(__tstate
);
25018 if (PyErr_Occurred()) SWIG_fail
;
25020 Py_INCREF(Py_None
); resultobj
= Py_None
;
25027 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25028 PyObject
*resultobj
;
25029 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25030 wxString
*arg2
= 0 ;
25031 bool temp2
= False
;
25032 PyObject
* obj0
= 0 ;
25033 PyObject
* obj1
= 0 ;
25034 char *kwnames
[] = {
25035 (char *) "self",(char *) "toolTip", NULL
25038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
25039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25042 arg2
= wxString_in_helper(obj1
);
25043 if (arg2
== NULL
) SWIG_fail
;
25047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25048 (arg1
)->SetToolTip((wxString
const &)*arg2
);
25050 wxPyEndAllowThreads(__tstate
);
25051 if (PyErr_Occurred()) SWIG_fail
;
25053 Py_INCREF(Py_None
); resultobj
= Py_None
;
25068 static PyObject
* TreeEvent_swigregister(PyObject
*, PyObject
*args
) {
25070 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25071 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
25073 return Py_BuildValue((char *)"");
25075 static PyObject
*_wrap_new_TreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25076 PyObject
*resultobj
;
25077 wxWindow
*arg1
= (wxWindow
*) 0 ;
25078 int arg2
= (int) -1 ;
25079 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25080 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25081 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25082 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25083 long arg5
= (long) wxTR_DEFAULT_STYLE
;
25084 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
25085 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
25086 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
25087 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25088 wxPyTreeCtrl
*result
;
25091 bool temp7
= False
;
25092 PyObject
* obj0
= 0 ;
25093 PyObject
* obj1
= 0 ;
25094 PyObject
* obj2
= 0 ;
25095 PyObject
* obj3
= 0 ;
25096 PyObject
* obj4
= 0 ;
25097 PyObject
* obj5
= 0 ;
25098 PyObject
* obj6
= 0 ;
25099 char *kwnames
[] = {
25100 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25107 arg2
= (int)SWIG_As_int(obj1
);
25108 if (PyErr_Occurred()) SWIG_fail
;
25113 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25119 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25123 arg5
= (long)SWIG_As_long(obj4
);
25124 if (PyErr_Occurred()) SWIG_fail
;
25127 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
25128 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25130 if (arg6
== NULL
) {
25131 PyErr_SetString(PyExc_TypeError
,"null reference");
25137 arg7
= wxString_in_helper(obj6
);
25138 if (arg7
== NULL
) SWIG_fail
;
25143 if (!wxPyCheckForApp()) SWIG_fail
;
25144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25145 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
25147 wxPyEndAllowThreads(__tstate
);
25148 if (PyErr_Occurred()) SWIG_fail
;
25150 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
25165 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25166 PyObject
*resultobj
;
25167 wxPyTreeCtrl
*result
;
25168 char *kwnames
[] = {
25172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
25174 if (!wxPyCheckForApp()) SWIG_fail
;
25175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25176 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
25178 wxPyEndAllowThreads(__tstate
);
25179 if (PyErr_Occurred()) SWIG_fail
;
25181 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
25188 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25189 PyObject
*resultobj
;
25190 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25191 wxWindow
*arg2
= (wxWindow
*) 0 ;
25192 int arg3
= (int) -1 ;
25193 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25194 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25195 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25196 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25197 long arg6
= (long) wxTR_DEFAULT_STYLE
;
25198 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
25199 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
25200 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
25201 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
25205 bool temp8
= False
;
25206 PyObject
* obj0
= 0 ;
25207 PyObject
* obj1
= 0 ;
25208 PyObject
* obj2
= 0 ;
25209 PyObject
* obj3
= 0 ;
25210 PyObject
* obj4
= 0 ;
25211 PyObject
* obj5
= 0 ;
25212 PyObject
* obj6
= 0 ;
25213 PyObject
* obj7
= 0 ;
25214 char *kwnames
[] = {
25215 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
25219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25221 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25224 arg3
= (int)SWIG_As_int(obj2
);
25225 if (PyErr_Occurred()) SWIG_fail
;
25230 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25236 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25240 arg6
= (long)SWIG_As_long(obj5
);
25241 if (PyErr_Occurred()) SWIG_fail
;
25244 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
25245 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25247 if (arg7
== NULL
) {
25248 PyErr_SetString(PyExc_TypeError
,"null reference");
25254 arg8
= wxString_in_helper(obj7
);
25255 if (arg8
== NULL
) SWIG_fail
;
25260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25261 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
25263 wxPyEndAllowThreads(__tstate
);
25264 if (PyErr_Occurred()) SWIG_fail
;
25267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25283 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25284 PyObject
*resultobj
;
25285 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25286 PyObject
*arg2
= (PyObject
*) 0 ;
25287 PyObject
*arg3
= (PyObject
*) 0 ;
25288 PyObject
* obj0
= 0 ;
25289 PyObject
* obj1
= 0 ;
25290 PyObject
* obj2
= 0 ;
25291 char *kwnames
[] = {
25292 (char *) "self",(char *) "self",(char *) "_class", NULL
25295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25302 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25304 wxPyEndAllowThreads(__tstate
);
25305 if (PyErr_Occurred()) SWIG_fail
;
25307 Py_INCREF(Py_None
); resultobj
= Py_None
;
25314 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25315 PyObject
*resultobj
;
25316 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25318 PyObject
* obj0
= 0 ;
25319 char *kwnames
[] = {
25320 (char *) "self", NULL
25323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
25324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25328 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
25330 wxPyEndAllowThreads(__tstate
);
25331 if (PyErr_Occurred()) SWIG_fail
;
25333 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25340 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25341 PyObject
*resultobj
;
25342 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25343 unsigned int result
;
25344 PyObject
* obj0
= 0 ;
25345 char *kwnames
[] = {
25346 (char *) "self", NULL
25349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
25350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25354 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
25356 wxPyEndAllowThreads(__tstate
);
25357 if (PyErr_Occurred()) SWIG_fail
;
25359 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
25366 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25367 PyObject
*resultobj
;
25368 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25369 unsigned int arg2
;
25370 PyObject
* obj0
= 0 ;
25371 PyObject
* obj1
= 0 ;
25372 char *kwnames
[] = {
25373 (char *) "self",(char *) "indent", NULL
25376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
25377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25379 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
25380 if (PyErr_Occurred()) SWIG_fail
;
25382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25383 (arg1
)->SetIndent(arg2
);
25385 wxPyEndAllowThreads(__tstate
);
25386 if (PyErr_Occurred()) SWIG_fail
;
25388 Py_INCREF(Py_None
); resultobj
= Py_None
;
25395 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25396 PyObject
*resultobj
;
25397 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25398 unsigned int result
;
25399 PyObject
* obj0
= 0 ;
25400 char *kwnames
[] = {
25401 (char *) "self", NULL
25404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
25405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25409 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
25411 wxPyEndAllowThreads(__tstate
);
25412 if (PyErr_Occurred()) SWIG_fail
;
25414 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
25421 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25422 PyObject
*resultobj
;
25423 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25424 unsigned int arg2
;
25425 PyObject
* obj0
= 0 ;
25426 PyObject
* obj1
= 0 ;
25427 char *kwnames
[] = {
25428 (char *) "self",(char *) "spacing", NULL
25431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
25432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25434 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
25435 if (PyErr_Occurred()) SWIG_fail
;
25437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25438 (arg1
)->SetSpacing(arg2
);
25440 wxPyEndAllowThreads(__tstate
);
25441 if (PyErr_Occurred()) SWIG_fail
;
25443 Py_INCREF(Py_None
); resultobj
= Py_None
;
25450 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25451 PyObject
*resultobj
;
25452 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25453 wxImageList
*result
;
25454 PyObject
* obj0
= 0 ;
25455 char *kwnames
[] = {
25456 (char *) "self", NULL
25459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
25460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25464 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
25466 wxPyEndAllowThreads(__tstate
);
25467 if (PyErr_Occurred()) SWIG_fail
;
25470 resultobj
= wxPyMake_wxObject(result
, 0);
25478 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25479 PyObject
*resultobj
;
25480 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25481 wxImageList
*result
;
25482 PyObject
* obj0
= 0 ;
25483 char *kwnames
[] = {
25484 (char *) "self", NULL
25487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
25488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25492 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
25494 wxPyEndAllowThreads(__tstate
);
25495 if (PyErr_Occurred()) SWIG_fail
;
25498 resultobj
= wxPyMake_wxObject(result
, 0);
25506 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25507 PyObject
*resultobj
;
25508 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25509 wxImageList
*arg2
= (wxImageList
*) 0 ;
25510 PyObject
* obj0
= 0 ;
25511 PyObject
* obj1
= 0 ;
25512 char *kwnames
[] = {
25513 (char *) "self",(char *) "imageList", NULL
25516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25519 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25523 (arg1
)->SetImageList(arg2
);
25525 wxPyEndAllowThreads(__tstate
);
25526 if (PyErr_Occurred()) SWIG_fail
;
25528 Py_INCREF(Py_None
); resultobj
= Py_None
;
25535 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25536 PyObject
*resultobj
;
25537 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25538 wxImageList
*arg2
= (wxImageList
*) 0 ;
25539 PyObject
* obj0
= 0 ;
25540 PyObject
* obj1
= 0 ;
25541 char *kwnames
[] = {
25542 (char *) "self",(char *) "imageList", NULL
25545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25548 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25552 (arg1
)->SetStateImageList(arg2
);
25554 wxPyEndAllowThreads(__tstate
);
25555 if (PyErr_Occurred()) SWIG_fail
;
25557 Py_INCREF(Py_None
); resultobj
= Py_None
;
25564 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25565 PyObject
*resultobj
;
25566 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25567 wxImageList
*arg2
= (wxImageList
*) 0 ;
25568 PyObject
* obj0
= 0 ;
25569 PyObject
* obj1
= 0 ;
25570 char *kwnames
[] = {
25571 (char *) "self",(char *) "imageList", NULL
25574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25577 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25578 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25581 (arg1
)->AssignImageList(arg2
);
25583 wxPyEndAllowThreads(__tstate
);
25584 if (PyErr_Occurred()) SWIG_fail
;
25586 Py_INCREF(Py_None
); resultobj
= Py_None
;
25593 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25594 PyObject
*resultobj
;
25595 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25596 wxImageList
*arg2
= (wxImageList
*) 0 ;
25597 PyObject
* obj0
= 0 ;
25598 PyObject
* obj1
= 0 ;
25599 char *kwnames
[] = {
25600 (char *) "self",(char *) "imageList", NULL
25603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25606 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25607 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25610 (arg1
)->AssignStateImageList(arg2
);
25612 wxPyEndAllowThreads(__tstate
);
25613 if (PyErr_Occurred()) SWIG_fail
;
25615 Py_INCREF(Py_None
); resultobj
= Py_None
;
25622 static PyObject
*_wrap_TreeCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25623 PyObject
*resultobj
;
25624 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25625 wxTreeItemId
*arg2
= 0 ;
25627 PyObject
* obj0
= 0 ;
25628 PyObject
* obj1
= 0 ;
25629 char *kwnames
[] = {
25630 (char *) "self",(char *) "item", NULL
25633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
25634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25636 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25637 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25639 if (arg2
== NULL
) {
25640 PyErr_SetString(PyExc_TypeError
,"null reference");
25644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25645 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemText((wxTreeItemId
const &)*arg2
);
25647 wxPyEndAllowThreads(__tstate
);
25648 if (PyErr_Occurred()) SWIG_fail
;
25652 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25654 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25663 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25664 PyObject
*resultobj
;
25665 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25666 wxTreeItemId
*arg2
= 0 ;
25667 int arg3
= (int) wxTreeItemIcon_Normal
;
25669 PyObject
* obj0
= 0 ;
25670 PyObject
* obj1
= 0 ;
25671 PyObject
* obj2
= 0 ;
25672 char *kwnames
[] = {
25673 (char *) "self",(char *) "item",(char *) "which", NULL
25676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25679 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25680 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25682 if (arg2
== NULL
) {
25683 PyErr_SetString(PyExc_TypeError
,"null reference");
25687 arg3
= (int)SWIG_As_int(obj2
);
25688 if (PyErr_Occurred()) SWIG_fail
;
25691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25692 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
25694 wxPyEndAllowThreads(__tstate
);
25695 if (PyErr_Occurred()) SWIG_fail
;
25697 resultobj
= SWIG_From_int((int)result
);
25704 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25705 PyObject
*resultobj
;
25706 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25707 wxTreeItemId
*arg2
= 0 ;
25708 wxPyTreeItemData
*result
;
25709 PyObject
* obj0
= 0 ;
25710 PyObject
* obj1
= 0 ;
25711 char *kwnames
[] = {
25712 (char *) "self",(char *) "item", NULL
25715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
25716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25718 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25719 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25721 if (arg2
== NULL
) {
25722 PyErr_SetString(PyExc_TypeError
,"null reference");
25726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25727 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
25729 wxPyEndAllowThreads(__tstate
);
25730 if (PyErr_Occurred()) SWIG_fail
;
25732 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
25739 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25740 PyObject
*resultobj
;
25741 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25742 wxTreeItemId
*arg2
= 0 ;
25744 PyObject
* obj0
= 0 ;
25745 PyObject
* obj1
= 0 ;
25746 char *kwnames
[] = {
25747 (char *) "self",(char *) "item", NULL
25750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
25751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25753 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25754 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25756 if (arg2
== NULL
) {
25757 PyErr_SetString(PyExc_TypeError
,"null reference");
25761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25762 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
25764 wxPyEndAllowThreads(__tstate
);
25765 if (PyErr_Occurred()) SWIG_fail
;
25767 resultobj
= result
;
25774 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25775 PyObject
*resultobj
;
25776 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25777 wxTreeItemId
*arg2
= 0 ;
25779 PyObject
* obj0
= 0 ;
25780 PyObject
* obj1
= 0 ;
25781 char *kwnames
[] = {
25782 (char *) "self",(char *) "item", NULL
25785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25788 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25789 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25791 if (arg2
== NULL
) {
25792 PyErr_SetString(PyExc_TypeError
,"null reference");
25796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25797 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
25799 wxPyEndAllowThreads(__tstate
);
25800 if (PyErr_Occurred()) SWIG_fail
;
25803 wxColour
* resultptr
;
25804 resultptr
= new wxColour((wxColour
&) result
);
25805 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25813 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25814 PyObject
*resultobj
;
25815 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25816 wxTreeItemId
*arg2
= 0 ;
25818 PyObject
* obj0
= 0 ;
25819 PyObject
* obj1
= 0 ;
25820 char *kwnames
[] = {
25821 (char *) "self",(char *) "item", NULL
25824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25827 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25828 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25830 if (arg2
== NULL
) {
25831 PyErr_SetString(PyExc_TypeError
,"null reference");
25835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25836 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
25838 wxPyEndAllowThreads(__tstate
);
25839 if (PyErr_Occurred()) SWIG_fail
;
25842 wxColour
* resultptr
;
25843 resultptr
= new wxColour((wxColour
&) result
);
25844 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25852 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25853 PyObject
*resultobj
;
25854 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25855 wxTreeItemId
*arg2
= 0 ;
25857 PyObject
* obj0
= 0 ;
25858 PyObject
* obj1
= 0 ;
25859 char *kwnames
[] = {
25860 (char *) "self",(char *) "item", NULL
25863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
25864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25866 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25867 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25869 if (arg2
== NULL
) {
25870 PyErr_SetString(PyExc_TypeError
,"null reference");
25874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25875 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
25877 wxPyEndAllowThreads(__tstate
);
25878 if (PyErr_Occurred()) SWIG_fail
;
25881 wxFont
* resultptr
;
25882 resultptr
= new wxFont((wxFont
&) result
);
25883 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
25891 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25892 PyObject
*resultobj
;
25893 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25894 wxTreeItemId
*arg2
= 0 ;
25895 wxString
*arg3
= 0 ;
25896 bool temp3
= False
;
25897 PyObject
* obj0
= 0 ;
25898 PyObject
* obj1
= 0 ;
25899 PyObject
* obj2
= 0 ;
25900 char *kwnames
[] = {
25901 (char *) "self",(char *) "item",(char *) "text", NULL
25904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25907 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25908 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25910 if (arg2
== NULL
) {
25911 PyErr_SetString(PyExc_TypeError
,"null reference");
25915 arg3
= wxString_in_helper(obj2
);
25916 if (arg3
== NULL
) SWIG_fail
;
25920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25921 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
25923 wxPyEndAllowThreads(__tstate
);
25924 if (PyErr_Occurred()) SWIG_fail
;
25926 Py_INCREF(Py_None
); resultobj
= Py_None
;
25941 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25942 PyObject
*resultobj
;
25943 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25944 wxTreeItemId
*arg2
= 0 ;
25946 int arg4
= (int) wxTreeItemIcon_Normal
;
25947 PyObject
* obj0
= 0 ;
25948 PyObject
* obj1
= 0 ;
25949 PyObject
* obj2
= 0 ;
25950 PyObject
* obj3
= 0 ;
25951 char *kwnames
[] = {
25952 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
25955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25958 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25959 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25961 if (arg2
== NULL
) {
25962 PyErr_SetString(PyExc_TypeError
,"null reference");
25965 arg3
= (int)SWIG_As_int(obj2
);
25966 if (PyErr_Occurred()) SWIG_fail
;
25968 arg4
= (int)SWIG_As_int(obj3
);
25969 if (PyErr_Occurred()) SWIG_fail
;
25972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25973 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
25975 wxPyEndAllowThreads(__tstate
);
25976 if (PyErr_Occurred()) SWIG_fail
;
25978 Py_INCREF(Py_None
); resultobj
= Py_None
;
25985 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25986 PyObject
*resultobj
;
25987 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25988 wxTreeItemId
*arg2
= 0 ;
25989 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
25990 PyObject
* obj0
= 0 ;
25991 PyObject
* obj1
= 0 ;
25992 PyObject
* obj2
= 0 ;
25993 char *kwnames
[] = {
25994 (char *) "self",(char *) "item",(char *) "data", NULL
25997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26000 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26001 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26003 if (arg2
== NULL
) {
26004 PyErr_SetString(PyExc_TypeError
,"null reference");
26007 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
,
26008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26011 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26013 wxPyEndAllowThreads(__tstate
);
26014 if (PyErr_Occurred()) SWIG_fail
;
26016 Py_INCREF(Py_None
); resultobj
= Py_None
;
26023 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26024 PyObject
*resultobj
;
26025 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26026 wxTreeItemId
*arg2
= 0 ;
26027 PyObject
*arg3
= (PyObject
*) 0 ;
26028 PyObject
* obj0
= 0 ;
26029 PyObject
* obj1
= 0 ;
26030 PyObject
* obj2
= 0 ;
26031 char *kwnames
[] = {
26032 (char *) "self",(char *) "item",(char *) "obj", NULL
26035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26038 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26039 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26041 if (arg2
== NULL
) {
26042 PyErr_SetString(PyExc_TypeError
,"null reference");
26047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26048 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26050 wxPyEndAllowThreads(__tstate
);
26051 if (PyErr_Occurred()) SWIG_fail
;
26053 Py_INCREF(Py_None
); resultobj
= Py_None
;
26060 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26061 PyObject
*resultobj
;
26062 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26063 wxTreeItemId
*arg2
= 0 ;
26064 bool arg3
= (bool) True
;
26065 PyObject
* obj0
= 0 ;
26066 PyObject
* obj1
= 0 ;
26067 PyObject
* obj2
= 0 ;
26068 char *kwnames
[] = {
26069 (char *) "self",(char *) "item",(char *) "has", NULL
26072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26075 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26076 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26078 if (arg2
== NULL
) {
26079 PyErr_SetString(PyExc_TypeError
,"null reference");
26083 arg3
= (bool)SWIG_As_bool(obj2
);
26084 if (PyErr_Occurred()) SWIG_fail
;
26087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26088 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
26090 wxPyEndAllowThreads(__tstate
);
26091 if (PyErr_Occurred()) SWIG_fail
;
26093 Py_INCREF(Py_None
); resultobj
= Py_None
;
26100 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26101 PyObject
*resultobj
;
26102 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26103 wxTreeItemId
*arg2
= 0 ;
26104 bool arg3
= (bool) True
;
26105 PyObject
* obj0
= 0 ;
26106 PyObject
* obj1
= 0 ;
26107 PyObject
* obj2
= 0 ;
26108 char *kwnames
[] = {
26109 (char *) "self",(char *) "item",(char *) "bold", NULL
26112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26115 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26116 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26118 if (arg2
== NULL
) {
26119 PyErr_SetString(PyExc_TypeError
,"null reference");
26123 arg3
= (bool)SWIG_As_bool(obj2
);
26124 if (PyErr_Occurred()) SWIG_fail
;
26127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26128 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
26130 wxPyEndAllowThreads(__tstate
);
26131 if (PyErr_Occurred()) SWIG_fail
;
26133 Py_INCREF(Py_None
); resultobj
= Py_None
;
26140 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26141 PyObject
*resultobj
;
26142 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26143 wxTreeItemId
*arg2
= 0 ;
26144 wxColour
*arg3
= 0 ;
26146 PyObject
* obj0
= 0 ;
26147 PyObject
* obj1
= 0 ;
26148 PyObject
* obj2
= 0 ;
26149 char *kwnames
[] = {
26150 (char *) "self",(char *) "item",(char *) "col", NULL
26153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26156 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26157 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26159 if (arg2
== NULL
) {
26160 PyErr_SetString(PyExc_TypeError
,"null reference");
26165 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26169 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
26171 wxPyEndAllowThreads(__tstate
);
26172 if (PyErr_Occurred()) SWIG_fail
;
26174 Py_INCREF(Py_None
); resultobj
= Py_None
;
26181 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26182 PyObject
*resultobj
;
26183 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26184 wxTreeItemId
*arg2
= 0 ;
26185 wxColour
*arg3
= 0 ;
26187 PyObject
* obj0
= 0 ;
26188 PyObject
* obj1
= 0 ;
26189 PyObject
* obj2
= 0 ;
26190 char *kwnames
[] = {
26191 (char *) "self",(char *) "item",(char *) "col", NULL
26194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26197 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26198 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26200 if (arg2
== NULL
) {
26201 PyErr_SetString(PyExc_TypeError
,"null reference");
26206 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26210 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
26212 wxPyEndAllowThreads(__tstate
);
26213 if (PyErr_Occurred()) SWIG_fail
;
26215 Py_INCREF(Py_None
); resultobj
= Py_None
;
26222 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26223 PyObject
*resultobj
;
26224 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26225 wxTreeItemId
*arg2
= 0 ;
26227 PyObject
* obj0
= 0 ;
26228 PyObject
* obj1
= 0 ;
26229 PyObject
* obj2
= 0 ;
26230 char *kwnames
[] = {
26231 (char *) "self",(char *) "item",(char *) "font", NULL
26234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26237 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26238 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26240 if (arg2
== NULL
) {
26241 PyErr_SetString(PyExc_TypeError
,"null reference");
26244 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
26245 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26247 if (arg3
== NULL
) {
26248 PyErr_SetString(PyExc_TypeError
,"null reference");
26252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26253 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
26255 wxPyEndAllowThreads(__tstate
);
26256 if (PyErr_Occurred()) SWIG_fail
;
26258 Py_INCREF(Py_None
); resultobj
= Py_None
;
26265 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26266 PyObject
*resultobj
;
26267 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26268 wxTreeItemId
*arg2
= 0 ;
26270 PyObject
* obj0
= 0 ;
26271 PyObject
* obj1
= 0 ;
26272 char *kwnames
[] = {
26273 (char *) "self",(char *) "item", NULL
26276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26279 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26280 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26282 if (arg2
== NULL
) {
26283 PyErr_SetString(PyExc_TypeError
,"null reference");
26287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26288 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
26290 wxPyEndAllowThreads(__tstate
);
26291 if (PyErr_Occurred()) SWIG_fail
;
26294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26302 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26303 PyObject
*resultobj
;
26304 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26305 wxTreeItemId
*arg2
= 0 ;
26307 PyObject
* obj0
= 0 ;
26308 PyObject
* obj1
= 0 ;
26309 char *kwnames
[] = {
26310 (char *) "self",(char *) "item", NULL
26313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26316 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26317 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26319 if (arg2
== NULL
) {
26320 PyErr_SetString(PyExc_TypeError
,"null reference");
26324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26325 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
26327 wxPyEndAllowThreads(__tstate
);
26328 if (PyErr_Occurred()) SWIG_fail
;
26331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26339 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26340 PyObject
*resultobj
;
26341 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26342 wxTreeItemId
*arg2
= 0 ;
26344 PyObject
* obj0
= 0 ;
26345 PyObject
* obj1
= 0 ;
26346 char *kwnames
[] = {
26347 (char *) "self",(char *) "item", NULL
26350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
26351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26353 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26354 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26356 if (arg2
== NULL
) {
26357 PyErr_SetString(PyExc_TypeError
,"null reference");
26361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26362 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
26364 wxPyEndAllowThreads(__tstate
);
26365 if (PyErr_Occurred()) SWIG_fail
;
26368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26376 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26377 PyObject
*resultobj
;
26378 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26379 wxTreeItemId
*arg2
= 0 ;
26381 PyObject
* obj0
= 0 ;
26382 PyObject
* obj1
= 0 ;
26383 char *kwnames
[] = {
26384 (char *) "self",(char *) "item", NULL
26387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26390 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26391 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26393 if (arg2
== NULL
) {
26394 PyErr_SetString(PyExc_TypeError
,"null reference");
26398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26399 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
26401 wxPyEndAllowThreads(__tstate
);
26402 if (PyErr_Occurred()) SWIG_fail
;
26405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26413 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26414 PyObject
*resultobj
;
26415 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26416 wxTreeItemId
*arg2
= 0 ;
26418 PyObject
* obj0
= 0 ;
26419 PyObject
* obj1
= 0 ;
26420 char *kwnames
[] = {
26421 (char *) "self",(char *) "item", NULL
26424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
26425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26427 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26428 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26430 if (arg2
== NULL
) {
26431 PyErr_SetString(PyExc_TypeError
,"null reference");
26435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26436 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
26438 wxPyEndAllowThreads(__tstate
);
26439 if (PyErr_Occurred()) SWIG_fail
;
26442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26450 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26451 PyObject
*resultobj
;
26452 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26453 wxTreeItemId
*arg2
= 0 ;
26454 bool arg3
= (bool) True
;
26456 PyObject
* obj0
= 0 ;
26457 PyObject
* obj1
= 0 ;
26458 PyObject
* obj2
= 0 ;
26459 char *kwnames
[] = {
26460 (char *) "self",(char *) "item",(char *) "recursively", NULL
26463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26466 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26467 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26469 if (arg2
== NULL
) {
26470 PyErr_SetString(PyExc_TypeError
,"null reference");
26474 arg3
= (bool)SWIG_As_bool(obj2
);
26475 if (PyErr_Occurred()) SWIG_fail
;
26478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26479 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
26481 wxPyEndAllowThreads(__tstate
);
26482 if (PyErr_Occurred()) SWIG_fail
;
26484 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
26491 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26492 PyObject
*resultobj
;
26493 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26494 wxTreeItemId result
;
26495 PyObject
* obj0
= 0 ;
26496 char *kwnames
[] = {
26497 (char *) "self", NULL
26500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
26501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26505 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
26507 wxPyEndAllowThreads(__tstate
);
26508 if (PyErr_Occurred()) SWIG_fail
;
26511 wxTreeItemId
* resultptr
;
26512 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26513 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26521 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26522 PyObject
*resultobj
;
26523 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26524 wxTreeItemId result
;
26525 PyObject
* obj0
= 0 ;
26526 char *kwnames
[] = {
26527 (char *) "self", NULL
26530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
26531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26535 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
26537 wxPyEndAllowThreads(__tstate
);
26538 if (PyErr_Occurred()) SWIG_fail
;
26541 wxTreeItemId
* resultptr
;
26542 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26543 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26551 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26552 PyObject
*resultobj
;
26553 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26555 PyObject
* obj0
= 0 ;
26556 char *kwnames
[] = {
26557 (char *) "self", NULL
26560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
26561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26565 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
26567 wxPyEndAllowThreads(__tstate
);
26568 if (PyErr_Occurred()) SWIG_fail
;
26570 resultobj
= result
;
26577 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26578 PyObject
*resultobj
;
26579 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26580 wxTreeItemId
*arg2
= 0 ;
26581 wxTreeItemId result
;
26582 PyObject
* obj0
= 0 ;
26583 PyObject
* obj1
= 0 ;
26584 char *kwnames
[] = {
26585 (char *) "self",(char *) "item", NULL
26588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26591 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26592 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26594 if (arg2
== NULL
) {
26595 PyErr_SetString(PyExc_TypeError
,"null reference");
26599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26600 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
26602 wxPyEndAllowThreads(__tstate
);
26603 if (PyErr_Occurred()) SWIG_fail
;
26606 wxTreeItemId
* resultptr
;
26607 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26608 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26616 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26617 PyObject
*resultobj
;
26618 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26619 wxTreeItemId
*arg2
= 0 ;
26621 PyObject
* obj0
= 0 ;
26622 PyObject
* obj1
= 0 ;
26623 char *kwnames
[] = {
26624 (char *) "self",(char *) "item", NULL
26627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
26628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26630 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26631 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26633 if (arg2
== NULL
) {
26634 PyErr_SetString(PyExc_TypeError
,"null reference");
26638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26639 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
26641 wxPyEndAllowThreads(__tstate
);
26642 if (PyErr_Occurred()) SWIG_fail
;
26644 resultobj
= result
;
26651 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26652 PyObject
*resultobj
;
26653 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26654 wxTreeItemId
*arg2
= 0 ;
26655 void *arg3
= (void *) 0 ;
26657 PyObject
* obj0
= 0 ;
26658 PyObject
* obj1
= 0 ;
26659 PyObject
* obj2
= 0 ;
26660 char *kwnames
[] = {
26661 (char *) "self",(char *) "item",(char *) "cookie", NULL
26664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26667 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26668 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26670 if (arg2
== NULL
) {
26671 PyErr_SetString(PyExc_TypeError
,"null reference");
26674 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26677 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26679 wxPyEndAllowThreads(__tstate
);
26680 if (PyErr_Occurred()) SWIG_fail
;
26682 resultobj
= result
;
26689 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26690 PyObject
*resultobj
;
26691 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26692 wxTreeItemId
*arg2
= 0 ;
26693 wxTreeItemId result
;
26694 PyObject
* obj0
= 0 ;
26695 PyObject
* obj1
= 0 ;
26696 char *kwnames
[] = {
26697 (char *) "self",(char *) "item", NULL
26700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
26701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26703 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26704 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26706 if (arg2
== NULL
) {
26707 PyErr_SetString(PyExc_TypeError
,"null reference");
26711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26712 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
26714 wxPyEndAllowThreads(__tstate
);
26715 if (PyErr_Occurred()) SWIG_fail
;
26718 wxTreeItemId
* resultptr
;
26719 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26720 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26728 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26729 PyObject
*resultobj
;
26730 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26731 wxTreeItemId
*arg2
= 0 ;
26732 wxTreeItemId result
;
26733 PyObject
* obj0
= 0 ;
26734 PyObject
* obj1
= 0 ;
26735 char *kwnames
[] = {
26736 (char *) "self",(char *) "item", NULL
26739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
26740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26742 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26743 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26745 if (arg2
== NULL
) {
26746 PyErr_SetString(PyExc_TypeError
,"null reference");
26750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26751 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
26753 wxPyEndAllowThreads(__tstate
);
26754 if (PyErr_Occurred()) SWIG_fail
;
26757 wxTreeItemId
* resultptr
;
26758 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26759 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26767 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26768 PyObject
*resultobj
;
26769 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26770 wxTreeItemId
*arg2
= 0 ;
26771 wxTreeItemId result
;
26772 PyObject
* obj0
= 0 ;
26773 PyObject
* obj1
= 0 ;
26774 char *kwnames
[] = {
26775 (char *) "self",(char *) "item", NULL
26778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
26779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26781 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26782 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26784 if (arg2
== NULL
) {
26785 PyErr_SetString(PyExc_TypeError
,"null reference");
26789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26790 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
26792 wxPyEndAllowThreads(__tstate
);
26793 if (PyErr_Occurred()) SWIG_fail
;
26796 wxTreeItemId
* resultptr
;
26797 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26798 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26806 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26807 PyObject
*resultobj
;
26808 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26809 wxTreeItemId result
;
26810 PyObject
* obj0
= 0 ;
26811 char *kwnames
[] = {
26812 (char *) "self", NULL
26815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
26816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26820 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
26822 wxPyEndAllowThreads(__tstate
);
26823 if (PyErr_Occurred()) SWIG_fail
;
26826 wxTreeItemId
* resultptr
;
26827 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26828 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26836 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26837 PyObject
*resultobj
;
26838 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26839 wxTreeItemId
*arg2
= 0 ;
26840 wxTreeItemId result
;
26841 PyObject
* obj0
= 0 ;
26842 PyObject
* obj1
= 0 ;
26843 char *kwnames
[] = {
26844 (char *) "self",(char *) "item", NULL
26847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26850 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26851 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26853 if (arg2
== NULL
) {
26854 PyErr_SetString(PyExc_TypeError
,"null reference");
26858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26859 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
26861 wxPyEndAllowThreads(__tstate
);
26862 if (PyErr_Occurred()) SWIG_fail
;
26865 wxTreeItemId
* resultptr
;
26866 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26867 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26875 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26876 PyObject
*resultobj
;
26877 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26878 wxTreeItemId
*arg2
= 0 ;
26879 wxTreeItemId result
;
26880 PyObject
* obj0
= 0 ;
26881 PyObject
* obj1
= 0 ;
26882 char *kwnames
[] = {
26883 (char *) "self",(char *) "item", NULL
26886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26889 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26890 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26892 if (arg2
== NULL
) {
26893 PyErr_SetString(PyExc_TypeError
,"null reference");
26897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26898 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
26900 wxPyEndAllowThreads(__tstate
);
26901 if (PyErr_Occurred()) SWIG_fail
;
26904 wxTreeItemId
* resultptr
;
26905 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26906 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26914 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26915 PyObject
*resultobj
;
26916 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26917 wxString
*arg2
= 0 ;
26918 int arg3
= (int) -1 ;
26919 int arg4
= (int) -1 ;
26920 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
26921 wxTreeItemId result
;
26922 bool temp2
= False
;
26923 PyObject
* obj0
= 0 ;
26924 PyObject
* obj1
= 0 ;
26925 PyObject
* obj2
= 0 ;
26926 PyObject
* obj3
= 0 ;
26927 PyObject
* obj4
= 0 ;
26928 char *kwnames
[] = {
26929 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
26933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26936 arg2
= wxString_in_helper(obj1
);
26937 if (arg2
== NULL
) SWIG_fail
;
26941 arg3
= (int)SWIG_As_int(obj2
);
26942 if (PyErr_Occurred()) SWIG_fail
;
26945 arg4
= (int)SWIG_As_int(obj3
);
26946 if (PyErr_Occurred()) SWIG_fail
;
26949 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
,
26950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26954 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
26956 wxPyEndAllowThreads(__tstate
);
26957 if (PyErr_Occurred()) SWIG_fail
;
26960 wxTreeItemId
* resultptr
;
26961 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26962 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26978 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26979 PyObject
*resultobj
;
26980 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26981 wxTreeItemId
*arg2
= 0 ;
26982 wxString
*arg3
= 0 ;
26983 int arg4
= (int) -1 ;
26984 int arg5
= (int) -1 ;
26985 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
26986 wxTreeItemId result
;
26987 bool temp3
= False
;
26988 PyObject
* obj0
= 0 ;
26989 PyObject
* obj1
= 0 ;
26990 PyObject
* obj2
= 0 ;
26991 PyObject
* obj3
= 0 ;
26992 PyObject
* obj4
= 0 ;
26993 PyObject
* obj5
= 0 ;
26994 char *kwnames
[] = {
26995 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
26998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27001 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27002 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27004 if (arg2
== NULL
) {
27005 PyErr_SetString(PyExc_TypeError
,"null reference");
27009 arg3
= wxString_in_helper(obj2
);
27010 if (arg3
== NULL
) SWIG_fail
;
27014 arg4
= (int)SWIG_As_int(obj3
);
27015 if (PyErr_Occurred()) SWIG_fail
;
27018 arg5
= (int)SWIG_As_int(obj4
);
27019 if (PyErr_Occurred()) SWIG_fail
;
27022 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
27023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27027 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
27029 wxPyEndAllowThreads(__tstate
);
27030 if (PyErr_Occurred()) SWIG_fail
;
27033 wxTreeItemId
* resultptr
;
27034 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27035 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27051 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27052 PyObject
*resultobj
;
27053 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27054 wxTreeItemId
*arg2
= 0 ;
27055 wxTreeItemId
*arg3
= 0 ;
27056 wxString
*arg4
= 0 ;
27057 int arg5
= (int) -1 ;
27058 int arg6
= (int) -1 ;
27059 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
27060 wxTreeItemId result
;
27061 bool temp4
= False
;
27062 PyObject
* obj0
= 0 ;
27063 PyObject
* obj1
= 0 ;
27064 PyObject
* obj2
= 0 ;
27065 PyObject
* obj3
= 0 ;
27066 PyObject
* obj4
= 0 ;
27067 PyObject
* obj5
= 0 ;
27068 PyObject
* obj6
= 0 ;
27069 char *kwnames
[] = {
27070 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27076 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27077 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27079 if (arg2
== NULL
) {
27080 PyErr_SetString(PyExc_TypeError
,"null reference");
27083 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
,
27084 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27086 if (arg3
== NULL
) {
27087 PyErr_SetString(PyExc_TypeError
,"null reference");
27091 arg4
= wxString_in_helper(obj3
);
27092 if (arg4
== NULL
) SWIG_fail
;
27096 arg5
= (int)SWIG_As_int(obj4
);
27097 if (PyErr_Occurred()) SWIG_fail
;
27100 arg6
= (int)SWIG_As_int(obj5
);
27101 if (PyErr_Occurred()) SWIG_fail
;
27104 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
27105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27109 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
27111 wxPyEndAllowThreads(__tstate
);
27112 if (PyErr_Occurred()) SWIG_fail
;
27115 wxTreeItemId
* resultptr
;
27116 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27117 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27133 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27134 PyObject
*resultobj
;
27135 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27136 wxTreeItemId
*arg2
= 0 ;
27138 wxString
*arg4
= 0 ;
27139 int arg5
= (int) -1 ;
27140 int arg6
= (int) -1 ;
27141 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
27142 wxTreeItemId result
;
27143 bool temp4
= False
;
27144 PyObject
* obj0
= 0 ;
27145 PyObject
* obj1
= 0 ;
27146 PyObject
* obj2
= 0 ;
27147 PyObject
* obj3
= 0 ;
27148 PyObject
* obj4
= 0 ;
27149 PyObject
* obj5
= 0 ;
27150 PyObject
* obj6
= 0 ;
27151 char *kwnames
[] = {
27152 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27158 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27159 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27161 if (arg2
== NULL
) {
27162 PyErr_SetString(PyExc_TypeError
,"null reference");
27165 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
27166 if (PyErr_Occurred()) SWIG_fail
;
27168 arg4
= wxString_in_helper(obj3
);
27169 if (arg4
== NULL
) SWIG_fail
;
27173 arg5
= (int)SWIG_As_int(obj4
);
27174 if (PyErr_Occurred()) SWIG_fail
;
27177 arg6
= (int)SWIG_As_int(obj5
);
27178 if (PyErr_Occurred()) SWIG_fail
;
27181 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
27182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27186 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
27188 wxPyEndAllowThreads(__tstate
);
27189 if (PyErr_Occurred()) SWIG_fail
;
27192 wxTreeItemId
* resultptr
;
27193 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27194 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27210 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27211 PyObject
*resultobj
;
27212 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27213 wxTreeItemId
*arg2
= 0 ;
27214 wxString
*arg3
= 0 ;
27215 int arg4
= (int) -1 ;
27216 int arg5
= (int) -1 ;
27217 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
27218 wxTreeItemId result
;
27219 bool temp3
= False
;
27220 PyObject
* obj0
= 0 ;
27221 PyObject
* obj1
= 0 ;
27222 PyObject
* obj2
= 0 ;
27223 PyObject
* obj3
= 0 ;
27224 PyObject
* obj4
= 0 ;
27225 PyObject
* obj5
= 0 ;
27226 char *kwnames
[] = {
27227 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27233 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27234 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27236 if (arg2
== NULL
) {
27237 PyErr_SetString(PyExc_TypeError
,"null reference");
27241 arg3
= wxString_in_helper(obj2
);
27242 if (arg3
== NULL
) SWIG_fail
;
27246 arg4
= (int)SWIG_As_int(obj3
);
27247 if (PyErr_Occurred()) SWIG_fail
;
27250 arg5
= (int)SWIG_As_int(obj4
);
27251 if (PyErr_Occurred()) SWIG_fail
;
27254 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
27255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27259 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
27261 wxPyEndAllowThreads(__tstate
);
27262 if (PyErr_Occurred()) SWIG_fail
;
27265 wxTreeItemId
* resultptr
;
27266 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27267 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27283 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27284 PyObject
*resultobj
;
27285 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27286 wxTreeItemId
*arg2
= 0 ;
27287 PyObject
* obj0
= 0 ;
27288 PyObject
* obj1
= 0 ;
27289 char *kwnames
[] = {
27290 (char *) "self",(char *) "item", NULL
27293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
27294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27296 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27297 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27299 if (arg2
== NULL
) {
27300 PyErr_SetString(PyExc_TypeError
,"null reference");
27304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27305 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
27307 wxPyEndAllowThreads(__tstate
);
27308 if (PyErr_Occurred()) SWIG_fail
;
27310 Py_INCREF(Py_None
); resultobj
= Py_None
;
27317 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27318 PyObject
*resultobj
;
27319 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27320 wxTreeItemId
*arg2
= 0 ;
27321 PyObject
* obj0
= 0 ;
27322 PyObject
* obj1
= 0 ;
27323 char *kwnames
[] = {
27324 (char *) "self",(char *) "item", NULL
27327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
27328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27330 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27331 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27333 if (arg2
== NULL
) {
27334 PyErr_SetString(PyExc_TypeError
,"null reference");
27338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27339 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
27341 wxPyEndAllowThreads(__tstate
);
27342 if (PyErr_Occurred()) SWIG_fail
;
27344 Py_INCREF(Py_None
); resultobj
= Py_None
;
27351 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27352 PyObject
*resultobj
;
27353 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27354 PyObject
* obj0
= 0 ;
27355 char *kwnames
[] = {
27356 (char *) "self", NULL
27359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
27360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27364 (arg1
)->DeleteAllItems();
27366 wxPyEndAllowThreads(__tstate
);
27367 if (PyErr_Occurred()) SWIG_fail
;
27369 Py_INCREF(Py_None
); resultobj
= Py_None
;
27376 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27377 PyObject
*resultobj
;
27378 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27379 wxTreeItemId
*arg2
= 0 ;
27380 PyObject
* obj0
= 0 ;
27381 PyObject
* obj1
= 0 ;
27382 char *kwnames
[] = {
27383 (char *) "self",(char *) "item", NULL
27386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
27387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27389 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27390 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27392 if (arg2
== NULL
) {
27393 PyErr_SetString(PyExc_TypeError
,"null reference");
27397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27398 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
27400 wxPyEndAllowThreads(__tstate
);
27401 if (PyErr_Occurred()) SWIG_fail
;
27403 Py_INCREF(Py_None
); resultobj
= Py_None
;
27410 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27411 PyObject
*resultobj
;
27412 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27413 wxTreeItemId
*arg2
= 0 ;
27414 PyObject
* obj0
= 0 ;
27415 PyObject
* obj1
= 0 ;
27416 char *kwnames
[] = {
27417 (char *) "self",(char *) "item", NULL
27420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
27421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27423 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27424 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27426 if (arg2
== NULL
) {
27427 PyErr_SetString(PyExc_TypeError
,"null reference");
27431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27432 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
27434 wxPyEndAllowThreads(__tstate
);
27435 if (PyErr_Occurred()) SWIG_fail
;
27437 Py_INCREF(Py_None
); resultobj
= Py_None
;
27444 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27445 PyObject
*resultobj
;
27446 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27447 wxTreeItemId
*arg2
= 0 ;
27448 PyObject
* obj0
= 0 ;
27449 PyObject
* obj1
= 0 ;
27450 char *kwnames
[] = {
27451 (char *) "self",(char *) "item", NULL
27454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames
,&obj0
,&obj1
)) goto fail
;
27455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27457 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27458 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27460 if (arg2
== NULL
) {
27461 PyErr_SetString(PyExc_TypeError
,"null reference");
27465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27466 (arg1
)->CollapseAndReset((wxTreeItemId
const &)*arg2
);
27468 wxPyEndAllowThreads(__tstate
);
27469 if (PyErr_Occurred()) SWIG_fail
;
27471 Py_INCREF(Py_None
); resultobj
= Py_None
;
27478 static PyObject
*_wrap_TreeCtrl_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27479 PyObject
*resultobj
;
27480 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27481 wxTreeItemId
*arg2
= 0 ;
27482 PyObject
* obj0
= 0 ;
27483 PyObject
* obj1
= 0 ;
27484 char *kwnames
[] = {
27485 (char *) "self",(char *) "item", NULL
27488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Toggle",kwnames
,&obj0
,&obj1
)) goto fail
;
27489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27491 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27492 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27494 if (arg2
== NULL
) {
27495 PyErr_SetString(PyExc_TypeError
,"null reference");
27499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27500 (arg1
)->Toggle((wxTreeItemId
const &)*arg2
);
27502 wxPyEndAllowThreads(__tstate
);
27503 if (PyErr_Occurred()) SWIG_fail
;
27505 Py_INCREF(Py_None
); resultobj
= Py_None
;
27512 static PyObject
*_wrap_TreeCtrl_Unselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27513 PyObject
*resultobj
;
27514 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27515 PyObject
* obj0
= 0 ;
27516 char *kwnames
[] = {
27517 (char *) "self", NULL
27520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
27521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27525 (arg1
)->Unselect();
27527 wxPyEndAllowThreads(__tstate
);
27528 if (PyErr_Occurred()) SWIG_fail
;
27530 Py_INCREF(Py_None
); resultobj
= Py_None
;
27537 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27538 PyObject
*resultobj
;
27539 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27540 wxTreeItemId
*arg2
= 0 ;
27541 PyObject
* obj0
= 0 ;
27542 PyObject
* obj1
= 0 ;
27543 char *kwnames
[] = {
27544 (char *) "self",(char *) "item", NULL
27547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27550 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27551 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27553 if (arg2
== NULL
) {
27554 PyErr_SetString(PyExc_TypeError
,"null reference");
27558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27559 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
27561 wxPyEndAllowThreads(__tstate
);
27562 if (PyErr_Occurred()) SWIG_fail
;
27564 Py_INCREF(Py_None
); resultobj
= Py_None
;
27571 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27572 PyObject
*resultobj
;
27573 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27574 PyObject
* obj0
= 0 ;
27575 char *kwnames
[] = {
27576 (char *) "self", NULL
27579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
27580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27584 (arg1
)->UnselectAll();
27586 wxPyEndAllowThreads(__tstate
);
27587 if (PyErr_Occurred()) SWIG_fail
;
27589 Py_INCREF(Py_None
); resultobj
= Py_None
;
27596 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27597 PyObject
*resultobj
;
27598 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27599 wxTreeItemId
*arg2
= 0 ;
27600 bool arg3
= (bool) True
;
27601 PyObject
* obj0
= 0 ;
27602 PyObject
* obj1
= 0 ;
27603 PyObject
* obj2
= 0 ;
27604 char *kwnames
[] = {
27605 (char *) "self",(char *) "item",(char *) "select", NULL
27608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27611 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27612 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27614 if (arg2
== NULL
) {
27615 PyErr_SetString(PyExc_TypeError
,"null reference");
27619 arg3
= (bool)SWIG_As_bool(obj2
);
27620 if (PyErr_Occurred()) SWIG_fail
;
27623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27624 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
27626 wxPyEndAllowThreads(__tstate
);
27627 if (PyErr_Occurred()) SWIG_fail
;
27629 Py_INCREF(Py_None
); resultobj
= Py_None
;
27636 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27637 PyObject
*resultobj
;
27638 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27639 wxTreeItemId
*arg2
= 0 ;
27640 PyObject
* obj0
= 0 ;
27641 PyObject
* obj1
= 0 ;
27642 char *kwnames
[] = {
27643 (char *) "self",(char *) "item", NULL
27646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27649 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27650 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27652 if (arg2
== NULL
) {
27653 PyErr_SetString(PyExc_TypeError
,"null reference");
27657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27658 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
27660 wxPyEndAllowThreads(__tstate
);
27661 if (PyErr_Occurred()) SWIG_fail
;
27663 Py_INCREF(Py_None
); resultobj
= Py_None
;
27670 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27671 PyObject
*resultobj
;
27672 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27673 wxTreeItemId
*arg2
= 0 ;
27674 PyObject
* obj0
= 0 ;
27675 PyObject
* obj1
= 0 ;
27676 char *kwnames
[] = {
27677 (char *) "self",(char *) "item", NULL
27680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
27681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27683 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27684 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27686 if (arg2
== NULL
) {
27687 PyErr_SetString(PyExc_TypeError
,"null reference");
27691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27692 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
27694 wxPyEndAllowThreads(__tstate
);
27695 if (PyErr_Occurred()) SWIG_fail
;
27697 Py_INCREF(Py_None
); resultobj
= Py_None
;
27704 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27705 PyObject
*resultobj
;
27706 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27707 wxTreeItemId
*arg2
= 0 ;
27708 PyObject
* obj0
= 0 ;
27709 PyObject
* obj1
= 0 ;
27710 char *kwnames
[] = {
27711 (char *) "self",(char *) "item", NULL
27714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
27715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27717 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27718 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27720 if (arg2
== NULL
) {
27721 PyErr_SetString(PyExc_TypeError
,"null reference");
27725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27726 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
27728 wxPyEndAllowThreads(__tstate
);
27729 if (PyErr_Occurred()) SWIG_fail
;
27731 Py_INCREF(Py_None
); resultobj
= Py_None
;
27738 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27739 PyObject
*resultobj
;
27740 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27741 wxTreeItemId
*arg2
= 0 ;
27742 PyObject
* obj0
= 0 ;
27743 PyObject
* obj1
= 0 ;
27744 char *kwnames
[] = {
27745 (char *) "self",(char *) "item", NULL
27748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27751 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27752 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27754 if (arg2
== NULL
) {
27755 PyErr_SetString(PyExc_TypeError
,"null reference");
27759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27760 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
27762 wxPyEndAllowThreads(__tstate
);
27763 if (PyErr_Occurred()) SWIG_fail
;
27765 Py_INCREF(Py_None
); resultobj
= Py_None
;
27772 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27773 PyObject
*resultobj
;
27774 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27775 wxTextCtrl
*result
;
27776 PyObject
* obj0
= 0 ;
27777 char *kwnames
[] = {
27778 (char *) "self", NULL
27781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
27782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27786 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
27788 wxPyEndAllowThreads(__tstate
);
27789 if (PyErr_Occurred()) SWIG_fail
;
27792 resultobj
= wxPyMake_wxObject(result
, 0);
27800 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27801 PyObject
*resultobj
;
27802 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27803 wxTreeItemId
*arg2
= 0 ;
27804 PyObject
* obj0
= 0 ;
27805 PyObject
* obj1
= 0 ;
27806 char *kwnames
[] = {
27807 (char *) "self",(char *) "item", NULL
27810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
27811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27813 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27814 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27816 if (arg2
== NULL
) {
27817 PyErr_SetString(PyExc_TypeError
,"null reference");
27821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27822 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
27824 wxPyEndAllowThreads(__tstate
);
27825 if (PyErr_Occurred()) SWIG_fail
;
27827 Py_INCREF(Py_None
); resultobj
= Py_None
;
27834 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27835 PyObject
*resultobj
;
27836 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27837 wxPoint
*arg2
= 0 ;
27839 wxTreeItemId result
;
27843 PyObject
* obj0
= 0 ;
27844 PyObject
* obj1
= 0 ;
27845 char *kwnames
[] = {
27846 (char *) "self",(char *) "point", NULL
27849 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
27850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
27851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27855 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
27858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27859 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
27861 wxPyEndAllowThreads(__tstate
);
27862 if (PyErr_Occurred()) SWIG_fail
;
27865 wxTreeItemId
* resultptr
;
27866 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27867 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27869 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
27870 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
27877 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27878 PyObject
*resultobj
;
27879 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27880 wxTreeItemId
*arg2
= 0 ;
27881 bool arg3
= (bool) False
;
27883 PyObject
* obj0
= 0 ;
27884 PyObject
* obj1
= 0 ;
27885 PyObject
* obj2
= 0 ;
27886 char *kwnames
[] = {
27887 (char *) "self",(char *) "item",(char *) "textOnly", NULL
27890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27893 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27894 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27896 if (arg2
== NULL
) {
27897 PyErr_SetString(PyExc_TypeError
,"null reference");
27901 arg3
= (bool)SWIG_As_bool(obj2
);
27902 if (PyErr_Occurred()) SWIG_fail
;
27905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27906 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
27908 wxPyEndAllowThreads(__tstate
);
27909 if (PyErr_Occurred()) SWIG_fail
;
27911 resultobj
= result
;
27918 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27919 PyObject
*resultobj
;
27920 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
27921 wxVisualAttributes result
;
27922 PyObject
* obj0
= 0 ;
27923 char *kwnames
[] = {
27924 (char *) "variant", NULL
27927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
27929 arg1
= (int)SWIG_As_int(obj0
);
27930 if (PyErr_Occurred()) SWIG_fail
;
27933 if (!wxPyCheckForApp()) SWIG_fail
;
27934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27935 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
27937 wxPyEndAllowThreads(__tstate
);
27938 if (PyErr_Occurred()) SWIG_fail
;
27941 wxVisualAttributes
* resultptr
;
27942 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
27943 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
27951 static PyObject
* TreeCtrl_swigregister(PyObject
*, PyObject
*args
) {
27953 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27954 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
27956 return Py_BuildValue((char *)"");
27958 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
27959 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
27964 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
27969 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
27971 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
27978 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27979 PyObject
*resultobj
;
27980 wxWindow
*arg1
= (wxWindow
*) 0 ;
27981 int arg2
= (int) (int)-1 ;
27982 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
27983 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
27984 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
27985 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
27986 wxSize
const &arg5_defvalue
= wxDefaultSize
;
27987 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
27988 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
27989 wxString
const &arg7_defvalue
= wxPyEmptyString
;
27990 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
27991 int arg8
= (int) 0 ;
27992 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
27993 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
27994 wxGenericDirCtrl
*result
;
27995 bool temp3
= False
;
27998 bool temp7
= False
;
27999 bool temp9
= False
;
28000 PyObject
* obj0
= 0 ;
28001 PyObject
* obj1
= 0 ;
28002 PyObject
* obj2
= 0 ;
28003 PyObject
* obj3
= 0 ;
28004 PyObject
* obj4
= 0 ;
28005 PyObject
* obj5
= 0 ;
28006 PyObject
* obj6
= 0 ;
28007 PyObject
* obj7
= 0 ;
28008 PyObject
* obj8
= 0 ;
28009 char *kwnames
[] = {
28010 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
28014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28017 arg2
= (int)SWIG_As_int(obj1
);
28018 if (PyErr_Occurred()) SWIG_fail
;
28022 arg3
= wxString_in_helper(obj2
);
28023 if (arg3
== NULL
) SWIG_fail
;
28030 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28036 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28040 arg6
= (long)SWIG_As_long(obj5
);
28041 if (PyErr_Occurred()) SWIG_fail
;
28045 arg7
= wxString_in_helper(obj6
);
28046 if (arg7
== NULL
) SWIG_fail
;
28051 arg8
= (int)SWIG_As_int(obj7
);
28052 if (PyErr_Occurred()) SWIG_fail
;
28056 arg9
= wxString_in_helper(obj8
);
28057 if (arg9
== NULL
) SWIG_fail
;
28062 if (!wxPyCheckForApp()) SWIG_fail
;
28063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28064 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
28066 wxPyEndAllowThreads(__tstate
);
28067 if (PyErr_Occurred()) SWIG_fail
;
28069 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
28100 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28101 PyObject
*resultobj
;
28102 wxGenericDirCtrl
*result
;
28103 char *kwnames
[] = {
28107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
28109 if (!wxPyCheckForApp()) SWIG_fail
;
28110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28111 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
28113 wxPyEndAllowThreads(__tstate
);
28114 if (PyErr_Occurred()) SWIG_fail
;
28116 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
28123 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28124 PyObject
*resultobj
;
28125 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28126 wxWindow
*arg2
= (wxWindow
*) 0 ;
28127 int arg3
= (int) (int)-1 ;
28128 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
28129 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28130 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
28131 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
28132 wxSize
const &arg6_defvalue
= wxDefaultSize
;
28133 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
28134 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
28135 wxString
const &arg8_defvalue
= wxPyEmptyString
;
28136 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28137 int arg9
= (int) 0 ;
28138 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
28139 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
28141 bool temp4
= False
;
28144 bool temp8
= False
;
28145 bool temp10
= False
;
28146 PyObject
* obj0
= 0 ;
28147 PyObject
* obj1
= 0 ;
28148 PyObject
* obj2
= 0 ;
28149 PyObject
* obj3
= 0 ;
28150 PyObject
* obj4
= 0 ;
28151 PyObject
* obj5
= 0 ;
28152 PyObject
* obj6
= 0 ;
28153 PyObject
* obj7
= 0 ;
28154 PyObject
* obj8
= 0 ;
28155 PyObject
* obj9
= 0 ;
28156 char *kwnames
[] = {
28157 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
28161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28163 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28166 arg3
= (int)SWIG_As_int(obj2
);
28167 if (PyErr_Occurred()) SWIG_fail
;
28171 arg4
= wxString_in_helper(obj3
);
28172 if (arg4
== NULL
) SWIG_fail
;
28179 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
28185 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
28189 arg7
= (long)SWIG_As_long(obj6
);
28190 if (PyErr_Occurred()) SWIG_fail
;
28194 arg8
= wxString_in_helper(obj7
);
28195 if (arg8
== NULL
) SWIG_fail
;
28200 arg9
= (int)SWIG_As_int(obj8
);
28201 if (PyErr_Occurred()) SWIG_fail
;
28205 arg10
= wxString_in_helper(obj9
);
28206 if (arg10
== NULL
) SWIG_fail
;
28211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28212 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
28214 wxPyEndAllowThreads(__tstate
);
28215 if (PyErr_Occurred()) SWIG_fail
;
28218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28250 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28251 PyObject
*resultobj
;
28252 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28253 wxString
*arg2
= 0 ;
28255 bool temp2
= False
;
28256 PyObject
* obj0
= 0 ;
28257 PyObject
* obj1
= 0 ;
28258 char *kwnames
[] = {
28259 (char *) "self",(char *) "path", NULL
28262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28266 arg2
= wxString_in_helper(obj1
);
28267 if (arg2
== NULL
) SWIG_fail
;
28271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28272 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
28274 wxPyEndAllowThreads(__tstate
);
28275 if (PyErr_Occurred()) SWIG_fail
;
28278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28294 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28295 PyObject
*resultobj
;
28296 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28298 PyObject
* obj0
= 0 ;
28299 char *kwnames
[] = {
28300 (char *) "self", NULL
28303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
28304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28308 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
28310 wxPyEndAllowThreads(__tstate
);
28311 if (PyErr_Occurred()) SWIG_fail
;
28315 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28317 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28326 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28327 PyObject
*resultobj
;
28328 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28329 wxString
*arg2
= 0 ;
28330 bool temp2
= False
;
28331 PyObject
* obj0
= 0 ;
28332 PyObject
* obj1
= 0 ;
28333 char *kwnames
[] = {
28334 (char *) "self",(char *) "path", NULL
28337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28341 arg2
= wxString_in_helper(obj1
);
28342 if (arg2
== NULL
) SWIG_fail
;
28346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28347 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
28349 wxPyEndAllowThreads(__tstate
);
28350 if (PyErr_Occurred()) SWIG_fail
;
28352 Py_INCREF(Py_None
); resultobj
= Py_None
;
28367 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28368 PyObject
*resultobj
;
28369 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28371 PyObject
* obj0
= 0 ;
28372 char *kwnames
[] = {
28373 (char *) "self", NULL
28376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
28377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28381 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
28383 wxPyEndAllowThreads(__tstate
);
28384 if (PyErr_Occurred()) SWIG_fail
;
28388 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28390 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28399 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28400 PyObject
*resultobj
;
28401 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28403 PyObject
* obj0
= 0 ;
28404 char *kwnames
[] = {
28405 (char *) "self", NULL
28408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
28409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28413 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
28415 wxPyEndAllowThreads(__tstate
);
28416 if (PyErr_Occurred()) SWIG_fail
;
28420 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28422 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28431 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28432 PyObject
*resultobj
;
28433 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28434 wxString
*arg2
= 0 ;
28435 bool temp2
= False
;
28436 PyObject
* obj0
= 0 ;
28437 PyObject
* obj1
= 0 ;
28438 char *kwnames
[] = {
28439 (char *) "self",(char *) "path", NULL
28442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28446 arg2
= wxString_in_helper(obj1
);
28447 if (arg2
== NULL
) SWIG_fail
;
28451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28452 (arg1
)->SetPath((wxString
const &)*arg2
);
28454 wxPyEndAllowThreads(__tstate
);
28455 if (PyErr_Occurred()) SWIG_fail
;
28457 Py_INCREF(Py_None
); resultobj
= Py_None
;
28472 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28473 PyObject
*resultobj
;
28474 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28476 PyObject
* obj0
= 0 ;
28477 PyObject
* obj1
= 0 ;
28478 char *kwnames
[] = {
28479 (char *) "self",(char *) "show", NULL
28482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
28483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28485 arg2
= (bool)SWIG_As_bool(obj1
);
28486 if (PyErr_Occurred()) SWIG_fail
;
28488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28489 (arg1
)->ShowHidden(arg2
);
28491 wxPyEndAllowThreads(__tstate
);
28492 if (PyErr_Occurred()) SWIG_fail
;
28494 Py_INCREF(Py_None
); resultobj
= Py_None
;
28501 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28502 PyObject
*resultobj
;
28503 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28505 PyObject
* obj0
= 0 ;
28506 char *kwnames
[] = {
28507 (char *) "self", NULL
28510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
28511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28515 result
= (bool)(arg1
)->GetShowHidden();
28517 wxPyEndAllowThreads(__tstate
);
28518 if (PyErr_Occurred()) SWIG_fail
;
28521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28529 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28530 PyObject
*resultobj
;
28531 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28533 PyObject
* obj0
= 0 ;
28534 char *kwnames
[] = {
28535 (char *) "self", NULL
28538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
28539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28543 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
28545 wxPyEndAllowThreads(__tstate
);
28546 if (PyErr_Occurred()) SWIG_fail
;
28550 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28552 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28561 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28562 PyObject
*resultobj
;
28563 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28564 wxString
*arg2
= 0 ;
28565 bool temp2
= False
;
28566 PyObject
* obj0
= 0 ;
28567 PyObject
* obj1
= 0 ;
28568 char *kwnames
[] = {
28569 (char *) "self",(char *) "filter", NULL
28572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
28573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28576 arg2
= wxString_in_helper(obj1
);
28577 if (arg2
== NULL
) SWIG_fail
;
28581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28582 (arg1
)->SetFilter((wxString
const &)*arg2
);
28584 wxPyEndAllowThreads(__tstate
);
28585 if (PyErr_Occurred()) SWIG_fail
;
28587 Py_INCREF(Py_None
); resultobj
= Py_None
;
28602 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28603 PyObject
*resultobj
;
28604 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28606 PyObject
* obj0
= 0 ;
28607 char *kwnames
[] = {
28608 (char *) "self", NULL
28611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
28612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28616 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
28618 wxPyEndAllowThreads(__tstate
);
28619 if (PyErr_Occurred()) SWIG_fail
;
28621 resultobj
= SWIG_From_int((int)result
);
28628 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28629 PyObject
*resultobj
;
28630 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28632 PyObject
* obj0
= 0 ;
28633 PyObject
* obj1
= 0 ;
28634 char *kwnames
[] = {
28635 (char *) "self",(char *) "n", NULL
28638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
28639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28641 arg2
= (int)SWIG_As_int(obj1
);
28642 if (PyErr_Occurred()) SWIG_fail
;
28644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28645 (arg1
)->SetFilterIndex(arg2
);
28647 wxPyEndAllowThreads(__tstate
);
28648 if (PyErr_Occurred()) SWIG_fail
;
28650 Py_INCREF(Py_None
); resultobj
= Py_None
;
28657 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28658 PyObject
*resultobj
;
28659 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28660 wxTreeItemId result
;
28661 PyObject
* obj0
= 0 ;
28662 char *kwnames
[] = {
28663 (char *) "self", NULL
28666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
28667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28671 result
= (arg1
)->GetRootId();
28673 wxPyEndAllowThreads(__tstate
);
28674 if (PyErr_Occurred()) SWIG_fail
;
28677 wxTreeItemId
* resultptr
;
28678 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28679 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28687 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28688 PyObject
*resultobj
;
28689 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28690 wxPyTreeCtrl
*result
;
28691 PyObject
* obj0
= 0 ;
28692 char *kwnames
[] = {
28693 (char *) "self", NULL
28696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
28697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28701 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
28703 wxPyEndAllowThreads(__tstate
);
28704 if (PyErr_Occurred()) SWIG_fail
;
28707 resultobj
= wxPyMake_wxObject(result
, 0);
28715 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28716 PyObject
*resultobj
;
28717 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28718 wxDirFilterListCtrl
*result
;
28719 PyObject
* obj0
= 0 ;
28720 char *kwnames
[] = {
28721 (char *) "self", NULL
28724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
28725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28729 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
28731 wxPyEndAllowThreads(__tstate
);
28732 if (PyErr_Occurred()) SWIG_fail
;
28734 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
28741 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28742 PyObject
*resultobj
;
28743 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28744 wxTreeItemId arg2
;
28745 wxString
*arg3
= 0 ;
28747 wxTreeItemId result
;
28748 wxTreeItemId
*argp2
;
28749 bool temp3
= False
;
28752 PyObject
* obj0
= 0 ;
28753 PyObject
* obj1
= 0 ;
28754 PyObject
* obj2
= 0 ;
28755 char *kwnames
[] = {
28756 (char *) "self",(char *) "parentId",(char *) "path", NULL
28759 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
28760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28763 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
,
28764 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
28767 arg3
= wxString_in_helper(obj2
);
28768 if (arg3
== NULL
) SWIG_fail
;
28772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28773 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
28775 wxPyEndAllowThreads(__tstate
);
28776 if (PyErr_Occurred()) SWIG_fail
;
28779 wxTreeItemId
* resultptr
;
28780 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28781 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28783 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
28784 SWIG_From_bool((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, 0)));
28799 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28800 PyObject
*resultobj
;
28801 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28802 PyObject
* obj0
= 0 ;
28803 char *kwnames
[] = {
28804 (char *) "self", NULL
28807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
28808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28812 (arg1
)->DoResize();
28814 wxPyEndAllowThreads(__tstate
);
28815 if (PyErr_Occurred()) SWIG_fail
;
28817 Py_INCREF(Py_None
); resultobj
= Py_None
;
28824 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28825 PyObject
*resultobj
;
28826 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28827 PyObject
* obj0
= 0 ;
28828 char *kwnames
[] = {
28829 (char *) "self", NULL
28832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
28833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28837 (arg1
)->ReCreateTree();
28839 wxPyEndAllowThreads(__tstate
);
28840 if (PyErr_Occurred()) SWIG_fail
;
28842 Py_INCREF(Py_None
); resultobj
= Py_None
;
28849 static PyObject
* GenericDirCtrl_swigregister(PyObject
*, PyObject
*args
) {
28851 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28852 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
28854 return Py_BuildValue((char *)"");
28856 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28857 PyObject
*resultobj
;
28858 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28859 int arg2
= (int) (int)-1 ;
28860 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28861 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28862 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28863 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28864 long arg5
= (long) 0 ;
28865 wxDirFilterListCtrl
*result
;
28868 PyObject
* obj0
= 0 ;
28869 PyObject
* obj1
= 0 ;
28870 PyObject
* obj2
= 0 ;
28871 PyObject
* obj3
= 0 ;
28872 PyObject
* obj4
= 0 ;
28873 char *kwnames
[] = {
28874 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28881 arg2
= (int)SWIG_As_int(obj1
);
28882 if (PyErr_Occurred()) SWIG_fail
;
28887 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28893 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28897 arg5
= (long)SWIG_As_long(obj4
);
28898 if (PyErr_Occurred()) SWIG_fail
;
28901 if (!wxPyCheckForApp()) SWIG_fail
;
28902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28903 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
28905 wxPyEndAllowThreads(__tstate
);
28906 if (PyErr_Occurred()) SWIG_fail
;
28908 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
28915 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28916 PyObject
*resultobj
;
28917 wxDirFilterListCtrl
*result
;
28918 char *kwnames
[] = {
28922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
28924 if (!wxPyCheckForApp()) SWIG_fail
;
28925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28926 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
28928 wxPyEndAllowThreads(__tstate
);
28929 if (PyErr_Occurred()) SWIG_fail
;
28931 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
28938 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28939 PyObject
*resultobj
;
28940 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
28941 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
28942 int arg3
= (int) (int)-1 ;
28943 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28944 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28945 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28946 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28947 long arg6
= (long) 0 ;
28951 PyObject
* obj0
= 0 ;
28952 PyObject
* obj1
= 0 ;
28953 PyObject
* obj2
= 0 ;
28954 PyObject
* obj3
= 0 ;
28955 PyObject
* obj4
= 0 ;
28956 PyObject
* obj5
= 0 ;
28957 char *kwnames
[] = {
28958 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
28961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
28963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28964 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
,
28965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28967 arg3
= (int)SWIG_As_int(obj2
);
28968 if (PyErr_Occurred()) SWIG_fail
;
28973 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28979 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28983 arg6
= (long)SWIG_As_long(obj5
);
28984 if (PyErr_Occurred()) SWIG_fail
;
28987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28988 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
28990 wxPyEndAllowThreads(__tstate
);
28991 if (PyErr_Occurred()) SWIG_fail
;
28994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29002 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29003 PyObject
*resultobj
;
29004 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
29005 wxString
*arg2
= 0 ;
29007 bool temp2
= False
;
29008 PyObject
* obj0
= 0 ;
29009 PyObject
* obj1
= 0 ;
29010 PyObject
* obj2
= 0 ;
29011 char *kwnames
[] = {
29012 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
29015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
29017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29019 arg2
= wxString_in_helper(obj1
);
29020 if (arg2
== NULL
) SWIG_fail
;
29023 arg3
= (int)SWIG_As_int(obj2
);
29024 if (PyErr_Occurred()) SWIG_fail
;
29026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29027 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
29029 wxPyEndAllowThreads(__tstate
);
29030 if (PyErr_Occurred()) SWIG_fail
;
29032 Py_INCREF(Py_None
); resultobj
= Py_None
;
29047 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*, PyObject
*args
) {
29049 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29050 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
29052 return Py_BuildValue((char *)"");
29054 static PyObject
*_wrap_new_PyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29055 PyObject
*resultobj
;
29056 wxWindow
*arg1
= (wxWindow
*) 0 ;
29057 int arg2
= (int) (int)-1 ;
29058 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29059 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29060 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29061 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29062 long arg5
= (long) 0 ;
29063 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
29064 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
29065 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
29066 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29067 wxPyControl
*result
;
29070 bool temp7
= False
;
29071 PyObject
* obj0
= 0 ;
29072 PyObject
* obj1
= 0 ;
29073 PyObject
* obj2
= 0 ;
29074 PyObject
* obj3
= 0 ;
29075 PyObject
* obj4
= 0 ;
29076 PyObject
* obj5
= 0 ;
29077 PyObject
* obj6
= 0 ;
29078 char *kwnames
[] = {
29079 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
29083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29086 arg2
= (int)SWIG_As_int(obj1
);
29087 if (PyErr_Occurred()) SWIG_fail
;
29092 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29098 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29102 arg5
= (long)SWIG_As_long(obj4
);
29103 if (PyErr_Occurred()) SWIG_fail
;
29106 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
29107 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29109 if (arg6
== NULL
) {
29110 PyErr_SetString(PyExc_TypeError
,"null reference");
29116 arg7
= wxString_in_helper(obj6
);
29117 if (arg7
== NULL
) SWIG_fail
;
29122 if (!wxPyCheckForApp()) SWIG_fail
;
29123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29124 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
29126 wxPyEndAllowThreads(__tstate
);
29127 if (PyErr_Occurred()) SWIG_fail
;
29129 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
29144 static PyObject
*_wrap_new_PrePyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29145 PyObject
*resultobj
;
29146 wxPyControl
*result
;
29147 char *kwnames
[] = {
29151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
29153 if (!wxPyCheckForApp()) SWIG_fail
;
29154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29155 result
= (wxPyControl
*)new wxPyControl();
29157 wxPyEndAllowThreads(__tstate
);
29158 if (PyErr_Occurred()) SWIG_fail
;
29160 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
29167 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29168 PyObject
*resultobj
;
29169 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29170 PyObject
*arg2
= (PyObject
*) 0 ;
29171 PyObject
*arg3
= (PyObject
*) 0 ;
29172 PyObject
* obj0
= 0 ;
29173 PyObject
* obj1
= 0 ;
29174 PyObject
* obj2
= 0 ;
29175 char *kwnames
[] = {
29176 (char *) "self",(char *) "self",(char *) "_class", NULL
29179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29186 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29188 wxPyEndAllowThreads(__tstate
);
29189 if (PyErr_Occurred()) SWIG_fail
;
29191 Py_INCREF(Py_None
); resultobj
= Py_None
;
29198 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29199 PyObject
*resultobj
;
29200 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29203 PyObject
* obj0
= 0 ;
29204 PyObject
* obj1
= 0 ;
29205 char *kwnames
[] = {
29206 (char *) "self",(char *) "size", NULL
29209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
29210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29214 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29218 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
29220 wxPyEndAllowThreads(__tstate
);
29221 if (PyErr_Occurred()) SWIG_fail
;
29223 Py_INCREF(Py_None
); resultobj
= Py_None
;
29230 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29231 PyObject
*resultobj
;
29232 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29237 PyObject
* obj0
= 0 ;
29238 PyObject
* obj1
= 0 ;
29239 PyObject
* obj2
= 0 ;
29240 PyObject
* obj3
= 0 ;
29241 PyObject
* obj4
= 0 ;
29242 char *kwnames
[] = {
29243 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29249 arg2
= (int)SWIG_As_int(obj1
);
29250 if (PyErr_Occurred()) SWIG_fail
;
29251 arg3
= (int)SWIG_As_int(obj2
);
29252 if (PyErr_Occurred()) SWIG_fail
;
29253 arg4
= (int)SWIG_As_int(obj3
);
29254 if (PyErr_Occurred()) SWIG_fail
;
29255 arg5
= (int)SWIG_As_int(obj4
);
29256 if (PyErr_Occurred()) SWIG_fail
;
29258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29259 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
29261 wxPyEndAllowThreads(__tstate
);
29262 if (PyErr_Occurred()) SWIG_fail
;
29264 Py_INCREF(Py_None
); resultobj
= Py_None
;
29271 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29272 PyObject
*resultobj
;
29273 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29278 int arg6
= (int) wxSIZE_AUTO
;
29279 PyObject
* obj0
= 0 ;
29280 PyObject
* obj1
= 0 ;
29281 PyObject
* obj2
= 0 ;
29282 PyObject
* obj3
= 0 ;
29283 PyObject
* obj4
= 0 ;
29284 PyObject
* obj5
= 0 ;
29285 char *kwnames
[] = {
29286 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
29289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29292 arg2
= (int)SWIG_As_int(obj1
);
29293 if (PyErr_Occurred()) SWIG_fail
;
29294 arg3
= (int)SWIG_As_int(obj2
);
29295 if (PyErr_Occurred()) SWIG_fail
;
29296 arg4
= (int)SWIG_As_int(obj3
);
29297 if (PyErr_Occurred()) SWIG_fail
;
29298 arg5
= (int)SWIG_As_int(obj4
);
29299 if (PyErr_Occurred()) SWIG_fail
;
29301 arg6
= (int)SWIG_As_int(obj5
);
29302 if (PyErr_Occurred()) SWIG_fail
;
29305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29306 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
29308 wxPyEndAllowThreads(__tstate
);
29309 if (PyErr_Occurred()) SWIG_fail
;
29311 Py_INCREF(Py_None
); resultobj
= Py_None
;
29318 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29319 PyObject
*resultobj
;
29320 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29323 PyObject
* obj0
= 0 ;
29324 PyObject
* obj1
= 0 ;
29325 PyObject
* obj2
= 0 ;
29326 char *kwnames
[] = {
29327 (char *) "self",(char *) "width",(char *) "height", NULL
29330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29333 arg2
= (int)SWIG_As_int(obj1
);
29334 if (PyErr_Occurred()) SWIG_fail
;
29335 arg3
= (int)SWIG_As_int(obj2
);
29336 if (PyErr_Occurred()) SWIG_fail
;
29338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29339 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
29341 wxPyEndAllowThreads(__tstate
);
29342 if (PyErr_Occurred()) SWIG_fail
;
29344 Py_INCREF(Py_None
); resultobj
= Py_None
;
29351 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29352 PyObject
*resultobj
;
29353 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29356 PyObject
* obj0
= 0 ;
29357 PyObject
* obj1
= 0 ;
29358 PyObject
* obj2
= 0 ;
29359 char *kwnames
[] = {
29360 (char *) "self",(char *) "x",(char *) "y", NULL
29363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29366 arg2
= (int)SWIG_As_int(obj1
);
29367 if (PyErr_Occurred()) SWIG_fail
;
29368 arg3
= (int)SWIG_As_int(obj2
);
29369 if (PyErr_Occurred()) SWIG_fail
;
29371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29372 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
29374 wxPyEndAllowThreads(__tstate
);
29375 if (PyErr_Occurred()) SWIG_fail
;
29377 Py_INCREF(Py_None
); resultobj
= Py_None
;
29384 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29385 PyObject
*resultobj
;
29386 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29387 int *arg2
= (int *) 0 ;
29388 int *arg3
= (int *) 0 ;
29393 PyObject
* obj0
= 0 ;
29394 char *kwnames
[] = {
29395 (char *) "self", NULL
29398 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
29399 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
29401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29405 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
29407 wxPyEndAllowThreads(__tstate
);
29408 if (PyErr_Occurred()) SWIG_fail
;
29410 Py_INCREF(Py_None
); resultobj
= Py_None
;
29411 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
29412 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
29413 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29414 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29421 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29422 PyObject
*resultobj
;
29423 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29424 int *arg2
= (int *) 0 ;
29425 int *arg3
= (int *) 0 ;
29430 PyObject
* obj0
= 0 ;
29431 char *kwnames
[] = {
29432 (char *) "self", NULL
29435 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
29436 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
29438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29442 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
29444 wxPyEndAllowThreads(__tstate
);
29445 if (PyErr_Occurred()) SWIG_fail
;
29447 Py_INCREF(Py_None
); resultobj
= Py_None
;
29448 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
29449 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
29450 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29451 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29458 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29459 PyObject
*resultobj
;
29460 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29461 int *arg2
= (int *) 0 ;
29462 int *arg3
= (int *) 0 ;
29467 PyObject
* obj0
= 0 ;
29468 char *kwnames
[] = {
29469 (char *) "self", NULL
29472 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
29473 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
29475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29479 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
29481 wxPyEndAllowThreads(__tstate
);
29482 if (PyErr_Occurred()) SWIG_fail
;
29484 Py_INCREF(Py_None
); resultobj
= Py_None
;
29485 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
29486 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
29487 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29488 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29495 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29496 PyObject
*resultobj
;
29497 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29499 PyObject
* obj0
= 0 ;
29500 char *kwnames
[] = {
29501 (char *) "self", NULL
29504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
29505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29509 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
29511 wxPyEndAllowThreads(__tstate
);
29512 if (PyErr_Occurred()) SWIG_fail
;
29515 wxSize
* resultptr
;
29516 resultptr
= new wxSize((wxSize
&) result
);
29517 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29525 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29526 PyObject
*resultobj
;
29527 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29529 PyObject
* obj0
= 0 ;
29530 char *kwnames
[] = {
29531 (char *) "self", NULL
29534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
29535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29539 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
29541 wxPyEndAllowThreads(__tstate
);
29542 if (PyErr_Occurred()) SWIG_fail
;
29545 wxSize
* resultptr
;
29546 resultptr
= new wxSize((wxSize
&) result
);
29547 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29555 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29556 PyObject
*resultobj
;
29557 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29558 PyObject
* obj0
= 0 ;
29559 char *kwnames
[] = {
29560 (char *) "self", NULL
29563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
29564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29568 (arg1
)->base_InitDialog();
29570 wxPyEndAllowThreads(__tstate
);
29571 if (PyErr_Occurred()) SWIG_fail
;
29573 Py_INCREF(Py_None
); resultobj
= Py_None
;
29580 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29581 PyObject
*resultobj
;
29582 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29584 PyObject
* obj0
= 0 ;
29585 char *kwnames
[] = {
29586 (char *) "self", NULL
29589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
29590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29594 result
= (bool)(arg1
)->base_TransferDataToWindow();
29596 wxPyEndAllowThreads(__tstate
);
29597 if (PyErr_Occurred()) SWIG_fail
;
29600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29608 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29609 PyObject
*resultobj
;
29610 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29612 PyObject
* obj0
= 0 ;
29613 char *kwnames
[] = {
29614 (char *) "self", NULL
29617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
29618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29622 result
= (bool)(arg1
)->base_TransferDataFromWindow();
29624 wxPyEndAllowThreads(__tstate
);
29625 if (PyErr_Occurred()) SWIG_fail
;
29628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29636 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29637 PyObject
*resultobj
;
29638 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29640 PyObject
* obj0
= 0 ;
29641 char *kwnames
[] = {
29642 (char *) "self", NULL
29645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
29646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29650 result
= (bool)(arg1
)->base_Validate();
29652 wxPyEndAllowThreads(__tstate
);
29653 if (PyErr_Occurred()) SWIG_fail
;
29656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29664 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29665 PyObject
*resultobj
;
29666 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29668 PyObject
* obj0
= 0 ;
29669 char *kwnames
[] = {
29670 (char *) "self", NULL
29673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
29674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29678 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
29680 wxPyEndAllowThreads(__tstate
);
29681 if (PyErr_Occurred()) SWIG_fail
;
29684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29692 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29693 PyObject
*resultobj
;
29694 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29696 PyObject
* obj0
= 0 ;
29697 char *kwnames
[] = {
29698 (char *) "self", NULL
29701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
29702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29706 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
29708 wxPyEndAllowThreads(__tstate
);
29709 if (PyErr_Occurred()) SWIG_fail
;
29712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29720 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29721 PyObject
*resultobj
;
29722 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29724 PyObject
* obj0
= 0 ;
29725 char *kwnames
[] = {
29726 (char *) "self", NULL
29729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
29730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29734 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
29736 wxPyEndAllowThreads(__tstate
);
29737 if (PyErr_Occurred()) SWIG_fail
;
29740 wxSize
* resultptr
;
29741 resultptr
= new wxSize((wxSize
&) result
);
29742 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29750 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29751 PyObject
*resultobj
;
29752 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29753 wxWindow
*arg2
= (wxWindow
*) 0 ;
29754 PyObject
* obj0
= 0 ;
29755 PyObject
* obj1
= 0 ;
29756 char *kwnames
[] = {
29757 (char *) "self",(char *) "child", NULL
29760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29763 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29767 (arg1
)->base_AddChild(arg2
);
29769 wxPyEndAllowThreads(__tstate
);
29770 if (PyErr_Occurred()) SWIG_fail
;
29772 Py_INCREF(Py_None
); resultobj
= Py_None
;
29779 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29780 PyObject
*resultobj
;
29781 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29782 wxWindow
*arg2
= (wxWindow
*) 0 ;
29783 PyObject
* obj0
= 0 ;
29784 PyObject
* obj1
= 0 ;
29785 char *kwnames
[] = {
29786 (char *) "self",(char *) "child", NULL
29789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
29790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29792 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29796 (arg1
)->base_RemoveChild(arg2
);
29798 wxPyEndAllowThreads(__tstate
);
29799 if (PyErr_Occurred()) SWIG_fail
;
29801 Py_INCREF(Py_None
); resultobj
= Py_None
;
29808 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29809 PyObject
*resultobj
;
29810 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29812 PyObject
* obj0
= 0 ;
29813 char *kwnames
[] = {
29814 (char *) "self", NULL
29817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
29818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29822 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
29824 wxPyEndAllowThreads(__tstate
);
29825 if (PyErr_Occurred()) SWIG_fail
;
29828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29836 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29837 PyObject
*resultobj
;
29838 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29839 wxColour
*arg2
= 0 ;
29841 PyObject
* obj0
= 0 ;
29842 PyObject
* obj1
= 0 ;
29843 char *kwnames
[] = {
29844 (char *) "self",(char *) "c", NULL
29847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
29848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29852 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
29855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29856 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
29858 wxPyEndAllowThreads(__tstate
);
29859 if (PyErr_Occurred()) SWIG_fail
;
29861 Py_INCREF(Py_None
); resultobj
= Py_None
;
29868 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29869 PyObject
*resultobj
;
29870 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29871 wxVisualAttributes result
;
29872 PyObject
* obj0
= 0 ;
29873 char *kwnames
[] = {
29874 (char *) "self", NULL
29877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
29878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29882 result
= (arg1
)->base_GetDefaultAttributes();
29884 wxPyEndAllowThreads(__tstate
);
29885 if (PyErr_Occurred()) SWIG_fail
;
29888 wxVisualAttributes
* resultptr
;
29889 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
29890 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
29898 static PyObject
* PyControl_swigregister(PyObject
*, PyObject
*args
) {
29900 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29901 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
29903 return Py_BuildValue((char *)"");
29905 static PyObject
*_wrap_new_HelpEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29906 PyObject
*resultobj
;
29907 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
29908 int arg2
= (int) 0 ;
29909 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29910 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29911 wxHelpEvent
*result
;
29913 PyObject
* obj0
= 0 ;
29914 PyObject
* obj1
= 0 ;
29915 PyObject
* obj2
= 0 ;
29916 char *kwnames
[] = {
29917 (char *) "type",(char *) "winid",(char *) "pt", NULL
29920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29922 arg1
= (wxEventType
)SWIG_As_int(obj0
);
29923 if (PyErr_Occurred()) SWIG_fail
;
29926 arg2
= (int)SWIG_As_int(obj1
);
29927 if (PyErr_Occurred()) SWIG_fail
;
29932 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29937 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
29939 wxPyEndAllowThreads(__tstate
);
29940 if (PyErr_Occurred()) SWIG_fail
;
29942 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
29949 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29950 PyObject
*resultobj
;
29951 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29953 PyObject
* obj0
= 0 ;
29954 char *kwnames
[] = {
29955 (char *) "self", NULL
29958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
29959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29963 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
29965 wxPyEndAllowThreads(__tstate
);
29966 if (PyErr_Occurred()) SWIG_fail
;
29969 wxPoint
* resultptr
;
29970 resultptr
= new wxPoint((wxPoint
&) result
);
29971 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
29979 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29980 PyObject
*resultobj
;
29981 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
29982 wxPoint
*arg2
= 0 ;
29984 PyObject
* obj0
= 0 ;
29985 PyObject
* obj1
= 0 ;
29986 char *kwnames
[] = {
29987 (char *) "self",(char *) "pos", NULL
29990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
29991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
29992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29995 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
29998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29999 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
30001 wxPyEndAllowThreads(__tstate
);
30002 if (PyErr_Occurred()) SWIG_fail
;
30004 Py_INCREF(Py_None
); resultobj
= Py_None
;
30011 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30012 PyObject
*resultobj
;
30013 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30015 PyObject
* obj0
= 0 ;
30016 char *kwnames
[] = {
30017 (char *) "self", NULL
30020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
30021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30026 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
30027 result
= (wxString
*) &_result_ref
;
30030 wxPyEndAllowThreads(__tstate
);
30031 if (PyErr_Occurred()) SWIG_fail
;
30035 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30037 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30046 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30047 PyObject
*resultobj
;
30048 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30049 wxString
*arg2
= 0 ;
30050 bool temp2
= False
;
30051 PyObject
* obj0
= 0 ;
30052 PyObject
* obj1
= 0 ;
30053 char *kwnames
[] = {
30054 (char *) "self",(char *) "link", NULL
30057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
30058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30061 arg2
= wxString_in_helper(obj1
);
30062 if (arg2
== NULL
) SWIG_fail
;
30066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30067 (arg1
)->SetLink((wxString
const &)*arg2
);
30069 wxPyEndAllowThreads(__tstate
);
30070 if (PyErr_Occurred()) SWIG_fail
;
30072 Py_INCREF(Py_None
); resultobj
= Py_None
;
30087 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30088 PyObject
*resultobj
;
30089 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30091 PyObject
* obj0
= 0 ;
30092 char *kwnames
[] = {
30093 (char *) "self", NULL
30096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
30097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30102 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
30103 result
= (wxString
*) &_result_ref
;
30106 wxPyEndAllowThreads(__tstate
);
30107 if (PyErr_Occurred()) SWIG_fail
;
30111 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30113 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30122 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30123 PyObject
*resultobj
;
30124 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30125 wxString
*arg2
= 0 ;
30126 bool temp2
= False
;
30127 PyObject
* obj0
= 0 ;
30128 PyObject
* obj1
= 0 ;
30129 char *kwnames
[] = {
30130 (char *) "self",(char *) "target", NULL
30133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
30134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30137 arg2
= wxString_in_helper(obj1
);
30138 if (arg2
== NULL
) SWIG_fail
;
30142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30143 (arg1
)->SetTarget((wxString
const &)*arg2
);
30145 wxPyEndAllowThreads(__tstate
);
30146 if (PyErr_Occurred()) SWIG_fail
;
30148 Py_INCREF(Py_None
); resultobj
= Py_None
;
30163 static PyObject
* HelpEvent_swigregister(PyObject
*, PyObject
*args
) {
30165 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30166 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
30168 return Py_BuildValue((char *)"");
30170 static PyObject
*_wrap_new_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30171 PyObject
*resultobj
;
30172 wxWindow
*arg1
= (wxWindow
*) NULL
;
30173 bool arg2
= (bool) True
;
30174 wxContextHelp
*result
;
30175 PyObject
* obj0
= 0 ;
30176 PyObject
* obj1
= 0 ;
30177 char *kwnames
[] = {
30178 (char *) "window",(char *) "doNow", NULL
30181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30187 arg2
= (bool)SWIG_As_bool(obj1
);
30188 if (PyErr_Occurred()) SWIG_fail
;
30191 if (!wxPyCheckForApp()) SWIG_fail
;
30192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30193 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
30195 wxPyEndAllowThreads(__tstate
);
30196 if (PyErr_Occurred()) SWIG_fail
;
30198 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
30205 static PyObject
*_wrap_delete_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30206 PyObject
*resultobj
;
30207 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30208 PyObject
* obj0
= 0 ;
30209 char *kwnames
[] = {
30210 (char *) "self", NULL
30213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
30214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30220 wxPyEndAllowThreads(__tstate
);
30221 if (PyErr_Occurred()) SWIG_fail
;
30223 Py_INCREF(Py_None
); resultobj
= Py_None
;
30230 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30231 PyObject
*resultobj
;
30232 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30233 wxWindow
*arg2
= (wxWindow
*) NULL
;
30235 PyObject
* obj0
= 0 ;
30236 PyObject
* obj1
= 0 ;
30237 char *kwnames
[] = {
30238 (char *) "self",(char *) "window", NULL
30241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30245 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30250 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
30252 wxPyEndAllowThreads(__tstate
);
30253 if (PyErr_Occurred()) SWIG_fail
;
30256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30264 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30265 PyObject
*resultobj
;
30266 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30268 PyObject
* obj0
= 0 ;
30269 char *kwnames
[] = {
30270 (char *) "self", NULL
30273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
30274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30278 result
= (bool)(arg1
)->EndContextHelp();
30280 wxPyEndAllowThreads(__tstate
);
30281 if (PyErr_Occurred()) SWIG_fail
;
30284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30292 static PyObject
* ContextHelp_swigregister(PyObject
*, PyObject
*args
) {
30294 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30295 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
30297 return Py_BuildValue((char *)"");
30299 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30300 PyObject
*resultobj
;
30301 wxWindow
*arg1
= (wxWindow
*) 0 ;
30302 int arg2
= (int) wxID_CONTEXT_HELP
;
30303 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30304 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30305 wxSize
const &arg4_defvalue
= wxDefaultSize
;
30306 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
30307 long arg5
= (long) wxBU_AUTODRAW
;
30308 wxContextHelpButton
*result
;
30311 PyObject
* obj0
= 0 ;
30312 PyObject
* obj1
= 0 ;
30313 PyObject
* obj2
= 0 ;
30314 PyObject
* obj3
= 0 ;
30315 PyObject
* obj4
= 0 ;
30316 char *kwnames
[] = {
30317 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
30320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30324 arg2
= (int)SWIG_As_int(obj1
);
30325 if (PyErr_Occurred()) SWIG_fail
;
30330 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30336 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
30340 arg5
= (long)SWIG_As_long(obj4
);
30341 if (PyErr_Occurred()) SWIG_fail
;
30344 if (!wxPyCheckForApp()) SWIG_fail
;
30345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30346 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
30348 wxPyEndAllowThreads(__tstate
);
30349 if (PyErr_Occurred()) SWIG_fail
;
30351 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
30358 static PyObject
* ContextHelpButton_swigregister(PyObject
*, PyObject
*args
) {
30360 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30361 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
30363 return Py_BuildValue((char *)"");
30365 static PyObject
*_wrap_HelpProvider_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30366 PyObject
*resultobj
;
30367 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30368 wxHelpProvider
*result
;
30369 PyObject
* obj0
= 0 ;
30370 char *kwnames
[] = {
30371 (char *) "helpProvider", NULL
30374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
30375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30379 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
30381 wxPyEndAllowThreads(__tstate
);
30382 if (PyErr_Occurred()) SWIG_fail
;
30384 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30391 static PyObject
*_wrap_HelpProvider_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30392 PyObject
*resultobj
;
30393 wxHelpProvider
*result
;
30394 char *kwnames
[] = {
30398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
30400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30401 result
= (wxHelpProvider
*)wxHelpProvider::Get();
30403 wxPyEndAllowThreads(__tstate
);
30404 if (PyErr_Occurred()) SWIG_fail
;
30406 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30413 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30414 PyObject
*resultobj
;
30415 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30416 wxWindow
*arg2
= (wxWindow
*) 0 ;
30418 PyObject
* obj0
= 0 ;
30419 PyObject
* obj1
= 0 ;
30420 char *kwnames
[] = {
30421 (char *) "self",(char *) "window", NULL
30424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30427 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30431 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
30433 wxPyEndAllowThreads(__tstate
);
30434 if (PyErr_Occurred()) SWIG_fail
;
30438 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30440 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30449 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30450 PyObject
*resultobj
;
30451 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30452 wxWindow
*arg2
= (wxWindow
*) 0 ;
30454 PyObject
* obj0
= 0 ;
30455 PyObject
* obj1
= 0 ;
30456 char *kwnames
[] = {
30457 (char *) "self",(char *) "window", NULL
30460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30463 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30467 result
= (bool)(arg1
)->ShowHelp(arg2
);
30469 wxPyEndAllowThreads(__tstate
);
30470 if (PyErr_Occurred()) SWIG_fail
;
30473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30481 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30482 PyObject
*resultobj
;
30483 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30484 wxWindow
*arg2
= (wxWindow
*) 0 ;
30485 wxString
*arg3
= 0 ;
30486 bool temp3
= False
;
30487 PyObject
* obj0
= 0 ;
30488 PyObject
* obj1
= 0 ;
30489 PyObject
* obj2
= 0 ;
30490 char *kwnames
[] = {
30491 (char *) "self",(char *) "window",(char *) "text", NULL
30494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30497 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30500 arg3
= wxString_in_helper(obj2
);
30501 if (arg3
== NULL
) SWIG_fail
;
30505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30506 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30508 wxPyEndAllowThreads(__tstate
);
30509 if (PyErr_Occurred()) SWIG_fail
;
30511 Py_INCREF(Py_None
); resultobj
= Py_None
;
30526 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30527 PyObject
*resultobj
;
30528 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30530 wxString
*arg3
= 0 ;
30531 bool temp3
= False
;
30532 PyObject
* obj0
= 0 ;
30533 PyObject
* obj1
= 0 ;
30534 PyObject
* obj2
= 0 ;
30535 char *kwnames
[] = {
30536 (char *) "self",(char *) "id",(char *) "text", NULL
30539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30542 arg2
= (int)SWIG_As_int(obj1
);
30543 if (PyErr_Occurred()) SWIG_fail
;
30545 arg3
= wxString_in_helper(obj2
);
30546 if (arg3
== NULL
) SWIG_fail
;
30550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30551 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30553 wxPyEndAllowThreads(__tstate
);
30554 if (PyErr_Occurred()) SWIG_fail
;
30556 Py_INCREF(Py_None
); resultobj
= Py_None
;
30571 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30572 PyObject
*resultobj
;
30573 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30574 wxWindow
*arg2
= (wxWindow
*) 0 ;
30575 PyObject
* obj0
= 0 ;
30576 PyObject
* obj1
= 0 ;
30577 char *kwnames
[] = {
30578 (char *) "self",(char *) "window", NULL
30581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30584 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30588 (arg1
)->RemoveHelp(arg2
);
30590 wxPyEndAllowThreads(__tstate
);
30591 if (PyErr_Occurred()) SWIG_fail
;
30593 Py_INCREF(Py_None
); resultobj
= Py_None
;
30600 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30601 PyObject
*resultobj
;
30602 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30603 PyObject
* obj0
= 0 ;
30604 char *kwnames
[] = {
30605 (char *) "self", NULL
30608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
30609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30613 wxHelpProvider_Destroy(arg1
);
30615 wxPyEndAllowThreads(__tstate
);
30616 if (PyErr_Occurred()) SWIG_fail
;
30618 Py_INCREF(Py_None
); resultobj
= Py_None
;
30625 static PyObject
* HelpProvider_swigregister(PyObject
*, PyObject
*args
) {
30627 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30628 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
30630 return Py_BuildValue((char *)"");
30632 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30633 PyObject
*resultobj
;
30634 wxSimpleHelpProvider
*result
;
30635 char *kwnames
[] = {
30639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
30641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30642 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
30644 wxPyEndAllowThreads(__tstate
);
30645 if (PyErr_Occurred()) SWIG_fail
;
30647 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
30654 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*, PyObject
*args
) {
30656 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30657 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
30659 return Py_BuildValue((char *)"");
30661 static PyObject
*_wrap_new_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30662 PyObject
*resultobj
;
30663 wxBitmap
*arg1
= 0 ;
30664 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30665 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30666 wxGenericDragImage
*result
;
30667 PyObject
* obj0
= 0 ;
30668 PyObject
* obj1
= 0 ;
30669 char *kwnames
[] = {
30670 (char *) "image",(char *) "cursor", NULL
30673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
30674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
30675 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30677 if (arg1
== NULL
) {
30678 PyErr_SetString(PyExc_TypeError
,"null reference");
30682 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30683 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30685 if (arg2
== NULL
) {
30686 PyErr_SetString(PyExc_TypeError
,"null reference");
30691 if (!wxPyCheckForApp()) SWIG_fail
;
30692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30693 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
30695 wxPyEndAllowThreads(__tstate
);
30696 if (PyErr_Occurred()) SWIG_fail
;
30698 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30705 static PyObject
*_wrap_new_DragIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30706 PyObject
*resultobj
;
30708 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30709 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30710 wxGenericDragImage
*result
;
30711 PyObject
* obj0
= 0 ;
30712 PyObject
* obj1
= 0 ;
30713 char *kwnames
[] = {
30714 (char *) "image",(char *) "cursor", NULL
30717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
30718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
30719 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30721 if (arg1
== NULL
) {
30722 PyErr_SetString(PyExc_TypeError
,"null reference");
30726 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30727 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30729 if (arg2
== NULL
) {
30730 PyErr_SetString(PyExc_TypeError
,"null reference");
30735 if (!wxPyCheckForApp()) SWIG_fail
;
30736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30737 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
30739 wxPyEndAllowThreads(__tstate
);
30740 if (PyErr_Occurred()) SWIG_fail
;
30742 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30749 static PyObject
*_wrap_new_DragString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30750 PyObject
*resultobj
;
30751 wxString
*arg1
= 0 ;
30752 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30753 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30754 wxGenericDragImage
*result
;
30755 bool temp1
= False
;
30756 PyObject
* obj0
= 0 ;
30757 PyObject
* obj1
= 0 ;
30758 char *kwnames
[] = {
30759 (char *) "str",(char *) "cursor", NULL
30762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
30764 arg1
= wxString_in_helper(obj0
);
30765 if (arg1
== NULL
) SWIG_fail
;
30769 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30770 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30772 if (arg2
== NULL
) {
30773 PyErr_SetString(PyExc_TypeError
,"null reference");
30778 if (!wxPyCheckForApp()) SWIG_fail
;
30779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30780 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
30782 wxPyEndAllowThreads(__tstate
);
30783 if (PyErr_Occurred()) SWIG_fail
;
30785 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30800 static PyObject
*_wrap_new_DragTreeItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30801 PyObject
*resultobj
;
30802 wxPyTreeCtrl
*arg1
= 0 ;
30803 wxTreeItemId
*arg2
= 0 ;
30804 wxGenericDragImage
*result
;
30805 PyObject
* obj0
= 0 ;
30806 PyObject
* obj1
= 0 ;
30807 char *kwnames
[] = {
30808 (char *) "treeCtrl",(char *) "id", NULL
30811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
30813 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30815 if (arg1
== NULL
) {
30816 PyErr_SetString(PyExc_TypeError
,"null reference");
30819 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
30820 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30822 if (arg2
== NULL
) {
30823 PyErr_SetString(PyExc_TypeError
,"null reference");
30827 if (!wxPyCheckForApp()) SWIG_fail
;
30828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30829 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
30831 wxPyEndAllowThreads(__tstate
);
30832 if (PyErr_Occurred()) SWIG_fail
;
30834 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30841 static PyObject
*_wrap_new_DragListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30842 PyObject
*resultobj
;
30843 wxPyListCtrl
*arg1
= 0 ;
30845 wxGenericDragImage
*result
;
30846 PyObject
* obj0
= 0 ;
30847 PyObject
* obj1
= 0 ;
30848 char *kwnames
[] = {
30849 (char *) "listCtrl",(char *) "id", NULL
30852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
30854 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30856 if (arg1
== NULL
) {
30857 PyErr_SetString(PyExc_TypeError
,"null reference");
30860 arg2
= (long)SWIG_As_long(obj1
);
30861 if (PyErr_Occurred()) SWIG_fail
;
30863 if (!wxPyCheckForApp()) SWIG_fail
;
30864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30865 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
30867 wxPyEndAllowThreads(__tstate
);
30868 if (PyErr_Occurred()) SWIG_fail
;
30870 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
30877 static PyObject
*_wrap_delete_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30878 PyObject
*resultobj
;
30879 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30880 PyObject
* obj0
= 0 ;
30881 char *kwnames
[] = {
30882 (char *) "self", NULL
30885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
30886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30892 wxPyEndAllowThreads(__tstate
);
30893 if (PyErr_Occurred()) SWIG_fail
;
30895 Py_INCREF(Py_None
); resultobj
= Py_None
;
30902 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30903 PyObject
*resultobj
;
30904 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30905 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
30906 PyObject
* obj0
= 0 ;
30907 PyObject
* obj1
= 0 ;
30908 char *kwnames
[] = {
30909 (char *) "self",(char *) "bitmap", NULL
30912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
30913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30915 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
30916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30919 (arg1
)->SetBackingBitmap(arg2
);
30921 wxPyEndAllowThreads(__tstate
);
30922 if (PyErr_Occurred()) SWIG_fail
;
30924 Py_INCREF(Py_None
); resultobj
= Py_None
;
30931 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30932 PyObject
*resultobj
;
30933 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30934 wxPoint
*arg2
= 0 ;
30935 wxWindow
*arg3
= (wxWindow
*) 0 ;
30936 bool arg4
= (bool) False
;
30937 wxRect
*arg5
= (wxRect
*) NULL
;
30940 PyObject
* obj0
= 0 ;
30941 PyObject
* obj1
= 0 ;
30942 PyObject
* obj2
= 0 ;
30943 PyObject
* obj3
= 0 ;
30944 PyObject
* obj4
= 0 ;
30945 char *kwnames
[] = {
30946 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
30949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
30951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30954 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30956 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
30957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30959 arg4
= (bool)SWIG_As_bool(obj3
);
30960 if (PyErr_Occurred()) SWIG_fail
;
30963 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
,
30964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30968 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
30970 wxPyEndAllowThreads(__tstate
);
30971 if (PyErr_Occurred()) SWIG_fail
;
30974 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30982 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30983 PyObject
*resultobj
;
30984 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
30985 wxPoint
*arg2
= 0 ;
30986 wxWindow
*arg3
= (wxWindow
*) 0 ;
30987 wxWindow
*arg4
= (wxWindow
*) 0 ;
30990 PyObject
* obj0
= 0 ;
30991 PyObject
* obj1
= 0 ;
30992 PyObject
* obj2
= 0 ;
30993 PyObject
* obj3
= 0 ;
30994 char *kwnames
[] = {
30995 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
30998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31003 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31005 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
31006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31007 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
31008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31011 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
31013 wxPyEndAllowThreads(__tstate
);
31014 if (PyErr_Occurred()) SWIG_fail
;
31017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31025 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31026 PyObject
*resultobj
;
31027 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31029 PyObject
* obj0
= 0 ;
31030 char *kwnames
[] = {
31031 (char *) "self", NULL
31034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
31035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31039 result
= (bool)(arg1
)->EndDrag();
31041 wxPyEndAllowThreads(__tstate
);
31042 if (PyErr_Occurred()) SWIG_fail
;
31045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31053 static PyObject
*_wrap_DragImage_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31054 PyObject
*resultobj
;
31055 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31056 wxPoint
*arg2
= 0 ;
31059 PyObject
* obj0
= 0 ;
31060 PyObject
* obj1
= 0 ;
31061 char *kwnames
[] = {
31062 (char *) "self",(char *) "pt", NULL
31065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
31066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31070 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31074 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
31076 wxPyEndAllowThreads(__tstate
);
31077 if (PyErr_Occurred()) SWIG_fail
;
31080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31088 static PyObject
*_wrap_DragImage_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31089 PyObject
*resultobj
;
31090 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31092 PyObject
* obj0
= 0 ;
31093 char *kwnames
[] = {
31094 (char *) "self", NULL
31097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
31098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31102 result
= (bool)(arg1
)->Show();
31104 wxPyEndAllowThreads(__tstate
);
31105 if (PyErr_Occurred()) SWIG_fail
;
31108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31116 static PyObject
*_wrap_DragImage_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31117 PyObject
*resultobj
;
31118 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31120 PyObject
* obj0
= 0 ;
31121 char *kwnames
[] = {
31122 (char *) "self", NULL
31125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
31126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31130 result
= (bool)(arg1
)->Hide();
31132 wxPyEndAllowThreads(__tstate
);
31133 if (PyErr_Occurred()) SWIG_fail
;
31136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31144 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31145 PyObject
*resultobj
;
31146 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31147 wxPoint
*arg2
= 0 ;
31150 PyObject
* obj0
= 0 ;
31151 PyObject
* obj1
= 0 ;
31152 char *kwnames
[] = {
31153 (char *) "self",(char *) "pos", NULL
31156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
31157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31161 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31165 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
31167 wxPyEndAllowThreads(__tstate
);
31168 if (PyErr_Occurred()) SWIG_fail
;
31171 wxRect
* resultptr
;
31172 resultptr
= new wxRect((wxRect
&) result
);
31173 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
31181 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31182 PyObject
*resultobj
;
31183 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31185 wxPoint
*arg3
= 0 ;
31188 PyObject
* obj0
= 0 ;
31189 PyObject
* obj1
= 0 ;
31190 PyObject
* obj2
= 0 ;
31191 char *kwnames
[] = {
31192 (char *) "self",(char *) "dc",(char *) "pos", NULL
31195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31198 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31199 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31201 if (arg2
== NULL
) {
31202 PyErr_SetString(PyExc_TypeError
,"null reference");
31207 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31211 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
31213 wxPyEndAllowThreads(__tstate
);
31214 if (PyErr_Occurred()) SWIG_fail
;
31217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31225 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31226 PyObject
*resultobj
;
31227 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31229 wxMemoryDC
*arg3
= 0 ;
31235 PyObject
* obj0
= 0 ;
31236 PyObject
* obj1
= 0 ;
31237 PyObject
* obj2
= 0 ;
31238 PyObject
* obj3
= 0 ;
31239 PyObject
* obj4
= 0 ;
31240 char *kwnames
[] = {
31241 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
31244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31247 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31248 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31250 if (arg2
== NULL
) {
31251 PyErr_SetString(PyExc_TypeError
,"null reference");
31254 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
,
31255 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31257 if (arg3
== NULL
) {
31258 PyErr_SetString(PyExc_TypeError
,"null reference");
31263 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31267 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
31270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31271 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
31273 wxPyEndAllowThreads(__tstate
);
31274 if (PyErr_Occurred()) SWIG_fail
;
31277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31285 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31286 PyObject
*resultobj
;
31287 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31288 wxPoint
*arg2
= 0 ;
31289 wxPoint
*arg3
= 0 ;
31295 PyObject
* obj0
= 0 ;
31296 PyObject
* obj1
= 0 ;
31297 PyObject
* obj2
= 0 ;
31298 PyObject
* obj3
= 0 ;
31299 PyObject
* obj4
= 0 ;
31300 char *kwnames
[] = {
31301 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
31304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31309 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31313 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31315 arg4
= (bool)SWIG_As_bool(obj3
);
31316 if (PyErr_Occurred()) SWIG_fail
;
31317 arg5
= (bool)SWIG_As_bool(obj4
);
31318 if (PyErr_Occurred()) SWIG_fail
;
31320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31321 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
31323 wxPyEndAllowThreads(__tstate
);
31324 if (PyErr_Occurred()) SWIG_fail
;
31327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31335 static PyObject
* DragImage_swigregister(PyObject
*, PyObject
*args
) {
31337 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31338 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
31340 return Py_BuildValue((char *)"");
31342 static PyMethodDef SwigMethods
[] = {
31343 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31344 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31345 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31346 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31347 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31348 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31349 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
31350 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31351 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31352 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31353 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31354 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31355 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31356 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31357 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31358 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31359 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31360 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31361 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31362 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31363 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31364 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
31365 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31366 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31367 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31368 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31369 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31370 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31371 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31372 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31373 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31374 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31375 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31376 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
31377 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31378 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31379 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31380 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31381 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31382 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31383 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31384 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
31385 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31386 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31387 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31388 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31389 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31390 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31391 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31392 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31393 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31394 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31395 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31396 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31397 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31398 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31399 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31400 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31401 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31402 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31403 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31404 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31405 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
31406 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31407 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31408 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31409 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31410 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31411 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31412 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31413 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31414 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31415 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31416 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31417 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31418 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31419 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
31420 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31421 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31422 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31423 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31424 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
31425 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31426 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31427 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31428 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31429 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31430 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31431 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
31432 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31433 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31434 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31435 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31436 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
31437 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31438 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31439 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31440 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31441 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31442 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31443 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31444 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
31445 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31446 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31447 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31448 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31449 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31450 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31451 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31452 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31453 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31454 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31455 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31456 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31457 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31458 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31459 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31460 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31461 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31462 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31463 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31464 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31465 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31466 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31467 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
31468 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31469 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31470 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31471 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31472 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31473 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31474 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31475 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
31476 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31477 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31478 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31479 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31480 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31481 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31482 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31483 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31484 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31485 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31486 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31487 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31488 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31489 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31490 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31491 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31492 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31493 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31494 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31495 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31496 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31497 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31498 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31499 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31500 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31501 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31502 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31503 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31504 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31505 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31506 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
31507 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31508 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31509 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31510 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31511 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31512 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31513 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31514 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31515 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31516 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31517 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31518 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31519 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31520 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31521 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31522 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31523 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31524 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31525 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31526 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31527 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31528 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31529 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31530 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31531 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31532 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31533 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31534 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31535 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31536 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31537 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31538 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31539 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31540 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31541 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31542 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31543 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31544 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31545 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31546 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31547 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31548 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31549 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31550 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31551 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31552 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31553 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31554 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31555 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31556 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31557 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31558 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31559 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31560 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31561 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31562 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
31563 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31564 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31565 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31566 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31567 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
31568 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31569 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31570 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31571 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31572 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31573 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31574 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31575 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31576 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31577 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31578 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31579 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
31580 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31581 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31582 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31583 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31584 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31585 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31586 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31587 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31588 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31589 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31590 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31591 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31592 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
31593 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31594 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31595 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31596 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31597 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31598 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31599 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31600 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31601 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31602 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31603 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31604 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
31605 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31606 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31607 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31608 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
31609 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31610 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31611 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31612 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31613 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31614 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31615 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31616 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31617 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31618 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31619 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31620 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31621 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31622 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31623 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31624 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31625 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31626 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
31627 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31628 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31629 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31630 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31631 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31632 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31633 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
31634 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31635 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31636 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31637 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31638 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31639 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31640 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31641 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31642 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31643 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31644 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31645 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31646 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31647 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31648 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31649 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31650 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31651 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31652 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31653 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31654 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31655 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31656 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31657 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31658 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31659 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
31660 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31661 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31662 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31663 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31664 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31665 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31666 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31667 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
31668 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31669 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31670 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31671 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31672 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31673 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31674 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31675 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31676 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31677 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31678 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31679 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31680 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31681 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31682 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31683 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31684 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31685 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31686 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31687 { (char *)"BookCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31688 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
, NULL
},
31689 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31690 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31691 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31692 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31693 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31694 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
, NULL
},
31695 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31696 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31697 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31698 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31699 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31700 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31701 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31702 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31703 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31704 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
31705 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31706 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
31707 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31708 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31709 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31710 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31711 { (char *)"Listbook_GetListView", (PyCFunction
) _wrap_Listbook_GetListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31712 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
31713 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31714 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
31715 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31716 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31717 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31718 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31719 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
, NULL
},
31720 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31721 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31722 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31723 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31724 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
, NULL
},
31725 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31726 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31727 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31728 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31729 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31730 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31731 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31732 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31733 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31734 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31735 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31736 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31737 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31738 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31739 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31740 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31741 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31742 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31743 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31744 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31745 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31746 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31747 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31748 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31749 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31750 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31751 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31752 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31753 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31754 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
31755 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31756 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31757 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31758 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31759 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31760 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31761 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31762 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31763 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31764 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31765 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31766 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31767 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31768 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31769 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31770 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31771 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31772 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31773 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31774 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31775 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31776 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31777 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31778 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31779 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31780 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31781 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31782 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31783 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31784 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31785 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31786 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31787 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31788 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31789 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31790 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31791 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31792 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31793 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31794 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31795 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31796 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31797 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31798 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31799 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
31800 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31801 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31802 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31803 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31804 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31805 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
31806 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31807 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31808 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31809 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31810 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31811 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31812 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31813 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31814 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31815 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31816 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31817 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
31818 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31819 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31820 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31821 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31822 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31823 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31824 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31825 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31826 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31827 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31828 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31829 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31830 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31831 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31832 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31833 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31834 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31835 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31836 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31837 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31838 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31839 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31840 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31841 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31842 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31843 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31844 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31845 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31846 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31847 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31848 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31849 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31850 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31851 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31852 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31853 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31854 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31855 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31856 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31857 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31858 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31859 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31860 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31861 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31862 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31863 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31864 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31865 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31866 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31867 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31868 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31869 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
31870 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31871 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31872 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31873 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31874 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31875 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31876 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31877 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31878 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31879 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31880 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31881 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31882 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31883 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31884 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31885 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31886 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31887 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31888 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31889 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31890 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31891 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31892 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31893 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31894 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31895 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31896 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
31897 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31898 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31899 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31900 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31901 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31902 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31903 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31904 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31905 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31906 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31907 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31908 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31909 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31910 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31911 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31912 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31913 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31914 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31915 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31916 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31917 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31918 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31919 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31920 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31921 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31922 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31923 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31924 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31925 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction
) _wrap_ListCtrl_SetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31926 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31927 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31928 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31929 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31930 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31931 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31932 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31933 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31934 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31935 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31936 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31937 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31938 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31939 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31940 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31941 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31942 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31943 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31944 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31945 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31946 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31947 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31948 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31949 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31950 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31951 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31952 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31953 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31954 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31955 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31956 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31957 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31958 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31959 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31960 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31961 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31962 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31963 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31964 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31965 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31966 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31967 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
31968 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31969 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31970 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31971 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31972 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31973 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31974 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31975 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31976 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31977 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31978 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31979 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
31980 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31981 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31982 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31983 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31984 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31985 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31986 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31987 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
31988 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31989 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31990 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31991 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31992 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31993 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31994 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
31995 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31996 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31997 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31998 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31999 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32000 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32001 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32002 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32003 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32004 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32005 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32006 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32007 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32008 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32009 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32010 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
32011 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32012 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32013 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32014 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32015 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32016 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32017 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32018 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32019 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32020 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32021 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32022 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32023 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32024 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32025 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32026 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32027 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32028 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32029 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32030 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32031 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32032 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32033 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32034 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32035 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32036 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32037 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32038 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32039 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32040 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32041 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32042 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32043 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32044 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32045 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32046 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32047 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32048 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32049 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32050 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32051 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32052 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32053 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32054 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32055 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32056 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32057 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32058 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32059 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32060 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32061 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32062 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32063 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32064 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32065 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32066 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32067 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32068 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32069 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32070 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32071 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32072 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32073 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32074 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32075 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32076 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32077 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32078 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32079 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32080 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32081 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32082 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32083 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32084 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32085 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
32086 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32087 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32088 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32089 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32090 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32091 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32092 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32093 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32094 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32095 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32096 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32097 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32098 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32099 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32100 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32101 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32102 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32103 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32104 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32105 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32106 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32107 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
32108 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32109 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32110 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32111 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32112 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
32113 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32114 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32115 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32116 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32117 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32118 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32119 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32120 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32121 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32122 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32123 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32124 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32125 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32126 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32127 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32128 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32129 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32130 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32131 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32132 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32133 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32134 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32135 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32136 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32137 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32138 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
32139 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32140 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32141 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32142 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32143 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32144 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32145 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32146 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
32147 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32148 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32149 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32150 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32151 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
32152 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32153 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
32154 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32155 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32156 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32157 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32158 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32159 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32160 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32161 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32162 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
32163 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32164 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
32165 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32166 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32167 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32168 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32169 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32170 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32171 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32172 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32173 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32174 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32175 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32176 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32177 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32178 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32179 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32180 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32181 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32182 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
32183 { NULL
, NULL
, 0, NULL
}
32187 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32189 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
32190 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32192 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
32193 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32195 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
32196 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
32198 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
32199 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32201 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
32202 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32204 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
32205 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
32207 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
32208 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32210 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
32211 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
32213 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
32214 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
32216 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
32217 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
32219 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32220 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32222 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32223 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32225 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32226 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32228 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32229 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32231 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32232 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32234 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
32235 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32237 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32238 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32240 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32241 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32243 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32244 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32246 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
32247 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32249 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
32250 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32252 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32253 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32255 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32256 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32258 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
32259 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
32261 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
32262 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32264 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
32265 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32267 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
32268 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
32270 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32271 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32273 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32274 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32276 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32277 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32279 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32280 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32282 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32283 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32285 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32286 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32288 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32289 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32291 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32292 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32294 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32295 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32297 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32298 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32300 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32301 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32303 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32304 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32306 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32307 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32309 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32310 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32312 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32313 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32315 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32316 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32318 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32319 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32321 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32322 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32324 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32325 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32327 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32328 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32330 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32331 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32333 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32334 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32336 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32337 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32339 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32340 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32342 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32343 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32345 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
32346 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32348 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
32349 return (void *)((wxItemContainer
*) ((wxComboBox
*) x
));
32351 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
32352 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32354 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
32355 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32357 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
32358 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
32360 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
32361 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32363 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
32364 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32366 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
32367 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
32369 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
32370 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32372 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
32373 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32375 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
32376 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32378 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
32379 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
32381 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
32382 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
32384 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
32385 return (void *)((wxControl
*) ((wxComboBox
*) x
));
32387 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
32388 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
32390 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
32391 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
32393 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
32394 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
32396 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
32397 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
32399 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
32400 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32402 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
32403 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
32405 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
32406 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
32408 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
32409 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
32411 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
32412 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
32414 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
32415 return (void *)((wxControl
*) ((wxGauge
*) x
));
32417 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
32418 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
32420 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
32421 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
32423 static void *_p_wxButtonTo_p_wxControl(void *x
) {
32424 return (void *)((wxControl
*) ((wxButton
*) x
));
32426 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
32427 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
32429 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
32430 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32432 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
32433 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
32435 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
32436 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
32438 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
32439 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
32441 static void *_p_wxListbookTo_p_wxControl(void *x
) {
32442 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
32444 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
32445 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
32447 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
32448 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
32450 static void *_p_wxListViewTo_p_wxControl(void *x
) {
32451 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
32453 static void *_p_wxSliderTo_p_wxControl(void *x
) {
32454 return (void *)((wxControl
*) ((wxSlider
*) x
));
32456 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
32457 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
32459 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
32460 return (void *)((wxControl
*) ((wxPyControl
*) x
));
32462 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
32463 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
32465 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
32466 return (void *)((wxControl
*) ((wxStaticText
*) x
));
32468 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
32469 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
32471 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
32472 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32474 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
32475 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32477 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
32478 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32480 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
32481 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
32483 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
32484 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32486 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
32487 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32489 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
32490 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32492 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
32493 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
32495 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32496 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32498 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32499 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32501 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32502 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32504 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
32505 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32507 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32508 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32510 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
32511 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
32513 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
32514 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
32516 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32517 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32519 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32520 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32522 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
32523 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
32525 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
32526 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
32528 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
32529 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
32531 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
32532 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32534 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
32535 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
32537 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32538 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32540 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
32541 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
32543 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
32544 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
32546 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32547 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32549 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
32550 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
32552 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
32553 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
32555 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
32556 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32558 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
32559 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32561 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
32562 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32564 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
32565 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
32567 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
32568 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32570 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
32571 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32573 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
32574 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32576 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
32577 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32579 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
32580 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
32582 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
32583 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32585 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
32586 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
32588 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
32589 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
32591 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
32592 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
32594 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
32595 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
32597 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
32598 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
32600 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
32601 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
32603 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
32604 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32606 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
32607 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32609 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
32610 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
32612 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
32613 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
32615 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
32616 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
32618 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
32619 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
32621 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
32622 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
32624 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
32625 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32627 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
32628 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32630 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
32631 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
32633 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32634 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32636 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32637 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32639 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32640 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32642 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32643 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32645 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32646 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32648 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
32649 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32651 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
32652 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32654 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32655 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32657 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32658 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32660 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32661 return (void *)((wxObject
*) ((wxSizer
*) x
));
32663 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32664 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32666 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
32667 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32669 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
32670 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32672 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32673 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32675 static void *_p_wxEventTo_p_wxObject(void *x
) {
32676 return (void *)((wxObject
*) ((wxEvent
*) x
));
32678 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32679 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32681 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32682 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32684 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32685 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32687 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
32688 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
32690 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
32691 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
32693 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
32694 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32696 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32697 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32699 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32700 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32702 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32703 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32705 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32706 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32708 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32709 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32711 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32712 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32714 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
32715 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
32717 static void *_p_wxControlTo_p_wxObject(void *x
) {
32718 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32720 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
32721 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
32723 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
32724 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
32726 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
32727 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
32729 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
32730 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
32732 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
32733 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
32735 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32736 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32738 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
32739 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32741 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32742 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32744 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32745 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32747 static void *_p_wxListViewTo_p_wxObject(void *x
) {
32748 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32750 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
32751 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
32753 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
32754 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32756 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32757 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32759 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32760 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32762 static void *_p_wxListbookTo_p_wxObject(void *x
) {
32763 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32765 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32766 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32768 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
32769 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
32771 static void *_p_wxSliderTo_p_wxObject(void *x
) {
32772 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
32774 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32775 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32777 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32778 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32780 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32781 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32783 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32784 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32786 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32787 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32789 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32790 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32792 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32793 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32795 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32796 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32798 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32799 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32801 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
32802 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
32804 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
32805 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
32807 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32808 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32810 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32811 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32813 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32814 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32816 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32817 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32819 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32820 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32822 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32823 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32825 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32826 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32828 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32829 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32831 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32832 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32834 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32835 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32837 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32838 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32840 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32841 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32843 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32844 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32846 static void *_p_wxListEventTo_p_wxObject(void *x
) {
32847 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
32849 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
32850 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32852 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
32853 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32855 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
32856 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
32858 static void *_p_wxButtonTo_p_wxObject(void *x
) {
32859 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
32861 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
32862 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32864 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
32865 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
32867 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
32868 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32870 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32871 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32873 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
32874 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
32876 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
32877 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
32879 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
32880 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxComboBox
*) x
));
32882 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
32883 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
32885 static void *_p_wxListItemTo_p_wxObject(void *x
) {
32886 return (void *)((wxObject
*) ((wxListItem
*) x
));
32888 static void *_p_wxImageTo_p_wxObject(void *x
) {
32889 return (void *)((wxObject
*) ((wxImage
*) x
));
32891 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
32892 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
32894 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32895 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32897 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
32898 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32900 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
32901 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
32903 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
32904 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
32906 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
32907 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32909 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
32910 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32912 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32913 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32915 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32916 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32918 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32919 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32921 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32922 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32924 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32925 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32927 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32928 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32930 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32931 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32933 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32934 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32936 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32937 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32939 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32940 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32942 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32943 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32945 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32946 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32948 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32949 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32951 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
32952 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32954 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32955 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32957 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32958 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32960 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
32961 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
32963 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32964 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32966 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32967 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32969 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32970 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32972 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32973 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32975 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
32976 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
32978 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
32979 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32981 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32982 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32984 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32985 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32987 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
32988 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
32990 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
32991 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
32993 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32994 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32996 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
32997 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32999 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
33000 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
33002 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
33003 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
33005 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
33006 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
33008 static void *_p_wxControlTo_p_wxWindow(void *x
) {
33009 return (void *)((wxWindow
*) ((wxControl
*) x
));
33011 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
33012 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
33014 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
33015 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33017 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
33018 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
33020 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
33021 return (void *)((wxWindow
*) (wxControl
*) ((wxComboBox
*) x
));
33023 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
33024 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
33026 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
33027 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
33029 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
33030 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
33032 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
33033 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
33035 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
33036 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
33038 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
33039 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
33041 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
33042 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
33044 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
33045 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
33047 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
33048 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
33050 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
33051 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
33053 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
33054 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
33056 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
33057 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
33059 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
33060 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
33062 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
33063 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
33065 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
33066 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
33068 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
33069 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
33071 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
33072 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
33074 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
33075 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
33077 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
33078 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
33080 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
33081 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
33083 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
33084 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
33086 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
33087 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
33089 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
33090 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
33092 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
33093 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
33095 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
33096 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33098 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
33099 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
33101 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
33102 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
33104 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
33105 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
33107 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
33108 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33110 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
33111 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33113 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
33114 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33116 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
33117 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
33119 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
33120 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
33122 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
33123 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
33125 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
33126 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33128 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
33129 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
33131 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
33132 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
33134 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
33135 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
33137 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
33138 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33140 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
33141 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33143 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
33144 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33146 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
33147 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
33149 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
33150 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
33152 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
33153 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
33155 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
33156 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
33158 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}};
33159 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}};
33160 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}};
33161 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}};
33162 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}};
33163 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}};
33164 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}};
33165 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}};
33166 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}};
33167 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}};
33168 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}};
33169 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}};
33170 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}};
33171 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}};
33172 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}};
33173 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}};
33174 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}};
33175 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}};
33176 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}};
33177 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}};
33178 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}};
33179 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}};
33180 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}};
33181 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}};
33182 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}};
33183 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}};
33184 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}};
33185 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}};
33186 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}};
33187 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}};
33188 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}};
33189 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}};
33190 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}};
33191 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}};
33192 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}};
33193 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}};
33194 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}};
33195 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}};
33196 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}};
33197 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}};
33198 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}};
33199 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}};
33200 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}};
33201 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}};
33202 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}};
33203 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}};
33204 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}};
33205 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}};
33206 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}};
33207 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}};
33208 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}};
33209 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}};
33210 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}};
33211 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}};
33212 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}};
33213 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}};
33214 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}};
33215 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}};
33216 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}};
33217 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}};
33218 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}};
33219 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}};
33220 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}};
33221 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}};
33222 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}};
33223 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}};
33224 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}};
33225 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}};
33226 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}};
33227 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}};
33228 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}};
33229 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}};
33230 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}};
33231 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}};
33232 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}};
33233 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}};
33234 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}};
33235 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}};
33236 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}};
33237 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}};
33238 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}};
33239 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}};
33240 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}};
33241 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}};
33242 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}};
33244 static swig_type_info
*swig_types_initial
[] = {
33245 _swigt__p_wxTextUrlEvent
,
33246 _swigt__p_wxBookCtrlEvent
,
33248 _swigt__p_wxCheckBox
,
33249 _swigt__p_wxPyTreeCtrl
,
33251 _swigt__p_wxGenericDirCtrl
,
33253 _swigt__p_wxPyTreeItemData
,
33254 _swigt__p_wxItemContainer
,
33255 _swigt__p_wxPyListCtrl
,
33256 _swigt__p_wxDirFilterListCtrl
,
33257 _swigt__p_wxStaticLine
,
33258 _swigt__p_wxControl
,
33259 _swigt__p_wxPyControl
,
33261 _swigt__p_wxToolBarBase
,
33263 _swigt__p_wxToggleButton
,
33264 _swigt__p_wxRadioButton
,
33265 _swigt__p_wxChoice
,
33266 _swigt__p_wxMemoryDC
,
33267 _swigt__p_wxListItemAttr
,
33272 _swigt__p_wxListView
,
33274 _swigt__p_wxVisualAttributes
,
33275 _swigt__p_wxTextCtrl
,
33276 _swigt__p_wxNotebook
,
33277 _swigt__p_wxNotifyEvent
,
33278 _swigt__p_wxArrayString
,
33279 _swigt__p_wxListbook
,
33280 _swigt__p_wxStaticBitmap
,
33281 _swigt__p_wxSlider
,
33282 _swigt__p_wxStaticBox
,
33283 _swigt__p_wxArrayInt
,
33284 _swigt__p_wxContextHelp
,
33286 _swigt__p_wxEvtHandler
,
33287 _swigt__p_wxListEvent
,
33288 _swigt__p_wxCheckListBox
,
33289 _swigt__p_wxListBox
,
33290 _swigt__p_wxBookCtrl
,
33291 _swigt__p_wxSpinButton
,
33292 _swigt__p_wxButton
,
33293 _swigt__p_wxBitmapButton
,
33295 _swigt__p_wxContextHelpButton
,
33296 _swigt__p_wxRadioBox
,
33297 _swigt__p_wxScrollBar
,
33299 _swigt__p_wxTreeItemId
,
33300 _swigt__p_wxComboBox
,
33301 _swigt__p_wxHelpEvent
,
33302 _swigt__p_wxListItem
,
33303 _swigt__p_wxNotebookSizer
,
33304 _swigt__p_wxSpinEvent
,
33305 _swigt__p_wxGenericDragImage
,
33306 _swigt__p_wxSpinCtrl
,
33307 _swigt__p_wxImageList
,
33308 _swigt__p_wxHelpProvider
,
33309 _swigt__p_wxTextAttr
,
33310 _swigt__p_wxSimpleHelpProvider
,
33312 _swigt__p_wxListbookEvent
,
33313 _swigt__p_wxNotebookEvent
,
33314 _swigt__p_wxObject
,
33315 _swigt__p_wxCursor
,
33316 _swigt__p_wxKeyEvent
,
33317 _swigt__p_wxWindow
,
33318 _swigt__p_wxString
,
33319 _swigt__p_wxBitmap
,
33320 _swigt__p_wxTreeEvent
,
33321 _swigt__p_wxMouseEvent
,
33322 _swigt__p_wxCommandEvent
,
33323 _swigt__p_wxStaticText
,
33324 _swigt__p_wxControlWithItems
,
33325 _swigt__p_wxToolBarToolBase
,
33326 _swigt__p_wxColour
,
33327 _swigt__p_wxToolBar
,
33328 _swigt__p_wxBookCtrlSizer
,
33329 _swigt__p_wxValidator
,
33334 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33336 static swig_const_info swig_const_table
[] = {
33337 {0, 0, 0, 0.0, 0, 0}};
33346 SWIGEXPORT(void) SWIG_init(void) {
33347 static PyObject
*SWIG_globals
= 0;
33348 static int typeinit
= 0;
33351 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
33352 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33353 d
= PyModule_GetDict(m
);
33356 for (i
= 0; swig_types_initial
[i
]; i
++) {
33357 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
33361 SWIG_InstallConstants(d
,swig_const_table
);
33363 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
33364 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
33365 PyDict_SetItemString(d
,"BU_LEFT", SWIG_From_int((int)wxBU_LEFT
));
33366 PyDict_SetItemString(d
,"BU_TOP", SWIG_From_int((int)wxBU_TOP
));
33367 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_From_int((int)wxBU_RIGHT
));
33368 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_From_int((int)wxBU_BOTTOM
));
33369 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_From_int((int)wxBU_EXACTFIT
));
33370 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_From_int((int)wxBU_AUTODRAW
));
33371 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
33372 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_From_int((int)wxCHK_2STATE
));
33373 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_From_int((int)wxCHK_3STATE
));
33374 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
33375 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_From_int((int)wxCHK_UNCHECKED
));
33376 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_From_int((int)wxCHK_CHECKED
));
33377 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_From_int((int)wxCHK_UNDETERMINED
));
33378 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
33379 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
33380 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
33381 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_From_int((int)wxGA_HORIZONTAL
));
33382 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_From_int((int)wxGA_VERTICAL
));
33383 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_From_int((int)wxGA_SMOOTH
));
33384 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_From_int((int)wxGA_PROGRESSBAR
));
33385 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
33386 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
33387 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
33388 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
33389 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
33390 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_From_int((int)wxTE_NO_VSCROLL
));
33391 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_From_int((int)wxTE_AUTO_SCROLL
));
33392 PyDict_SetItemString(d
,"TE_READONLY", SWIG_From_int((int)wxTE_READONLY
));
33393 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_From_int((int)wxTE_MULTILINE
));
33394 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_From_int((int)wxTE_PROCESS_TAB
));
33395 PyDict_SetItemString(d
,"TE_LEFT", SWIG_From_int((int)wxTE_LEFT
));
33396 PyDict_SetItemString(d
,"TE_CENTER", SWIG_From_int((int)wxTE_CENTER
));
33397 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_From_int((int)wxTE_RIGHT
));
33398 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_From_int((int)wxTE_CENTRE
));
33399 PyDict_SetItemString(d
,"TE_RICH", SWIG_From_int((int)wxTE_RICH
));
33400 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_From_int((int)wxTE_PROCESS_ENTER
));
33401 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_From_int((int)wxTE_PASSWORD
));
33402 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_From_int((int)wxTE_AUTO_URL
));
33403 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_From_int((int)wxTE_NOHIDESEL
));
33404 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_From_int((int)wxTE_DONTWRAP
));
33405 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_From_int((int)wxTE_LINEWRAP
));
33406 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_From_int((int)wxTE_WORDWRAP
));
33407 PyDict_SetItemString(d
,"TE_RICH2", SWIG_From_int((int)wxTE_RICH2
));
33408 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)wxTEXT_ALIGNMENT_DEFAULT
));
33409 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)wxTEXT_ALIGNMENT_LEFT
));
33410 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)wxTEXT_ALIGNMENT_CENTRE
));
33411 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)wxTEXT_ALIGNMENT_CENTER
));
33412 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)wxTEXT_ALIGNMENT_RIGHT
));
33413 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
33414 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)wxTEXT_ATTR_TEXT_COLOUR
));
33415 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
33416 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)wxTEXT_ATTR_FONT_FACE
));
33417 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)wxTEXT_ATTR_FONT_SIZE
));
33418 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)wxTEXT_ATTR_FONT_WEIGHT
));
33419 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)wxTEXT_ATTR_FONT_ITALIC
));
33420 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)wxTEXT_ATTR_FONT_UNDERLINE
));
33421 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_From_int((int)wxTEXT_ATTR_FONT
));
33422 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)wxTEXT_ATTR_ALIGNMENT
));
33423 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)wxTEXT_ATTR_LEFT_INDENT
));
33424 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)wxTEXT_ATTR_RIGHT_INDENT
));
33425 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_From_int((int)wxTEXT_ATTR_TABS
));
33426 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_From_int((int)wxTE_HT_UNKNOWN
));
33427 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_From_int((int)wxTE_HT_BEFORE
));
33428 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_From_int((int)wxTE_HT_ON_TEXT
));
33429 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_From_int((int)wxTE_HT_BELOW
));
33430 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_From_int((int)wxTE_HT_BEYOND
));
33431 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
33432 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
33433 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
33434 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
33435 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
33436 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
33437 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
33438 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_From_int((int)wxSP_HORIZONTAL
));
33439 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_From_int((int)wxSP_VERTICAL
));
33440 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_From_int((int)wxSP_ARROW_KEYS
));
33441 PyDict_SetItemString(d
,"SP_WRAP", SWIG_From_int((int)wxSP_WRAP
));
33442 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
33443 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
33444 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
33445 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
33446 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
33447 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
33448 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
33449 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_From_int((int)wxNB_FIXEDWIDTH
));
33450 PyDict_SetItemString(d
,"NB_TOP", SWIG_From_int((int)wxNB_TOP
));
33451 PyDict_SetItemString(d
,"NB_LEFT", SWIG_From_int((int)wxNB_LEFT
));
33452 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_From_int((int)wxNB_RIGHT
));
33453 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_From_int((int)wxNB_BOTTOM
));
33454 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_From_int((int)wxNB_MULTILINE
));
33455 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_From_int((int)wxNB_HITTEST_NOWHERE
));
33456 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_From_int((int)wxNB_HITTEST_ONICON
));
33457 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_From_int((int)wxNB_HITTEST_ONLABEL
));
33458 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_From_int((int)wxNB_HITTEST_ONITEM
));
33459 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
33460 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
33461 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_From_int((int)wxLB_DEFAULT
));
33462 PyDict_SetItemString(d
,"LB_TOP", SWIG_From_int((int)wxLB_TOP
));
33463 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_From_int((int)wxLB_BOTTOM
));
33464 PyDict_SetItemString(d
,"LB_LEFT", SWIG_From_int((int)wxLB_LEFT
));
33465 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_From_int((int)wxLB_RIGHT
));
33466 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_From_int((int)wxLB_ALIGN_MASK
));
33467 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
33468 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
33469 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_From_int((int)wxTOOL_STYLE_BUTTON
));
33470 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)wxTOOL_STYLE_SEPARATOR
));
33471 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_From_int((int)wxTOOL_STYLE_CONTROL
));
33472 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_From_int((int)wxTB_HORIZONTAL
));
33473 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_From_int((int)wxTB_VERTICAL
));
33474 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_From_int((int)wxTB_3DBUTTONS
));
33475 PyDict_SetItemString(d
,"TB_FLAT", SWIG_From_int((int)wxTB_FLAT
));
33476 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_From_int((int)wxTB_DOCKABLE
));
33477 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_From_int((int)wxTB_NOICONS
));
33478 PyDict_SetItemString(d
,"TB_TEXT", SWIG_From_int((int)wxTB_TEXT
));
33479 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_From_int((int)wxTB_NODIVIDER
));
33480 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_From_int((int)wxTB_NOALIGN
));
33481 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_From_int((int)wxTB_HORZ_LAYOUT
));
33482 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_From_int((int)wxTB_HORZ_TEXT
));
33483 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
33484 PyDict_SetItemString(d
,"LC_VRULES", SWIG_From_int((int)wxLC_VRULES
));
33485 PyDict_SetItemString(d
,"LC_HRULES", SWIG_From_int((int)wxLC_HRULES
));
33486 PyDict_SetItemString(d
,"LC_ICON", SWIG_From_int((int)wxLC_ICON
));
33487 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_From_int((int)wxLC_SMALL_ICON
));
33488 PyDict_SetItemString(d
,"LC_LIST", SWIG_From_int((int)wxLC_LIST
));
33489 PyDict_SetItemString(d
,"LC_REPORT", SWIG_From_int((int)wxLC_REPORT
));
33490 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_From_int((int)wxLC_ALIGN_TOP
));
33491 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_From_int((int)wxLC_ALIGN_LEFT
));
33492 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_From_int((int)wxLC_AUTOARRANGE
));
33493 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_From_int((int)wxLC_VIRTUAL
));
33494 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_From_int((int)wxLC_EDIT_LABELS
));
33495 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_From_int((int)wxLC_NO_HEADER
));
33496 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_From_int((int)wxLC_NO_SORT_HEADER
));
33497 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_From_int((int)wxLC_SINGLE_SEL
));
33498 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_From_int((int)wxLC_SORT_ASCENDING
));
33499 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_From_int((int)wxLC_SORT_DESCENDING
));
33500 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_From_int((int)wxLC_MASK_TYPE
));
33501 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_From_int((int)wxLC_MASK_ALIGN
));
33502 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_From_int((int)wxLC_MASK_SORT
));
33503 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_From_int((int)wxLIST_MASK_STATE
));
33504 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_From_int((int)wxLIST_MASK_TEXT
));
33505 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_From_int((int)wxLIST_MASK_IMAGE
));
33506 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_From_int((int)wxLIST_MASK_DATA
));
33507 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_From_int((int)wxLIST_SET_ITEM
));
33508 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_From_int((int)wxLIST_MASK_WIDTH
));
33509 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_From_int((int)wxLIST_MASK_FORMAT
));
33510 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_From_int((int)wxLIST_STATE_DONTCARE
));
33511 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_From_int((int)wxLIST_STATE_DROPHILITED
));
33512 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_From_int((int)wxLIST_STATE_FOCUSED
));
33513 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_From_int((int)wxLIST_STATE_SELECTED
));
33514 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_From_int((int)wxLIST_STATE_CUT
));
33515 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_From_int((int)wxLIST_STATE_DISABLED
));
33516 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_From_int((int)wxLIST_STATE_FILTERED
));
33517 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_From_int((int)wxLIST_STATE_INUSE
));
33518 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_From_int((int)wxLIST_STATE_PICKED
));
33519 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_From_int((int)wxLIST_STATE_SOURCE
));
33520 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_From_int((int)wxLIST_HITTEST_ABOVE
));
33521 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_From_int((int)wxLIST_HITTEST_BELOW
));
33522 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)wxLIST_HITTEST_NOWHERE
));
33523 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)wxLIST_HITTEST_ONITEMICON
));
33524 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)wxLIST_HITTEST_ONITEMLABEL
));
33525 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)wxLIST_HITTEST_ONITEMRIGHT
));
33526 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)wxLIST_HITTEST_ONITEMSTATEICON
));
33527 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)wxLIST_HITTEST_TOLEFT
));
33528 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)wxLIST_HITTEST_TORIGHT
));
33529 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_From_int((int)wxLIST_HITTEST_ONITEM
));
33530 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_From_int((int)wxLIST_NEXT_ABOVE
));
33531 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_From_int((int)wxLIST_NEXT_ALL
));
33532 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_From_int((int)wxLIST_NEXT_BELOW
));
33533 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_From_int((int)wxLIST_NEXT_LEFT
));
33534 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_From_int((int)wxLIST_NEXT_RIGHT
));
33535 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)wxLIST_ALIGN_DEFAULT
));
33536 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_From_int((int)wxLIST_ALIGN_LEFT
));
33537 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_From_int((int)wxLIST_ALIGN_TOP
));
33538 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)wxLIST_ALIGN_SNAP_TO_GRID
));
33539 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_From_int((int)wxLIST_FORMAT_LEFT
));
33540 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_From_int((int)wxLIST_FORMAT_RIGHT
));
33541 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_From_int((int)wxLIST_FORMAT_CENTRE
));
33542 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_From_int((int)wxLIST_FORMAT_CENTER
));
33543 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_From_int((int)wxLIST_AUTOSIZE
));
33544 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)wxLIST_AUTOSIZE_USEHEADER
));
33545 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_From_int((int)wxLIST_RECT_BOUNDS
));
33546 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_From_int((int)wxLIST_RECT_ICON
));
33547 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_From_int((int)wxLIST_RECT_LABEL
));
33548 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_From_int((int)wxLIST_FIND_UP
));
33549 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_From_int((int)wxLIST_FIND_DOWN
));
33550 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_From_int((int)wxLIST_FIND_LEFT
));
33551 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_From_int((int)wxLIST_FIND_RIGHT
));
33552 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
33553 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
33554 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
33555 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
33556 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
33557 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
33558 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
33559 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
33560 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
33561 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
33562 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
33563 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
33564 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
33565 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
33566 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
33567 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
33568 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
33569 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
33570 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
33571 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
33572 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
33573 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
33575 // Map renamed classes back to their common name for OOR
33576 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
33578 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
33579 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_From_int((int)wxTR_NO_BUTTONS
));
33580 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_From_int((int)wxTR_HAS_BUTTONS
));
33581 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_From_int((int)wxTR_NO_LINES
));
33582 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_From_int((int)wxTR_LINES_AT_ROOT
));
33583 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_From_int((int)wxTR_SINGLE
));
33584 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_From_int((int)wxTR_MULTIPLE
));
33585 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_From_int((int)wxTR_EXTENDED
));
33586 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
33587 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_From_int((int)wxTR_EDIT_LABELS
));
33588 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_From_int((int)wxTR_HIDE_ROOT
));
33589 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_From_int((int)wxTR_ROW_LINES
));
33590 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)wxTR_FULL_ROW_HIGHLIGHT
));
33591 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_From_int((int)wxTR_DEFAULT_STYLE
));
33592 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_From_int((int)wxTR_TWIST_BUTTONS
));
33593 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_From_int((int)wxTR_MAC_BUTTONS
));
33594 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_From_int((int)wxTR_AQUA_BUTTONS
));
33595 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_From_int((int)wxTreeItemIcon_Normal
));
33596 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_From_int((int)wxTreeItemIcon_Selected
));
33597 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_From_int((int)wxTreeItemIcon_Expanded
));
33598 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)wxTreeItemIcon_SelectedExpanded
));
33599 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_From_int((int)wxTreeItemIcon_Max
));
33600 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_From_int((int)wxTREE_HITTEST_ABOVE
));
33601 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_From_int((int)wxTREE_HITTEST_BELOW
));
33602 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)wxTREE_HITTEST_NOWHERE
));
33603 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)wxTREE_HITTEST_ONITEMBUTTON
));
33604 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)wxTREE_HITTEST_ONITEMICON
));
33605 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)wxTREE_HITTEST_ONITEMINDENT
));
33606 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)wxTREE_HITTEST_ONITEMLABEL
));
33607 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)wxTREE_HITTEST_ONITEMRIGHT
));
33608 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)wxTREE_HITTEST_ONITEMSTATEICON
));
33609 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)wxTREE_HITTEST_TOLEFT
));
33610 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)wxTREE_HITTEST_TORIGHT
));
33611 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)wxTREE_HITTEST_ONITEMUPPERPART
));
33612 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)wxTREE_HITTEST_ONITEMLOWERPART
));
33613 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_From_int((int)wxTREE_HITTEST_ONITEM
));
33614 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
33615 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
33616 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
33617 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
33618 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
33619 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
33620 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
33621 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
33622 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
33623 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
33624 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
33625 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
33626 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
33627 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
33628 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
33629 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
33630 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
33631 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
33632 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
33633 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
33635 // Map renamed classes back to their common name for OOR
33636 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
33637 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
33639 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
33640 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)wxDIRCTRL_DIR_ONLY
));
33641 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)wxDIRCTRL_SELECT_FIRST
));
33642 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)wxDIRCTRL_SHOW_FILTERS
));
33643 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)wxDIRCTRL_3D_INTERNAL
));
33644 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)wxDIRCTRL_EDIT_LABELS
));
33645 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)wxFRAME_EX_CONTEXTHELP
));
33646 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)wxDIALOG_EX_CONTEXTHELP
));
33647 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
33648 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
33650 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");