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 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
343 #define SWIG_From_signed_SS_char PyInt_FromLong
345 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
346 #define SWIG_From_unsigned_SS_char PyInt_FromLong
348 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
349 #define SWIG_From_short PyInt_FromLong
351 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
352 #define SWIG_From_unsigned_SS_short PyInt_FromLong
354 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
355 #define SWIG_From_int PyInt_FromLong
357 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
358 #define SWIG_From_long PyInt_FromLong
360 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
361 #define SWIG_From_float PyFloat_FromDouble
363 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\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
){
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 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,63,SWIG_define@*/
906 #define SWIG_From_unsigned_SS_int SWIG_From_long
909 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\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_GetItemHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7017 PyObject
*resultobj
;
7018 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
7020 PyObject
* obj0
= 0 ;
7022 (char *) "self", NULL
7025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CheckListBox_GetItemHeight",kwnames
,&obj0
)) goto fail
;
7026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
7027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7030 result
= (int)(arg1
)->GetItemHeight();
7032 wxPyEndAllowThreads(__tstate
);
7033 if (PyErr_Occurred()) SWIG_fail
;
7035 resultobj
= SWIG_From_int((int)result
);
7042 static PyObject
*_wrap_CheckListBox_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7043 PyObject
*resultobj
;
7044 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
7048 PyObject
* obj0
= 0 ;
7049 PyObject
* obj1
= 0 ;
7051 (char *) "self",(char *) "pt", NULL
7054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CheckListBox_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
7055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
7056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7059 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
7062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7063 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
7065 wxPyEndAllowThreads(__tstate
);
7066 if (PyErr_Occurred()) SWIG_fail
;
7068 resultobj
= SWIG_From_int((int)result
);
7075 static PyObject
*_wrap_CheckListBox_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7076 PyObject
*resultobj
;
7077 wxCheckListBox
*arg1
= (wxCheckListBox
*) 0 ;
7081 PyObject
* obj0
= 0 ;
7082 PyObject
* obj1
= 0 ;
7083 PyObject
* obj2
= 0 ;
7085 (char *) "self",(char *) "x",(char *) "y", NULL
7088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:CheckListBox_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCheckListBox
,
7090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7091 arg2
= (int)SWIG_As_int(obj1
);
7092 if (PyErr_Occurred()) SWIG_fail
;
7093 arg3
= (int)SWIG_As_int(obj2
);
7094 if (PyErr_Occurred()) SWIG_fail
;
7096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7097 result
= (int)((wxCheckListBox
const *)arg1
)->HitTest(arg2
,arg3
);
7099 wxPyEndAllowThreads(__tstate
);
7100 if (PyErr_Occurred()) SWIG_fail
;
7102 resultobj
= SWIG_From_int((int)result
);
7109 static PyObject
* CheckListBox_swigregister(PyObject
*, PyObject
*args
) {
7111 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7112 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox
, obj
);
7114 return Py_BuildValue((char *)"");
7116 static int _wrap_TextCtrlNameStr_set(PyObject
*) {
7117 PyErr_SetString(PyExc_TypeError
,"Variable TextCtrlNameStr is read-only.");
7122 static PyObject
*_wrap_TextCtrlNameStr_get() {
7127 pyobj
= PyUnicode_FromWideChar((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
7129 pyobj
= PyString_FromStringAndSize((&wxPyTextCtrlNameStr
)->c_str(), (&wxPyTextCtrlNameStr
)->Len());
7136 static PyObject
*_wrap_new_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7137 PyObject
*resultobj
;
7138 wxColour
const &arg1_defvalue
= wxNullColour
;
7139 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
7140 wxColour
const &arg2_defvalue
= wxNullColour
;
7141 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
7142 wxFont
const &arg3_defvalue
= wxNullFont
;
7143 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
7144 int arg4
= (int) wxTEXT_ALIGNMENT_DEFAULT
;
7148 PyObject
* obj0
= 0 ;
7149 PyObject
* obj1
= 0 ;
7150 PyObject
* obj2
= 0 ;
7151 PyObject
* obj3
= 0 ;
7153 (char *) "colText",(char *) "colBack",(char *) "font",(char *) "alignment", NULL
7156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TextAttr",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7160 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
7166 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7170 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
7171 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7174 PyErr_SetString(PyExc_TypeError
,"null reference");
7179 arg4
= (int)SWIG_As_int(obj3
);
7180 if (PyErr_Occurred()) SWIG_fail
;
7183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7184 result
= (wxTextAttr
*)new wxTextAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
,(wxTextAttrAlignment
)arg4
);
7186 wxPyEndAllowThreads(__tstate
);
7187 if (PyErr_Occurred()) SWIG_fail
;
7189 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 1);
7196 static PyObject
*_wrap_delete_TextAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7197 PyObject
*resultobj
;
7198 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7199 PyObject
* obj0
= 0 ;
7201 (char *) "self", NULL
7204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TextAttr",kwnames
,&obj0
)) goto fail
;
7205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7211 wxPyEndAllowThreads(__tstate
);
7212 if (PyErr_Occurred()) SWIG_fail
;
7214 Py_INCREF(Py_None
); resultobj
= Py_None
;
7221 static PyObject
*_wrap_TextAttr_Init(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7222 PyObject
*resultobj
;
7223 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7224 PyObject
* obj0
= 0 ;
7226 (char *) "self", NULL
7229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_Init",kwnames
,&obj0
)) goto fail
;
7230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7236 wxPyEndAllowThreads(__tstate
);
7237 if (PyErr_Occurred()) SWIG_fail
;
7239 Py_INCREF(Py_None
); resultobj
= Py_None
;
7246 static PyObject
*_wrap_TextAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7247 PyObject
*resultobj
;
7248 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7249 wxColour
*arg2
= 0 ;
7251 PyObject
* obj0
= 0 ;
7252 PyObject
* obj1
= 0 ;
7254 (char *) "self",(char *) "colText", NULL
7257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7262 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7266 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
7268 wxPyEndAllowThreads(__tstate
);
7269 if (PyErr_Occurred()) SWIG_fail
;
7271 Py_INCREF(Py_None
); resultobj
= Py_None
;
7278 static PyObject
*_wrap_TextAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7279 PyObject
*resultobj
;
7280 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7281 wxColour
*arg2
= 0 ;
7283 PyObject
* obj0
= 0 ;
7284 PyObject
* obj1
= 0 ;
7286 (char *) "self",(char *) "colBack", NULL
7289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
7290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7294 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
7297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7298 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
7300 wxPyEndAllowThreads(__tstate
);
7301 if (PyErr_Occurred()) SWIG_fail
;
7303 Py_INCREF(Py_None
); resultobj
= Py_None
;
7310 static PyObject
*_wrap_TextAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7311 PyObject
*resultobj
;
7312 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7314 long arg3
= (long) wxTEXT_ATTR_FONT
;
7315 PyObject
* obj0
= 0 ;
7316 PyObject
* obj1
= 0 ;
7317 PyObject
* obj2
= 0 ;
7319 (char *) "self",(char *) "font",(char *) "flags", NULL
7322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7325 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
7326 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7329 PyErr_SetString(PyExc_TypeError
,"null reference");
7333 arg3
= (long)SWIG_As_long(obj2
);
7334 if (PyErr_Occurred()) SWIG_fail
;
7337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7338 (arg1
)->SetFont((wxFont
const &)*arg2
,arg3
);
7340 wxPyEndAllowThreads(__tstate
);
7341 if (PyErr_Occurred()) SWIG_fail
;
7343 Py_INCREF(Py_None
); resultobj
= Py_None
;
7350 static PyObject
*_wrap_TextAttr_SetAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7351 PyObject
*resultobj
;
7352 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7354 PyObject
* obj0
= 0 ;
7355 PyObject
* obj1
= 0 ;
7357 (char *) "self",(char *) "alignment", NULL
7360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetAlignment",kwnames
,&obj0
,&obj1
)) goto fail
;
7361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7363 arg2
= (int)SWIG_As_int(obj1
);
7364 if (PyErr_Occurred()) SWIG_fail
;
7366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7367 (arg1
)->SetAlignment((wxTextAttrAlignment
)arg2
);
7369 wxPyEndAllowThreads(__tstate
);
7370 if (PyErr_Occurred()) SWIG_fail
;
7372 Py_INCREF(Py_None
); resultobj
= Py_None
;
7379 static PyObject
*_wrap_TextAttr_SetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7380 PyObject
*resultobj
;
7381 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7382 wxArrayInt
*arg2
= 0 ;
7383 bool temp2
= False
;
7384 PyObject
* obj0
= 0 ;
7385 PyObject
* obj1
= 0 ;
7387 (char *) "self",(char *) "tabs", NULL
7390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetTabs",kwnames
,&obj0
,&obj1
)) goto fail
;
7391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7394 if (! PySequence_Check(obj1
)) {
7395 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
7398 arg2
= new wxArrayInt
;
7400 int i
, len
=PySequence_Length(obj1
);
7401 for (i
=0; i
<len
; i
++) {
7402 PyObject
* item
= PySequence_GetItem(obj1
, i
);
7403 PyObject
* number
= PyNumber_Int(item
);
7404 arg2
->Add(PyInt_AS_LONG(number
));
7410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7411 (arg1
)->SetTabs((wxArrayInt
const &)*arg2
);
7413 wxPyEndAllowThreads(__tstate
);
7414 if (PyErr_Occurred()) SWIG_fail
;
7416 Py_INCREF(Py_None
); resultobj
= Py_None
;
7418 if (temp2
) delete arg2
;
7423 if (temp2
) delete arg2
;
7429 static PyObject
*_wrap_TextAttr_SetLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7430 PyObject
*resultobj
;
7431 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7433 int arg3
= (int) 0 ;
7434 PyObject
* obj0
= 0 ;
7435 PyObject
* obj1
= 0 ;
7436 PyObject
* obj2
= 0 ;
7438 (char *) "self",(char *) "indent",(char *) "subIndent", NULL
7441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TextAttr_SetLeftIndent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7444 arg2
= (int)SWIG_As_int(obj1
);
7445 if (PyErr_Occurred()) SWIG_fail
;
7447 arg3
= (int)SWIG_As_int(obj2
);
7448 if (PyErr_Occurred()) SWIG_fail
;
7451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7452 (arg1
)->SetLeftIndent(arg2
,arg3
);
7454 wxPyEndAllowThreads(__tstate
);
7455 if (PyErr_Occurred()) SWIG_fail
;
7457 Py_INCREF(Py_None
); resultobj
= Py_None
;
7464 static PyObject
*_wrap_TextAttr_SetRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7465 PyObject
*resultobj
;
7466 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7468 PyObject
* obj0
= 0 ;
7469 PyObject
* obj1
= 0 ;
7471 (char *) "self",(char *) "indent", NULL
7474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetRightIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
7475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7477 arg2
= (int)SWIG_As_int(obj1
);
7478 if (PyErr_Occurred()) SWIG_fail
;
7480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7481 (arg1
)->SetRightIndent(arg2
);
7483 wxPyEndAllowThreads(__tstate
);
7484 if (PyErr_Occurred()) SWIG_fail
;
7486 Py_INCREF(Py_None
); resultobj
= Py_None
;
7493 static PyObject
*_wrap_TextAttr_SetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7494 PyObject
*resultobj
;
7495 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7497 PyObject
* obj0
= 0 ;
7498 PyObject
* obj1
= 0 ;
7500 (char *) "self",(char *) "flags", NULL
7503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
7504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7506 arg2
= (long)SWIG_As_long(obj1
);
7507 if (PyErr_Occurred()) SWIG_fail
;
7509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7510 (arg1
)->SetFlags(arg2
);
7512 wxPyEndAllowThreads(__tstate
);
7513 if (PyErr_Occurred()) SWIG_fail
;
7515 Py_INCREF(Py_None
); resultobj
= Py_None
;
7522 static PyObject
*_wrap_TextAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7523 PyObject
*resultobj
;
7524 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7526 PyObject
* obj0
= 0 ;
7528 (char *) "self", NULL
7531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
7532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7536 result
= (bool)((wxTextAttr
const *)arg1
)->HasTextColour();
7538 wxPyEndAllowThreads(__tstate
);
7539 if (PyErr_Occurred()) SWIG_fail
;
7542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7550 static PyObject
*_wrap_TextAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7551 PyObject
*resultobj
;
7552 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7554 PyObject
* obj0
= 0 ;
7556 (char *) "self", NULL
7559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
7560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7564 result
= (bool)((wxTextAttr
const *)arg1
)->HasBackgroundColour();
7566 wxPyEndAllowThreads(__tstate
);
7567 if (PyErr_Occurred()) SWIG_fail
;
7570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7578 static PyObject
*_wrap_TextAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7579 PyObject
*resultobj
;
7580 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7582 PyObject
* obj0
= 0 ;
7584 (char *) "self", NULL
7587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasFont",kwnames
,&obj0
)) goto fail
;
7588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7592 result
= (bool)((wxTextAttr
const *)arg1
)->HasFont();
7594 wxPyEndAllowThreads(__tstate
);
7595 if (PyErr_Occurred()) SWIG_fail
;
7598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7606 static PyObject
*_wrap_TextAttr_HasAlignment(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7607 PyObject
*resultobj
;
7608 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7610 PyObject
* obj0
= 0 ;
7612 (char *) "self", NULL
7615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasAlignment",kwnames
,&obj0
)) goto fail
;
7616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7620 result
= (bool)((wxTextAttr
const *)arg1
)->HasAlignment();
7622 wxPyEndAllowThreads(__tstate
);
7623 if (PyErr_Occurred()) SWIG_fail
;
7626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7634 static PyObject
*_wrap_TextAttr_HasTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7635 PyObject
*resultobj
;
7636 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7638 PyObject
* obj0
= 0 ;
7640 (char *) "self", NULL
7643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasTabs",kwnames
,&obj0
)) goto fail
;
7644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7648 result
= (bool)((wxTextAttr
const *)arg1
)->HasTabs();
7650 wxPyEndAllowThreads(__tstate
);
7651 if (PyErr_Occurred()) SWIG_fail
;
7654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7662 static PyObject
*_wrap_TextAttr_HasLeftIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7663 PyObject
*resultobj
;
7664 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7666 PyObject
* obj0
= 0 ;
7668 (char *) "self", NULL
7671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasLeftIndent",kwnames
,&obj0
)) goto fail
;
7672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7676 result
= (bool)((wxTextAttr
const *)arg1
)->HasLeftIndent();
7678 wxPyEndAllowThreads(__tstate
);
7679 if (PyErr_Occurred()) SWIG_fail
;
7682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7690 static PyObject
*_wrap_TextAttr_HasRightIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7691 PyObject
*resultobj
;
7692 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7694 PyObject
* obj0
= 0 ;
7696 (char *) "self", NULL
7699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_HasRightIndent",kwnames
,&obj0
)) goto fail
;
7700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7704 result
= (bool)((wxTextAttr
const *)arg1
)->HasRightIndent();
7706 wxPyEndAllowThreads(__tstate
);
7707 if (PyErr_Occurred()) SWIG_fail
;
7710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7718 static PyObject
*_wrap_TextAttr_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7719 PyObject
*resultobj
;
7720 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7723 PyObject
* obj0
= 0 ;
7724 PyObject
* obj1
= 0 ;
7726 (char *) "self",(char *) "flag", NULL
7729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextAttr_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
7730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7732 arg2
= (long)SWIG_As_long(obj1
);
7733 if (PyErr_Occurred()) SWIG_fail
;
7735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7736 result
= (bool)((wxTextAttr
const *)arg1
)->HasFlag(arg2
);
7738 wxPyEndAllowThreads(__tstate
);
7739 if (PyErr_Occurred()) SWIG_fail
;
7742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7750 static PyObject
*_wrap_TextAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7751 PyObject
*resultobj
;
7752 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7754 PyObject
* obj0
= 0 ;
7756 (char *) "self", NULL
7759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
7760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7765 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTextColour();
7766 result
= (wxColour
*) &_result_ref
;
7769 wxPyEndAllowThreads(__tstate
);
7770 if (PyErr_Occurred()) SWIG_fail
;
7772 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7779 static PyObject
*_wrap_TextAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7780 PyObject
*resultobj
;
7781 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7783 PyObject
* obj0
= 0 ;
7785 (char *) "self", NULL
7788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
7789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7794 wxColour
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetBackgroundColour();
7795 result
= (wxColour
*) &_result_ref
;
7798 wxPyEndAllowThreads(__tstate
);
7799 if (PyErr_Occurred()) SWIG_fail
;
7801 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
7808 static PyObject
*_wrap_TextAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7809 PyObject
*resultobj
;
7810 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7812 PyObject
* obj0
= 0 ;
7814 (char *) "self", NULL
7817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetFont",kwnames
,&obj0
)) goto fail
;
7818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7823 wxFont
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetFont();
7824 result
= (wxFont
*) &_result_ref
;
7827 wxPyEndAllowThreads(__tstate
);
7828 if (PyErr_Occurred()) SWIG_fail
;
7831 wxFont
* resultptr
= new wxFont(*result
);
7832 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
7840 static PyObject
*_wrap_TextAttr_GetAlignment(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_GetAlignment",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();
7854 result
= (int)((wxTextAttr
const *)arg1
)->GetAlignment();
7856 wxPyEndAllowThreads(__tstate
);
7857 if (PyErr_Occurred()) SWIG_fail
;
7859 resultobj
= SWIG_From_int((int)result
);
7866 static PyObject
*_wrap_TextAttr_GetTabs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7867 PyObject
*resultobj
;
7868 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
7870 PyObject
* obj0
= 0 ;
7872 (char *) "self", NULL
7875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_GetTabs",kwnames
,&obj0
)) goto fail
;
7876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
7877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7881 wxArrayInt
const &_result_ref
= ((wxTextAttr
const *)arg1
)->GetTabs();
7882 result
= (wxArrayInt
*) &_result_ref
;
7885 wxPyEndAllowThreads(__tstate
);
7886 if (PyErr_Occurred()) SWIG_fail
;
7889 resultobj
= PyList_New(0);
7891 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
7892 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
7893 PyList_Append(resultobj
, val
);
7903 static PyObject
*_wrap_TextAttr_GetLeftIndent(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_GetLeftIndent",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
)->GetLeftIndent();
7919 wxPyEndAllowThreads(__tstate
);
7920 if (PyErr_Occurred()) SWIG_fail
;
7922 resultobj
= SWIG_From_long((long)result
);
7929 static PyObject
*_wrap_TextAttr_GetLeftSubIndent(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_GetLeftSubIndent",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
)->GetLeftSubIndent();
7945 wxPyEndAllowThreads(__tstate
);
7946 if (PyErr_Occurred()) SWIG_fail
;
7948 resultobj
= SWIG_From_long((long)result
);
7955 static PyObject
*_wrap_TextAttr_GetRightIndent(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_GetRightIndent",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
)->GetRightIndent();
7971 wxPyEndAllowThreads(__tstate
);
7972 if (PyErr_Occurred()) SWIG_fail
;
7974 resultobj
= SWIG_From_long((long)result
);
7981 static PyObject
*_wrap_TextAttr_GetFlags(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_GetFlags",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
= (long)((wxTextAttr
const *)arg1
)->GetFlags();
7997 wxPyEndAllowThreads(__tstate
);
7998 if (PyErr_Occurred()) SWIG_fail
;
8000 resultobj
= SWIG_From_long((long)result
);
8007 static PyObject
*_wrap_TextAttr_IsDefault(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8008 PyObject
*resultobj
;
8009 wxTextAttr
*arg1
= (wxTextAttr
*) 0 ;
8011 PyObject
* obj0
= 0 ;
8013 (char *) "self", NULL
8016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextAttr_IsDefault",kwnames
,&obj0
)) goto fail
;
8017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
8018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8021 result
= (bool)((wxTextAttr
const *)arg1
)->IsDefault();
8023 wxPyEndAllowThreads(__tstate
);
8024 if (PyErr_Occurred()) SWIG_fail
;
8027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8035 static PyObject
*_wrap_TextAttr_Combine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8036 PyObject
*resultobj
;
8037 wxTextAttr
*arg1
= 0 ;
8038 wxTextAttr
*arg2
= 0 ;
8039 wxTextCtrl
*arg3
= (wxTextCtrl
*) 0 ;
8041 PyObject
* obj0
= 0 ;
8042 PyObject
* obj1
= 0 ;
8043 PyObject
* obj2
= 0 ;
8045 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
8048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextAttr_Combine",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextAttr
,
8050 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8053 PyErr_SetString(PyExc_TypeError
,"null reference");
8056 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
8057 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8060 PyErr_SetString(PyExc_TypeError
,"null reference");
8063 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextCtrl
,
8064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8067 result
= wxTextAttr::Combine((wxTextAttr
const &)*arg1
,(wxTextAttr
const &)*arg2
,(wxTextCtrl
const *)arg3
);
8069 wxPyEndAllowThreads(__tstate
);
8070 if (PyErr_Occurred()) SWIG_fail
;
8073 wxTextAttr
* resultptr
;
8074 resultptr
= new wxTextAttr((wxTextAttr
&) result
);
8075 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTextAttr
, 1);
8083 static PyObject
* TextAttr_swigregister(PyObject
*, PyObject
*args
) {
8085 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8086 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr
, obj
);
8088 return Py_BuildValue((char *)"");
8090 static PyObject
*_wrap_new_TextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8091 PyObject
*resultobj
;
8092 wxWindow
*arg1
= (wxWindow
*) 0 ;
8093 int arg2
= (int) -1 ;
8094 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8095 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8096 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8097 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8098 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8099 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8100 long arg6
= (long) 0 ;
8101 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
8102 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
8103 wxString
const &arg8_defvalue
= wxPyTextCtrlNameStr
;
8104 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8106 bool temp3
= False
;
8109 bool temp8
= False
;
8110 PyObject
* obj0
= 0 ;
8111 PyObject
* obj1
= 0 ;
8112 PyObject
* obj2
= 0 ;
8113 PyObject
* obj3
= 0 ;
8114 PyObject
* obj4
= 0 ;
8115 PyObject
* obj5
= 0 ;
8116 PyObject
* obj6
= 0 ;
8117 PyObject
* obj7
= 0 ;
8119 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_TextCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
8123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
8124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8126 arg2
= (int)SWIG_As_int(obj1
);
8127 if (PyErr_Occurred()) SWIG_fail
;
8131 arg3
= wxString_in_helper(obj2
);
8132 if (arg3
== NULL
) SWIG_fail
;
8139 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8145 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8149 arg6
= (long)SWIG_As_long(obj5
);
8150 if (PyErr_Occurred()) SWIG_fail
;
8153 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
8154 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8157 PyErr_SetString(PyExc_TypeError
,"null reference");
8163 arg8
= wxString_in_helper(obj7
);
8164 if (arg8
== NULL
) SWIG_fail
;
8169 if (!wxPyCheckForApp()) SWIG_fail
;
8170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8171 result
= (wxTextCtrl
*)new wxTextCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
8173 wxPyEndAllowThreads(__tstate
);
8174 if (PyErr_Occurred()) SWIG_fail
;
8176 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
8199 static PyObject
*_wrap_new_PreTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8200 PyObject
*resultobj
;
8206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTextCtrl",kwnames
)) goto fail
;
8208 if (!wxPyCheckForApp()) SWIG_fail
;
8209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8210 result
= (wxTextCtrl
*)new wxTextCtrl();
8212 wxPyEndAllowThreads(__tstate
);
8213 if (PyErr_Occurred()) SWIG_fail
;
8215 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextCtrl
, 1);
8222 static PyObject
*_wrap_TextCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8223 PyObject
*resultobj
;
8224 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8225 wxWindow
*arg2
= (wxWindow
*) 0 ;
8226 int arg3
= (int) -1 ;
8227 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8228 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8229 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8230 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8231 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8232 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8233 long arg7
= (long) 0 ;
8234 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
8235 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
8236 wxString
const &arg9_defvalue
= wxPyTextCtrlNameStr
;
8237 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
8239 bool temp4
= False
;
8242 bool temp9
= False
;
8243 PyObject
* obj0
= 0 ;
8244 PyObject
* obj1
= 0 ;
8245 PyObject
* obj2
= 0 ;
8246 PyObject
* obj3
= 0 ;
8247 PyObject
* obj4
= 0 ;
8248 PyObject
* obj5
= 0 ;
8249 PyObject
* obj6
= 0 ;
8250 PyObject
* obj7
= 0 ;
8251 PyObject
* obj8
= 0 ;
8253 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:TextCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
8257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8259 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
8260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8262 arg3
= (int)SWIG_As_int(obj2
);
8263 if (PyErr_Occurred()) SWIG_fail
;
8267 arg4
= wxString_in_helper(obj3
);
8268 if (arg4
== NULL
) SWIG_fail
;
8275 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8281 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8285 arg7
= (long)SWIG_As_long(obj6
);
8286 if (PyErr_Occurred()) SWIG_fail
;
8289 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
8290 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8293 PyErr_SetString(PyExc_TypeError
,"null reference");
8299 arg9
= wxString_in_helper(obj8
);
8300 if (arg9
== NULL
) SWIG_fail
;
8305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8306 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
8308 wxPyEndAllowThreads(__tstate
);
8309 if (PyErr_Occurred()) SWIG_fail
;
8312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8336 static PyObject
*_wrap_TextCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8337 PyObject
*resultobj
;
8338 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8340 PyObject
* obj0
= 0 ;
8342 (char *) "self", NULL
8345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
8346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8350 result
= ((wxTextCtrl
const *)arg1
)->GetValue();
8352 wxPyEndAllowThreads(__tstate
);
8353 if (PyErr_Occurred()) SWIG_fail
;
8357 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8359 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8368 static PyObject
*_wrap_TextCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8369 PyObject
*resultobj
;
8370 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8371 wxString
*arg2
= 0 ;
8372 bool temp2
= False
;
8373 PyObject
* obj0
= 0 ;
8374 PyObject
* obj1
= 0 ;
8376 (char *) "self",(char *) "value", NULL
8379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
8380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8383 arg2
= wxString_in_helper(obj1
);
8384 if (arg2
== NULL
) SWIG_fail
;
8388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8389 (arg1
)->SetValue((wxString
const &)*arg2
);
8391 wxPyEndAllowThreads(__tstate
);
8392 if (PyErr_Occurred()) SWIG_fail
;
8394 Py_INCREF(Py_None
); resultobj
= Py_None
;
8409 static PyObject
*_wrap_TextCtrl_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8410 PyObject
*resultobj
;
8411 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8415 PyObject
* obj0
= 0 ;
8416 PyObject
* obj1
= 0 ;
8417 PyObject
* obj2
= 0 ;
8419 (char *) "self",(char *) "from",(char *) "to", NULL
8422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8425 arg2
= (long)SWIG_As_long(obj1
);
8426 if (PyErr_Occurred()) SWIG_fail
;
8427 arg3
= (long)SWIG_As_long(obj2
);
8428 if (PyErr_Occurred()) SWIG_fail
;
8430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8431 result
= ((wxTextCtrl
const *)arg1
)->GetRange(arg2
,arg3
);
8433 wxPyEndAllowThreads(__tstate
);
8434 if (PyErr_Occurred()) SWIG_fail
;
8438 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8440 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8449 static PyObject
*_wrap_TextCtrl_GetLineLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8450 PyObject
*resultobj
;
8451 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8454 PyObject
* obj0
= 0 ;
8455 PyObject
* obj1
= 0 ;
8457 (char *) "self",(char *) "lineNo", NULL
8460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8463 arg2
= (long)SWIG_As_long(obj1
);
8464 if (PyErr_Occurred()) SWIG_fail
;
8466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8467 result
= (int)((wxTextCtrl
const *)arg1
)->GetLineLength(arg2
);
8469 wxPyEndAllowThreads(__tstate
);
8470 if (PyErr_Occurred()) SWIG_fail
;
8472 resultobj
= SWIG_From_int((int)result
);
8479 static PyObject
*_wrap_TextCtrl_GetLineText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8480 PyObject
*resultobj
;
8481 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8484 PyObject
* obj0
= 0 ;
8485 PyObject
* obj1
= 0 ;
8487 (char *) "self",(char *) "lineNo", NULL
8490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_GetLineText",kwnames
,&obj0
,&obj1
)) goto fail
;
8491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8493 arg2
= (long)SWIG_As_long(obj1
);
8494 if (PyErr_Occurred()) SWIG_fail
;
8496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8497 result
= ((wxTextCtrl
const *)arg1
)->GetLineText(arg2
);
8499 wxPyEndAllowThreads(__tstate
);
8500 if (PyErr_Occurred()) SWIG_fail
;
8504 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8506 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8515 static PyObject
*_wrap_TextCtrl_GetNumberOfLines(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_GetNumberOfLines",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
= (int)((wxTextCtrl
const *)arg1
)->GetNumberOfLines();
8531 wxPyEndAllowThreads(__tstate
);
8532 if (PyErr_Occurred()) SWIG_fail
;
8534 resultobj
= SWIG_From_int((int)result
);
8541 static PyObject
*_wrap_TextCtrl_IsModified(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8542 PyObject
*resultobj
;
8543 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8545 PyObject
* obj0
= 0 ;
8547 (char *) "self", NULL
8550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsModified",kwnames
,&obj0
)) goto fail
;
8551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8555 result
= (bool)((wxTextCtrl
const *)arg1
)->IsModified();
8557 wxPyEndAllowThreads(__tstate
);
8558 if (PyErr_Occurred()) SWIG_fail
;
8561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8569 static PyObject
*_wrap_TextCtrl_IsEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8570 PyObject
*resultobj
;
8571 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8573 PyObject
* obj0
= 0 ;
8575 (char *) "self", NULL
8578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsEditable",kwnames
,&obj0
)) goto fail
;
8579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8583 result
= (bool)((wxTextCtrl
const *)arg1
)->IsEditable();
8585 wxPyEndAllowThreads(__tstate
);
8586 if (PyErr_Occurred()) SWIG_fail
;
8589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8597 static PyObject
*_wrap_TextCtrl_IsSingleLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8598 PyObject
*resultobj
;
8599 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8601 PyObject
* obj0
= 0 ;
8603 (char *) "self", NULL
8606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsSingleLine",kwnames
,&obj0
)) goto fail
;
8607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8611 result
= (bool)((wxTextCtrl
const *)arg1
)->IsSingleLine();
8613 wxPyEndAllowThreads(__tstate
);
8614 if (PyErr_Occurred()) SWIG_fail
;
8617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8625 static PyObject
*_wrap_TextCtrl_IsMultiLine(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8626 PyObject
*resultobj
;
8627 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8629 PyObject
* obj0
= 0 ;
8631 (char *) "self", NULL
8634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_IsMultiLine",kwnames
,&obj0
)) goto fail
;
8635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8639 result
= (bool)((wxTextCtrl
const *)arg1
)->IsMultiLine();
8641 wxPyEndAllowThreads(__tstate
);
8642 if (PyErr_Occurred()) SWIG_fail
;
8645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8653 static PyObject
*_wrap_TextCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8654 PyObject
*resultobj
;
8655 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8656 long *arg2
= (long *) 0 ;
8657 long *arg3
= (long *) 0 ;
8662 PyObject
* obj0
= 0 ;
8664 (char *) "self", NULL
8667 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
8668 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
8669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
8670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8674 ((wxTextCtrl
const *)arg1
)->GetSelection(arg2
,arg3
);
8676 wxPyEndAllowThreads(__tstate
);
8677 if (PyErr_Occurred()) SWIG_fail
;
8679 Py_INCREF(Py_None
); resultobj
= Py_None
;
8680 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
8681 SWIG_From_long((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_long
, 0)));
8682 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
8683 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
8690 static PyObject
*_wrap_TextCtrl_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8691 PyObject
*resultobj
;
8692 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8694 PyObject
* obj0
= 0 ;
8696 (char *) "self", NULL
8699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetStringSelection",kwnames
,&obj0
)) goto fail
;
8700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8704 result
= ((wxTextCtrl
const *)arg1
)->GetStringSelection();
8706 wxPyEndAllowThreads(__tstate
);
8707 if (PyErr_Occurred()) SWIG_fail
;
8711 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8713 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8722 static PyObject
*_wrap_TextCtrl_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8723 PyObject
*resultobj
;
8724 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8725 PyObject
* obj0
= 0 ;
8727 (char *) "self", NULL
8730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Clear",kwnames
,&obj0
)) goto fail
;
8731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8737 wxPyEndAllowThreads(__tstate
);
8738 if (PyErr_Occurred()) SWIG_fail
;
8740 Py_INCREF(Py_None
); resultobj
= Py_None
;
8747 static PyObject
*_wrap_TextCtrl_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8748 PyObject
*resultobj
;
8749 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8752 wxString
*arg4
= 0 ;
8753 bool temp4
= False
;
8754 PyObject
* obj0
= 0 ;
8755 PyObject
* obj1
= 0 ;
8756 PyObject
* obj2
= 0 ;
8757 PyObject
* obj3
= 0 ;
8759 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
8762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8765 arg2
= (long)SWIG_As_long(obj1
);
8766 if (PyErr_Occurred()) SWIG_fail
;
8767 arg3
= (long)SWIG_As_long(obj2
);
8768 if (PyErr_Occurred()) SWIG_fail
;
8770 arg4
= wxString_in_helper(obj3
);
8771 if (arg4
== NULL
) SWIG_fail
;
8775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8776 (arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
8778 wxPyEndAllowThreads(__tstate
);
8779 if (PyErr_Occurred()) SWIG_fail
;
8781 Py_INCREF(Py_None
); resultobj
= Py_None
;
8796 static PyObject
*_wrap_TextCtrl_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8797 PyObject
*resultobj
;
8798 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8801 PyObject
* obj0
= 0 ;
8802 PyObject
* obj1
= 0 ;
8803 PyObject
* obj2
= 0 ;
8805 (char *) "self",(char *) "from",(char *) "to", NULL
8808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_Remove",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8811 arg2
= (long)SWIG_As_long(obj1
);
8812 if (PyErr_Occurred()) SWIG_fail
;
8813 arg3
= (long)SWIG_As_long(obj2
);
8814 if (PyErr_Occurred()) SWIG_fail
;
8816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8817 (arg1
)->Remove(arg2
,arg3
);
8819 wxPyEndAllowThreads(__tstate
);
8820 if (PyErr_Occurred()) SWIG_fail
;
8822 Py_INCREF(Py_None
); resultobj
= Py_None
;
8829 static PyObject
*_wrap_TextCtrl_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8830 PyObject
*resultobj
;
8831 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8832 wxString
*arg2
= 0 ;
8834 bool temp2
= False
;
8835 PyObject
* obj0
= 0 ;
8836 PyObject
* obj1
= 0 ;
8838 (char *) "self",(char *) "file", NULL
8841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_LoadFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8845 arg2
= wxString_in_helper(obj1
);
8846 if (arg2
== NULL
) SWIG_fail
;
8850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8851 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
);
8853 wxPyEndAllowThreads(__tstate
);
8854 if (PyErr_Occurred()) SWIG_fail
;
8857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8873 static PyObject
*_wrap_TextCtrl_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8874 PyObject
*resultobj
;
8875 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8876 wxString
const &arg2_defvalue
= wxPyEmptyString
;
8877 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
8879 bool temp2
= False
;
8880 PyObject
* obj0
= 0 ;
8881 PyObject
* obj1
= 0 ;
8883 (char *) "self",(char *) "file", NULL
8886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_SaveFile",kwnames
,&obj0
,&obj1
)) goto fail
;
8887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8891 arg2
= wxString_in_helper(obj1
);
8892 if (arg2
== NULL
) SWIG_fail
;
8897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8898 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
);
8900 wxPyEndAllowThreads(__tstate
);
8901 if (PyErr_Occurred()) SWIG_fail
;
8904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8920 static PyObject
*_wrap_TextCtrl_MarkDirty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8921 PyObject
*resultobj
;
8922 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8923 PyObject
* obj0
= 0 ;
8925 (char *) "self", NULL
8928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_MarkDirty",kwnames
,&obj0
)) goto fail
;
8929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8933 (arg1
)->MarkDirty();
8935 wxPyEndAllowThreads(__tstate
);
8936 if (PyErr_Occurred()) SWIG_fail
;
8938 Py_INCREF(Py_None
); resultobj
= Py_None
;
8945 static PyObject
*_wrap_TextCtrl_DiscardEdits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8946 PyObject
*resultobj
;
8947 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8948 PyObject
* obj0
= 0 ;
8950 (char *) "self", NULL
8953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_DiscardEdits",kwnames
,&obj0
)) goto fail
;
8954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8958 (arg1
)->DiscardEdits();
8960 wxPyEndAllowThreads(__tstate
);
8961 if (PyErr_Occurred()) SWIG_fail
;
8963 Py_INCREF(Py_None
); resultobj
= Py_None
;
8970 static PyObject
*_wrap_TextCtrl_SetMaxLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8971 PyObject
*resultobj
;
8972 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
8973 unsigned long arg2
;
8974 PyObject
* obj0
= 0 ;
8975 PyObject
* obj1
= 0 ;
8977 (char *) "self",(char *) "len", NULL
8980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetMaxLength",kwnames
,&obj0
,&obj1
)) goto fail
;
8981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
8982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8983 arg2
= (unsigned long)SWIG_As_unsigned_SS_long(obj1
);
8984 if (PyErr_Occurred()) SWIG_fail
;
8986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8987 (arg1
)->SetMaxLength(arg2
);
8989 wxPyEndAllowThreads(__tstate
);
8990 if (PyErr_Occurred()) SWIG_fail
;
8992 Py_INCREF(Py_None
); resultobj
= Py_None
;
8999 static PyObject
*_wrap_TextCtrl_WriteText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9000 PyObject
*resultobj
;
9001 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9002 wxString
*arg2
= 0 ;
9003 bool temp2
= False
;
9004 PyObject
* obj0
= 0 ;
9005 PyObject
* obj1
= 0 ;
9007 (char *) "self",(char *) "text", NULL
9010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_WriteText",kwnames
,&obj0
,&obj1
)) goto fail
;
9011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9014 arg2
= wxString_in_helper(obj1
);
9015 if (arg2
== NULL
) SWIG_fail
;
9019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9020 (arg1
)->WriteText((wxString
const &)*arg2
);
9022 wxPyEndAllowThreads(__tstate
);
9023 if (PyErr_Occurred()) SWIG_fail
;
9025 Py_INCREF(Py_None
); resultobj
= Py_None
;
9040 static PyObject
*_wrap_TextCtrl_AppendText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9041 PyObject
*resultobj
;
9042 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9043 wxString
*arg2
= 0 ;
9044 bool temp2
= False
;
9045 PyObject
* obj0
= 0 ;
9046 PyObject
* obj1
= 0 ;
9048 (char *) "self",(char *) "text", NULL
9051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_AppendText",kwnames
,&obj0
,&obj1
)) goto fail
;
9052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9055 arg2
= wxString_in_helper(obj1
);
9056 if (arg2
== NULL
) SWIG_fail
;
9060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9061 (arg1
)->AppendText((wxString
const &)*arg2
);
9063 wxPyEndAllowThreads(__tstate
);
9064 if (PyErr_Occurred()) SWIG_fail
;
9066 Py_INCREF(Py_None
); resultobj
= Py_None
;
9081 static PyObject
*_wrap_TextCtrl_EmulateKeyPress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9082 PyObject
*resultobj
;
9083 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9084 wxKeyEvent
*arg2
= 0 ;
9086 PyObject
* obj0
= 0 ;
9087 PyObject
* obj1
= 0 ;
9089 (char *) "self",(char *) "event", NULL
9092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames
,&obj0
,&obj1
)) goto fail
;
9093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9095 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
9096 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9099 PyErr_SetString(PyExc_TypeError
,"null reference");
9103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9104 result
= (bool)(arg1
)->EmulateKeyPress((wxKeyEvent
const &)*arg2
);
9106 wxPyEndAllowThreads(__tstate
);
9107 if (PyErr_Occurred()) SWIG_fail
;
9110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9118 static PyObject
*_wrap_TextCtrl_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9119 PyObject
*resultobj
;
9120 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9123 wxTextAttr
*arg4
= 0 ;
9125 PyObject
* obj0
= 0 ;
9126 PyObject
* obj1
= 0 ;
9127 PyObject
* obj2
= 0 ;
9128 PyObject
* obj3
= 0 ;
9130 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
9133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextCtrl_SetStyle",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9136 arg2
= (long)SWIG_As_long(obj1
);
9137 if (PyErr_Occurred()) SWIG_fail
;
9138 arg3
= (long)SWIG_As_long(obj2
);
9139 if (PyErr_Occurred()) SWIG_fail
;
9140 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxTextAttr
,
9141 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9144 PyErr_SetString(PyExc_TypeError
,"null reference");
9148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9149 result
= (bool)(arg1
)->SetStyle(arg2
,arg3
,(wxTextAttr
const &)*arg4
);
9151 wxPyEndAllowThreads(__tstate
);
9152 if (PyErr_Occurred()) SWIG_fail
;
9155 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9163 static PyObject
*_wrap_TextCtrl_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9164 PyObject
*resultobj
;
9165 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9167 wxTextAttr
*arg3
= 0 ;
9169 PyObject
* obj0
= 0 ;
9170 PyObject
* obj1
= 0 ;
9171 PyObject
* obj2
= 0 ;
9173 (char *) "self",(char *) "position",(char *) "style", NULL
9176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9179 arg2
= (long)SWIG_As_long(obj1
);
9180 if (PyErr_Occurred()) SWIG_fail
;
9181 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTextAttr
,
9182 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9185 PyErr_SetString(PyExc_TypeError
,"null reference");
9189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9190 result
= (bool)(arg1
)->GetStyle(arg2
,*arg3
);
9192 wxPyEndAllowThreads(__tstate
);
9193 if (PyErr_Occurred()) SWIG_fail
;
9196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9204 static PyObject
*_wrap_TextCtrl_SetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9205 PyObject
*resultobj
;
9206 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9207 wxTextAttr
*arg2
= 0 ;
9209 PyObject
* obj0
= 0 ;
9210 PyObject
* obj1
= 0 ;
9212 (char *) "self",(char *) "style", NULL
9215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
9216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9218 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTextAttr
,
9219 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9222 PyErr_SetString(PyExc_TypeError
,"null reference");
9226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9227 result
= (bool)(arg1
)->SetDefaultStyle((wxTextAttr
const &)*arg2
);
9229 wxPyEndAllowThreads(__tstate
);
9230 if (PyErr_Occurred()) SWIG_fail
;
9233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9241 static PyObject
*_wrap_TextCtrl_GetDefaultStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9242 PyObject
*resultobj
;
9243 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9245 PyObject
* obj0
= 0 ;
9247 (char *) "self", NULL
9250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetDefaultStyle",kwnames
,&obj0
)) goto fail
;
9251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9256 wxTextAttr
const &_result_ref
= ((wxTextCtrl
const *)arg1
)->GetDefaultStyle();
9257 result
= (wxTextAttr
*) &_result_ref
;
9260 wxPyEndAllowThreads(__tstate
);
9261 if (PyErr_Occurred()) SWIG_fail
;
9263 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextAttr
, 0);
9270 static PyObject
*_wrap_TextCtrl_XYToPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9271 PyObject
*resultobj
;
9272 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9276 PyObject
* obj0
= 0 ;
9277 PyObject
* obj1
= 0 ;
9278 PyObject
* obj2
= 0 ;
9280 (char *) "self",(char *) "x",(char *) "y", NULL
9283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_XYToPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9286 arg2
= (long)SWIG_As_long(obj1
);
9287 if (PyErr_Occurred()) SWIG_fail
;
9288 arg3
= (long)SWIG_As_long(obj2
);
9289 if (PyErr_Occurred()) SWIG_fail
;
9291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9292 result
= (long)((wxTextCtrl
const *)arg1
)->XYToPosition(arg2
,arg3
);
9294 wxPyEndAllowThreads(__tstate
);
9295 if (PyErr_Occurred()) SWIG_fail
;
9297 resultobj
= SWIG_From_long((long)result
);
9304 static PyObject
*_wrap_TextCtrl_PositionToXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9305 PyObject
*resultobj
;
9306 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9308 long *arg3
= (long *) 0 ;
9309 long *arg4
= (long *) 0 ;
9314 PyObject
* obj0
= 0 ;
9315 PyObject
* obj1
= 0 ;
9317 (char *) "self",(char *) "pos", NULL
9320 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
9321 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
9322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_PositionToXY",kwnames
,&obj0
,&obj1
)) goto fail
;
9323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9325 arg2
= (long)SWIG_As_long(obj1
);
9326 if (PyErr_Occurred()) SWIG_fail
;
9328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9329 ((wxTextCtrl
const *)arg1
)->PositionToXY(arg2
,arg3
,arg4
);
9331 wxPyEndAllowThreads(__tstate
);
9332 if (PyErr_Occurred()) SWIG_fail
;
9334 Py_INCREF(Py_None
); resultobj
= Py_None
;
9335 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
9336 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
9337 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
9338 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
9345 static PyObject
*_wrap_TextCtrl_ShowPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9346 PyObject
*resultobj
;
9347 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9349 PyObject
* obj0
= 0 ;
9350 PyObject
* obj1
= 0 ;
9352 (char *) "self",(char *) "pos", NULL
9355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_ShowPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
9356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9358 arg2
= (long)SWIG_As_long(obj1
);
9359 if (PyErr_Occurred()) SWIG_fail
;
9361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9362 (arg1
)->ShowPosition(arg2
);
9364 wxPyEndAllowThreads(__tstate
);
9365 if (PyErr_Occurred()) SWIG_fail
;
9367 Py_INCREF(Py_None
); resultobj
= Py_None
;
9374 static PyObject
*_wrap_TextCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9375 PyObject
*resultobj
;
9376 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9378 long *arg3
= (long *) 0 ;
9379 long *arg4
= (long *) 0 ;
9386 PyObject
* obj0
= 0 ;
9387 PyObject
* obj1
= 0 ;
9389 (char *) "self",(char *) "pt", NULL
9392 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
9393 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
9394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
9395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9399 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9403 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
,arg4
);
9405 wxPyEndAllowThreads(__tstate
);
9406 if (PyErr_Occurred()) SWIG_fail
;
9408 resultobj
= SWIG_From_int((int)result
);
9409 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
9410 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
9411 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
9412 SWIG_From_long((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_long
, 0)));
9419 static PyObject
*_wrap_TextCtrl_HitTestPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9420 PyObject
*resultobj
;
9421 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9423 long *arg3
= (long *) 0 ;
9428 PyObject
* obj0
= 0 ;
9429 PyObject
* obj1
= 0 ;
9431 (char *) "self",(char *) "pt", NULL
9434 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
9435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_HitTestPos",kwnames
,&obj0
,&obj1
)) goto fail
;
9436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9440 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
9443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9444 result
= (int)((wxTextCtrl
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
9446 wxPyEndAllowThreads(__tstate
);
9447 if (PyErr_Occurred()) SWIG_fail
;
9449 resultobj
= SWIG_From_int((int)result
);
9450 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
9451 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
9458 static PyObject
*_wrap_TextCtrl_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9459 PyObject
*resultobj
;
9460 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9461 PyObject
* obj0
= 0 ;
9463 (char *) "self", NULL
9466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Copy",kwnames
,&obj0
)) goto fail
;
9467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9473 wxPyEndAllowThreads(__tstate
);
9474 if (PyErr_Occurred()) SWIG_fail
;
9476 Py_INCREF(Py_None
); resultobj
= Py_None
;
9483 static PyObject
*_wrap_TextCtrl_Cut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9484 PyObject
*resultobj
;
9485 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9486 PyObject
* obj0
= 0 ;
9488 (char *) "self", NULL
9491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Cut",kwnames
,&obj0
)) goto fail
;
9492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9498 wxPyEndAllowThreads(__tstate
);
9499 if (PyErr_Occurred()) SWIG_fail
;
9501 Py_INCREF(Py_None
); resultobj
= Py_None
;
9508 static PyObject
*_wrap_TextCtrl_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9509 PyObject
*resultobj
;
9510 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9511 PyObject
* obj0
= 0 ;
9513 (char *) "self", NULL
9516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Paste",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();
9523 wxPyEndAllowThreads(__tstate
);
9524 if (PyErr_Occurred()) SWIG_fail
;
9526 Py_INCREF(Py_None
); resultobj
= Py_None
;
9533 static PyObject
*_wrap_TextCtrl_CanCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9534 PyObject
*resultobj
;
9535 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9537 PyObject
* obj0
= 0 ;
9539 (char *) "self", NULL
9542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCopy",kwnames
,&obj0
)) goto fail
;
9543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9547 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCopy();
9549 wxPyEndAllowThreads(__tstate
);
9550 if (PyErr_Occurred()) SWIG_fail
;
9553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9561 static PyObject
*_wrap_TextCtrl_CanCut(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9562 PyObject
*resultobj
;
9563 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9565 PyObject
* obj0
= 0 ;
9567 (char *) "self", NULL
9570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanCut",kwnames
,&obj0
)) goto fail
;
9571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9575 result
= (bool)((wxTextCtrl
const *)arg1
)->CanCut();
9577 wxPyEndAllowThreads(__tstate
);
9578 if (PyErr_Occurred()) SWIG_fail
;
9581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9589 static PyObject
*_wrap_TextCtrl_CanPaste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9590 PyObject
*resultobj
;
9591 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9593 PyObject
* obj0
= 0 ;
9595 (char *) "self", NULL
9598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanPaste",kwnames
,&obj0
)) goto fail
;
9599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9603 result
= (bool)((wxTextCtrl
const *)arg1
)->CanPaste();
9605 wxPyEndAllowThreads(__tstate
);
9606 if (PyErr_Occurred()) SWIG_fail
;
9609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9617 static PyObject
*_wrap_TextCtrl_Undo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9618 PyObject
*resultobj
;
9619 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9620 PyObject
* obj0
= 0 ;
9622 (char *) "self", NULL
9625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Undo",kwnames
,&obj0
)) goto fail
;
9626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9632 wxPyEndAllowThreads(__tstate
);
9633 if (PyErr_Occurred()) SWIG_fail
;
9635 Py_INCREF(Py_None
); resultobj
= Py_None
;
9642 static PyObject
*_wrap_TextCtrl_Redo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9643 PyObject
*resultobj
;
9644 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9645 PyObject
* obj0
= 0 ;
9647 (char *) "self", NULL
9650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_Redo",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();
9657 wxPyEndAllowThreads(__tstate
);
9658 if (PyErr_Occurred()) SWIG_fail
;
9660 Py_INCREF(Py_None
); resultobj
= Py_None
;
9667 static PyObject
*_wrap_TextCtrl_CanUndo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9668 PyObject
*resultobj
;
9669 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9671 PyObject
* obj0
= 0 ;
9673 (char *) "self", NULL
9676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanUndo",kwnames
,&obj0
)) goto fail
;
9677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9681 result
= (bool)((wxTextCtrl
const *)arg1
)->CanUndo();
9683 wxPyEndAllowThreads(__tstate
);
9684 if (PyErr_Occurred()) SWIG_fail
;
9687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9695 static PyObject
*_wrap_TextCtrl_CanRedo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9696 PyObject
*resultobj
;
9697 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9699 PyObject
* obj0
= 0 ;
9701 (char *) "self", NULL
9704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_CanRedo",kwnames
,&obj0
)) goto fail
;
9705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9709 result
= (bool)((wxTextCtrl
const *)arg1
)->CanRedo();
9711 wxPyEndAllowThreads(__tstate
);
9712 if (PyErr_Occurred()) SWIG_fail
;
9715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9723 static PyObject
*_wrap_TextCtrl_SetInsertionPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9724 PyObject
*resultobj
;
9725 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9727 PyObject
* obj0
= 0 ;
9728 PyObject
* obj1
= 0 ;
9730 (char *) "self",(char *) "pos", NULL
9733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetInsertionPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
9734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9736 arg2
= (long)SWIG_As_long(obj1
);
9737 if (PyErr_Occurred()) SWIG_fail
;
9739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9740 (arg1
)->SetInsertionPoint(arg2
);
9742 wxPyEndAllowThreads(__tstate
);
9743 if (PyErr_Occurred()) SWIG_fail
;
9745 Py_INCREF(Py_None
); resultobj
= Py_None
;
9752 static PyObject
*_wrap_TextCtrl_SetInsertionPointEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9753 PyObject
*resultobj
;
9754 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9755 PyObject
* obj0
= 0 ;
9757 (char *) "self", NULL
9760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SetInsertionPointEnd",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 (arg1
)->SetInsertionPointEnd();
9767 wxPyEndAllowThreads(__tstate
);
9768 if (PyErr_Occurred()) SWIG_fail
;
9770 Py_INCREF(Py_None
); resultobj
= Py_None
;
9777 static PyObject
*_wrap_TextCtrl_GetInsertionPoint(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_GetInsertionPoint",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
)->GetInsertionPoint();
9793 wxPyEndAllowThreads(__tstate
);
9794 if (PyErr_Occurred()) SWIG_fail
;
9796 resultobj
= SWIG_From_long((long)result
);
9803 static PyObject
*_wrap_TextCtrl_GetLastPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9804 PyObject
*resultobj
;
9805 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9807 PyObject
* obj0
= 0 ;
9809 (char *) "self", NULL
9812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_GetLastPosition",kwnames
,&obj0
)) goto fail
;
9813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9817 result
= (long)((wxTextCtrl
const *)arg1
)->GetLastPosition();
9819 wxPyEndAllowThreads(__tstate
);
9820 if (PyErr_Occurred()) SWIG_fail
;
9822 resultobj
= SWIG_From_long((long)result
);
9829 static PyObject
*_wrap_TextCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9830 PyObject
*resultobj
;
9831 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9834 PyObject
* obj0
= 0 ;
9835 PyObject
* obj1
= 0 ;
9836 PyObject
* obj2
= 0 ;
9838 (char *) "self",(char *) "from",(char *) "to", NULL
9841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9844 arg2
= (long)SWIG_As_long(obj1
);
9845 if (PyErr_Occurred()) SWIG_fail
;
9846 arg3
= (long)SWIG_As_long(obj2
);
9847 if (PyErr_Occurred()) SWIG_fail
;
9849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9850 (arg1
)->SetSelection(arg2
,arg3
);
9852 wxPyEndAllowThreads(__tstate
);
9853 if (PyErr_Occurred()) SWIG_fail
;
9855 Py_INCREF(Py_None
); resultobj
= Py_None
;
9862 static PyObject
*_wrap_TextCtrl_SelectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9863 PyObject
*resultobj
;
9864 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9865 PyObject
* obj0
= 0 ;
9867 (char *) "self", NULL
9870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_SelectAll",kwnames
,&obj0
)) goto fail
;
9871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9875 (arg1
)->SelectAll();
9877 wxPyEndAllowThreads(__tstate
);
9878 if (PyErr_Occurred()) SWIG_fail
;
9880 Py_INCREF(Py_None
); resultobj
= Py_None
;
9887 static PyObject
*_wrap_TextCtrl_SetEditable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9888 PyObject
*resultobj
;
9889 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9891 PyObject
* obj0
= 0 ;
9892 PyObject
* obj1
= 0 ;
9894 (char *) "self",(char *) "editable", NULL
9897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_SetEditable",kwnames
,&obj0
,&obj1
)) goto fail
;
9898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9900 arg2
= (bool)SWIG_As_bool(obj1
);
9901 if (PyErr_Occurred()) SWIG_fail
;
9903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9904 (arg1
)->SetEditable(arg2
);
9906 wxPyEndAllowThreads(__tstate
);
9907 if (PyErr_Occurred()) SWIG_fail
;
9909 Py_INCREF(Py_None
); resultobj
= Py_None
;
9916 static PyObject
*_wrap_TextCtrl_ShowNativeCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9917 PyObject
*resultobj
;
9918 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9919 bool arg2
= (bool) True
;
9921 PyObject
* obj0
= 0 ;
9922 PyObject
* obj1
= 0 ;
9924 (char *) "self",(char *) "show", NULL
9927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
9928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9931 arg2
= (bool)SWIG_As_bool(obj1
);
9932 if (PyErr_Occurred()) SWIG_fail
;
9935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9936 result
= (bool)(arg1
)->ShowNativeCaret(arg2
);
9938 wxPyEndAllowThreads(__tstate
);
9939 if (PyErr_Occurred()) SWIG_fail
;
9942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9950 static PyObject
*_wrap_TextCtrl_HideNativeCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9951 PyObject
*resultobj
;
9952 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9954 PyObject
* obj0
= 0 ;
9956 (char *) "self", NULL
9959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextCtrl_HideNativeCaret",kwnames
,&obj0
)) goto fail
;
9960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9964 result
= (bool)(arg1
)->HideNativeCaret();
9966 wxPyEndAllowThreads(__tstate
);
9967 if (PyErr_Occurred()) SWIG_fail
;
9970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9978 static PyObject
*_wrap_TextCtrl_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9979 PyObject
*resultobj
;
9980 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
9981 wxString
*arg2
= 0 ;
9982 bool temp2
= False
;
9983 PyObject
* obj0
= 0 ;
9984 PyObject
* obj1
= 0 ;
9986 (char *) "self",(char *) "text", NULL
9989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextCtrl_write",kwnames
,&obj0
,&obj1
)) goto fail
;
9990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
9991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9993 arg2
= wxString_in_helper(obj1
);
9994 if (arg2
== NULL
) SWIG_fail
;
9998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9999 wxTextCtrl_write(arg1
,(wxString
const &)*arg2
);
10001 wxPyEndAllowThreads(__tstate
);
10002 if (PyErr_Occurred()) SWIG_fail
;
10004 Py_INCREF(Py_None
); resultobj
= Py_None
;
10019 static PyObject
*_wrap_TextCtrl_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10020 PyObject
*resultobj
;
10021 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
10025 PyObject
* obj0
= 0 ;
10026 PyObject
* obj1
= 0 ;
10027 PyObject
* obj2
= 0 ;
10028 char *kwnames
[] = {
10029 (char *) "self",(char *) "from",(char *) "to", NULL
10032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextCtrl_GetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
10034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10035 arg2
= (long)SWIG_As_long(obj1
);
10036 if (PyErr_Occurred()) SWIG_fail
;
10037 arg3
= (long)SWIG_As_long(obj2
);
10038 if (PyErr_Occurred()) SWIG_fail
;
10040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10041 result
= wxTextCtrl_GetString(arg1
,arg2
,arg3
);
10043 wxPyEndAllowThreads(__tstate
);
10044 if (PyErr_Occurred()) SWIG_fail
;
10048 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10050 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10059 static PyObject
*_wrap_TextCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10060 PyObject
*resultobj
;
10061 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10062 wxVisualAttributes result
;
10063 PyObject
* obj0
= 0 ;
10064 char *kwnames
[] = {
10065 (char *) "variant", NULL
10068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TextCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10070 arg1
= (int)SWIG_As_int(obj0
);
10071 if (PyErr_Occurred()) SWIG_fail
;
10074 if (!wxPyCheckForApp()) SWIG_fail
;
10075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10076 result
= wxTextCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10078 wxPyEndAllowThreads(__tstate
);
10079 if (PyErr_Occurred()) SWIG_fail
;
10082 wxVisualAttributes
* resultptr
;
10083 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10084 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10092 static PyObject
* TextCtrl_swigregister(PyObject
*, PyObject
*args
) {
10094 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10095 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl
, obj
);
10097 return Py_BuildValue((char *)"");
10099 static PyObject
*_wrap_new_TextUrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10100 PyObject
*resultobj
;
10102 wxMouseEvent
*arg2
= 0 ;
10105 wxTextUrlEvent
*result
;
10106 PyObject
* obj0
= 0 ;
10107 PyObject
* obj1
= 0 ;
10108 PyObject
* obj2
= 0 ;
10109 PyObject
* obj3
= 0 ;
10110 char *kwnames
[] = {
10111 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
10114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_TextUrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10115 arg1
= (int)SWIG_As_int(obj0
);
10116 if (PyErr_Occurred()) SWIG_fail
;
10117 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMouseEvent
,
10118 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10120 if (arg2
== NULL
) {
10121 PyErr_SetString(PyExc_TypeError
,"null reference");
10124 arg3
= (long)SWIG_As_long(obj2
);
10125 if (PyErr_Occurred()) SWIG_fail
;
10126 arg4
= (long)SWIG_As_long(obj3
);
10127 if (PyErr_Occurred()) SWIG_fail
;
10129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10130 result
= (wxTextUrlEvent
*)new wxTextUrlEvent(arg1
,(wxMouseEvent
const &)*arg2
,arg3
,arg4
);
10132 wxPyEndAllowThreads(__tstate
);
10133 if (PyErr_Occurred()) SWIG_fail
;
10135 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextUrlEvent
, 1);
10142 static PyObject
*_wrap_TextUrlEvent_GetMouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10143 PyObject
*resultobj
;
10144 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
10145 wxMouseEvent
*result
;
10146 PyObject
* obj0
= 0 ;
10147 char *kwnames
[] = {
10148 (char *) "self", NULL
10151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames
,&obj0
)) goto fail
;
10152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
10153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10157 wxMouseEvent
const &_result_ref
= (arg1
)->GetMouseEvent();
10158 result
= (wxMouseEvent
*) &_result_ref
;
10161 wxPyEndAllowThreads(__tstate
);
10162 if (PyErr_Occurred()) SWIG_fail
;
10164 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseEvent
, 0);
10171 static PyObject
*_wrap_TextUrlEvent_GetURLStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10172 PyObject
*resultobj
;
10173 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
10175 PyObject
* obj0
= 0 ;
10176 char *kwnames
[] = {
10177 (char *) "self", NULL
10180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLStart",kwnames
,&obj0
)) goto fail
;
10181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
10182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10185 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLStart();
10187 wxPyEndAllowThreads(__tstate
);
10188 if (PyErr_Occurred()) SWIG_fail
;
10190 resultobj
= SWIG_From_long((long)result
);
10197 static PyObject
*_wrap_TextUrlEvent_GetURLEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10198 PyObject
*resultobj
;
10199 wxTextUrlEvent
*arg1
= (wxTextUrlEvent
*) 0 ;
10201 PyObject
* obj0
= 0 ;
10202 char *kwnames
[] = {
10203 (char *) "self", NULL
10206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextUrlEvent_GetURLEnd",kwnames
,&obj0
)) goto fail
;
10207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextUrlEvent
,
10208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10211 result
= (long)((wxTextUrlEvent
const *)arg1
)->GetURLEnd();
10213 wxPyEndAllowThreads(__tstate
);
10214 if (PyErr_Occurred()) SWIG_fail
;
10216 resultobj
= SWIG_From_long((long)result
);
10223 static PyObject
* TextUrlEvent_swigregister(PyObject
*, PyObject
*args
) {
10225 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10226 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent
, obj
);
10228 return Py_BuildValue((char *)"");
10230 static int _wrap_ScrollBarNameStr_set(PyObject
*) {
10231 PyErr_SetString(PyExc_TypeError
,"Variable ScrollBarNameStr is read-only.");
10236 static PyObject
*_wrap_ScrollBarNameStr_get() {
10241 pyobj
= PyUnicode_FromWideChar((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
10243 pyobj
= PyString_FromStringAndSize((&wxPyScrollBarNameStr
)->c_str(), (&wxPyScrollBarNameStr
)->Len());
10250 static PyObject
*_wrap_new_ScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10251 PyObject
*resultobj
;
10252 wxWindow
*arg1
= (wxWindow
*) 0 ;
10253 int arg2
= (int) -1 ;
10254 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10255 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10256 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10257 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10258 long arg5
= (long) wxSB_HORIZONTAL
;
10259 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
10260 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
10261 wxString
const &arg7_defvalue
= wxPyScrollBarNameStr
;
10262 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10263 wxScrollBar
*result
;
10266 bool temp7
= False
;
10267 PyObject
* obj0
= 0 ;
10268 PyObject
* obj1
= 0 ;
10269 PyObject
* obj2
= 0 ;
10270 PyObject
* obj3
= 0 ;
10271 PyObject
* obj4
= 0 ;
10272 PyObject
* obj5
= 0 ;
10273 PyObject
* obj6
= 0 ;
10274 char *kwnames
[] = {
10275 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ScrollBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10282 arg2
= (int)SWIG_As_int(obj1
);
10283 if (PyErr_Occurred()) SWIG_fail
;
10288 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10294 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10298 arg5
= (long)SWIG_As_long(obj4
);
10299 if (PyErr_Occurred()) SWIG_fail
;
10302 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
10303 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10305 if (arg6
== NULL
) {
10306 PyErr_SetString(PyExc_TypeError
,"null reference");
10312 arg7
= wxString_in_helper(obj6
);
10313 if (arg7
== NULL
) SWIG_fail
;
10318 if (!wxPyCheckForApp()) SWIG_fail
;
10319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10320 result
= (wxScrollBar
*)new wxScrollBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
10322 wxPyEndAllowThreads(__tstate
);
10323 if (PyErr_Occurred()) SWIG_fail
;
10325 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10340 static PyObject
*_wrap_new_PreScrollBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10341 PyObject
*resultobj
;
10342 wxScrollBar
*result
;
10343 char *kwnames
[] = {
10347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreScrollBar",kwnames
)) goto fail
;
10349 if (!wxPyCheckForApp()) SWIG_fail
;
10350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10351 result
= (wxScrollBar
*)new wxScrollBar();
10353 wxPyEndAllowThreads(__tstate
);
10354 if (PyErr_Occurred()) SWIG_fail
;
10356 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollBar
, 1);
10363 static PyObject
*_wrap_ScrollBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10364 PyObject
*resultobj
;
10365 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10366 wxWindow
*arg2
= (wxWindow
*) 0 ;
10367 int arg3
= (int) -1 ;
10368 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10369 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10370 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10371 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10372 long arg6
= (long) wxSB_HORIZONTAL
;
10373 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
10374 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
10375 wxString
const &arg8_defvalue
= wxPyScrollBarNameStr
;
10376 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
10380 bool temp8
= False
;
10381 PyObject
* obj0
= 0 ;
10382 PyObject
* obj1
= 0 ;
10383 PyObject
* obj2
= 0 ;
10384 PyObject
* obj3
= 0 ;
10385 PyObject
* obj4
= 0 ;
10386 PyObject
* obj5
= 0 ;
10387 PyObject
* obj6
= 0 ;
10388 PyObject
* obj7
= 0 ;
10389 char *kwnames
[] = {
10390 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ScrollBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
10394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10396 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10399 arg3
= (int)SWIG_As_int(obj2
);
10400 if (PyErr_Occurred()) SWIG_fail
;
10405 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10411 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10415 arg6
= (long)SWIG_As_long(obj5
);
10416 if (PyErr_Occurred()) SWIG_fail
;
10419 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
10420 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10422 if (arg7
== NULL
) {
10423 PyErr_SetString(PyExc_TypeError
,"null reference");
10429 arg8
= wxString_in_helper(obj7
);
10430 if (arg8
== NULL
) SWIG_fail
;
10435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10436 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
10438 wxPyEndAllowThreads(__tstate
);
10439 if (PyErr_Occurred()) SWIG_fail
;
10442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10458 static PyObject
*_wrap_ScrollBar_GetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10459 PyObject
*resultobj
;
10460 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10462 PyObject
* obj0
= 0 ;
10463 char *kwnames
[] = {
10464 (char *) "self", NULL
10467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbPosition",kwnames
,&obj0
)) goto fail
;
10468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10472 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbPosition();
10474 wxPyEndAllowThreads(__tstate
);
10475 if (PyErr_Occurred()) SWIG_fail
;
10477 resultobj
= SWIG_From_int((int)result
);
10484 static PyObject
*_wrap_ScrollBar_GetThumbSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10485 PyObject
*resultobj
;
10486 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10488 PyObject
* obj0
= 0 ;
10489 char *kwnames
[] = {
10490 (char *) "self", NULL
10493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetThumbSize",kwnames
,&obj0
)) goto fail
;
10494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10498 result
= (int)((wxScrollBar
const *)arg1
)->GetThumbSize();
10500 wxPyEndAllowThreads(__tstate
);
10501 if (PyErr_Occurred()) SWIG_fail
;
10503 resultobj
= SWIG_From_int((int)result
);
10510 static PyObject
*_wrap_ScrollBar_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10511 PyObject
*resultobj
;
10512 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10514 PyObject
* obj0
= 0 ;
10515 char *kwnames
[] = {
10516 (char *) "self", NULL
10519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetPageSize",kwnames
,&obj0
)) goto fail
;
10520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10524 result
= (int)((wxScrollBar
const *)arg1
)->GetPageSize();
10526 wxPyEndAllowThreads(__tstate
);
10527 if (PyErr_Occurred()) SWIG_fail
;
10529 resultobj
= SWIG_From_int((int)result
);
10536 static PyObject
*_wrap_ScrollBar_GetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10537 PyObject
*resultobj
;
10538 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10540 PyObject
* obj0
= 0 ;
10541 char *kwnames
[] = {
10542 (char *) "self", NULL
10545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_GetRange",kwnames
,&obj0
)) goto fail
;
10546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10550 result
= (int)((wxScrollBar
const *)arg1
)->GetRange();
10552 wxPyEndAllowThreads(__tstate
);
10553 if (PyErr_Occurred()) SWIG_fail
;
10555 resultobj
= SWIG_From_int((int)result
);
10562 static PyObject
*_wrap_ScrollBar_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10563 PyObject
*resultobj
;
10564 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10566 PyObject
* obj0
= 0 ;
10567 char *kwnames
[] = {
10568 (char *) "self", NULL
10571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollBar_IsVertical",kwnames
,&obj0
)) goto fail
;
10572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10576 result
= (bool)((wxScrollBar
const *)arg1
)->IsVertical();
10578 wxPyEndAllowThreads(__tstate
);
10579 if (PyErr_Occurred()) SWIG_fail
;
10582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10590 static PyObject
*_wrap_ScrollBar_SetThumbPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10591 PyObject
*resultobj
;
10592 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10594 PyObject
* obj0
= 0 ;
10595 PyObject
* obj1
= 0 ;
10596 char *kwnames
[] = {
10597 (char *) "self",(char *) "viewStart", NULL
10600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollBar_SetThumbPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
10601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10603 arg2
= (int)SWIG_As_int(obj1
);
10604 if (PyErr_Occurred()) SWIG_fail
;
10606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10607 (arg1
)->SetThumbPosition(arg2
);
10609 wxPyEndAllowThreads(__tstate
);
10610 if (PyErr_Occurred()) SWIG_fail
;
10612 Py_INCREF(Py_None
); resultobj
= Py_None
;
10619 static PyObject
*_wrap_ScrollBar_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10620 PyObject
*resultobj
;
10621 wxScrollBar
*arg1
= (wxScrollBar
*) 0 ;
10626 bool arg6
= (bool) True
;
10627 PyObject
* obj0
= 0 ;
10628 PyObject
* obj1
= 0 ;
10629 PyObject
* obj2
= 0 ;
10630 PyObject
* obj3
= 0 ;
10631 PyObject
* obj4
= 0 ;
10632 PyObject
* obj5
= 0 ;
10633 char *kwnames
[] = {
10634 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
10637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:ScrollBar_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollBar
,
10639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10640 arg2
= (int)SWIG_As_int(obj1
);
10641 if (PyErr_Occurred()) SWIG_fail
;
10642 arg3
= (int)SWIG_As_int(obj2
);
10643 if (PyErr_Occurred()) SWIG_fail
;
10644 arg4
= (int)SWIG_As_int(obj3
);
10645 if (PyErr_Occurred()) SWIG_fail
;
10646 arg5
= (int)SWIG_As_int(obj4
);
10647 if (PyErr_Occurred()) SWIG_fail
;
10649 arg6
= (bool)SWIG_As_bool(obj5
);
10650 if (PyErr_Occurred()) SWIG_fail
;
10653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10654 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
10656 wxPyEndAllowThreads(__tstate
);
10657 if (PyErr_Occurred()) SWIG_fail
;
10659 Py_INCREF(Py_None
); resultobj
= Py_None
;
10666 static PyObject
*_wrap_ScrollBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10667 PyObject
*resultobj
;
10668 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
10669 wxVisualAttributes result
;
10670 PyObject
* obj0
= 0 ;
10671 char *kwnames
[] = {
10672 (char *) "variant", NULL
10675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrollBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
10677 arg1
= (int)SWIG_As_int(obj0
);
10678 if (PyErr_Occurred()) SWIG_fail
;
10681 if (!wxPyCheckForApp()) SWIG_fail
;
10682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10683 result
= wxScrollBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
10685 wxPyEndAllowThreads(__tstate
);
10686 if (PyErr_Occurred()) SWIG_fail
;
10689 wxVisualAttributes
* resultptr
;
10690 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
10691 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
10699 static PyObject
* ScrollBar_swigregister(PyObject
*, PyObject
*args
) {
10701 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10702 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar
, obj
);
10704 return Py_BuildValue((char *)"");
10706 static int _wrap_SPIN_BUTTON_NAME_set(PyObject
*) {
10707 PyErr_SetString(PyExc_TypeError
,"Variable SPIN_BUTTON_NAME is read-only.");
10712 static PyObject
*_wrap_SPIN_BUTTON_NAME_get() {
10717 pyobj
= PyUnicode_FromWideChar((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10719 pyobj
= PyString_FromStringAndSize((&wxPySPIN_BUTTON_NAME
)->c_str(), (&wxPySPIN_BUTTON_NAME
)->Len());
10726 static int _wrap_SpinCtrlNameStr_set(PyObject
*) {
10727 PyErr_SetString(PyExc_TypeError
,"Variable SpinCtrlNameStr is read-only.");
10732 static PyObject
*_wrap_SpinCtrlNameStr_get() {
10737 pyobj
= PyUnicode_FromWideChar((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10739 pyobj
= PyString_FromStringAndSize((&wxPySpinCtrlNameStr
)->c_str(), (&wxPySpinCtrlNameStr
)->Len());
10746 static PyObject
*_wrap_new_SpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10747 PyObject
*resultobj
;
10748 wxWindow
*arg1
= (wxWindow
*) 0 ;
10749 int arg2
= (int) -1 ;
10750 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10751 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10752 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10753 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10754 long arg5
= (long) wxSP_HORIZONTAL
;
10755 wxString
const &arg6_defvalue
= wxPySPIN_BUTTON_NAME
;
10756 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10757 wxSpinButton
*result
;
10760 bool temp6
= False
;
10761 PyObject
* obj0
= 0 ;
10762 PyObject
* obj1
= 0 ;
10763 PyObject
* obj2
= 0 ;
10764 PyObject
* obj3
= 0 ;
10765 PyObject
* obj4
= 0 ;
10766 PyObject
* obj5
= 0 ;
10767 char *kwnames
[] = {
10768 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SpinButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
10772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
10773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10775 arg2
= (int)SWIG_As_int(obj1
);
10776 if (PyErr_Occurred()) SWIG_fail
;
10781 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10787 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10791 arg5
= (long)SWIG_As_long(obj4
);
10792 if (PyErr_Occurred()) SWIG_fail
;
10796 arg6
= wxString_in_helper(obj5
);
10797 if (arg6
== NULL
) SWIG_fail
;
10802 if (!wxPyCheckForApp()) SWIG_fail
;
10803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10804 result
= (wxSpinButton
*)new wxSpinButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10806 wxPyEndAllowThreads(__tstate
);
10807 if (PyErr_Occurred()) SWIG_fail
;
10809 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10824 static PyObject
*_wrap_new_PreSpinButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10825 PyObject
*resultobj
;
10826 wxSpinButton
*result
;
10827 char *kwnames
[] = {
10831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinButton",kwnames
)) goto fail
;
10833 if (!wxPyCheckForApp()) SWIG_fail
;
10834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10835 result
= (wxSpinButton
*)new wxSpinButton();
10837 wxPyEndAllowThreads(__tstate
);
10838 if (PyErr_Occurred()) SWIG_fail
;
10840 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinButton
, 1);
10847 static PyObject
*_wrap_SpinButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10848 PyObject
*resultobj
;
10849 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10850 wxWindow
*arg2
= (wxWindow
*) 0 ;
10851 int arg3
= (int) -1 ;
10852 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10853 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10854 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10855 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10856 long arg6
= (long) wxSP_HORIZONTAL
;
10857 wxString
const &arg7_defvalue
= wxPySPIN_BUTTON_NAME
;
10858 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10862 bool temp7
= False
;
10863 PyObject
* obj0
= 0 ;
10864 PyObject
* obj1
= 0 ;
10865 PyObject
* obj2
= 0 ;
10866 PyObject
* obj3
= 0 ;
10867 PyObject
* obj4
= 0 ;
10868 PyObject
* obj5
= 0 ;
10869 PyObject
* obj6
= 0 ;
10870 char *kwnames
[] = {
10871 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SpinButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10877 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10880 arg3
= (int)SWIG_As_int(obj2
);
10881 if (PyErr_Occurred()) SWIG_fail
;
10886 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10892 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10896 arg6
= (long)SWIG_As_long(obj5
);
10897 if (PyErr_Occurred()) SWIG_fail
;
10901 arg7
= wxString_in_helper(obj6
);
10902 if (arg7
== NULL
) SWIG_fail
;
10907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10908 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10910 wxPyEndAllowThreads(__tstate
);
10911 if (PyErr_Occurred()) SWIG_fail
;
10914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10930 static PyObject
*_wrap_SpinButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10931 PyObject
*resultobj
;
10932 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10934 PyObject
* obj0
= 0 ;
10935 char *kwnames
[] = {
10936 (char *) "self", NULL
10939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetValue",kwnames
,&obj0
)) goto fail
;
10940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10944 result
= (int)((wxSpinButton
const *)arg1
)->GetValue();
10946 wxPyEndAllowThreads(__tstate
);
10947 if (PyErr_Occurred()) SWIG_fail
;
10949 resultobj
= SWIG_From_int((int)result
);
10956 static PyObject
*_wrap_SpinButton_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10957 PyObject
*resultobj
;
10958 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10960 PyObject
* obj0
= 0 ;
10961 char *kwnames
[] = {
10962 (char *) "self", NULL
10965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMin",kwnames
,&obj0
)) goto fail
;
10966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10970 result
= (int)((wxSpinButton
const *)arg1
)->GetMin();
10972 wxPyEndAllowThreads(__tstate
);
10973 if (PyErr_Occurred()) SWIG_fail
;
10975 resultobj
= SWIG_From_int((int)result
);
10982 static PyObject
*_wrap_SpinButton_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10983 PyObject
*resultobj
;
10984 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
10986 PyObject
* obj0
= 0 ;
10987 char *kwnames
[] = {
10988 (char *) "self", NULL
10991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_GetMax",kwnames
,&obj0
)) goto fail
;
10992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
10993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10996 result
= (int)((wxSpinButton
const *)arg1
)->GetMax();
10998 wxPyEndAllowThreads(__tstate
);
10999 if (PyErr_Occurred()) SWIG_fail
;
11001 resultobj
= SWIG_From_int((int)result
);
11008 static PyObject
*_wrap_SpinButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11009 PyObject
*resultobj
;
11010 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
11012 PyObject
* obj0
= 0 ;
11013 PyObject
* obj1
= 0 ;
11014 char *kwnames
[] = {
11015 (char *) "self",(char *) "val", NULL
11018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
11020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11021 arg2
= (int)SWIG_As_int(obj1
);
11022 if (PyErr_Occurred()) SWIG_fail
;
11024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11025 (arg1
)->SetValue(arg2
);
11027 wxPyEndAllowThreads(__tstate
);
11028 if (PyErr_Occurred()) SWIG_fail
;
11030 Py_INCREF(Py_None
); resultobj
= Py_None
;
11037 static PyObject
*_wrap_SpinButton_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11038 PyObject
*resultobj
;
11039 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
11041 PyObject
* obj0
= 0 ;
11042 PyObject
* obj1
= 0 ;
11043 char *kwnames
[] = {
11044 (char *) "self",(char *) "minVal", NULL
11047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
11048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
11049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11050 arg2
= (int)SWIG_As_int(obj1
);
11051 if (PyErr_Occurred()) SWIG_fail
;
11053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11054 (arg1
)->SetMin(arg2
);
11056 wxPyEndAllowThreads(__tstate
);
11057 if (PyErr_Occurred()) SWIG_fail
;
11059 Py_INCREF(Py_None
); resultobj
= Py_None
;
11066 static PyObject
*_wrap_SpinButton_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11067 PyObject
*resultobj
;
11068 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
11070 PyObject
* obj0
= 0 ;
11071 PyObject
* obj1
= 0 ;
11072 char *kwnames
[] = {
11073 (char *) "self",(char *) "maxVal", NULL
11076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinButton_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
11077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
11078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11079 arg2
= (int)SWIG_As_int(obj1
);
11080 if (PyErr_Occurred()) SWIG_fail
;
11082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11083 (arg1
)->SetMax(arg2
);
11085 wxPyEndAllowThreads(__tstate
);
11086 if (PyErr_Occurred()) SWIG_fail
;
11088 Py_INCREF(Py_None
); resultobj
= Py_None
;
11095 static PyObject
*_wrap_SpinButton_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11096 PyObject
*resultobj
;
11097 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
11100 PyObject
* obj0
= 0 ;
11101 PyObject
* obj1
= 0 ;
11102 PyObject
* obj2
= 0 ;
11103 char *kwnames
[] = {
11104 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinButton_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
11109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11110 arg2
= (int)SWIG_As_int(obj1
);
11111 if (PyErr_Occurred()) SWIG_fail
;
11112 arg3
= (int)SWIG_As_int(obj2
);
11113 if (PyErr_Occurred()) SWIG_fail
;
11115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11116 (arg1
)->SetRange(arg2
,arg3
);
11118 wxPyEndAllowThreads(__tstate
);
11119 if (PyErr_Occurred()) SWIG_fail
;
11121 Py_INCREF(Py_None
); resultobj
= Py_None
;
11128 static PyObject
*_wrap_SpinButton_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11129 PyObject
*resultobj
;
11130 wxSpinButton
*arg1
= (wxSpinButton
*) 0 ;
11132 PyObject
* obj0
= 0 ;
11133 char *kwnames
[] = {
11134 (char *) "self", NULL
11137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinButton_IsVertical",kwnames
,&obj0
)) goto fail
;
11138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinButton
,
11139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11142 result
= (bool)((wxSpinButton
const *)arg1
)->IsVertical();
11144 wxPyEndAllowThreads(__tstate
);
11145 if (PyErr_Occurred()) SWIG_fail
;
11148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11156 static PyObject
*_wrap_SpinButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11157 PyObject
*resultobj
;
11158 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
11159 wxVisualAttributes result
;
11160 PyObject
* obj0
= 0 ;
11161 char *kwnames
[] = {
11162 (char *) "variant", NULL
11165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11167 arg1
= (int)SWIG_As_int(obj0
);
11168 if (PyErr_Occurred()) SWIG_fail
;
11171 if (!wxPyCheckForApp()) SWIG_fail
;
11172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11173 result
= wxSpinButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11175 wxPyEndAllowThreads(__tstate
);
11176 if (PyErr_Occurred()) SWIG_fail
;
11179 wxVisualAttributes
* resultptr
;
11180 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
11181 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11189 static PyObject
* SpinButton_swigregister(PyObject
*, PyObject
*args
) {
11191 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11192 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton
, obj
);
11194 return Py_BuildValue((char *)"");
11196 static PyObject
*_wrap_new_SpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11197 PyObject
*resultobj
;
11198 wxWindow
*arg1
= (wxWindow
*) 0 ;
11199 int arg2
= (int) -1 ;
11200 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11201 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11202 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11203 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11204 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11205 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11206 long arg6
= (long) wxSP_ARROW_KEYS
;
11207 int arg7
= (int) 0 ;
11208 int arg8
= (int) 100 ;
11209 int arg9
= (int) 0 ;
11210 wxString
const &arg10_defvalue
= wxPySpinCtrlNameStr
;
11211 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11212 wxSpinCtrl
*result
;
11213 bool temp3
= False
;
11216 bool temp10
= False
;
11217 PyObject
* obj0
= 0 ;
11218 PyObject
* obj1
= 0 ;
11219 PyObject
* obj2
= 0 ;
11220 PyObject
* obj3
= 0 ;
11221 PyObject
* obj4
= 0 ;
11222 PyObject
* obj5
= 0 ;
11223 PyObject
* obj6
= 0 ;
11224 PyObject
* obj7
= 0 ;
11225 PyObject
* obj8
= 0 ;
11226 PyObject
* obj9
= 0 ;
11227 char *kwnames
[] = {
11228 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_SpinCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11235 arg2
= (int)SWIG_As_int(obj1
);
11236 if (PyErr_Occurred()) SWIG_fail
;
11240 arg3
= wxString_in_helper(obj2
);
11241 if (arg3
== NULL
) SWIG_fail
;
11248 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11254 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11258 arg6
= (long)SWIG_As_long(obj5
);
11259 if (PyErr_Occurred()) SWIG_fail
;
11262 arg7
= (int)SWIG_As_int(obj6
);
11263 if (PyErr_Occurred()) SWIG_fail
;
11266 arg8
= (int)SWIG_As_int(obj7
);
11267 if (PyErr_Occurred()) SWIG_fail
;
11270 arg9
= (int)SWIG_As_int(obj8
);
11271 if (PyErr_Occurred()) SWIG_fail
;
11275 arg10
= wxString_in_helper(obj9
);
11276 if (arg10
== NULL
) SWIG_fail
;
11281 if (!wxPyCheckForApp()) SWIG_fail
;
11282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11283 result
= (wxSpinCtrl
*)new wxSpinCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,arg7
,arg8
,arg9
,(wxString
const &)*arg10
);
11285 wxPyEndAllowThreads(__tstate
);
11286 if (PyErr_Occurred()) SWIG_fail
;
11288 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11311 static PyObject
*_wrap_new_PreSpinCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11312 PyObject
*resultobj
;
11313 wxSpinCtrl
*result
;
11314 char *kwnames
[] = {
11318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSpinCtrl",kwnames
)) goto fail
;
11320 if (!wxPyCheckForApp()) SWIG_fail
;
11321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11322 result
= (wxSpinCtrl
*)new wxSpinCtrl();
11324 wxPyEndAllowThreads(__tstate
);
11325 if (PyErr_Occurred()) SWIG_fail
;
11327 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinCtrl
, 1);
11334 static PyObject
*_wrap_SpinCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11335 PyObject
*resultobj
;
11336 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11337 wxWindow
*arg2
= (wxWindow
*) 0 ;
11338 int arg3
= (int) -1 ;
11339 wxString
const &arg4_defvalue
= wxPyEmptyString
;
11340 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
11341 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
11342 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
11343 wxSize
const &arg6_defvalue
= wxDefaultSize
;
11344 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
11345 long arg7
= (long) wxSP_ARROW_KEYS
;
11346 int arg8
= (int) 0 ;
11347 int arg9
= (int) 100 ;
11348 int arg10
= (int) 0 ;
11349 wxString
const &arg11_defvalue
= wxPySpinCtrlNameStr
;
11350 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
11352 bool temp4
= False
;
11355 bool temp11
= False
;
11356 PyObject
* obj0
= 0 ;
11357 PyObject
* obj1
= 0 ;
11358 PyObject
* obj2
= 0 ;
11359 PyObject
* obj3
= 0 ;
11360 PyObject
* obj4
= 0 ;
11361 PyObject
* obj5
= 0 ;
11362 PyObject
* obj6
= 0 ;
11363 PyObject
* obj7
= 0 ;
11364 PyObject
* obj8
= 0 ;
11365 PyObject
* obj9
= 0 ;
11366 PyObject
* obj10
= 0 ;
11367 char *kwnames
[] = {
11368 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
11371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:SpinCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
11372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11374 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
11375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11377 arg3
= (int)SWIG_As_int(obj2
);
11378 if (PyErr_Occurred()) SWIG_fail
;
11382 arg4
= wxString_in_helper(obj3
);
11383 if (arg4
== NULL
) SWIG_fail
;
11390 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
11396 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
11400 arg7
= (long)SWIG_As_long(obj6
);
11401 if (PyErr_Occurred()) SWIG_fail
;
11404 arg8
= (int)SWIG_As_int(obj7
);
11405 if (PyErr_Occurred()) SWIG_fail
;
11408 arg9
= (int)SWIG_As_int(obj8
);
11409 if (PyErr_Occurred()) SWIG_fail
;
11412 arg10
= (int)SWIG_As_int(obj9
);
11413 if (PyErr_Occurred()) SWIG_fail
;
11417 arg11
= wxString_in_helper(obj10
);
11418 if (arg11
== NULL
) SWIG_fail
;
11423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11424 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,arg8
,arg9
,arg10
,(wxString
const &)*arg11
);
11426 wxPyEndAllowThreads(__tstate
);
11427 if (PyErr_Occurred()) SWIG_fail
;
11430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11454 static PyObject
*_wrap_SpinCtrl_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11455 PyObject
*resultobj
;
11456 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11458 PyObject
* obj0
= 0 ;
11459 char *kwnames
[] = {
11460 (char *) "self", NULL
11463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetValue",kwnames
,&obj0
)) goto fail
;
11464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11468 result
= (int)((wxSpinCtrl
const *)arg1
)->GetValue();
11470 wxPyEndAllowThreads(__tstate
);
11471 if (PyErr_Occurred()) SWIG_fail
;
11473 resultobj
= SWIG_From_int((int)result
);
11480 static PyObject
*_wrap_SpinCtrl_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11481 PyObject
*resultobj
;
11482 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11484 PyObject
* obj0
= 0 ;
11485 PyObject
* obj1
= 0 ;
11486 char *kwnames
[] = {
11487 (char *) "self",(char *) "value", NULL
11490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
11491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11493 arg2
= (int)SWIG_As_int(obj1
);
11494 if (PyErr_Occurred()) SWIG_fail
;
11496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11497 (arg1
)->SetValue(arg2
);
11499 wxPyEndAllowThreads(__tstate
);
11500 if (PyErr_Occurred()) SWIG_fail
;
11502 Py_INCREF(Py_None
); resultobj
= Py_None
;
11509 static PyObject
*_wrap_SpinCtrl_SetValueString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11510 PyObject
*resultobj
;
11511 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11512 wxString
*arg2
= 0 ;
11513 bool temp2
= False
;
11514 PyObject
* obj0
= 0 ;
11515 PyObject
* obj1
= 0 ;
11516 char *kwnames
[] = {
11517 (char *) "self",(char *) "text", NULL
11520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinCtrl_SetValueString",kwnames
,&obj0
,&obj1
)) goto fail
;
11521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11524 arg2
= wxString_in_helper(obj1
);
11525 if (arg2
== NULL
) SWIG_fail
;
11529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11530 (arg1
)->SetValue((wxString
const &)*arg2
);
11532 wxPyEndAllowThreads(__tstate
);
11533 if (PyErr_Occurred()) SWIG_fail
;
11535 Py_INCREF(Py_None
); resultobj
= Py_None
;
11550 static PyObject
*_wrap_SpinCtrl_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11551 PyObject
*resultobj
;
11552 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11555 PyObject
* obj0
= 0 ;
11556 PyObject
* obj1
= 0 ;
11557 PyObject
* obj2
= 0 ;
11558 char *kwnames
[] = {
11559 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
11562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11565 arg2
= (int)SWIG_As_int(obj1
);
11566 if (PyErr_Occurred()) SWIG_fail
;
11567 arg3
= (int)SWIG_As_int(obj2
);
11568 if (PyErr_Occurred()) SWIG_fail
;
11570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11571 (arg1
)->SetRange(arg2
,arg3
);
11573 wxPyEndAllowThreads(__tstate
);
11574 if (PyErr_Occurred()) SWIG_fail
;
11576 Py_INCREF(Py_None
); resultobj
= Py_None
;
11583 static PyObject
*_wrap_SpinCtrl_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11584 PyObject
*resultobj
;
11585 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11587 PyObject
* obj0
= 0 ;
11588 char *kwnames
[] = {
11589 (char *) "self", NULL
11592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMin",kwnames
,&obj0
)) goto fail
;
11593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11597 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMin();
11599 wxPyEndAllowThreads(__tstate
);
11600 if (PyErr_Occurred()) SWIG_fail
;
11602 resultobj
= SWIG_From_int((int)result
);
11609 static PyObject
*_wrap_SpinCtrl_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11610 PyObject
*resultobj
;
11611 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11613 PyObject
* obj0
= 0 ;
11614 char *kwnames
[] = {
11615 (char *) "self", NULL
11618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinCtrl_GetMax",kwnames
,&obj0
)) goto fail
;
11619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11623 result
= (int)((wxSpinCtrl
const *)arg1
)->GetMax();
11625 wxPyEndAllowThreads(__tstate
);
11626 if (PyErr_Occurred()) SWIG_fail
;
11628 resultobj
= SWIG_From_int((int)result
);
11635 static PyObject
*_wrap_SpinCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11636 PyObject
*resultobj
;
11637 wxSpinCtrl
*arg1
= (wxSpinCtrl
*) 0 ;
11640 PyObject
* obj0
= 0 ;
11641 PyObject
* obj1
= 0 ;
11642 PyObject
* obj2
= 0 ;
11643 char *kwnames
[] = {
11644 (char *) "self",(char *) "from",(char *) "to", NULL
11647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SpinCtrl_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinCtrl
,
11649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11650 arg2
= (long)SWIG_As_long(obj1
);
11651 if (PyErr_Occurred()) SWIG_fail
;
11652 arg3
= (long)SWIG_As_long(obj2
);
11653 if (PyErr_Occurred()) SWIG_fail
;
11655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11656 (arg1
)->SetSelection(arg2
,arg3
);
11658 wxPyEndAllowThreads(__tstate
);
11659 if (PyErr_Occurred()) SWIG_fail
;
11661 Py_INCREF(Py_None
); resultobj
= Py_None
;
11668 static PyObject
*_wrap_SpinCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11669 PyObject
*resultobj
;
11670 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
11671 wxVisualAttributes result
;
11672 PyObject
* obj0
= 0 ;
11673 char *kwnames
[] = {
11674 (char *) "variant", NULL
11677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SpinCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
11679 arg1
= (int)SWIG_As_int(obj0
);
11680 if (PyErr_Occurred()) SWIG_fail
;
11683 if (!wxPyCheckForApp()) SWIG_fail
;
11684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11685 result
= wxSpinCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
11687 wxPyEndAllowThreads(__tstate
);
11688 if (PyErr_Occurred()) SWIG_fail
;
11691 wxVisualAttributes
* resultptr
;
11692 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
11693 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
11701 static PyObject
* SpinCtrl_swigregister(PyObject
*, PyObject
*args
) {
11703 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11704 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl
, obj
);
11706 return Py_BuildValue((char *)"");
11708 static PyObject
*_wrap_new_SpinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11709 PyObject
*resultobj
;
11710 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11711 int arg2
= (int) 0 ;
11712 wxSpinEvent
*result
;
11713 PyObject
* obj0
= 0 ;
11714 PyObject
* obj1
= 0 ;
11715 char *kwnames
[] = {
11716 (char *) "commandType",(char *) "winid", NULL
11719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SpinEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11721 arg1
= (wxEventType
)SWIG_As_int(obj0
);
11722 if (PyErr_Occurred()) SWIG_fail
;
11725 arg2
= (int)SWIG_As_int(obj1
);
11726 if (PyErr_Occurred()) SWIG_fail
;
11729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11730 result
= (wxSpinEvent
*)new wxSpinEvent(arg1
,arg2
);
11732 wxPyEndAllowThreads(__tstate
);
11733 if (PyErr_Occurred()) SWIG_fail
;
11735 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSpinEvent
, 1);
11742 static PyObject
*_wrap_SpinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11743 PyObject
*resultobj
;
11744 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11746 PyObject
* obj0
= 0 ;
11747 char *kwnames
[] = {
11748 (char *) "self", NULL
11751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SpinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11756 result
= (int)((wxSpinEvent
const *)arg1
)->GetPosition();
11758 wxPyEndAllowThreads(__tstate
);
11759 if (PyErr_Occurred()) SWIG_fail
;
11761 resultobj
= SWIG_From_int((int)result
);
11768 static PyObject
*_wrap_SpinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11769 PyObject
*resultobj
;
11770 wxSpinEvent
*arg1
= (wxSpinEvent
*) 0 ;
11772 PyObject
* obj0
= 0 ;
11773 PyObject
* obj1
= 0 ;
11774 char *kwnames
[] = {
11775 (char *) "self",(char *) "pos", NULL
11778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SpinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSpinEvent
,
11780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11781 arg2
= (int)SWIG_As_int(obj1
);
11782 if (PyErr_Occurred()) SWIG_fail
;
11784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11785 (arg1
)->SetPosition(arg2
);
11787 wxPyEndAllowThreads(__tstate
);
11788 if (PyErr_Occurred()) SWIG_fail
;
11790 Py_INCREF(Py_None
); resultobj
= Py_None
;
11797 static PyObject
* SpinEvent_swigregister(PyObject
*, PyObject
*args
) {
11799 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11800 SWIG_TypeClientData(SWIGTYPE_p_wxSpinEvent
, obj
);
11802 return Py_BuildValue((char *)"");
11804 static int _wrap_RadioBoxNameStr_set(PyObject
*) {
11805 PyErr_SetString(PyExc_TypeError
,"Variable RadioBoxNameStr is read-only.");
11810 static PyObject
*_wrap_RadioBoxNameStr_get() {
11815 pyobj
= PyUnicode_FromWideChar((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11817 pyobj
= PyString_FromStringAndSize((&wxPyRadioBoxNameStr
)->c_str(), (&wxPyRadioBoxNameStr
)->Len());
11824 static int _wrap_RadioButtonNameStr_set(PyObject
*) {
11825 PyErr_SetString(PyExc_TypeError
,"Variable RadioButtonNameStr is read-only.");
11830 static PyObject
*_wrap_RadioButtonNameStr_get() {
11835 pyobj
= PyUnicode_FromWideChar((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11837 pyobj
= PyString_FromStringAndSize((&wxPyRadioButtonNameStr
)->c_str(), (&wxPyRadioButtonNameStr
)->Len());
11844 static PyObject
*_wrap_new_RadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11845 PyObject
*resultobj
;
11846 wxWindow
*arg1
= (wxWindow
*) 0 ;
11847 int arg2
= (int) -1 ;
11848 wxString
const &arg3_defvalue
= wxPyEmptyString
;
11849 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
11850 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11851 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11852 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11853 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11854 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
11855 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
11856 int arg7
= (int) 0 ;
11857 long arg8
= (long) wxRA_HORIZONTAL
;
11858 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
11859 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
11860 wxString
const &arg10_defvalue
= wxPyRadioBoxNameStr
;
11861 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
11862 wxRadioBox
*result
;
11863 bool temp3
= False
;
11866 bool temp6
= False
;
11867 bool temp10
= False
;
11868 PyObject
* obj0
= 0 ;
11869 PyObject
* obj1
= 0 ;
11870 PyObject
* obj2
= 0 ;
11871 PyObject
* obj3
= 0 ;
11872 PyObject
* obj4
= 0 ;
11873 PyObject
* obj5
= 0 ;
11874 PyObject
* obj6
= 0 ;
11875 PyObject
* obj7
= 0 ;
11876 PyObject
* obj8
= 0 ;
11877 PyObject
* obj9
= 0 ;
11878 char *kwnames
[] = {
11879 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
11882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_RadioBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
11883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
11884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11886 arg2
= (int)SWIG_As_int(obj1
);
11887 if (PyErr_Occurred()) SWIG_fail
;
11891 arg3
= wxString_in_helper(obj2
);
11892 if (arg3
== NULL
) SWIG_fail
;
11899 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11905 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11910 if (! PySequence_Check(obj5
)) {
11911 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11914 arg6
= new wxArrayString
;
11916 int i
, len
=PySequence_Length(obj5
);
11917 for (i
=0; i
<len
; i
++) {
11918 PyObject
* item
= PySequence_GetItem(obj5
, i
);
11920 PyObject
* str
= PyObject_Unicode(item
);
11922 PyObject
* str
= PyObject_Str(item
);
11924 if (PyErr_Occurred()) SWIG_fail
;
11925 arg6
->Add(Py2wxString(str
));
11932 arg7
= (int)SWIG_As_int(obj6
);
11933 if (PyErr_Occurred()) SWIG_fail
;
11936 arg8
= (long)SWIG_As_long(obj7
);
11937 if (PyErr_Occurred()) SWIG_fail
;
11940 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
11941 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11943 if (arg9
== NULL
) {
11944 PyErr_SetString(PyExc_TypeError
,"null reference");
11950 arg10
= wxString_in_helper(obj9
);
11951 if (arg10
== NULL
) SWIG_fail
;
11956 if (!wxPyCheckForApp()) SWIG_fail
;
11957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11958 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
);
11960 wxPyEndAllowThreads(__tstate
);
11961 if (PyErr_Occurred()) SWIG_fail
;
11963 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
11969 if (temp6
) delete arg6
;
11982 if (temp6
) delete arg6
;
11992 static PyObject
*_wrap_new_PreRadioBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11993 PyObject
*resultobj
;
11994 wxRadioBox
*result
;
11995 char *kwnames
[] = {
11999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioBox",kwnames
)) goto fail
;
12001 if (!wxPyCheckForApp()) SWIG_fail
;
12002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12003 result
= (wxRadioBox
*)new wxRadioBox();
12005 wxPyEndAllowThreads(__tstate
);
12006 if (PyErr_Occurred()) SWIG_fail
;
12008 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioBox
, 1);
12015 static PyObject
*_wrap_RadioBox_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12016 PyObject
*resultobj
;
12017 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12018 wxWindow
*arg2
= (wxWindow
*) 0 ;
12019 int arg3
= (int) -1 ;
12020 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12021 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12022 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12023 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12024 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12025 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12026 wxArrayString
const &arg7_defvalue
= wxPyEmptyStringArray
;
12027 wxArrayString
*arg7
= (wxArrayString
*) &arg7_defvalue
;
12028 int arg8
= (int) 0 ;
12029 long arg9
= (long) wxRA_HORIZONTAL
;
12030 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
12031 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
12032 wxString
const &arg11_defvalue
= wxPyRadioBoxNameStr
;
12033 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
12035 bool temp4
= False
;
12038 bool temp7
= False
;
12039 bool temp11
= False
;
12040 PyObject
* obj0
= 0 ;
12041 PyObject
* obj1
= 0 ;
12042 PyObject
* obj2
= 0 ;
12043 PyObject
* obj3
= 0 ;
12044 PyObject
* obj4
= 0 ;
12045 PyObject
* obj5
= 0 ;
12046 PyObject
* obj6
= 0 ;
12047 PyObject
* obj7
= 0 ;
12048 PyObject
* obj8
= 0 ;
12049 PyObject
* obj9
= 0 ;
12050 PyObject
* obj10
= 0 ;
12051 char *kwnames
[] = {
12052 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
12055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:RadioBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
12056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12058 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12061 arg3
= (int)SWIG_As_int(obj2
);
12062 if (PyErr_Occurred()) SWIG_fail
;
12066 arg4
= wxString_in_helper(obj3
);
12067 if (arg4
== NULL
) SWIG_fail
;
12074 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12080 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12085 if (! PySequence_Check(obj6
)) {
12086 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
12089 arg7
= new wxArrayString
;
12091 int i
, len
=PySequence_Length(obj6
);
12092 for (i
=0; i
<len
; i
++) {
12093 PyObject
* item
= PySequence_GetItem(obj6
, i
);
12095 PyObject
* str
= PyObject_Unicode(item
);
12097 PyObject
* str
= PyObject_Str(item
);
12099 if (PyErr_Occurred()) SWIG_fail
;
12100 arg7
->Add(Py2wxString(str
));
12107 arg8
= (int)SWIG_As_int(obj7
);
12108 if (PyErr_Occurred()) SWIG_fail
;
12111 arg9
= (long)SWIG_As_long(obj8
);
12112 if (PyErr_Occurred()) SWIG_fail
;
12115 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
12116 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12118 if (arg10
== NULL
) {
12119 PyErr_SetString(PyExc_TypeError
,"null reference");
12125 arg11
= wxString_in_helper(obj10
);
12126 if (arg11
== NULL
) SWIG_fail
;
12131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12132 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
);
12134 wxPyEndAllowThreads(__tstate
);
12135 if (PyErr_Occurred()) SWIG_fail
;
12138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12145 if (temp7
) delete arg7
;
12158 if (temp7
) delete arg7
;
12168 static PyObject
*_wrap_RadioBox_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12169 PyObject
*resultobj
;
12170 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12172 PyObject
* obj0
= 0 ;
12173 PyObject
* obj1
= 0 ;
12174 char *kwnames
[] = {
12175 (char *) "self",(char *) "n", NULL
12178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12181 arg2
= (int)SWIG_As_int(obj1
);
12182 if (PyErr_Occurred()) SWIG_fail
;
12184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12185 (arg1
)->SetSelection(arg2
);
12187 wxPyEndAllowThreads(__tstate
);
12188 if (PyErr_Occurred()) SWIG_fail
;
12190 Py_INCREF(Py_None
); resultobj
= Py_None
;
12197 static PyObject
*_wrap_RadioBox_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12198 PyObject
*resultobj
;
12199 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12201 PyObject
* obj0
= 0 ;
12202 char *kwnames
[] = {
12203 (char *) "self", NULL
12206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetSelection",kwnames
,&obj0
)) goto fail
;
12207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12211 result
= (int)((wxRadioBox
const *)arg1
)->GetSelection();
12213 wxPyEndAllowThreads(__tstate
);
12214 if (PyErr_Occurred()) SWIG_fail
;
12216 resultobj
= SWIG_From_int((int)result
);
12223 static PyObject
*_wrap_RadioBox_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12224 PyObject
*resultobj
;
12225 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12227 PyObject
* obj0
= 0 ;
12228 char *kwnames
[] = {
12229 (char *) "self", NULL
12232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetStringSelection",kwnames
,&obj0
)) goto fail
;
12233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12237 result
= ((wxRadioBox
const *)arg1
)->GetStringSelection();
12239 wxPyEndAllowThreads(__tstate
);
12240 if (PyErr_Occurred()) SWIG_fail
;
12244 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12246 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12255 static PyObject
*_wrap_RadioBox_SetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12256 PyObject
*resultobj
;
12257 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12258 wxString
*arg2
= 0 ;
12260 bool temp2
= False
;
12261 PyObject
* obj0
= 0 ;
12262 PyObject
* obj1
= 0 ;
12263 char *kwnames
[] = {
12264 (char *) "self",(char *) "s", NULL
12267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_SetStringSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
12268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12271 arg2
= wxString_in_helper(obj1
);
12272 if (arg2
== NULL
) SWIG_fail
;
12276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12277 result
= (bool)(arg1
)->SetStringSelection((wxString
const &)*arg2
);
12279 wxPyEndAllowThreads(__tstate
);
12280 if (PyErr_Occurred()) SWIG_fail
;
12283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12299 static PyObject
*_wrap_RadioBox_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12300 PyObject
*resultobj
;
12301 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12303 PyObject
* obj0
= 0 ;
12304 char *kwnames
[] = {
12305 (char *) "self", NULL
12308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetCount",kwnames
,&obj0
)) goto fail
;
12309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12313 result
= (int)((wxRadioBox
const *)arg1
)->GetCount();
12315 wxPyEndAllowThreads(__tstate
);
12316 if (PyErr_Occurred()) SWIG_fail
;
12318 resultobj
= SWIG_From_int((int)result
);
12325 static PyObject
*_wrap_RadioBox_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12326 PyObject
*resultobj
;
12327 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12328 wxString
*arg2
= 0 ;
12330 bool temp2
= False
;
12331 PyObject
* obj0
= 0 ;
12332 PyObject
* obj1
= 0 ;
12333 char *kwnames
[] = {
12334 (char *) "self",(char *) "s", NULL
12337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
12338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12341 arg2
= wxString_in_helper(obj1
);
12342 if (arg2
== NULL
) SWIG_fail
;
12346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12347 result
= (int)((wxRadioBox
const *)arg1
)->FindString((wxString
const &)*arg2
);
12349 wxPyEndAllowThreads(__tstate
);
12350 if (PyErr_Occurred()) SWIG_fail
;
12352 resultobj
= SWIG_From_int((int)result
);
12367 static PyObject
*_wrap_RadioBox_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12368 PyObject
*resultobj
;
12369 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12372 PyObject
* obj0
= 0 ;
12373 PyObject
* obj1
= 0 ;
12374 char *kwnames
[] = {
12375 (char *) "self",(char *) "n", NULL
12378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioBox_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12381 arg2
= (int)SWIG_As_int(obj1
);
12382 if (PyErr_Occurred()) SWIG_fail
;
12384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12385 result
= ((wxRadioBox
const *)arg1
)->GetString(arg2
);
12387 wxPyEndAllowThreads(__tstate
);
12388 if (PyErr_Occurred()) SWIG_fail
;
12392 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12394 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12403 static PyObject
*_wrap_RadioBox_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12404 PyObject
*resultobj
;
12405 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12407 wxString
*arg3
= 0 ;
12408 bool temp3
= False
;
12409 PyObject
* obj0
= 0 ;
12410 PyObject
* obj1
= 0 ;
12411 PyObject
* obj2
= 0 ;
12412 char *kwnames
[] = {
12413 (char *) "self",(char *) "n",(char *) "label", NULL
12416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RadioBox_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12419 arg2
= (int)SWIG_As_int(obj1
);
12420 if (PyErr_Occurred()) SWIG_fail
;
12422 arg3
= wxString_in_helper(obj2
);
12423 if (arg3
== NULL
) SWIG_fail
;
12427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12428 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
12430 wxPyEndAllowThreads(__tstate
);
12431 if (PyErr_Occurred()) SWIG_fail
;
12433 Py_INCREF(Py_None
); resultobj
= Py_None
;
12448 static PyObject
*_wrap_RadioBox_EnableItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12449 PyObject
*resultobj
;
12450 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12452 bool arg3
= (bool) True
;
12453 PyObject
* obj0
= 0 ;
12454 PyObject
* obj1
= 0 ;
12455 PyObject
* obj2
= 0 ;
12456 char *kwnames
[] = {
12457 (char *) "self",(char *) "n",(char *) "enable", NULL
12460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_EnableItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12463 arg2
= (int)SWIG_As_int(obj1
);
12464 if (PyErr_Occurred()) SWIG_fail
;
12466 arg3
= (bool)SWIG_As_bool(obj2
);
12467 if (PyErr_Occurred()) SWIG_fail
;
12470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12471 (arg1
)->Enable(arg2
,arg3
);
12473 wxPyEndAllowThreads(__tstate
);
12474 if (PyErr_Occurred()) SWIG_fail
;
12476 Py_INCREF(Py_None
); resultobj
= Py_None
;
12483 static PyObject
*_wrap_RadioBox_ShowItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12484 PyObject
*resultobj
;
12485 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12487 bool arg3
= (bool) True
;
12488 PyObject
* obj0
= 0 ;
12489 PyObject
* obj1
= 0 ;
12490 PyObject
* obj2
= 0 ;
12491 char *kwnames
[] = {
12492 (char *) "self",(char *) "n",(char *) "show", NULL
12495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:RadioBox_ShowItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12498 arg2
= (int)SWIG_As_int(obj1
);
12499 if (PyErr_Occurred()) SWIG_fail
;
12501 arg3
= (bool)SWIG_As_bool(obj2
);
12502 if (PyErr_Occurred()) SWIG_fail
;
12505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12506 (arg1
)->Show(arg2
,arg3
);
12508 wxPyEndAllowThreads(__tstate
);
12509 if (PyErr_Occurred()) SWIG_fail
;
12511 Py_INCREF(Py_None
); resultobj
= Py_None
;
12518 static PyObject
*_wrap_RadioBox_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12519 PyObject
*resultobj
;
12520 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12522 PyObject
* obj0
= 0 ;
12523 char *kwnames
[] = {
12524 (char *) "self", NULL
12527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetColumnCount",kwnames
,&obj0
)) goto fail
;
12528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12532 result
= (int)((wxRadioBox
const *)arg1
)->GetColumnCount();
12534 wxPyEndAllowThreads(__tstate
);
12535 if (PyErr_Occurred()) SWIG_fail
;
12537 resultobj
= SWIG_From_int((int)result
);
12544 static PyObject
*_wrap_RadioBox_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12545 PyObject
*resultobj
;
12546 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12548 PyObject
* obj0
= 0 ;
12549 char *kwnames
[] = {
12550 (char *) "self", NULL
12553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioBox_GetRowCount",kwnames
,&obj0
)) goto fail
;
12554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12558 result
= (int)((wxRadioBox
const *)arg1
)->GetRowCount();
12560 wxPyEndAllowThreads(__tstate
);
12561 if (PyErr_Occurred()) SWIG_fail
;
12563 resultobj
= SWIG_From_int((int)result
);
12570 static PyObject
*_wrap_RadioBox_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12571 PyObject
*resultobj
;
12572 wxRadioBox
*arg1
= (wxRadioBox
*) 0 ;
12577 PyObject
* obj0
= 0 ;
12578 PyObject
* obj1
= 0 ;
12579 PyObject
* obj2
= 0 ;
12580 PyObject
* obj3
= 0 ;
12581 char *kwnames
[] = {
12582 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
12585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:RadioBox_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioBox
,
12587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12588 arg2
= (int)SWIG_As_int(obj1
);
12589 if (PyErr_Occurred()) SWIG_fail
;
12590 arg3
= (int)SWIG_As_int(obj2
);
12591 if (PyErr_Occurred()) SWIG_fail
;
12592 arg4
= (long)SWIG_As_long(obj3
);
12593 if (PyErr_Occurred()) SWIG_fail
;
12595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12596 result
= (int)((wxRadioBox
const *)arg1
)->GetNextItem(arg2
,(wxDirection
)arg3
,arg4
);
12598 wxPyEndAllowThreads(__tstate
);
12599 if (PyErr_Occurred()) SWIG_fail
;
12601 resultobj
= SWIG_From_int((int)result
);
12608 static PyObject
*_wrap_RadioBox_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12609 PyObject
*resultobj
;
12610 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12611 wxVisualAttributes result
;
12612 PyObject
* obj0
= 0 ;
12613 char *kwnames
[] = {
12614 (char *) "variant", NULL
12617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioBox_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12619 arg1
= (int)SWIG_As_int(obj0
);
12620 if (PyErr_Occurred()) SWIG_fail
;
12623 if (!wxPyCheckForApp()) SWIG_fail
;
12624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12625 result
= wxRadioBox::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12627 wxPyEndAllowThreads(__tstate
);
12628 if (PyErr_Occurred()) SWIG_fail
;
12631 wxVisualAttributes
* resultptr
;
12632 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12633 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12641 static PyObject
* RadioBox_swigregister(PyObject
*, PyObject
*args
) {
12643 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12644 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox
, obj
);
12646 return Py_BuildValue((char *)"");
12648 static PyObject
*_wrap_new_RadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12649 PyObject
*resultobj
;
12650 wxWindow
*arg1
= (wxWindow
*) 0 ;
12651 int arg2
= (int) -1 ;
12652 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12653 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12654 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12655 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12656 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12657 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12658 long arg6
= (long) 0 ;
12659 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
12660 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
12661 wxString
const &arg8_defvalue
= wxPyRadioButtonNameStr
;
12662 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
12663 wxRadioButton
*result
;
12664 bool temp3
= False
;
12667 bool temp8
= False
;
12668 PyObject
* obj0
= 0 ;
12669 PyObject
* obj1
= 0 ;
12670 PyObject
* obj2
= 0 ;
12671 PyObject
* obj3
= 0 ;
12672 PyObject
* obj4
= 0 ;
12673 PyObject
* obj5
= 0 ;
12674 PyObject
* obj6
= 0 ;
12675 PyObject
* obj7
= 0 ;
12676 char *kwnames
[] = {
12677 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_RadioButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
12681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
12682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12684 arg2
= (int)SWIG_As_int(obj1
);
12685 if (PyErr_Occurred()) SWIG_fail
;
12689 arg3
= wxString_in_helper(obj2
);
12690 if (arg3
== NULL
) SWIG_fail
;
12697 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12703 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12707 arg6
= (long)SWIG_As_long(obj5
);
12708 if (PyErr_Occurred()) SWIG_fail
;
12711 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
12712 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12714 if (arg7
== NULL
) {
12715 PyErr_SetString(PyExc_TypeError
,"null reference");
12721 arg8
= wxString_in_helper(obj7
);
12722 if (arg8
== NULL
) SWIG_fail
;
12727 if (!wxPyCheckForApp()) SWIG_fail
;
12728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12729 result
= (wxRadioButton
*)new wxRadioButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
12731 wxPyEndAllowThreads(__tstate
);
12732 if (PyErr_Occurred()) SWIG_fail
;
12734 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12757 static PyObject
*_wrap_new_PreRadioButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12758 PyObject
*resultobj
;
12759 wxRadioButton
*result
;
12760 char *kwnames
[] = {
12764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreRadioButton",kwnames
)) goto fail
;
12766 if (!wxPyCheckForApp()) SWIG_fail
;
12767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12768 result
= (wxRadioButton
*)new wxRadioButton();
12770 wxPyEndAllowThreads(__tstate
);
12771 if (PyErr_Occurred()) SWIG_fail
;
12773 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRadioButton
, 1);
12780 static PyObject
*_wrap_RadioButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12781 PyObject
*resultobj
;
12782 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12783 wxWindow
*arg2
= (wxWindow
*) 0 ;
12784 int arg3
= (int) -1 ;
12785 wxString
const &arg4_defvalue
= wxPyEmptyString
;
12786 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
12787 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
12788 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
12789 wxSize
const &arg6_defvalue
= wxDefaultSize
;
12790 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
12791 long arg7
= (long) 0 ;
12792 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
12793 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
12794 wxString
const &arg9_defvalue
= wxPyRadioButtonNameStr
;
12795 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
12797 bool temp4
= False
;
12800 bool temp9
= False
;
12801 PyObject
* obj0
= 0 ;
12802 PyObject
* obj1
= 0 ;
12803 PyObject
* obj2
= 0 ;
12804 PyObject
* obj3
= 0 ;
12805 PyObject
* obj4
= 0 ;
12806 PyObject
* obj5
= 0 ;
12807 PyObject
* obj6
= 0 ;
12808 PyObject
* obj7
= 0 ;
12809 PyObject
* obj8
= 0 ;
12810 char *kwnames
[] = {
12811 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
12814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:RadioButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
12815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12817 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
12818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12820 arg3
= (int)SWIG_As_int(obj2
);
12821 if (PyErr_Occurred()) SWIG_fail
;
12825 arg4
= wxString_in_helper(obj3
);
12826 if (arg4
== NULL
) SWIG_fail
;
12833 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
12839 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
12843 arg7
= (long)SWIG_As_long(obj6
);
12844 if (PyErr_Occurred()) SWIG_fail
;
12847 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
12848 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12850 if (arg8
== NULL
) {
12851 PyErr_SetString(PyExc_TypeError
,"null reference");
12857 arg9
= wxString_in_helper(obj8
);
12858 if (arg9
== NULL
) SWIG_fail
;
12863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12864 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
12866 wxPyEndAllowThreads(__tstate
);
12867 if (PyErr_Occurred()) SWIG_fail
;
12870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12894 static PyObject
*_wrap_RadioButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12895 PyObject
*resultobj
;
12896 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12898 PyObject
* obj0
= 0 ;
12899 char *kwnames
[] = {
12900 (char *) "self", NULL
12903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RadioButton_GetValue",kwnames
,&obj0
)) goto fail
;
12904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12908 result
= (bool)(arg1
)->GetValue();
12910 wxPyEndAllowThreads(__tstate
);
12911 if (PyErr_Occurred()) SWIG_fail
;
12914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12922 static PyObject
*_wrap_RadioButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12923 PyObject
*resultobj
;
12924 wxRadioButton
*arg1
= (wxRadioButton
*) 0 ;
12926 PyObject
* obj0
= 0 ;
12927 PyObject
* obj1
= 0 ;
12928 char *kwnames
[] = {
12929 (char *) "self",(char *) "value", NULL
12932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RadioButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
12933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRadioButton
,
12934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12935 arg2
= (bool)SWIG_As_bool(obj1
);
12936 if (PyErr_Occurred()) SWIG_fail
;
12938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12939 (arg1
)->SetValue(arg2
);
12941 wxPyEndAllowThreads(__tstate
);
12942 if (PyErr_Occurred()) SWIG_fail
;
12944 Py_INCREF(Py_None
); resultobj
= Py_None
;
12951 static PyObject
*_wrap_RadioButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12952 PyObject
*resultobj
;
12953 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
12954 wxVisualAttributes result
;
12955 PyObject
* obj0
= 0 ;
12956 char *kwnames
[] = {
12957 (char *) "variant", NULL
12960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:RadioButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
12962 arg1
= (int)SWIG_As_int(obj0
);
12963 if (PyErr_Occurred()) SWIG_fail
;
12966 if (!wxPyCheckForApp()) SWIG_fail
;
12967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12968 result
= wxRadioButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
12970 wxPyEndAllowThreads(__tstate
);
12971 if (PyErr_Occurred()) SWIG_fail
;
12974 wxVisualAttributes
* resultptr
;
12975 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
12976 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
12984 static PyObject
* RadioButton_swigregister(PyObject
*, PyObject
*args
) {
12986 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12987 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton
, obj
);
12989 return Py_BuildValue((char *)"");
12991 static int _wrap_SliderNameStr_set(PyObject
*) {
12992 PyErr_SetString(PyExc_TypeError
,"Variable SliderNameStr is read-only.");
12997 static PyObject
*_wrap_SliderNameStr_get() {
13002 pyobj
= PyUnicode_FromWideChar((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
13004 pyobj
= PyString_FromStringAndSize((&wxPySliderNameStr
)->c_str(), (&wxPySliderNameStr
)->Len());
13011 static PyObject
*_wrap_new_Slider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13012 PyObject
*resultobj
;
13013 wxWindow
*arg1
= (wxWindow
*) 0 ;
13014 int arg2
= (int) -1 ;
13015 int arg3
= (int) 0 ;
13016 int arg4
= (int) 0 ;
13017 int arg5
= (int) 100 ;
13018 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
13019 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
13020 wxSize
const &arg7_defvalue
= wxDefaultSize
;
13021 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
13022 long arg8
= (long) wxSL_HORIZONTAL
;
13023 wxValidator
const &arg9_defvalue
= wxDefaultValidator
;
13024 wxValidator
*arg9
= (wxValidator
*) &arg9_defvalue
;
13025 wxString
const &arg10_defvalue
= wxPySliderNameStr
;
13026 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
13030 bool temp10
= False
;
13031 PyObject
* obj0
= 0 ;
13032 PyObject
* obj1
= 0 ;
13033 PyObject
* obj2
= 0 ;
13034 PyObject
* obj3
= 0 ;
13035 PyObject
* obj4
= 0 ;
13036 PyObject
* obj5
= 0 ;
13037 PyObject
* obj6
= 0 ;
13038 PyObject
* obj7
= 0 ;
13039 PyObject
* obj8
= 0 ;
13040 PyObject
* obj9
= 0 ;
13041 char *kwnames
[] = {
13042 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOOO:new_Slider",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
13046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13049 arg2
= (int)SWIG_As_int(obj1
);
13050 if (PyErr_Occurred()) SWIG_fail
;
13053 arg3
= (int)SWIG_As_int(obj2
);
13054 if (PyErr_Occurred()) SWIG_fail
;
13057 arg4
= (int)SWIG_As_int(obj3
);
13058 if (PyErr_Occurred()) SWIG_fail
;
13061 arg5
= (int)SWIG_As_int(obj4
);
13062 if (PyErr_Occurred()) SWIG_fail
;
13067 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
13073 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
13077 arg8
= (long)SWIG_As_long(obj7
);
13078 if (PyErr_Occurred()) SWIG_fail
;
13081 if ((SWIG_ConvertPtr(obj8
,(void **)(&arg9
),SWIGTYPE_p_wxValidator
,
13082 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13084 if (arg9
== NULL
) {
13085 PyErr_SetString(PyExc_TypeError
,"null reference");
13091 arg10
= wxString_in_helper(obj9
);
13092 if (arg10
== NULL
) SWIG_fail
;
13097 if (!wxPyCheckForApp()) SWIG_fail
;
13098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13099 result
= (wxSlider
*)new wxSlider(arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
,(wxValidator
const &)*arg9
,(wxString
const &)*arg10
);
13101 wxPyEndAllowThreads(__tstate
);
13102 if (PyErr_Occurred()) SWIG_fail
;
13104 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
13119 static PyObject
*_wrap_new_PreSlider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13120 PyObject
*resultobj
;
13122 char *kwnames
[] = {
13126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSlider",kwnames
)) goto fail
;
13128 if (!wxPyCheckForApp()) SWIG_fail
;
13129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13130 result
= (wxSlider
*)new wxSlider();
13132 wxPyEndAllowThreads(__tstate
);
13133 if (PyErr_Occurred()) SWIG_fail
;
13135 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSlider
, 1);
13142 static PyObject
*_wrap_Slider_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13143 PyObject
*resultobj
;
13144 wxSlider
*arg1
= (wxSlider
*) 0 ;
13145 wxWindow
*arg2
= (wxWindow
*) 0 ;
13146 int arg3
= (int) -1 ;
13147 int arg4
= (int) 0 ;
13148 int arg5
= (int) 0 ;
13149 int arg6
= (int) 100 ;
13150 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
13151 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
13152 wxSize
const &arg8_defvalue
= wxDefaultSize
;
13153 wxSize
*arg8
= (wxSize
*) &arg8_defvalue
;
13154 long arg9
= (long) wxSL_HORIZONTAL
;
13155 wxValidator
const &arg10_defvalue
= wxDefaultValidator
;
13156 wxValidator
*arg10
= (wxValidator
*) &arg10_defvalue
;
13157 wxString
const &arg11_defvalue
= wxPySliderNameStr
;
13158 wxString
*arg11
= (wxString
*) &arg11_defvalue
;
13162 bool temp11
= False
;
13163 PyObject
* obj0
= 0 ;
13164 PyObject
* obj1
= 0 ;
13165 PyObject
* obj2
= 0 ;
13166 PyObject
* obj3
= 0 ;
13167 PyObject
* obj4
= 0 ;
13168 PyObject
* obj5
= 0 ;
13169 PyObject
* obj6
= 0 ;
13170 PyObject
* obj7
= 0 ;
13171 PyObject
* obj8
= 0 ;
13172 PyObject
* obj9
= 0 ;
13173 PyObject
* obj10
= 0 ;
13174 char *kwnames
[] = {
13175 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOOO:Slider_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
,&obj10
)) goto fail
;
13179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13181 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
13182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13184 arg3
= (int)SWIG_As_int(obj2
);
13185 if (PyErr_Occurred()) SWIG_fail
;
13188 arg4
= (int)SWIG_As_int(obj3
);
13189 if (PyErr_Occurred()) SWIG_fail
;
13192 arg5
= (int)SWIG_As_int(obj4
);
13193 if (PyErr_Occurred()) SWIG_fail
;
13196 arg6
= (int)SWIG_As_int(obj5
);
13197 if (PyErr_Occurred()) SWIG_fail
;
13202 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
13208 if ( ! wxSize_helper(obj7
, &arg8
)) SWIG_fail
;
13212 arg9
= (long)SWIG_As_long(obj8
);
13213 if (PyErr_Occurred()) SWIG_fail
;
13216 if ((SWIG_ConvertPtr(obj9
,(void **)(&arg10
),SWIGTYPE_p_wxValidator
,
13217 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13219 if (arg10
== NULL
) {
13220 PyErr_SetString(PyExc_TypeError
,"null reference");
13226 arg11
= wxString_in_helper(obj10
);
13227 if (arg11
== NULL
) SWIG_fail
;
13232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13233 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
,(wxSize
const &)*arg8
,arg9
,(wxValidator
const &)*arg10
,(wxString
const &)*arg11
);
13235 wxPyEndAllowThreads(__tstate
);
13236 if (PyErr_Occurred()) SWIG_fail
;
13239 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13255 static PyObject
*_wrap_Slider_GetValue(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_GetValue",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
)->GetValue();
13271 wxPyEndAllowThreads(__tstate
);
13272 if (PyErr_Occurred()) SWIG_fail
;
13274 resultobj
= SWIG_From_int((int)result
);
13281 static PyObject
*_wrap_Slider_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13282 PyObject
*resultobj
;
13283 wxSlider
*arg1
= (wxSlider
*) 0 ;
13285 PyObject
* obj0
= 0 ;
13286 PyObject
* obj1
= 0 ;
13287 char *kwnames
[] = {
13288 (char *) "self",(char *) "value", NULL
13291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
13292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13294 arg2
= (int)SWIG_As_int(obj1
);
13295 if (PyErr_Occurred()) SWIG_fail
;
13297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13298 (arg1
)->SetValue(arg2
);
13300 wxPyEndAllowThreads(__tstate
);
13301 if (PyErr_Occurred()) SWIG_fail
;
13303 Py_INCREF(Py_None
); resultobj
= Py_None
;
13310 static PyObject
*_wrap_Slider_SetRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13311 PyObject
*resultobj
;
13312 wxSlider
*arg1
= (wxSlider
*) 0 ;
13315 PyObject
* obj0
= 0 ;
13316 PyObject
* obj1
= 0 ;
13317 PyObject
* obj2
= 0 ;
13318 char *kwnames
[] = {
13319 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
13322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13325 arg2
= (int)SWIG_As_int(obj1
);
13326 if (PyErr_Occurred()) SWIG_fail
;
13327 arg3
= (int)SWIG_As_int(obj2
);
13328 if (PyErr_Occurred()) SWIG_fail
;
13330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13331 (arg1
)->SetRange(arg2
,arg3
);
13333 wxPyEndAllowThreads(__tstate
);
13334 if (PyErr_Occurred()) SWIG_fail
;
13336 Py_INCREF(Py_None
); resultobj
= Py_None
;
13343 static PyObject
*_wrap_Slider_GetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13344 PyObject
*resultobj
;
13345 wxSlider
*arg1
= (wxSlider
*) 0 ;
13347 PyObject
* obj0
= 0 ;
13348 char *kwnames
[] = {
13349 (char *) "self", NULL
13352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMin",kwnames
,&obj0
)) goto fail
;
13353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13357 result
= (int)((wxSlider
const *)arg1
)->GetMin();
13359 wxPyEndAllowThreads(__tstate
);
13360 if (PyErr_Occurred()) SWIG_fail
;
13362 resultobj
= SWIG_From_int((int)result
);
13369 static PyObject
*_wrap_Slider_GetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13370 PyObject
*resultobj
;
13371 wxSlider
*arg1
= (wxSlider
*) 0 ;
13373 PyObject
* obj0
= 0 ;
13374 char *kwnames
[] = {
13375 (char *) "self", NULL
13378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetMax",kwnames
,&obj0
)) goto fail
;
13379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13383 result
= (int)((wxSlider
const *)arg1
)->GetMax();
13385 wxPyEndAllowThreads(__tstate
);
13386 if (PyErr_Occurred()) SWIG_fail
;
13388 resultobj
= SWIG_From_int((int)result
);
13395 static PyObject
*_wrap_Slider_SetMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13396 PyObject
*resultobj
;
13397 wxSlider
*arg1
= (wxSlider
*) 0 ;
13399 PyObject
* obj0
= 0 ;
13400 PyObject
* obj1
= 0 ;
13401 char *kwnames
[] = {
13402 (char *) "self",(char *) "minValue", NULL
13405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMin",kwnames
,&obj0
,&obj1
)) goto fail
;
13406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13408 arg2
= (int)SWIG_As_int(obj1
);
13409 if (PyErr_Occurred()) SWIG_fail
;
13411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13412 (arg1
)->SetMin(arg2
);
13414 wxPyEndAllowThreads(__tstate
);
13415 if (PyErr_Occurred()) SWIG_fail
;
13417 Py_INCREF(Py_None
); resultobj
= Py_None
;
13424 static PyObject
*_wrap_Slider_SetMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13425 PyObject
*resultobj
;
13426 wxSlider
*arg1
= (wxSlider
*) 0 ;
13428 PyObject
* obj0
= 0 ;
13429 PyObject
* obj1
= 0 ;
13430 char *kwnames
[] = {
13431 (char *) "self",(char *) "maxValue", NULL
13434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetMax",kwnames
,&obj0
,&obj1
)) goto fail
;
13435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13437 arg2
= (int)SWIG_As_int(obj1
);
13438 if (PyErr_Occurred()) SWIG_fail
;
13440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13441 (arg1
)->SetMax(arg2
);
13443 wxPyEndAllowThreads(__tstate
);
13444 if (PyErr_Occurred()) SWIG_fail
;
13446 Py_INCREF(Py_None
); resultobj
= Py_None
;
13453 static PyObject
*_wrap_Slider_SetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13454 PyObject
*resultobj
;
13455 wxSlider
*arg1
= (wxSlider
*) 0 ;
13457 PyObject
* obj0
= 0 ;
13458 PyObject
* obj1
= 0 ;
13459 char *kwnames
[] = {
13460 (char *) "self",(char *) "lineSize", NULL
13463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetLineSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13466 arg2
= (int)SWIG_As_int(obj1
);
13467 if (PyErr_Occurred()) SWIG_fail
;
13469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13470 (arg1
)->SetLineSize(arg2
);
13472 wxPyEndAllowThreads(__tstate
);
13473 if (PyErr_Occurred()) SWIG_fail
;
13475 Py_INCREF(Py_None
); resultobj
= Py_None
;
13482 static PyObject
*_wrap_Slider_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13483 PyObject
*resultobj
;
13484 wxSlider
*arg1
= (wxSlider
*) 0 ;
13486 PyObject
* obj0
= 0 ;
13487 PyObject
* obj1
= 0 ;
13488 char *kwnames
[] = {
13489 (char *) "self",(char *) "pageSize", NULL
13492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
13493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13495 arg2
= (int)SWIG_As_int(obj1
);
13496 if (PyErr_Occurred()) SWIG_fail
;
13498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13499 (arg1
)->SetPageSize(arg2
);
13501 wxPyEndAllowThreads(__tstate
);
13502 if (PyErr_Occurred()) SWIG_fail
;
13504 Py_INCREF(Py_None
); resultobj
= Py_None
;
13511 static PyObject
*_wrap_Slider_GetLineSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13512 PyObject
*resultobj
;
13513 wxSlider
*arg1
= (wxSlider
*) 0 ;
13515 PyObject
* obj0
= 0 ;
13516 char *kwnames
[] = {
13517 (char *) "self", NULL
13520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetLineSize",kwnames
,&obj0
)) goto fail
;
13521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13525 result
= (int)((wxSlider
const *)arg1
)->GetLineSize();
13527 wxPyEndAllowThreads(__tstate
);
13528 if (PyErr_Occurred()) SWIG_fail
;
13530 resultobj
= SWIG_From_int((int)result
);
13537 static PyObject
*_wrap_Slider_GetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13538 PyObject
*resultobj
;
13539 wxSlider
*arg1
= (wxSlider
*) 0 ;
13541 PyObject
* obj0
= 0 ;
13542 char *kwnames
[] = {
13543 (char *) "self", NULL
13546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetPageSize",kwnames
,&obj0
)) goto fail
;
13547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13551 result
= (int)((wxSlider
const *)arg1
)->GetPageSize();
13553 wxPyEndAllowThreads(__tstate
);
13554 if (PyErr_Occurred()) SWIG_fail
;
13556 resultobj
= SWIG_From_int((int)result
);
13563 static PyObject
*_wrap_Slider_SetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13564 PyObject
*resultobj
;
13565 wxSlider
*arg1
= (wxSlider
*) 0 ;
13567 PyObject
* obj0
= 0 ;
13568 PyObject
* obj1
= 0 ;
13569 char *kwnames
[] = {
13570 (char *) "self",(char *) "lenPixels", NULL
13573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetThumbLength",kwnames
,&obj0
,&obj1
)) goto fail
;
13574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13576 arg2
= (int)SWIG_As_int(obj1
);
13577 if (PyErr_Occurred()) SWIG_fail
;
13579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13580 (arg1
)->SetThumbLength(arg2
);
13582 wxPyEndAllowThreads(__tstate
);
13583 if (PyErr_Occurred()) SWIG_fail
;
13585 Py_INCREF(Py_None
); resultobj
= Py_None
;
13592 static PyObject
*_wrap_Slider_GetThumbLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13593 PyObject
*resultobj
;
13594 wxSlider
*arg1
= (wxSlider
*) 0 ;
13596 PyObject
* obj0
= 0 ;
13597 char *kwnames
[] = {
13598 (char *) "self", NULL
13601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetThumbLength",kwnames
,&obj0
)) goto fail
;
13602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13606 result
= (int)((wxSlider
const *)arg1
)->GetThumbLength();
13608 wxPyEndAllowThreads(__tstate
);
13609 if (PyErr_Occurred()) SWIG_fail
;
13611 resultobj
= SWIG_From_int((int)result
);
13618 static PyObject
*_wrap_Slider_SetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13619 PyObject
*resultobj
;
13620 wxSlider
*arg1
= (wxSlider
*) 0 ;
13622 int arg3
= (int) 1 ;
13623 PyObject
* obj0
= 0 ;
13624 PyObject
* obj1
= 0 ;
13625 PyObject
* obj2
= 0 ;
13626 char *kwnames
[] = {
13627 (char *) "self",(char *) "n",(char *) "pos", NULL
13630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Slider_SetTickFreq",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13633 arg2
= (int)SWIG_As_int(obj1
);
13634 if (PyErr_Occurred()) SWIG_fail
;
13636 arg3
= (int)SWIG_As_int(obj2
);
13637 if (PyErr_Occurred()) SWIG_fail
;
13640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13641 (arg1
)->SetTickFreq(arg2
,arg3
);
13643 wxPyEndAllowThreads(__tstate
);
13644 if (PyErr_Occurred()) SWIG_fail
;
13646 Py_INCREF(Py_None
); resultobj
= Py_None
;
13653 static PyObject
*_wrap_Slider_GetTickFreq(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13654 PyObject
*resultobj
;
13655 wxSlider
*arg1
= (wxSlider
*) 0 ;
13657 PyObject
* obj0
= 0 ;
13658 char *kwnames
[] = {
13659 (char *) "self", NULL
13662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetTickFreq",kwnames
,&obj0
)) goto fail
;
13663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13667 result
= (int)((wxSlider
const *)arg1
)->GetTickFreq();
13669 wxPyEndAllowThreads(__tstate
);
13670 if (PyErr_Occurred()) SWIG_fail
;
13672 resultobj
= SWIG_From_int((int)result
);
13679 static PyObject
*_wrap_Slider_ClearTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13680 PyObject
*resultobj
;
13681 wxSlider
*arg1
= (wxSlider
*) 0 ;
13682 PyObject
* obj0
= 0 ;
13683 char *kwnames
[] = {
13684 (char *) "self", NULL
13687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearTicks",kwnames
,&obj0
)) goto fail
;
13688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13692 (arg1
)->ClearTicks();
13694 wxPyEndAllowThreads(__tstate
);
13695 if (PyErr_Occurred()) SWIG_fail
;
13697 Py_INCREF(Py_None
); resultobj
= Py_None
;
13704 static PyObject
*_wrap_Slider_SetTick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13705 PyObject
*resultobj
;
13706 wxSlider
*arg1
= (wxSlider
*) 0 ;
13708 PyObject
* obj0
= 0 ;
13709 PyObject
* obj1
= 0 ;
13710 char *kwnames
[] = {
13711 (char *) "self",(char *) "tickPos", NULL
13714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Slider_SetTick",kwnames
,&obj0
,&obj1
)) goto fail
;
13715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13717 arg2
= (int)SWIG_As_int(obj1
);
13718 if (PyErr_Occurred()) SWIG_fail
;
13720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13721 (arg1
)->SetTick(arg2
);
13723 wxPyEndAllowThreads(__tstate
);
13724 if (PyErr_Occurred()) SWIG_fail
;
13726 Py_INCREF(Py_None
); resultobj
= Py_None
;
13733 static PyObject
*_wrap_Slider_ClearSel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13734 PyObject
*resultobj
;
13735 wxSlider
*arg1
= (wxSlider
*) 0 ;
13736 PyObject
* obj0
= 0 ;
13737 char *kwnames
[] = {
13738 (char *) "self", NULL
13741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_ClearSel",kwnames
,&obj0
)) goto fail
;
13742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13746 (arg1
)->ClearSel();
13748 wxPyEndAllowThreads(__tstate
);
13749 if (PyErr_Occurred()) SWIG_fail
;
13751 Py_INCREF(Py_None
); resultobj
= Py_None
;
13758 static PyObject
*_wrap_Slider_GetSelEnd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13759 PyObject
*resultobj
;
13760 wxSlider
*arg1
= (wxSlider
*) 0 ;
13762 PyObject
* obj0
= 0 ;
13763 char *kwnames
[] = {
13764 (char *) "self", NULL
13767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelEnd",kwnames
,&obj0
)) goto fail
;
13768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13772 result
= (int)((wxSlider
const *)arg1
)->GetSelEnd();
13774 wxPyEndAllowThreads(__tstate
);
13775 if (PyErr_Occurred()) SWIG_fail
;
13777 resultobj
= SWIG_From_int((int)result
);
13784 static PyObject
*_wrap_Slider_GetSelStart(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13785 PyObject
*resultobj
;
13786 wxSlider
*arg1
= (wxSlider
*) 0 ;
13788 PyObject
* obj0
= 0 ;
13789 char *kwnames
[] = {
13790 (char *) "self", NULL
13793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Slider_GetSelStart",kwnames
,&obj0
)) goto fail
;
13794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13798 result
= (int)((wxSlider
const *)arg1
)->GetSelStart();
13800 wxPyEndAllowThreads(__tstate
);
13801 if (PyErr_Occurred()) SWIG_fail
;
13803 resultobj
= SWIG_From_int((int)result
);
13810 static PyObject
*_wrap_Slider_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13811 PyObject
*resultobj
;
13812 wxSlider
*arg1
= (wxSlider
*) 0 ;
13815 PyObject
* obj0
= 0 ;
13816 PyObject
* obj1
= 0 ;
13817 PyObject
* obj2
= 0 ;
13818 char *kwnames
[] = {
13819 (char *) "self",(char *) "min",(char *) "max", NULL
13822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Slider_SetSelection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSlider
,
13824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13825 arg2
= (int)SWIG_As_int(obj1
);
13826 if (PyErr_Occurred()) SWIG_fail
;
13827 arg3
= (int)SWIG_As_int(obj2
);
13828 if (PyErr_Occurred()) SWIG_fail
;
13830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13831 (arg1
)->SetSelection(arg2
,arg3
);
13833 wxPyEndAllowThreads(__tstate
);
13834 if (PyErr_Occurred()) SWIG_fail
;
13836 Py_INCREF(Py_None
); resultobj
= Py_None
;
13843 static PyObject
*_wrap_Slider_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13844 PyObject
*resultobj
;
13845 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
13846 wxVisualAttributes result
;
13847 PyObject
* obj0
= 0 ;
13848 char *kwnames
[] = {
13849 (char *) "variant", NULL
13852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Slider_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
13854 arg1
= (int)SWIG_As_int(obj0
);
13855 if (PyErr_Occurred()) SWIG_fail
;
13858 if (!wxPyCheckForApp()) SWIG_fail
;
13859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13860 result
= wxSlider::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
13862 wxPyEndAllowThreads(__tstate
);
13863 if (PyErr_Occurred()) SWIG_fail
;
13866 wxVisualAttributes
* resultptr
;
13867 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
13868 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
13876 static PyObject
* Slider_swigregister(PyObject
*, PyObject
*args
) {
13878 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13879 SWIG_TypeClientData(SWIGTYPE_p_wxSlider
, obj
);
13881 return Py_BuildValue((char *)"");
13883 static int _wrap_ToggleButtonNameStr_set(PyObject
*) {
13884 PyErr_SetString(PyExc_TypeError
,"Variable ToggleButtonNameStr is read-only.");
13889 static PyObject
*_wrap_ToggleButtonNameStr_get() {
13894 pyobj
= PyUnicode_FromWideChar((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13896 pyobj
= PyString_FromStringAndSize((&wxPyToggleButtonNameStr
)->c_str(), (&wxPyToggleButtonNameStr
)->Len());
13903 static PyObject
*_wrap_new_ToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13904 PyObject
*resultobj
;
13905 wxWindow
*arg1
= (wxWindow
*) 0 ;
13906 int arg2
= (int) -1 ;
13907 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13908 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13909 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13910 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13911 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13912 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13913 long arg6
= (long) 0 ;
13914 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
13915 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
13916 wxString
const &arg8_defvalue
= wxPyToggleButtonNameStr
;
13917 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
13918 wxToggleButton
*result
;
13919 bool temp3
= False
;
13922 bool temp8
= False
;
13923 PyObject
* obj0
= 0 ;
13924 PyObject
* obj1
= 0 ;
13925 PyObject
* obj2
= 0 ;
13926 PyObject
* obj3
= 0 ;
13927 PyObject
* obj4
= 0 ;
13928 PyObject
* obj5
= 0 ;
13929 PyObject
* obj6
= 0 ;
13930 PyObject
* obj7
= 0 ;
13931 char *kwnames
[] = {
13932 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
13935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_ToggleButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
13936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
13937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13939 arg2
= (int)SWIG_As_int(obj1
);
13940 if (PyErr_Occurred()) SWIG_fail
;
13944 arg3
= wxString_in_helper(obj2
);
13945 if (arg3
== NULL
) SWIG_fail
;
13952 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13958 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13962 arg6
= (long)SWIG_As_long(obj5
);
13963 if (PyErr_Occurred()) SWIG_fail
;
13966 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
13967 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13969 if (arg7
== NULL
) {
13970 PyErr_SetString(PyExc_TypeError
,"null reference");
13976 arg8
= wxString_in_helper(obj7
);
13977 if (arg8
== NULL
) SWIG_fail
;
13982 if (!wxPyCheckForApp()) SWIG_fail
;
13983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13984 result
= (wxToggleButton
*)new wxToggleButton(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
13986 wxPyEndAllowThreads(__tstate
);
13987 if (PyErr_Occurred()) SWIG_fail
;
13989 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
14012 static PyObject
*_wrap_new_PreToggleButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14013 PyObject
*resultobj
;
14014 wxToggleButton
*result
;
14015 char *kwnames
[] = {
14019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToggleButton",kwnames
)) goto fail
;
14021 if (!wxPyCheckForApp()) SWIG_fail
;
14022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14023 result
= (wxToggleButton
*)new wxToggleButton();
14025 wxPyEndAllowThreads(__tstate
);
14026 if (PyErr_Occurred()) SWIG_fail
;
14028 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToggleButton
, 1);
14035 static PyObject
*_wrap_ToggleButton_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14036 PyObject
*resultobj
;
14037 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14038 wxWindow
*arg2
= (wxWindow
*) 0 ;
14039 int arg3
= (int) -1 ;
14040 wxString
const &arg4_defvalue
= wxPyEmptyString
;
14041 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
14042 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
14043 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
14044 wxSize
const &arg6_defvalue
= wxDefaultSize
;
14045 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
14046 long arg7
= (long) 0 ;
14047 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
14048 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
14049 wxString
const &arg9_defvalue
= wxPyToggleButtonNameStr
;
14050 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
14052 bool temp4
= False
;
14055 bool temp9
= False
;
14056 PyObject
* obj0
= 0 ;
14057 PyObject
* obj1
= 0 ;
14058 PyObject
* obj2
= 0 ;
14059 PyObject
* obj3
= 0 ;
14060 PyObject
* obj4
= 0 ;
14061 PyObject
* obj5
= 0 ;
14062 PyObject
* obj6
= 0 ;
14063 PyObject
* obj7
= 0 ;
14064 PyObject
* obj8
= 0 ;
14065 char *kwnames
[] = {
14066 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
14069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:ToggleButton_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
14070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14072 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14075 arg3
= (int)SWIG_As_int(obj2
);
14076 if (PyErr_Occurred()) SWIG_fail
;
14080 arg4
= wxString_in_helper(obj3
);
14081 if (arg4
== NULL
) SWIG_fail
;
14088 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
14094 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
14098 arg7
= (long)SWIG_As_long(obj6
);
14099 if (PyErr_Occurred()) SWIG_fail
;
14102 if ((SWIG_ConvertPtr(obj7
,(void **)(&arg8
),SWIGTYPE_p_wxValidator
,
14103 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14105 if (arg8
== NULL
) {
14106 PyErr_SetString(PyExc_TypeError
,"null reference");
14112 arg9
= wxString_in_helper(obj8
);
14113 if (arg9
== NULL
) SWIG_fail
;
14118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14119 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
14121 wxPyEndAllowThreads(__tstate
);
14122 if (PyErr_Occurred()) SWIG_fail
;
14125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14149 static PyObject
*_wrap_ToggleButton_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14150 PyObject
*resultobj
;
14151 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14153 PyObject
* obj0
= 0 ;
14154 PyObject
* obj1
= 0 ;
14155 char *kwnames
[] = {
14156 (char *) "self",(char *) "value", NULL
14159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
14160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14162 arg2
= (bool)SWIG_As_bool(obj1
);
14163 if (PyErr_Occurred()) SWIG_fail
;
14165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14166 (arg1
)->SetValue(arg2
);
14168 wxPyEndAllowThreads(__tstate
);
14169 if (PyErr_Occurred()) SWIG_fail
;
14171 Py_INCREF(Py_None
); resultobj
= Py_None
;
14178 static PyObject
*_wrap_ToggleButton_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14179 PyObject
*resultobj
;
14180 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14182 PyObject
* obj0
= 0 ;
14183 char *kwnames
[] = {
14184 (char *) "self", NULL
14187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToggleButton_GetValue",kwnames
,&obj0
)) goto fail
;
14188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14192 result
= (bool)((wxToggleButton
const *)arg1
)->GetValue();
14194 wxPyEndAllowThreads(__tstate
);
14195 if (PyErr_Occurred()) SWIG_fail
;
14198 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14206 static PyObject
*_wrap_ToggleButton_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14207 PyObject
*resultobj
;
14208 wxToggleButton
*arg1
= (wxToggleButton
*) 0 ;
14209 wxString
*arg2
= 0 ;
14210 bool temp2
= False
;
14211 PyObject
* obj0
= 0 ;
14212 PyObject
* obj1
= 0 ;
14213 char *kwnames
[] = {
14214 (char *) "self",(char *) "label", NULL
14217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToggleButton_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
14218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToggleButton
,
14219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14221 arg2
= wxString_in_helper(obj1
);
14222 if (arg2
== NULL
) SWIG_fail
;
14226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14227 (arg1
)->SetLabel((wxString
const &)*arg2
);
14229 wxPyEndAllowThreads(__tstate
);
14230 if (PyErr_Occurred()) SWIG_fail
;
14232 Py_INCREF(Py_None
); resultobj
= Py_None
;
14247 static PyObject
*_wrap_ToggleButton_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14248 PyObject
*resultobj
;
14249 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14250 wxVisualAttributes result
;
14251 PyObject
* obj0
= 0 ;
14252 char *kwnames
[] = {
14253 (char *) "variant", NULL
14256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToggleButton_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14258 arg1
= (int)SWIG_As_int(obj0
);
14259 if (PyErr_Occurred()) SWIG_fail
;
14262 if (!wxPyCheckForApp()) SWIG_fail
;
14263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14264 result
= wxToggleButton::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14266 wxPyEndAllowThreads(__tstate
);
14267 if (PyErr_Occurred()) SWIG_fail
;
14270 wxVisualAttributes
* resultptr
;
14271 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14272 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
14280 static PyObject
* ToggleButton_swigregister(PyObject
*, PyObject
*args
) {
14282 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14283 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton
, obj
);
14285 return Py_BuildValue((char *)"");
14287 static int _wrap_NOTEBOOK_NAME_set(PyObject
*) {
14288 PyErr_SetString(PyExc_TypeError
,"Variable NOTEBOOK_NAME is read-only.");
14293 static PyObject
*_wrap_NOTEBOOK_NAME_get() {
14298 pyobj
= PyUnicode_FromWideChar((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
14300 pyobj
= PyString_FromStringAndSize((&wxPyNOTEBOOK_NAME
)->c_str(), (&wxPyNOTEBOOK_NAME
)->Len());
14307 static PyObject
*_wrap_BookCtrl_GetPageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14308 PyObject
*resultobj
;
14309 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14311 PyObject
* obj0
= 0 ;
14312 char *kwnames
[] = {
14313 (char *) "self", NULL
14316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetPageCount",kwnames
,&obj0
)) goto fail
;
14317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14321 result
= (size_t)((wxBookCtrl
const *)arg1
)->GetPageCount();
14323 wxPyEndAllowThreads(__tstate
);
14324 if (PyErr_Occurred()) SWIG_fail
;
14326 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
14333 static PyObject
*_wrap_BookCtrl_GetPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14334 PyObject
*resultobj
;
14335 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14338 PyObject
* obj0
= 0 ;
14339 PyObject
* obj1
= 0 ;
14340 char *kwnames
[] = {
14341 (char *) "self",(char *) "n", NULL
14344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14347 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14348 if (PyErr_Occurred()) SWIG_fail
;
14350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14351 result
= (wxWindow
*)(arg1
)->GetPage(arg2
);
14353 wxPyEndAllowThreads(__tstate
);
14354 if (PyErr_Occurred()) SWIG_fail
;
14357 resultobj
= wxPyMake_wxObject(result
, 0);
14365 static PyObject
*_wrap_BookCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14366 PyObject
*resultobj
;
14367 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14369 PyObject
* obj0
= 0 ;
14370 char *kwnames
[] = {
14371 (char *) "self", NULL
14374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
14375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14379 result
= (int)((wxBookCtrl
const *)arg1
)->GetSelection();
14381 wxPyEndAllowThreads(__tstate
);
14382 if (PyErr_Occurred()) SWIG_fail
;
14384 resultobj
= SWIG_From_int((int)result
);
14391 static PyObject
*_wrap_BookCtrl_SetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14392 PyObject
*resultobj
;
14393 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14395 wxString
*arg3
= 0 ;
14397 bool temp3
= False
;
14398 PyObject
* obj0
= 0 ;
14399 PyObject
* obj1
= 0 ;
14400 PyObject
* obj2
= 0 ;
14401 char *kwnames
[] = {
14402 (char *) "self",(char *) "n",(char *) "strText", NULL
14405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14408 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14409 if (PyErr_Occurred()) SWIG_fail
;
14411 arg3
= wxString_in_helper(obj2
);
14412 if (arg3
== NULL
) SWIG_fail
;
14416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14417 result
= (bool)(arg1
)->SetPageText(arg2
,(wxString
const &)*arg3
);
14419 wxPyEndAllowThreads(__tstate
);
14420 if (PyErr_Occurred()) SWIG_fail
;
14423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14439 static PyObject
*_wrap_BookCtrl_GetPageText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14440 PyObject
*resultobj
;
14441 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14444 PyObject
* obj0
= 0 ;
14445 PyObject
* obj1
= 0 ;
14446 char *kwnames
[] = {
14447 (char *) "self",(char *) "n", NULL
14450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageText",kwnames
,&obj0
,&obj1
)) goto fail
;
14451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14453 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14454 if (PyErr_Occurred()) SWIG_fail
;
14456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14457 result
= ((wxBookCtrl
const *)arg1
)->GetPageText(arg2
);
14459 wxPyEndAllowThreads(__tstate
);
14460 if (PyErr_Occurred()) SWIG_fail
;
14464 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
14466 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
14475 static PyObject
*_wrap_BookCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14476 PyObject
*resultobj
;
14477 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14478 wxImageList
*arg2
= (wxImageList
*) 0 ;
14479 PyObject
* obj0
= 0 ;
14480 PyObject
* obj1
= 0 ;
14481 char *kwnames
[] = {
14482 (char *) "self",(char *) "imageList", NULL
14485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14488 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14492 (arg1
)->SetImageList(arg2
);
14494 wxPyEndAllowThreads(__tstate
);
14495 if (PyErr_Occurred()) SWIG_fail
;
14497 Py_INCREF(Py_None
); resultobj
= Py_None
;
14504 static PyObject
*_wrap_BookCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14505 PyObject
*resultobj
;
14506 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14507 wxImageList
*arg2
= (wxImageList
*) 0 ;
14508 PyObject
* obj0
= 0 ;
14509 PyObject
* obj1
= 0 ;
14510 char *kwnames
[] = {
14511 (char *) "self",(char *) "imageList", NULL
14514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
14515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14517 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
14518 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
14520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14521 (arg1
)->AssignImageList(arg2
);
14523 wxPyEndAllowThreads(__tstate
);
14524 if (PyErr_Occurred()) SWIG_fail
;
14526 Py_INCREF(Py_None
); resultobj
= Py_None
;
14533 static PyObject
*_wrap_BookCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14534 PyObject
*resultobj
;
14535 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14536 wxImageList
*result
;
14537 PyObject
* obj0
= 0 ;
14538 char *kwnames
[] = {
14539 (char *) "self", NULL
14542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
14543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14547 result
= (wxImageList
*)((wxBookCtrl
const *)arg1
)->GetImageList();
14549 wxPyEndAllowThreads(__tstate
);
14550 if (PyErr_Occurred()) SWIG_fail
;
14553 resultobj
= wxPyMake_wxObject(result
, 0);
14561 static PyObject
*_wrap_BookCtrl_GetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14562 PyObject
*resultobj
;
14563 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14566 PyObject
* obj0
= 0 ;
14567 PyObject
* obj1
= 0 ;
14568 char *kwnames
[] = {
14569 (char *) "self",(char *) "n", NULL
14572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_GetPageImage",kwnames
,&obj0
,&obj1
)) goto fail
;
14573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14575 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14576 if (PyErr_Occurred()) SWIG_fail
;
14578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14579 result
= (int)((wxBookCtrl
const *)arg1
)->GetPageImage(arg2
);
14581 wxPyEndAllowThreads(__tstate
);
14582 if (PyErr_Occurred()) SWIG_fail
;
14584 resultobj
= SWIG_From_int((int)result
);
14591 static PyObject
*_wrap_BookCtrl_SetPageImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14592 PyObject
*resultobj
;
14593 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14597 PyObject
* obj0
= 0 ;
14598 PyObject
* obj1
= 0 ;
14599 PyObject
* obj2
= 0 ;
14600 char *kwnames
[] = {
14601 (char *) "self",(char *) "n",(char *) "imageId", NULL
14604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:BookCtrl_SetPageImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14607 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14608 if (PyErr_Occurred()) SWIG_fail
;
14609 arg3
= (int)SWIG_As_int(obj2
);
14610 if (PyErr_Occurred()) SWIG_fail
;
14612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14613 result
= (bool)(arg1
)->SetPageImage(arg2
,arg3
);
14615 wxPyEndAllowThreads(__tstate
);
14616 if (PyErr_Occurred()) SWIG_fail
;
14619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14627 static PyObject
*_wrap_BookCtrl_SetPageSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14628 PyObject
*resultobj
;
14629 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14632 PyObject
* obj0
= 0 ;
14633 PyObject
* obj1
= 0 ;
14634 char *kwnames
[] = {
14635 (char *) "self",(char *) "size", NULL
14638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetPageSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14643 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14647 (arg1
)->SetPageSize((wxSize
const &)*arg2
);
14649 wxPyEndAllowThreads(__tstate
);
14650 if (PyErr_Occurred()) SWIG_fail
;
14652 Py_INCREF(Py_None
); resultobj
= Py_None
;
14659 static PyObject
*_wrap_BookCtrl_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14660 PyObject
*resultobj
;
14661 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14665 PyObject
* obj0
= 0 ;
14666 PyObject
* obj1
= 0 ;
14667 char *kwnames
[] = {
14668 (char *) "self",(char *) "sizePage", NULL
14671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
14672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14676 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
14679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14680 result
= ((wxBookCtrl
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
14682 wxPyEndAllowThreads(__tstate
);
14683 if (PyErr_Occurred()) SWIG_fail
;
14686 wxSize
* resultptr
;
14687 resultptr
= new wxSize((wxSize
&) result
);
14688 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
14696 static PyObject
*_wrap_BookCtrl_DeletePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14697 PyObject
*resultobj
;
14698 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14701 PyObject
* obj0
= 0 ;
14702 PyObject
* obj1
= 0 ;
14703 char *kwnames
[] = {
14704 (char *) "self",(char *) "n", NULL
14707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_DeletePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14710 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14711 if (PyErr_Occurred()) SWIG_fail
;
14713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14714 result
= (bool)(arg1
)->DeletePage(arg2
);
14716 wxPyEndAllowThreads(__tstate
);
14717 if (PyErr_Occurred()) SWIG_fail
;
14720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14728 static PyObject
*_wrap_BookCtrl_RemovePage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14729 PyObject
*resultobj
;
14730 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14733 PyObject
* obj0
= 0 ;
14734 PyObject
* obj1
= 0 ;
14735 char *kwnames
[] = {
14736 (char *) "self",(char *) "n", NULL
14739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_RemovePage",kwnames
,&obj0
,&obj1
)) goto fail
;
14740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14742 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14743 if (PyErr_Occurred()) SWIG_fail
;
14745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14746 result
= (bool)(arg1
)->RemovePage(arg2
);
14748 wxPyEndAllowThreads(__tstate
);
14749 if (PyErr_Occurred()) SWIG_fail
;
14752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14760 static PyObject
*_wrap_BookCtrl_DeleteAllPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14761 PyObject
*resultobj
;
14762 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14764 PyObject
* obj0
= 0 ;
14765 char *kwnames
[] = {
14766 (char *) "self", NULL
14769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrl_DeleteAllPages",kwnames
,&obj0
)) goto fail
;
14770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14774 result
= (bool)(arg1
)->DeleteAllPages();
14776 wxPyEndAllowThreads(__tstate
);
14777 if (PyErr_Occurred()) SWIG_fail
;
14780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14788 static PyObject
*_wrap_BookCtrl_AddPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14789 PyObject
*resultobj
;
14790 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14791 wxWindow
*arg2
= (wxWindow
*) 0 ;
14792 wxString
*arg3
= 0 ;
14793 bool arg4
= (bool) False
;
14794 int arg5
= (int) -1 ;
14796 bool temp3
= False
;
14797 PyObject
* obj0
= 0 ;
14798 PyObject
* obj1
= 0 ;
14799 PyObject
* obj2
= 0 ;
14800 PyObject
* obj3
= 0 ;
14801 PyObject
* obj4
= 0 ;
14802 char *kwnames
[] = {
14803 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:BookCtrl_AddPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
14807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14809 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
14810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14812 arg3
= wxString_in_helper(obj2
);
14813 if (arg3
== NULL
) SWIG_fail
;
14817 arg4
= (bool)SWIG_As_bool(obj3
);
14818 if (PyErr_Occurred()) SWIG_fail
;
14821 arg5
= (int)SWIG_As_int(obj4
);
14822 if (PyErr_Occurred()) SWIG_fail
;
14825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14826 result
= (bool)(arg1
)->AddPage(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
14828 wxPyEndAllowThreads(__tstate
);
14829 if (PyErr_Occurred()) SWIG_fail
;
14832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14848 static PyObject
*_wrap_BookCtrl_InsertPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14849 PyObject
*resultobj
;
14850 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14852 wxWindow
*arg3
= (wxWindow
*) 0 ;
14853 wxString
*arg4
= 0 ;
14854 bool arg5
= (bool) False
;
14855 int arg6
= (int) -1 ;
14857 bool temp4
= False
;
14858 PyObject
* obj0
= 0 ;
14859 PyObject
* obj1
= 0 ;
14860 PyObject
* obj2
= 0 ;
14861 PyObject
* obj3
= 0 ;
14862 PyObject
* obj4
= 0 ;
14863 PyObject
* obj5
= 0 ;
14864 char *kwnames
[] = {
14865 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
14868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:BookCtrl_InsertPage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
14869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14871 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14872 if (PyErr_Occurred()) SWIG_fail
;
14873 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
14874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14876 arg4
= wxString_in_helper(obj3
);
14877 if (arg4
== NULL
) SWIG_fail
;
14881 arg5
= (bool)SWIG_As_bool(obj4
);
14882 if (PyErr_Occurred()) SWIG_fail
;
14885 arg6
= (int)SWIG_As_int(obj5
);
14886 if (PyErr_Occurred()) SWIG_fail
;
14889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14890 result
= (bool)(arg1
)->InsertPage(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
);
14892 wxPyEndAllowThreads(__tstate
);
14893 if (PyErr_Occurred()) SWIG_fail
;
14896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14912 static PyObject
*_wrap_BookCtrl_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14913 PyObject
*resultobj
;
14914 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14917 PyObject
* obj0
= 0 ;
14918 PyObject
* obj1
= 0 ;
14919 char *kwnames
[] = {
14920 (char *) "self",(char *) "n", NULL
14923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrl_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14926 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
14927 if (PyErr_Occurred()) SWIG_fail
;
14929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14930 result
= (int)(arg1
)->SetSelection(arg2
);
14932 wxPyEndAllowThreads(__tstate
);
14933 if (PyErr_Occurred()) SWIG_fail
;
14935 resultobj
= SWIG_From_int((int)result
);
14942 static PyObject
*_wrap_BookCtrl_AdvanceSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14943 PyObject
*resultobj
;
14944 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
14945 bool arg2
= (bool) True
;
14946 PyObject
* obj0
= 0 ;
14947 PyObject
* obj1
= 0 ;
14948 char *kwnames
[] = {
14949 (char *) "self",(char *) "forward", NULL
14952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
14953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
14954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14956 arg2
= (bool)SWIG_As_bool(obj1
);
14957 if (PyErr_Occurred()) SWIG_fail
;
14960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14961 (arg1
)->AdvanceSelection(arg2
);
14963 wxPyEndAllowThreads(__tstate
);
14964 if (PyErr_Occurred()) SWIG_fail
;
14966 Py_INCREF(Py_None
); resultobj
= Py_None
;
14973 static PyObject
*_wrap_BookCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14974 PyObject
*resultobj
;
14975 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
14976 wxVisualAttributes result
;
14977 PyObject
* obj0
= 0 ;
14978 char *kwnames
[] = {
14979 (char *) "variant", NULL
14982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BookCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
14984 arg1
= (int)SWIG_As_int(obj0
);
14985 if (PyErr_Occurred()) SWIG_fail
;
14988 if (!wxPyCheckForApp()) SWIG_fail
;
14989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14990 result
= wxBookCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
14992 wxPyEndAllowThreads(__tstate
);
14993 if (PyErr_Occurred()) SWIG_fail
;
14996 wxVisualAttributes
* resultptr
;
14997 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
14998 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15006 static PyObject
* BookCtrl_swigregister(PyObject
*, PyObject
*args
) {
15008 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15009 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl
, obj
);
15011 return Py_BuildValue((char *)"");
15013 static PyObject
*_wrap_new_BookCtrlEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15014 PyObject
*resultobj
;
15015 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15016 int arg2
= (int) 0 ;
15017 int arg3
= (int) -1 ;
15018 int arg4
= (int) -1 ;
15019 wxBookCtrlEvent
*result
;
15020 PyObject
* obj0
= 0 ;
15021 PyObject
* obj1
= 0 ;
15022 PyObject
* obj2
= 0 ;
15023 PyObject
* obj3
= 0 ;
15024 char *kwnames
[] = {
15025 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_BookCtrlEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15030 arg1
= (wxEventType
)SWIG_As_int(obj0
);
15031 if (PyErr_Occurred()) SWIG_fail
;
15034 arg2
= (int)SWIG_As_int(obj1
);
15035 if (PyErr_Occurred()) SWIG_fail
;
15038 arg3
= (int)SWIG_As_int(obj2
);
15039 if (PyErr_Occurred()) SWIG_fail
;
15042 arg4
= (int)SWIG_As_int(obj3
);
15043 if (PyErr_Occurred()) SWIG_fail
;
15046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15047 result
= (wxBookCtrlEvent
*)new wxBookCtrlEvent(arg1
,arg2
,arg3
,arg4
);
15049 wxPyEndAllowThreads(__tstate
);
15050 if (PyErr_Occurred()) SWIG_fail
;
15052 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlEvent
, 1);
15059 static PyObject
*_wrap_BookCtrlEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15060 PyObject
*resultobj
;
15061 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
15063 PyObject
* obj0
= 0 ;
15064 char *kwnames
[] = {
15065 (char *) "self", NULL
15068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
15069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
15070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15073 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetSelection();
15075 wxPyEndAllowThreads(__tstate
);
15076 if (PyErr_Occurred()) SWIG_fail
;
15078 resultobj
= SWIG_From_int((int)result
);
15085 static PyObject
*_wrap_BookCtrlEvent_SetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15086 PyObject
*resultobj
;
15087 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
15089 PyObject
* obj0
= 0 ;
15090 PyObject
* obj1
= 0 ;
15091 char *kwnames
[] = {
15092 (char *) "self",(char *) "nSel", NULL
15095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
15096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
15097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15098 arg2
= (int)SWIG_As_int(obj1
);
15099 if (PyErr_Occurred()) SWIG_fail
;
15101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15102 (arg1
)->SetSelection(arg2
);
15104 wxPyEndAllowThreads(__tstate
);
15105 if (PyErr_Occurred()) SWIG_fail
;
15107 Py_INCREF(Py_None
); resultobj
= Py_None
;
15114 static PyObject
*_wrap_BookCtrlEvent_GetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15115 PyObject
*resultobj
;
15116 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
15118 PyObject
* obj0
= 0 ;
15119 char *kwnames
[] = {
15120 (char *) "self", NULL
15123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames
,&obj0
)) goto fail
;
15124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
15125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15128 result
= (int)((wxBookCtrlEvent
const *)arg1
)->GetOldSelection();
15130 wxPyEndAllowThreads(__tstate
);
15131 if (PyErr_Occurred()) SWIG_fail
;
15133 resultobj
= SWIG_From_int((int)result
);
15140 static PyObject
*_wrap_BookCtrlEvent_SetOldSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15141 PyObject
*resultobj
;
15142 wxBookCtrlEvent
*arg1
= (wxBookCtrlEvent
*) 0 ;
15144 PyObject
* obj0
= 0 ;
15145 PyObject
* obj1
= 0 ;
15146 char *kwnames
[] = {
15147 (char *) "self",(char *) "nOldSel", NULL
15150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BookCtrlEvent_SetOldSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
15151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlEvent
,
15152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15153 arg2
= (int)SWIG_As_int(obj1
);
15154 if (PyErr_Occurred()) SWIG_fail
;
15156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15157 (arg1
)->SetOldSelection(arg2
);
15159 wxPyEndAllowThreads(__tstate
);
15160 if (PyErr_Occurred()) SWIG_fail
;
15162 Py_INCREF(Py_None
); resultobj
= Py_None
;
15169 static PyObject
* BookCtrlEvent_swigregister(PyObject
*, PyObject
*args
) {
15171 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15172 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent
, obj
);
15174 return Py_BuildValue((char *)"");
15176 static PyObject
*_wrap_new_Notebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15177 PyObject
*resultobj
;
15178 wxWindow
*arg1
= (wxWindow
*) 0 ;
15179 int arg2
= (int) -1 ;
15180 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15181 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15182 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15183 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15184 long arg5
= (long) 0 ;
15185 wxString
const &arg6_defvalue
= wxPyNOTEBOOK_NAME
;
15186 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15187 wxNotebook
*result
;
15190 bool temp6
= False
;
15191 PyObject
* obj0
= 0 ;
15192 PyObject
* obj1
= 0 ;
15193 PyObject
* obj2
= 0 ;
15194 PyObject
* obj3
= 0 ;
15195 PyObject
* obj4
= 0 ;
15196 PyObject
* obj5
= 0 ;
15197 char *kwnames
[] = {
15198 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Notebook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15205 arg2
= (int)SWIG_As_int(obj1
);
15206 if (PyErr_Occurred()) SWIG_fail
;
15211 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15217 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15221 arg5
= (long)SWIG_As_long(obj4
);
15222 if (PyErr_Occurred()) SWIG_fail
;
15226 arg6
= wxString_in_helper(obj5
);
15227 if (arg6
== NULL
) SWIG_fail
;
15232 if (!wxPyCheckForApp()) SWIG_fail
;
15233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15234 result
= (wxNotebook
*)new wxNotebook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15236 wxPyEndAllowThreads(__tstate
);
15237 if (PyErr_Occurred()) SWIG_fail
;
15239 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
15254 static PyObject
*_wrap_new_PreNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15255 PyObject
*resultobj
;
15256 wxNotebook
*result
;
15257 char *kwnames
[] = {
15261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreNotebook",kwnames
)) goto fail
;
15263 if (!wxPyCheckForApp()) SWIG_fail
;
15264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15265 result
= (wxNotebook
*)new wxNotebook();
15267 wxPyEndAllowThreads(__tstate
);
15268 if (PyErr_Occurred()) SWIG_fail
;
15270 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebook
, 1);
15277 static PyObject
*_wrap_Notebook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15278 PyObject
*resultobj
;
15279 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15280 wxWindow
*arg2
= (wxWindow
*) 0 ;
15281 int arg3
= (int) -1 ;
15282 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15283 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15284 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15285 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15286 long arg6
= (long) 0 ;
15287 wxString
const &arg7_defvalue
= wxPyNOTEBOOK_NAME
;
15288 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15292 bool temp7
= False
;
15293 PyObject
* obj0
= 0 ;
15294 PyObject
* obj1
= 0 ;
15295 PyObject
* obj2
= 0 ;
15296 PyObject
* obj3
= 0 ;
15297 PyObject
* obj4
= 0 ;
15298 PyObject
* obj5
= 0 ;
15299 PyObject
* obj6
= 0 ;
15300 char *kwnames
[] = {
15301 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Notebook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15307 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15310 arg3
= (int)SWIG_As_int(obj2
);
15311 if (PyErr_Occurred()) SWIG_fail
;
15316 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15322 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15326 arg6
= (long)SWIG_As_long(obj5
);
15327 if (PyErr_Occurred()) SWIG_fail
;
15331 arg7
= wxString_in_helper(obj6
);
15332 if (arg7
== NULL
) SWIG_fail
;
15337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15338 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15340 wxPyEndAllowThreads(__tstate
);
15341 if (PyErr_Occurred()) SWIG_fail
;
15344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15360 static PyObject
*_wrap_Notebook_GetRowCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15361 PyObject
*resultobj
;
15362 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15364 PyObject
* obj0
= 0 ;
15365 char *kwnames
[] = {
15366 (char *) "self", NULL
15369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Notebook_GetRowCount",kwnames
,&obj0
)) goto fail
;
15370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15374 result
= (int)((wxNotebook
const *)arg1
)->GetRowCount();
15376 wxPyEndAllowThreads(__tstate
);
15377 if (PyErr_Occurred()) SWIG_fail
;
15379 resultobj
= SWIG_From_int((int)result
);
15386 static PyObject
*_wrap_Notebook_SetPadding(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15387 PyObject
*resultobj
;
15388 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15391 PyObject
* obj0
= 0 ;
15392 PyObject
* obj1
= 0 ;
15393 char *kwnames
[] = {
15394 (char *) "self",(char *) "padding", NULL
15397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetPadding",kwnames
,&obj0
,&obj1
)) goto fail
;
15398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15402 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15406 (arg1
)->SetPadding((wxSize
const &)*arg2
);
15408 wxPyEndAllowThreads(__tstate
);
15409 if (PyErr_Occurred()) SWIG_fail
;
15411 Py_INCREF(Py_None
); resultobj
= Py_None
;
15418 static PyObject
*_wrap_Notebook_SetTabSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15419 PyObject
*resultobj
;
15420 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15423 PyObject
* obj0
= 0 ;
15424 PyObject
* obj1
= 0 ;
15425 char *kwnames
[] = {
15426 (char *) "self",(char *) "sz", NULL
15429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_SetTabSize",kwnames
,&obj0
,&obj1
)) goto fail
;
15430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15434 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15438 (arg1
)->SetTabSize((wxSize
const &)*arg2
);
15440 wxPyEndAllowThreads(__tstate
);
15441 if (PyErr_Occurred()) SWIG_fail
;
15443 Py_INCREF(Py_None
); resultobj
= Py_None
;
15450 static PyObject
*_wrap_Notebook_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15451 PyObject
*resultobj
;
15452 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15453 wxPoint
*arg2
= 0 ;
15454 long *arg3
= (long *) 0 ;
15459 PyObject
* obj0
= 0 ;
15460 PyObject
* obj1
= 0 ;
15461 char *kwnames
[] = {
15462 (char *) "self",(char *) "pt", NULL
15465 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
15466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
15467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15471 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15475 result
= (int)((wxNotebook
const *)arg1
)->HitTest((wxPoint
const &)*arg2
,arg3
);
15477 wxPyEndAllowThreads(__tstate
);
15478 if (PyErr_Occurred()) SWIG_fail
;
15480 resultobj
= SWIG_From_int((int)result
);
15481 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
15482 SWIG_From_long((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_long
, 0)));
15489 static PyObject
*_wrap_Notebook_CalcSizeFromPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15490 PyObject
*resultobj
;
15491 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15495 PyObject
* obj0
= 0 ;
15496 PyObject
* obj1
= 0 ;
15497 char *kwnames
[] = {
15498 (char *) "self",(char *) "sizePage", NULL
15501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Notebook_CalcSizeFromPage",kwnames
,&obj0
,&obj1
)) goto fail
;
15502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15506 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
15509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15510 result
= ((wxNotebook
const *)arg1
)->CalcSizeFromPage((wxSize
const &)*arg2
);
15512 wxPyEndAllowThreads(__tstate
);
15513 if (PyErr_Occurred()) SWIG_fail
;
15516 wxSize
* resultptr
;
15517 resultptr
= new wxSize((wxSize
&) result
);
15518 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15526 static PyObject
*_wrap_Notebook_ApplyThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15527 PyObject
*resultobj
;
15528 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
15529 wxWindow
*arg2
= (wxWindow
*) 0 ;
15530 wxColour
*arg3
= 0 ;
15532 PyObject
* obj0
= 0 ;
15533 PyObject
* obj1
= 0 ;
15534 PyObject
* obj2
= 0 ;
15535 char *kwnames
[] = {
15536 (char *) "self",(char *) "window",(char *) "colour", NULL
15539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Notebook_ApplyThemeBackground",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
15541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15542 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15546 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
15549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15550 (arg1
)->ApplyThemeBackground(arg2
,(wxColour
const &)*arg3
);
15552 wxPyEndAllowThreads(__tstate
);
15553 if (PyErr_Occurred()) SWIG_fail
;
15555 Py_INCREF(Py_None
); resultobj
= Py_None
;
15562 static PyObject
*_wrap_Notebook_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15563 PyObject
*resultobj
;
15564 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
15565 wxVisualAttributes result
;
15566 PyObject
* obj0
= 0 ;
15567 char *kwnames
[] = {
15568 (char *) "variant", NULL
15571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Notebook_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
15573 arg1
= (int)SWIG_As_int(obj0
);
15574 if (PyErr_Occurred()) SWIG_fail
;
15577 if (!wxPyCheckForApp()) SWIG_fail
;
15578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15579 result
= wxNotebook::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
15581 wxPyEndAllowThreads(__tstate
);
15582 if (PyErr_Occurred()) SWIG_fail
;
15585 wxVisualAttributes
* resultptr
;
15586 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
15587 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
15595 static PyObject
* Notebook_swigregister(PyObject
*, PyObject
*args
) {
15597 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15598 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook
, obj
);
15600 return Py_BuildValue((char *)"");
15602 static PyObject
*_wrap_new_NotebookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15603 PyObject
*resultobj
;
15604 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15605 int arg2
= (int) 0 ;
15606 int arg3
= (int) -1 ;
15607 int arg4
= (int) -1 ;
15608 wxNotebookEvent
*result
;
15609 PyObject
* obj0
= 0 ;
15610 PyObject
* obj1
= 0 ;
15611 PyObject
* obj2
= 0 ;
15612 PyObject
* obj3
= 0 ;
15613 char *kwnames
[] = {
15614 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_NotebookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15619 arg1
= (wxEventType
)SWIG_As_int(obj0
);
15620 if (PyErr_Occurred()) SWIG_fail
;
15623 arg2
= (int)SWIG_As_int(obj1
);
15624 if (PyErr_Occurred()) SWIG_fail
;
15627 arg3
= (int)SWIG_As_int(obj2
);
15628 if (PyErr_Occurred()) SWIG_fail
;
15631 arg4
= (int)SWIG_As_int(obj3
);
15632 if (PyErr_Occurred()) SWIG_fail
;
15635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15636 result
= (wxNotebookEvent
*)new wxNotebookEvent(arg1
,arg2
,arg3
,arg4
);
15638 wxPyEndAllowThreads(__tstate
);
15639 if (PyErr_Occurred()) SWIG_fail
;
15641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookEvent
, 1);
15648 static PyObject
* NotebookEvent_swigregister(PyObject
*, PyObject
*args
) {
15650 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15651 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent
, obj
);
15653 return Py_BuildValue((char *)"");
15655 static PyObject
*_wrap_new_Listbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15656 PyObject
*resultobj
;
15657 wxWindow
*arg1
= (wxWindow
*) 0 ;
15658 int arg2
= (int) -1 ;
15659 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15660 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15661 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15662 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15663 long arg5
= (long) 0 ;
15664 wxString
const &arg6_defvalue
= wxPyEmptyString
;
15665 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15666 wxListbook
*result
;
15669 bool temp6
= False
;
15670 PyObject
* obj0
= 0 ;
15671 PyObject
* obj1
= 0 ;
15672 PyObject
* obj2
= 0 ;
15673 PyObject
* obj3
= 0 ;
15674 PyObject
* obj4
= 0 ;
15675 PyObject
* obj5
= 0 ;
15676 char *kwnames
[] = {
15677 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Listbook",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
15681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
15682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15684 arg2
= (int)SWIG_As_int(obj1
);
15685 if (PyErr_Occurred()) SWIG_fail
;
15690 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15696 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15700 arg5
= (long)SWIG_As_long(obj4
);
15701 if (PyErr_Occurred()) SWIG_fail
;
15705 arg6
= wxString_in_helper(obj5
);
15706 if (arg6
== NULL
) SWIG_fail
;
15711 if (!wxPyCheckForApp()) SWIG_fail
;
15712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15713 result
= (wxListbook
*)new wxListbook(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15715 wxPyEndAllowThreads(__tstate
);
15716 if (PyErr_Occurred()) SWIG_fail
;
15718 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15733 static PyObject
*_wrap_new_PreListbook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15734 PyObject
*resultobj
;
15735 wxListbook
*result
;
15736 char *kwnames
[] = {
15740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListbook",kwnames
)) goto fail
;
15742 if (!wxPyCheckForApp()) SWIG_fail
;
15743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15744 result
= (wxListbook
*)new wxListbook();
15746 wxPyEndAllowThreads(__tstate
);
15747 if (PyErr_Occurred()) SWIG_fail
;
15749 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbook
, 1);
15756 static PyObject
*_wrap_Listbook_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15757 PyObject
*resultobj
;
15758 wxListbook
*arg1
= (wxListbook
*) 0 ;
15759 wxWindow
*arg2
= (wxWindow
*) 0 ;
15760 int arg3
= (int) -1 ;
15761 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15762 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15763 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15764 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15765 long arg6
= (long) 0 ;
15766 wxString
const &arg7_defvalue
= wxPyEmptyString
;
15767 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15771 bool temp7
= False
;
15772 PyObject
* obj0
= 0 ;
15773 PyObject
* obj1
= 0 ;
15774 PyObject
* obj2
= 0 ;
15775 PyObject
* obj3
= 0 ;
15776 PyObject
* obj4
= 0 ;
15777 PyObject
* obj5
= 0 ;
15778 PyObject
* obj6
= 0 ;
15779 char *kwnames
[] = {
15780 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Listbook_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
15784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15786 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
15787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15789 arg3
= (int)SWIG_As_int(obj2
);
15790 if (PyErr_Occurred()) SWIG_fail
;
15795 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15801 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15805 arg6
= (long)SWIG_As_long(obj5
);
15806 if (PyErr_Occurred()) SWIG_fail
;
15810 arg7
= wxString_in_helper(obj6
);
15811 if (arg7
== NULL
) SWIG_fail
;
15816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15817 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15819 wxPyEndAllowThreads(__tstate
);
15820 if (PyErr_Occurred()) SWIG_fail
;
15823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15839 static PyObject
*_wrap_Listbook_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15840 PyObject
*resultobj
;
15841 wxListbook
*arg1
= (wxListbook
*) 0 ;
15843 PyObject
* obj0
= 0 ;
15844 char *kwnames
[] = {
15845 (char *) "self", NULL
15848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_IsVertical",kwnames
,&obj0
)) goto fail
;
15849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15853 result
= (bool)((wxListbook
const *)arg1
)->IsVertical();
15855 wxPyEndAllowThreads(__tstate
);
15856 if (PyErr_Occurred()) SWIG_fail
;
15859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15867 static PyObject
*_wrap_Listbook_GetListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15868 PyObject
*resultobj
;
15869 wxListbook
*arg1
= (wxListbook
*) 0 ;
15870 wxListView
*result
;
15871 PyObject
* obj0
= 0 ;
15872 char *kwnames
[] = {
15873 (char *) "self", NULL
15876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Listbook_GetListView",kwnames
,&obj0
)) goto fail
;
15877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListbook
,
15878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15881 result
= (wxListView
*)(arg1
)->GetListView();
15883 wxPyEndAllowThreads(__tstate
);
15884 if (PyErr_Occurred()) SWIG_fail
;
15886 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 0);
15893 static PyObject
* Listbook_swigregister(PyObject
*, PyObject
*args
) {
15895 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15896 SWIG_TypeClientData(SWIGTYPE_p_wxListbook
, obj
);
15898 return Py_BuildValue((char *)"");
15900 static PyObject
*_wrap_new_ListbookEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15901 PyObject
*resultobj
;
15902 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15903 int arg2
= (int) 0 ;
15904 int arg3
= (int) -1 ;
15905 int arg4
= (int) -1 ;
15906 wxListbookEvent
*result
;
15907 PyObject
* obj0
= 0 ;
15908 PyObject
* obj1
= 0 ;
15909 PyObject
* obj2
= 0 ;
15910 PyObject
* obj3
= 0 ;
15911 char *kwnames
[] = {
15912 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
15915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ListbookEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
15917 arg1
= (wxEventType
)SWIG_As_int(obj0
);
15918 if (PyErr_Occurred()) SWIG_fail
;
15921 arg2
= (int)SWIG_As_int(obj1
);
15922 if (PyErr_Occurred()) SWIG_fail
;
15925 arg3
= (int)SWIG_As_int(obj2
);
15926 if (PyErr_Occurred()) SWIG_fail
;
15929 arg4
= (int)SWIG_As_int(obj3
);
15930 if (PyErr_Occurred()) SWIG_fail
;
15933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15934 result
= (wxListbookEvent
*)new wxListbookEvent(arg1
,arg2
,arg3
,arg4
);
15936 wxPyEndAllowThreads(__tstate
);
15937 if (PyErr_Occurred()) SWIG_fail
;
15939 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListbookEvent
, 1);
15946 static PyObject
* ListbookEvent_swigregister(PyObject
*, PyObject
*args
) {
15948 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15949 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent
, obj
);
15951 return Py_BuildValue((char *)"");
15953 static PyObject
*_wrap_new_BookCtrlSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15954 PyObject
*resultobj
;
15955 wxBookCtrl
*arg1
= (wxBookCtrl
*) 0 ;
15956 wxBookCtrlSizer
*result
;
15957 PyObject
* obj0
= 0 ;
15958 char *kwnames
[] = {
15959 (char *) "nb", NULL
15962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BookCtrlSizer",kwnames
,&obj0
)) goto fail
;
15963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrl
,
15964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15967 result
= (wxBookCtrlSizer
*)new wxBookCtrlSizer(arg1
);
15969 wxPyEndAllowThreads(__tstate
);
15970 if (PyErr_Occurred()) SWIG_fail
;
15972 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrlSizer
, 1);
15979 static PyObject
*_wrap_BookCtrlSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15980 PyObject
*resultobj
;
15981 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
15982 PyObject
* obj0
= 0 ;
15983 char *kwnames
[] = {
15984 (char *) "self", NULL
15987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
15988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
15989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15992 (arg1
)->RecalcSizes();
15994 wxPyEndAllowThreads(__tstate
);
15995 if (PyErr_Occurred()) SWIG_fail
;
15997 Py_INCREF(Py_None
); resultobj
= Py_None
;
16004 static PyObject
*_wrap_BookCtrlSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16005 PyObject
*resultobj
;
16006 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
16008 PyObject
* obj0
= 0 ;
16009 char *kwnames
[] = {
16010 (char *) "self", NULL
16013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
16014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
16015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16018 result
= (arg1
)->CalcMin();
16020 wxPyEndAllowThreads(__tstate
);
16021 if (PyErr_Occurred()) SWIG_fail
;
16024 wxSize
* resultptr
;
16025 resultptr
= new wxSize((wxSize
&) result
);
16026 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16034 static PyObject
*_wrap_BookCtrlSizer_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16035 PyObject
*resultobj
;
16036 wxBookCtrlSizer
*arg1
= (wxBookCtrlSizer
*) 0 ;
16037 wxBookCtrl
*result
;
16038 PyObject
* obj0
= 0 ;
16039 char *kwnames
[] = {
16040 (char *) "self", NULL
16043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BookCtrlSizer_GetControl",kwnames
,&obj0
)) goto fail
;
16044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBookCtrlSizer
,
16045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16048 result
= (wxBookCtrl
*)(arg1
)->GetControl();
16050 wxPyEndAllowThreads(__tstate
);
16051 if (PyErr_Occurred()) SWIG_fail
;
16053 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBookCtrl
, 0);
16060 static PyObject
* BookCtrlSizer_swigregister(PyObject
*, PyObject
*args
) {
16062 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16063 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer
, obj
);
16065 return Py_BuildValue((char *)"");
16067 static PyObject
*_wrap_new_NotebookSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16068 PyObject
*resultobj
;
16069 wxNotebook
*arg1
= (wxNotebook
*) 0 ;
16070 wxNotebookSizer
*result
;
16071 PyObject
* obj0
= 0 ;
16072 char *kwnames
[] = {
16073 (char *) "nb", NULL
16076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_NotebookSizer",kwnames
,&obj0
)) goto fail
;
16077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebook
,
16078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16081 result
= (wxNotebookSizer
*)new wxNotebookSizer(arg1
);
16083 wxPyEndAllowThreads(__tstate
);
16084 if (PyErr_Occurred()) SWIG_fail
;
16086 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotebookSizer
, 1);
16093 static PyObject
*_wrap_NotebookSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16094 PyObject
*resultobj
;
16095 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
16096 PyObject
* obj0
= 0 ;
16097 char *kwnames
[] = {
16098 (char *) "self", NULL
16101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
16102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
16103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16106 (arg1
)->RecalcSizes();
16108 wxPyEndAllowThreads(__tstate
);
16109 if (PyErr_Occurred()) SWIG_fail
;
16111 Py_INCREF(Py_None
); resultobj
= Py_None
;
16118 static PyObject
*_wrap_NotebookSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16119 PyObject
*resultobj
;
16120 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
16122 PyObject
* obj0
= 0 ;
16123 char *kwnames
[] = {
16124 (char *) "self", NULL
16127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
16128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
16129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16132 result
= (arg1
)->CalcMin();
16134 wxPyEndAllowThreads(__tstate
);
16135 if (PyErr_Occurred()) SWIG_fail
;
16138 wxSize
* resultptr
;
16139 resultptr
= new wxSize((wxSize
&) result
);
16140 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16148 static PyObject
*_wrap_NotebookSizer_GetNotebook(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16149 PyObject
*resultobj
;
16150 wxNotebookSizer
*arg1
= (wxNotebookSizer
*) 0 ;
16151 wxNotebook
*result
;
16152 PyObject
* obj0
= 0 ;
16153 char *kwnames
[] = {
16154 (char *) "self", NULL
16157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotebookSizer_GetNotebook",kwnames
,&obj0
)) goto fail
;
16158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotebookSizer
,
16159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16162 result
= (wxNotebook
*)(arg1
)->GetNotebook();
16164 wxPyEndAllowThreads(__tstate
);
16165 if (PyErr_Occurred()) SWIG_fail
;
16168 resultobj
= wxPyMake_wxObject(result
, 0);
16176 static PyObject
* NotebookSizer_swigregister(PyObject
*, PyObject
*args
) {
16178 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16179 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer
, obj
);
16181 return Py_BuildValue((char *)"");
16183 static PyObject
*_wrap_ToolBarToolBase_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16184 PyObject
*resultobj
;
16185 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16187 PyObject
* obj0
= 0 ;
16188 char *kwnames
[] = {
16189 (char *) "self", NULL
16192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetId",kwnames
,&obj0
)) goto fail
;
16193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16197 result
= (int)(arg1
)->GetId();
16199 wxPyEndAllowThreads(__tstate
);
16200 if (PyErr_Occurred()) SWIG_fail
;
16202 resultobj
= SWIG_From_int((int)result
);
16209 static PyObject
*_wrap_ToolBarToolBase_GetControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16210 PyObject
*resultobj
;
16211 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16213 PyObject
* obj0
= 0 ;
16214 char *kwnames
[] = {
16215 (char *) "self", NULL
16218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetControl",kwnames
,&obj0
)) goto fail
;
16219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16223 result
= (wxControl
*)(arg1
)->GetControl();
16225 wxPyEndAllowThreads(__tstate
);
16226 if (PyErr_Occurred()) SWIG_fail
;
16229 resultobj
= wxPyMake_wxObject(result
, 0);
16237 static PyObject
*_wrap_ToolBarToolBase_GetToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16238 PyObject
*resultobj
;
16239 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16240 wxToolBarBase
*result
;
16241 PyObject
* obj0
= 0 ;
16242 char *kwnames
[] = {
16243 (char *) "self", NULL
16246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetToolBar",kwnames
,&obj0
)) goto fail
;
16247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16251 result
= (wxToolBarBase
*)(arg1
)->GetToolBar();
16253 wxPyEndAllowThreads(__tstate
);
16254 if (PyErr_Occurred()) SWIG_fail
;
16257 resultobj
= wxPyMake_wxObject(result
, 0);
16265 static PyObject
*_wrap_ToolBarToolBase_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16266 PyObject
*resultobj
;
16267 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16269 PyObject
* obj0
= 0 ;
16270 char *kwnames
[] = {
16271 (char *) "self", NULL
16274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsButton",kwnames
,&obj0
)) goto fail
;
16275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16279 result
= (int)(arg1
)->IsButton();
16281 wxPyEndAllowThreads(__tstate
);
16282 if (PyErr_Occurred()) SWIG_fail
;
16284 resultobj
= SWIG_From_int((int)result
);
16291 static PyObject
*_wrap_ToolBarToolBase_IsControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16292 PyObject
*resultobj
;
16293 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16295 PyObject
* obj0
= 0 ;
16296 char *kwnames
[] = {
16297 (char *) "self", NULL
16300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsControl",kwnames
,&obj0
)) goto fail
;
16301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16305 result
= (int)(arg1
)->IsControl();
16307 wxPyEndAllowThreads(__tstate
);
16308 if (PyErr_Occurred()) SWIG_fail
;
16310 resultobj
= SWIG_From_int((int)result
);
16317 static PyObject
*_wrap_ToolBarToolBase_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16318 PyObject
*resultobj
;
16319 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16321 PyObject
* obj0
= 0 ;
16322 char *kwnames
[] = {
16323 (char *) "self", NULL
16326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsSeparator",kwnames
,&obj0
)) goto fail
;
16327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16331 result
= (int)(arg1
)->IsSeparator();
16333 wxPyEndAllowThreads(__tstate
);
16334 if (PyErr_Occurred()) SWIG_fail
;
16336 resultobj
= SWIG_From_int((int)result
);
16343 static PyObject
*_wrap_ToolBarToolBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16344 PyObject
*resultobj
;
16345 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16347 PyObject
* obj0
= 0 ;
16348 char *kwnames
[] = {
16349 (char *) "self", NULL
16352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16357 result
= (int)(arg1
)->GetStyle();
16359 wxPyEndAllowThreads(__tstate
);
16360 if (PyErr_Occurred()) SWIG_fail
;
16362 resultobj
= SWIG_From_int((int)result
);
16369 static PyObject
*_wrap_ToolBarToolBase_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16370 PyObject
*resultobj
;
16371 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16373 PyObject
* obj0
= 0 ;
16374 char *kwnames
[] = {
16375 (char *) "self", NULL
16378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetKind",kwnames
,&obj0
)) goto fail
;
16379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16383 result
= (int)(arg1
)->GetKind();
16385 wxPyEndAllowThreads(__tstate
);
16386 if (PyErr_Occurred()) SWIG_fail
;
16388 resultobj
= SWIG_From_int((int)result
);
16395 static PyObject
*_wrap_ToolBarToolBase_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16396 PyObject
*resultobj
;
16397 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16399 PyObject
* obj0
= 0 ;
16400 char *kwnames
[] = {
16401 (char *) "self", NULL
16404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsEnabled",kwnames
,&obj0
)) goto fail
;
16405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16409 result
= (bool)(arg1
)->IsEnabled();
16411 wxPyEndAllowThreads(__tstate
);
16412 if (PyErr_Occurred()) SWIG_fail
;
16415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16423 static PyObject
*_wrap_ToolBarToolBase_IsToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16424 PyObject
*resultobj
;
16425 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16427 PyObject
* obj0
= 0 ;
16428 char *kwnames
[] = {
16429 (char *) "self", NULL
16432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_IsToggled",kwnames
,&obj0
)) goto fail
;
16433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16437 result
= (bool)(arg1
)->IsToggled();
16439 wxPyEndAllowThreads(__tstate
);
16440 if (PyErr_Occurred()) SWIG_fail
;
16443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16451 static PyObject
*_wrap_ToolBarToolBase_CanBeToggled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16452 PyObject
*resultobj
;
16453 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16455 PyObject
* obj0
= 0 ;
16456 char *kwnames
[] = {
16457 (char *) "self", NULL
16460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames
,&obj0
)) goto fail
;
16461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16465 result
= (bool)(arg1
)->CanBeToggled();
16467 wxPyEndAllowThreads(__tstate
);
16468 if (PyErr_Occurred()) SWIG_fail
;
16471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16479 static PyObject
*_wrap_ToolBarToolBase_GetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16480 PyObject
*resultobj
;
16481 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16483 PyObject
* obj0
= 0 ;
16484 char *kwnames
[] = {
16485 (char *) "self", NULL
16488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames
,&obj0
)) goto fail
;
16489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16494 wxBitmap
const &_result_ref
= (arg1
)->GetNormalBitmap();
16495 result
= (wxBitmap
*) &_result_ref
;
16498 wxPyEndAllowThreads(__tstate
);
16499 if (PyErr_Occurred()) SWIG_fail
;
16502 wxBitmap
* resultptr
= new wxBitmap(*result
);
16503 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16511 static PyObject
*_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16512 PyObject
*resultobj
;
16513 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16515 PyObject
* obj0
= 0 ;
16516 char *kwnames
[] = {
16517 (char *) "self", NULL
16520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
16521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16526 wxBitmap
const &_result_ref
= (arg1
)->GetDisabledBitmap();
16527 result
= (wxBitmap
*) &_result_ref
;
16530 wxPyEndAllowThreads(__tstate
);
16531 if (PyErr_Occurred()) SWIG_fail
;
16534 wxBitmap
* resultptr
= new wxBitmap(*result
);
16535 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16543 static PyObject
*_wrap_ToolBarToolBase_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16544 PyObject
*resultobj
;
16545 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16547 PyObject
* obj0
= 0 ;
16548 char *kwnames
[] = {
16549 (char *) "self", NULL
16552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetBitmap",kwnames
,&obj0
)) goto fail
;
16553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16557 result
= (arg1
)->GetBitmap();
16559 wxPyEndAllowThreads(__tstate
);
16560 if (PyErr_Occurred()) SWIG_fail
;
16563 wxBitmap
* resultptr
;
16564 resultptr
= new wxBitmap((wxBitmap
&) result
);
16565 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
16573 static PyObject
*_wrap_ToolBarToolBase_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16574 PyObject
*resultobj
;
16575 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16577 PyObject
* obj0
= 0 ;
16578 char *kwnames
[] = {
16579 (char *) "self", NULL
16582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLabel",kwnames
,&obj0
)) goto fail
;
16583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16587 result
= (arg1
)->GetLabel();
16589 wxPyEndAllowThreads(__tstate
);
16590 if (PyErr_Occurred()) SWIG_fail
;
16594 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16596 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16605 static PyObject
*_wrap_ToolBarToolBase_GetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16606 PyObject
*resultobj
;
16607 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16609 PyObject
* obj0
= 0 ;
16610 char *kwnames
[] = {
16611 (char *) "self", NULL
16614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames
,&obj0
)) goto fail
;
16615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16619 result
= (arg1
)->GetShortHelp();
16621 wxPyEndAllowThreads(__tstate
);
16622 if (PyErr_Occurred()) SWIG_fail
;
16626 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16628 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16637 static PyObject
*_wrap_ToolBarToolBase_GetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16638 PyObject
*resultobj
;
16639 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16641 PyObject
* obj0
= 0 ;
16642 char *kwnames
[] = {
16643 (char *) "self", NULL
16646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames
,&obj0
)) goto fail
;
16647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16651 result
= (arg1
)->GetLongHelp();
16653 wxPyEndAllowThreads(__tstate
);
16654 if (PyErr_Occurred()) SWIG_fail
;
16658 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16660 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16669 static PyObject
*_wrap_ToolBarToolBase_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16670 PyObject
*resultobj
;
16671 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16674 PyObject
* obj0
= 0 ;
16675 PyObject
* obj1
= 0 ;
16676 char *kwnames
[] = {
16677 (char *) "self",(char *) "enable", NULL
16680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
16681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16683 arg2
= (bool)SWIG_As_bool(obj1
);
16684 if (PyErr_Occurred()) SWIG_fail
;
16686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16687 result
= (bool)(arg1
)->Enable(arg2
);
16689 wxPyEndAllowThreads(__tstate
);
16690 if (PyErr_Occurred()) SWIG_fail
;
16693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16701 static PyObject
*_wrap_ToolBarToolBase_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16702 PyObject
*resultobj
;
16703 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16704 PyObject
* obj0
= 0 ;
16705 char *kwnames
[] = {
16706 (char *) "self", NULL
16709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Toggle",kwnames
,&obj0
)) goto fail
;
16710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16716 wxPyEndAllowThreads(__tstate
);
16717 if (PyErr_Occurred()) SWIG_fail
;
16719 Py_INCREF(Py_None
); resultobj
= Py_None
;
16726 static PyObject
*_wrap_ToolBarToolBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16727 PyObject
*resultobj
;
16728 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16731 PyObject
* obj0
= 0 ;
16732 PyObject
* obj1
= 0 ;
16733 char *kwnames
[] = {
16734 (char *) "self",(char *) "toggle", NULL
16737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetToggle",kwnames
,&obj0
,&obj1
)) goto fail
;
16738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16740 arg2
= (bool)SWIG_As_bool(obj1
);
16741 if (PyErr_Occurred()) SWIG_fail
;
16743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16744 result
= (bool)(arg1
)->SetToggle(arg2
);
16746 wxPyEndAllowThreads(__tstate
);
16747 if (PyErr_Occurred()) SWIG_fail
;
16750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16758 static PyObject
*_wrap_ToolBarToolBase_SetShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16759 PyObject
*resultobj
;
16760 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16761 wxString
*arg2
= 0 ;
16763 bool temp2
= False
;
16764 PyObject
* obj0
= 0 ;
16765 PyObject
* obj1
= 0 ;
16766 char *kwnames
[] = {
16767 (char *) "self",(char *) "help", NULL
16770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16774 arg2
= wxString_in_helper(obj1
);
16775 if (arg2
== NULL
) SWIG_fail
;
16779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16780 result
= (bool)(arg1
)->SetShortHelp((wxString
const &)*arg2
);
16782 wxPyEndAllowThreads(__tstate
);
16783 if (PyErr_Occurred()) SWIG_fail
;
16786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16802 static PyObject
*_wrap_ToolBarToolBase_SetLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16803 PyObject
*resultobj
;
16804 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16805 wxString
*arg2
= 0 ;
16807 bool temp2
= False
;
16808 PyObject
* obj0
= 0 ;
16809 PyObject
* obj1
= 0 ;
16810 char *kwnames
[] = {
16811 (char *) "self",(char *) "help", NULL
16814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
16815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16818 arg2
= wxString_in_helper(obj1
);
16819 if (arg2
== NULL
) SWIG_fail
;
16823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16824 result
= (bool)(arg1
)->SetLongHelp((wxString
const &)*arg2
);
16826 wxPyEndAllowThreads(__tstate
);
16827 if (PyErr_Occurred()) SWIG_fail
;
16830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16846 static PyObject
*_wrap_ToolBarToolBase_SetNormalBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16847 PyObject
*resultobj
;
16848 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16849 wxBitmap
*arg2
= 0 ;
16850 PyObject
* obj0
= 0 ;
16851 PyObject
* obj1
= 0 ;
16852 char *kwnames
[] = {
16853 (char *) "self",(char *) "bmp", NULL
16856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
16857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16859 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16860 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16862 if (arg2
== NULL
) {
16863 PyErr_SetString(PyExc_TypeError
,"null reference");
16867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16868 (arg1
)->SetNormalBitmap((wxBitmap
const &)*arg2
);
16870 wxPyEndAllowThreads(__tstate
);
16871 if (PyErr_Occurred()) SWIG_fail
;
16873 Py_INCREF(Py_None
); resultobj
= Py_None
;
16880 static PyObject
*_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16881 PyObject
*resultobj
;
16882 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16883 wxBitmap
*arg2
= 0 ;
16884 PyObject
* obj0
= 0 ;
16885 PyObject
* obj1
= 0 ;
16886 char *kwnames
[] = {
16887 (char *) "self",(char *) "bmp", NULL
16890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
16891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16893 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
16894 SWIG_POINTER_EXCEPTION
| 0)) == -1)
16896 if (arg2
== NULL
) {
16897 PyErr_SetString(PyExc_TypeError
,"null reference");
16901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16902 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
16904 wxPyEndAllowThreads(__tstate
);
16905 if (PyErr_Occurred()) SWIG_fail
;
16907 Py_INCREF(Py_None
); resultobj
= Py_None
;
16914 static PyObject
*_wrap_ToolBarToolBase_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16915 PyObject
*resultobj
;
16916 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16917 wxString
*arg2
= 0 ;
16918 bool temp2
= False
;
16919 PyObject
* obj0
= 0 ;
16920 PyObject
* obj1
= 0 ;
16921 char *kwnames
[] = {
16922 (char *) "self",(char *) "label", NULL
16925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
16926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16929 arg2
= wxString_in_helper(obj1
);
16930 if (arg2
== NULL
) SWIG_fail
;
16934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16935 (arg1
)->SetLabel((wxString
const &)*arg2
);
16937 wxPyEndAllowThreads(__tstate
);
16938 if (PyErr_Occurred()) SWIG_fail
;
16940 Py_INCREF(Py_None
); resultobj
= Py_None
;
16955 static PyObject
*_wrap_ToolBarToolBase_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16956 PyObject
*resultobj
;
16957 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16958 PyObject
* obj0
= 0 ;
16959 char *kwnames
[] = {
16960 (char *) "self", NULL
16963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_Detach",kwnames
,&obj0
)) goto fail
;
16964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16970 wxPyEndAllowThreads(__tstate
);
16971 if (PyErr_Occurred()) SWIG_fail
;
16973 Py_INCREF(Py_None
); resultobj
= Py_None
;
16980 static PyObject
*_wrap_ToolBarToolBase_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16981 PyObject
*resultobj
;
16982 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
16983 wxToolBarBase
*arg2
= (wxToolBarBase
*) 0 ;
16984 PyObject
* obj0
= 0 ;
16985 PyObject
* obj1
= 0 ;
16986 char *kwnames
[] = {
16987 (char *) "self",(char *) "tbar", NULL
16990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
16991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
16992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16993 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarBase
,
16994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16997 (arg1
)->Attach(arg2
);
16999 wxPyEndAllowThreads(__tstate
);
17000 if (PyErr_Occurred()) SWIG_fail
;
17002 Py_INCREF(Py_None
); resultobj
= Py_None
;
17009 static PyObject
*_wrap_ToolBarToolBase_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17010 PyObject
*resultobj
;
17011 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17013 PyObject
* obj0
= 0 ;
17014 char *kwnames
[] = {
17015 (char *) "self", NULL
17018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarToolBase_GetClientData",kwnames
,&obj0
)) goto fail
;
17019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17023 result
= (PyObject
*)wxToolBarToolBase_GetClientData(arg1
);
17025 wxPyEndAllowThreads(__tstate
);
17026 if (PyErr_Occurred()) SWIG_fail
;
17028 resultobj
= result
;
17035 static PyObject
*_wrap_ToolBarToolBase_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17036 PyObject
*resultobj
;
17037 wxToolBarToolBase
*arg1
= (wxToolBarToolBase
*) 0 ;
17038 PyObject
*arg2
= (PyObject
*) 0 ;
17039 PyObject
* obj0
= 0 ;
17040 PyObject
* obj1
= 0 ;
17041 char *kwnames
[] = {
17042 (char *) "self",(char *) "clientData", NULL
17045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarToolBase_SetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
17046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarToolBase
,
17047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17051 wxToolBarToolBase_SetClientData(arg1
,arg2
);
17053 wxPyEndAllowThreads(__tstate
);
17054 if (PyErr_Occurred()) SWIG_fail
;
17056 Py_INCREF(Py_None
); resultobj
= Py_None
;
17063 static PyObject
* ToolBarToolBase_swigregister(PyObject
*, PyObject
*args
) {
17065 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17066 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase
, obj
);
17068 return Py_BuildValue((char *)"");
17070 static PyObject
*_wrap_ToolBarBase_DoAddTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17071 PyObject
*resultobj
;
17072 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17074 wxString
*arg3
= 0 ;
17075 wxBitmap
*arg4
= 0 ;
17076 wxBitmap
const &arg5_defvalue
= wxNullBitmap
;
17077 wxBitmap
*arg5
= (wxBitmap
*) &arg5_defvalue
;
17078 int arg6
= (int) wxITEM_NORMAL
;
17079 wxString
const &arg7_defvalue
= wxPyEmptyString
;
17080 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17081 wxString
const &arg8_defvalue
= wxPyEmptyString
;
17082 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17083 PyObject
*arg9
= (PyObject
*) NULL
;
17084 wxToolBarToolBase
*result
;
17085 bool temp3
= False
;
17086 bool temp7
= False
;
17087 bool temp8
= False
;
17088 PyObject
* obj0
= 0 ;
17089 PyObject
* obj1
= 0 ;
17090 PyObject
* obj2
= 0 ;
17091 PyObject
* obj3
= 0 ;
17092 PyObject
* obj4
= 0 ;
17093 PyObject
* obj5
= 0 ;
17094 PyObject
* obj6
= 0 ;
17095 PyObject
* obj7
= 0 ;
17096 PyObject
* obj8
= 0 ;
17097 char *kwnames
[] = {
17098 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
17101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOOO:ToolBarBase_DoAddTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
17102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17104 arg2
= (int)SWIG_As_int(obj1
);
17105 if (PyErr_Occurred()) SWIG_fail
;
17107 arg3
= wxString_in_helper(obj2
);
17108 if (arg3
== NULL
) SWIG_fail
;
17111 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxBitmap
,
17112 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17114 if (arg4
== NULL
) {
17115 PyErr_SetString(PyExc_TypeError
,"null reference");
17119 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
17120 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17122 if (arg5
== NULL
) {
17123 PyErr_SetString(PyExc_TypeError
,"null reference");
17128 arg6
= (int)SWIG_As_int(obj5
);
17129 if (PyErr_Occurred()) SWIG_fail
;
17133 arg7
= wxString_in_helper(obj6
);
17134 if (arg7
== NULL
) SWIG_fail
;
17140 arg8
= wxString_in_helper(obj7
);
17141 if (arg8
== NULL
) SWIG_fail
;
17149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17150 result
= (wxToolBarToolBase
*)wxToolBarBase_DoAddTool(arg1
,arg2
,(wxString
const &)*arg3
,(wxBitmap
const &)*arg4
,(wxBitmap
const &)*arg5
,(wxItemKind
)arg6
,(wxString
const &)*arg7
,(wxString
const &)*arg8
,arg9
);
17152 wxPyEndAllowThreads(__tstate
);
17153 if (PyErr_Occurred()) SWIG_fail
;
17156 resultobj
= wxPyMake_wxObject(result
, 0);
17188 static PyObject
*_wrap_ToolBarBase_DoInsertTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17189 PyObject
*resultobj
;
17190 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17193 wxString
*arg4
= 0 ;
17194 wxBitmap
*arg5
= 0 ;
17195 wxBitmap
const &arg6_defvalue
= wxNullBitmap
;
17196 wxBitmap
*arg6
= (wxBitmap
*) &arg6_defvalue
;
17197 int arg7
= (int) wxITEM_NORMAL
;
17198 wxString
const &arg8_defvalue
= wxPyEmptyString
;
17199 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
17200 wxString
const &arg9_defvalue
= wxPyEmptyString
;
17201 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
17202 PyObject
*arg10
= (PyObject
*) NULL
;
17203 wxToolBarToolBase
*result
;
17204 bool temp4
= False
;
17205 bool temp8
= False
;
17206 bool temp9
= False
;
17207 PyObject
* obj0
= 0 ;
17208 PyObject
* obj1
= 0 ;
17209 PyObject
* obj2
= 0 ;
17210 PyObject
* obj3
= 0 ;
17211 PyObject
* obj4
= 0 ;
17212 PyObject
* obj5
= 0 ;
17213 PyObject
* obj6
= 0 ;
17214 PyObject
* obj7
= 0 ;
17215 PyObject
* obj8
= 0 ;
17216 PyObject
* obj9
= 0 ;
17217 char *kwnames
[] = {
17218 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
17221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOOOO:ToolBarBase_DoInsertTool",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
17222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17224 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17225 if (PyErr_Occurred()) SWIG_fail
;
17226 arg3
= (int)SWIG_As_int(obj2
);
17227 if (PyErr_Occurred()) SWIG_fail
;
17229 arg4
= wxString_in_helper(obj3
);
17230 if (arg4
== NULL
) SWIG_fail
;
17233 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxBitmap
,
17234 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17236 if (arg5
== NULL
) {
17237 PyErr_SetString(PyExc_TypeError
,"null reference");
17241 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxBitmap
,
17242 SWIG_POINTER_EXCEPTION
| 0)) == -1)
17244 if (arg6
== NULL
) {
17245 PyErr_SetString(PyExc_TypeError
,"null reference");
17250 arg7
= (int)SWIG_As_int(obj6
);
17251 if (PyErr_Occurred()) SWIG_fail
;
17255 arg8
= wxString_in_helper(obj7
);
17256 if (arg8
== NULL
) SWIG_fail
;
17262 arg9
= wxString_in_helper(obj8
);
17263 if (arg9
== NULL
) SWIG_fail
;
17271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17272 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
);
17274 wxPyEndAllowThreads(__tstate
);
17275 if (PyErr_Occurred()) SWIG_fail
;
17278 resultobj
= wxPyMake_wxObject(result
, 0);
17310 static PyObject
*_wrap_ToolBarBase_AddToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17311 PyObject
*resultobj
;
17312 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17313 wxToolBarToolBase
*arg2
= (wxToolBarToolBase
*) 0 ;
17314 wxToolBarToolBase
*result
;
17315 PyObject
* obj0
= 0 ;
17316 PyObject
* obj1
= 0 ;
17317 char *kwnames
[] = {
17318 (char *) "self",(char *) "tool", NULL
17321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddToolItem",kwnames
,&obj0
,&obj1
)) goto fail
;
17322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17324 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolBarToolBase
,
17325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17328 result
= (wxToolBarToolBase
*)(arg1
)->AddTool(arg2
);
17330 wxPyEndAllowThreads(__tstate
);
17331 if (PyErr_Occurred()) SWIG_fail
;
17334 resultobj
= wxPyMake_wxObject(result
, 0);
17342 static PyObject
*_wrap_ToolBarBase_InsertToolItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17343 PyObject
*resultobj
;
17344 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17346 wxToolBarToolBase
*arg3
= (wxToolBarToolBase
*) 0 ;
17347 wxToolBarToolBase
*result
;
17348 PyObject
* obj0
= 0 ;
17349 PyObject
* obj1
= 0 ;
17350 PyObject
* obj2
= 0 ;
17351 char *kwnames
[] = {
17352 (char *) "self",(char *) "pos",(char *) "tool", NULL
17355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17358 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17359 if (PyErr_Occurred()) SWIG_fail
;
17360 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxToolBarToolBase
,
17361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17364 result
= (wxToolBarToolBase
*)(arg1
)->InsertTool(arg2
,arg3
);
17366 wxPyEndAllowThreads(__tstate
);
17367 if (PyErr_Occurred()) SWIG_fail
;
17370 resultobj
= wxPyMake_wxObject(result
, 0);
17378 static PyObject
*_wrap_ToolBarBase_AddControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17379 PyObject
*resultobj
;
17380 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17381 wxControl
*arg2
= (wxControl
*) 0 ;
17382 wxToolBarToolBase
*result
;
17383 PyObject
* obj0
= 0 ;
17384 PyObject
* obj1
= 0 ;
17385 char *kwnames
[] = {
17386 (char *) "self",(char *) "control", NULL
17389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_AddControl",kwnames
,&obj0
,&obj1
)) goto fail
;
17390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17392 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxControl
,
17393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17396 result
= (wxToolBarToolBase
*)(arg1
)->AddControl(arg2
);
17398 wxPyEndAllowThreads(__tstate
);
17399 if (PyErr_Occurred()) SWIG_fail
;
17402 resultobj
= wxPyMake_wxObject(result
, 0);
17410 static PyObject
*_wrap_ToolBarBase_InsertControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17411 PyObject
*resultobj
;
17412 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17414 wxControl
*arg3
= (wxControl
*) 0 ;
17415 wxToolBarToolBase
*result
;
17416 PyObject
* obj0
= 0 ;
17417 PyObject
* obj1
= 0 ;
17418 PyObject
* obj2
= 0 ;
17419 char *kwnames
[] = {
17420 (char *) "self",(char *) "pos",(char *) "control", NULL
17423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_InsertControl",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17426 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17427 if (PyErr_Occurred()) SWIG_fail
;
17428 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxControl
,
17429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17432 result
= (wxToolBarToolBase
*)(arg1
)->InsertControl(arg2
,arg3
);
17434 wxPyEndAllowThreads(__tstate
);
17435 if (PyErr_Occurred()) SWIG_fail
;
17438 resultobj
= wxPyMake_wxObject(result
, 0);
17446 static PyObject
*_wrap_ToolBarBase_FindControl(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 *) "id", NULL
17457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindControl",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
= (int)SWIG_As_int(obj1
);
17461 if (PyErr_Occurred()) SWIG_fail
;
17463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17464 result
= (wxControl
*)(arg1
)->FindControl(arg2
);
17466 wxPyEndAllowThreads(__tstate
);
17467 if (PyErr_Occurred()) SWIG_fail
;
17470 resultobj
= wxPyMake_wxObject(result
, 0);
17478 static PyObject
*_wrap_ToolBarBase_AddSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17479 PyObject
*resultobj
;
17480 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17481 wxToolBarToolBase
*result
;
17482 PyObject
* obj0
= 0 ;
17483 char *kwnames
[] = {
17484 (char *) "self", NULL
17487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_AddSeparator",kwnames
,&obj0
)) goto fail
;
17488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17492 result
= (wxToolBarToolBase
*)(arg1
)->AddSeparator();
17494 wxPyEndAllowThreads(__tstate
);
17495 if (PyErr_Occurred()) SWIG_fail
;
17498 resultobj
= wxPyMake_wxObject(result
, 0);
17506 static PyObject
*_wrap_ToolBarBase_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17507 PyObject
*resultobj
;
17508 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17510 wxToolBarToolBase
*result
;
17511 PyObject
* obj0
= 0 ;
17512 PyObject
* obj1
= 0 ;
17513 char *kwnames
[] = {
17514 (char *) "self",(char *) "pos", NULL
17517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
17518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17520 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17521 if (PyErr_Occurred()) SWIG_fail
;
17523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17524 result
= (wxToolBarToolBase
*)(arg1
)->InsertSeparator(arg2
);
17526 wxPyEndAllowThreads(__tstate
);
17527 if (PyErr_Occurred()) SWIG_fail
;
17530 resultobj
= wxPyMake_wxObject(result
, 0);
17538 static PyObject
*_wrap_ToolBarBase_RemoveTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17539 PyObject
*resultobj
;
17540 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17542 wxToolBarToolBase
*result
;
17543 PyObject
* obj0
= 0 ;
17544 PyObject
* obj1
= 0 ;
17545 char *kwnames
[] = {
17546 (char *) "self",(char *) "id", NULL
17549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_RemoveTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17552 arg2
= (int)SWIG_As_int(obj1
);
17553 if (PyErr_Occurred()) SWIG_fail
;
17555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17556 result
= (wxToolBarToolBase
*)(arg1
)->RemoveTool(arg2
);
17558 wxPyEndAllowThreads(__tstate
);
17559 if (PyErr_Occurred()) SWIG_fail
;
17562 resultobj
= wxPyMake_wxObject(result
, 0);
17570 static PyObject
*_wrap_ToolBarBase_DeleteToolByPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17571 PyObject
*resultobj
;
17572 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17575 PyObject
* obj0
= 0 ;
17576 PyObject
* obj1
= 0 ;
17577 char *kwnames
[] = {
17578 (char *) "self",(char *) "pos", NULL
17581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17584 arg2
= (size_t)SWIG_As_unsigned_SS_long(obj1
);
17585 if (PyErr_Occurred()) SWIG_fail
;
17587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17588 result
= (bool)(arg1
)->DeleteToolByPos(arg2
);
17590 wxPyEndAllowThreads(__tstate
);
17591 if (PyErr_Occurred()) SWIG_fail
;
17594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17602 static PyObject
*_wrap_ToolBarBase_DeleteTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17603 PyObject
*resultobj
;
17604 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17607 PyObject
* obj0
= 0 ;
17608 PyObject
* obj1
= 0 ;
17609 char *kwnames
[] = {
17610 (char *) "self",(char *) "id", NULL
17613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_DeleteTool",kwnames
,&obj0
,&obj1
)) goto fail
;
17614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17616 arg2
= (int)SWIG_As_int(obj1
);
17617 if (PyErr_Occurred()) SWIG_fail
;
17619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17620 result
= (bool)(arg1
)->DeleteTool(arg2
);
17622 wxPyEndAllowThreads(__tstate
);
17623 if (PyErr_Occurred()) SWIG_fail
;
17626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17634 static PyObject
*_wrap_ToolBarBase_ClearTools(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17635 PyObject
*resultobj
;
17636 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17637 PyObject
* obj0
= 0 ;
17638 char *kwnames
[] = {
17639 (char *) "self", NULL
17642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_ClearTools",kwnames
,&obj0
)) goto fail
;
17643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17647 (arg1
)->ClearTools();
17649 wxPyEndAllowThreads(__tstate
);
17650 if (PyErr_Occurred()) SWIG_fail
;
17652 Py_INCREF(Py_None
); resultobj
= Py_None
;
17659 static PyObject
*_wrap_ToolBarBase_Realize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17660 PyObject
*resultobj
;
17661 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17663 PyObject
* obj0
= 0 ;
17664 char *kwnames
[] = {
17665 (char *) "self", NULL
17668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_Realize",kwnames
,&obj0
)) goto fail
;
17669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17673 result
= (bool)(arg1
)->Realize();
17675 wxPyEndAllowThreads(__tstate
);
17676 if (PyErr_Occurred()) SWIG_fail
;
17679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17687 static PyObject
*_wrap_ToolBarBase_EnableTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17688 PyObject
*resultobj
;
17689 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17692 PyObject
* obj0
= 0 ;
17693 PyObject
* obj1
= 0 ;
17694 PyObject
* obj2
= 0 ;
17695 char *kwnames
[] = {
17696 (char *) "self",(char *) "id",(char *) "enable", NULL
17699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_EnableTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17702 arg2
= (int)SWIG_As_int(obj1
);
17703 if (PyErr_Occurred()) SWIG_fail
;
17704 arg3
= (bool)SWIG_As_bool(obj2
);
17705 if (PyErr_Occurred()) SWIG_fail
;
17707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17708 (arg1
)->EnableTool(arg2
,arg3
);
17710 wxPyEndAllowThreads(__tstate
);
17711 if (PyErr_Occurred()) SWIG_fail
;
17713 Py_INCREF(Py_None
); resultobj
= Py_None
;
17720 static PyObject
*_wrap_ToolBarBase_ToggleTool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17721 PyObject
*resultobj
;
17722 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17725 PyObject
* obj0
= 0 ;
17726 PyObject
* obj1
= 0 ;
17727 PyObject
* obj2
= 0 ;
17728 char *kwnames
[] = {
17729 (char *) "self",(char *) "id",(char *) "toggle", NULL
17732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_ToggleTool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17735 arg2
= (int)SWIG_As_int(obj1
);
17736 if (PyErr_Occurred()) SWIG_fail
;
17737 arg3
= (bool)SWIG_As_bool(obj2
);
17738 if (PyErr_Occurred()) SWIG_fail
;
17740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17741 (arg1
)->ToggleTool(arg2
,arg3
);
17743 wxPyEndAllowThreads(__tstate
);
17744 if (PyErr_Occurred()) SWIG_fail
;
17746 Py_INCREF(Py_None
); resultobj
= Py_None
;
17753 static PyObject
*_wrap_ToolBarBase_SetToggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17754 PyObject
*resultobj
;
17755 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17758 PyObject
* obj0
= 0 ;
17759 PyObject
* obj1
= 0 ;
17760 PyObject
* obj2
= 0 ;
17761 char *kwnames
[] = {
17762 (char *) "self",(char *) "id",(char *) "toggle", NULL
17765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToggle",kwnames
,&obj0
,&obj1
,&obj2
)) 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
;
17770 arg3
= (bool)SWIG_As_bool(obj2
);
17771 if (PyErr_Occurred()) SWIG_fail
;
17773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17774 (arg1
)->SetToggle(arg2
,arg3
);
17776 wxPyEndAllowThreads(__tstate
);
17777 if (PyErr_Occurred()) SWIG_fail
;
17779 Py_INCREF(Py_None
); resultobj
= Py_None
;
17786 static PyObject
*_wrap_ToolBarBase_GetToolClientData(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_GetToolClientData",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
= (PyObject
*)wxToolBarBase_GetToolClientData(arg1
,arg2
);
17806 wxPyEndAllowThreads(__tstate
);
17807 if (PyErr_Occurred()) SWIG_fail
;
17809 resultobj
= result
;
17816 static PyObject
*_wrap_ToolBarBase_SetToolClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17817 PyObject
*resultobj
;
17818 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17820 PyObject
*arg3
= (PyObject
*) 0 ;
17821 PyObject
* obj0
= 0 ;
17822 PyObject
* obj1
= 0 ;
17823 PyObject
* obj2
= 0 ;
17824 char *kwnames
[] = {
17825 (char *) "self",(char *) "id",(char *) "clientData", NULL
17828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17831 arg2
= (int)SWIG_As_int(obj1
);
17832 if (PyErr_Occurred()) SWIG_fail
;
17835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17836 wxToolBarBase_SetToolClientData(arg1
,arg2
,arg3
);
17838 wxPyEndAllowThreads(__tstate
);
17839 if (PyErr_Occurred()) SWIG_fail
;
17841 Py_INCREF(Py_None
); resultobj
= Py_None
;
17848 static PyObject
*_wrap_ToolBarBase_GetToolPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17849 PyObject
*resultobj
;
17850 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17853 PyObject
* obj0
= 0 ;
17854 PyObject
* obj1
= 0 ;
17855 char *kwnames
[] = {
17856 (char *) "self",(char *) "id", NULL
17859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolPos",kwnames
,&obj0
,&obj1
)) goto fail
;
17860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17862 arg2
= (int)SWIG_As_int(obj1
);
17863 if (PyErr_Occurred()) SWIG_fail
;
17865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17866 result
= (int)((wxToolBarBase
const *)arg1
)->GetToolPos(arg2
);
17868 wxPyEndAllowThreads(__tstate
);
17869 if (PyErr_Occurred()) SWIG_fail
;
17871 resultobj
= SWIG_From_int((int)result
);
17878 static PyObject
*_wrap_ToolBarBase_GetToolState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17879 PyObject
*resultobj
;
17880 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17883 PyObject
* obj0
= 0 ;
17884 PyObject
* obj1
= 0 ;
17885 char *kwnames
[] = {
17886 (char *) "self",(char *) "id", NULL
17889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolState",kwnames
,&obj0
,&obj1
)) goto fail
;
17890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17892 arg2
= (int)SWIG_As_int(obj1
);
17893 if (PyErr_Occurred()) SWIG_fail
;
17895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17896 result
= (bool)(arg1
)->GetToolState(arg2
);
17898 wxPyEndAllowThreads(__tstate
);
17899 if (PyErr_Occurred()) SWIG_fail
;
17902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17910 static PyObject
*_wrap_ToolBarBase_GetToolEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17911 PyObject
*resultobj
;
17912 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17915 PyObject
* obj0
= 0 ;
17916 PyObject
* obj1
= 0 ;
17917 char *kwnames
[] = {
17918 (char *) "self",(char *) "id", NULL
17921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
17922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
17923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17924 arg2
= (int)SWIG_As_int(obj1
);
17925 if (PyErr_Occurred()) SWIG_fail
;
17927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17928 result
= (bool)(arg1
)->GetToolEnabled(arg2
);
17930 wxPyEndAllowThreads(__tstate
);
17931 if (PyErr_Occurred()) SWIG_fail
;
17934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17942 static PyObject
*_wrap_ToolBarBase_SetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17943 PyObject
*resultobj
;
17944 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17946 wxString
*arg3
= 0 ;
17947 bool temp3
= False
;
17948 PyObject
* obj0
= 0 ;
17949 PyObject
* obj1
= 0 ;
17950 PyObject
* obj2
= 0 ;
17951 char *kwnames
[] = {
17952 (char *) "self",(char *) "id",(char *) "helpString", NULL
17955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolShortHelp",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg3
= wxString_in_helper(obj2
);
17962 if (arg3
== NULL
) SWIG_fail
;
17966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17967 (arg1
)->SetToolShortHelp(arg2
,(wxString
const &)*arg3
);
17969 wxPyEndAllowThreads(__tstate
);
17970 if (PyErr_Occurred()) SWIG_fail
;
17972 Py_INCREF(Py_None
); resultobj
= Py_None
;
17987 static PyObject
*_wrap_ToolBarBase_GetToolShortHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17988 PyObject
*resultobj
;
17989 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
17992 PyObject
* obj0
= 0 ;
17993 PyObject
* obj1
= 0 ;
17994 char *kwnames
[] = {
17995 (char *) "self",(char *) "id", NULL
17998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolShortHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
17999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18001 arg2
= (int)SWIG_As_int(obj1
);
18002 if (PyErr_Occurred()) SWIG_fail
;
18004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18005 result
= (arg1
)->GetToolShortHelp(arg2
);
18007 wxPyEndAllowThreads(__tstate
);
18008 if (PyErr_Occurred()) SWIG_fail
;
18012 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18014 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18023 static PyObject
*_wrap_ToolBarBase_SetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18024 PyObject
*resultobj
;
18025 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18027 wxString
*arg3
= 0 ;
18028 bool temp3
= False
;
18029 PyObject
* obj0
= 0 ;
18030 PyObject
* obj1
= 0 ;
18031 PyObject
* obj2
= 0 ;
18032 char *kwnames
[] = {
18033 (char *) "self",(char *) "id",(char *) "helpString", NULL
18036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetToolLongHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18039 arg2
= (int)SWIG_As_int(obj1
);
18040 if (PyErr_Occurred()) SWIG_fail
;
18042 arg3
= wxString_in_helper(obj2
);
18043 if (arg3
== NULL
) SWIG_fail
;
18047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18048 (arg1
)->SetToolLongHelp(arg2
,(wxString
const &)*arg3
);
18050 wxPyEndAllowThreads(__tstate
);
18051 if (PyErr_Occurred()) SWIG_fail
;
18053 Py_INCREF(Py_None
); resultobj
= Py_None
;
18068 static PyObject
*_wrap_ToolBarBase_GetToolLongHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18069 PyObject
*resultobj
;
18070 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18073 PyObject
* obj0
= 0 ;
18074 PyObject
* obj1
= 0 ;
18075 char *kwnames
[] = {
18076 (char *) "self",(char *) "id", NULL
18079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_GetToolLongHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
18080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18082 arg2
= (int)SWIG_As_int(obj1
);
18083 if (PyErr_Occurred()) SWIG_fail
;
18085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18086 result
= (arg1
)->GetToolLongHelp(arg2
);
18088 wxPyEndAllowThreads(__tstate
);
18089 if (PyErr_Occurred()) SWIG_fail
;
18093 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18095 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18104 static PyObject
*_wrap_ToolBarBase_SetMarginsXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18105 PyObject
*resultobj
;
18106 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18109 PyObject
* obj0
= 0 ;
18110 PyObject
* obj1
= 0 ;
18111 PyObject
* obj2
= 0 ;
18112 char *kwnames
[] = {
18113 (char *) "self",(char *) "x",(char *) "y", NULL
18116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18119 arg2
= (int)SWIG_As_int(obj1
);
18120 if (PyErr_Occurred()) SWIG_fail
;
18121 arg3
= (int)SWIG_As_int(obj2
);
18122 if (PyErr_Occurred()) SWIG_fail
;
18124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18125 (arg1
)->SetMargins(arg2
,arg3
);
18127 wxPyEndAllowThreads(__tstate
);
18128 if (PyErr_Occurred()) SWIG_fail
;
18130 Py_INCREF(Py_None
); resultobj
= Py_None
;
18137 static PyObject
*_wrap_ToolBarBase_SetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18138 PyObject
*resultobj
;
18139 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18142 PyObject
* obj0
= 0 ;
18143 PyObject
* obj1
= 0 ;
18144 char *kwnames
[] = {
18145 (char *) "self",(char *) "size", NULL
18148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetMargins",kwnames
,&obj0
,&obj1
)) goto fail
;
18149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18153 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18157 (arg1
)->SetMargins((wxSize
const &)*arg2
);
18159 wxPyEndAllowThreads(__tstate
);
18160 if (PyErr_Occurred()) SWIG_fail
;
18162 Py_INCREF(Py_None
); resultobj
= Py_None
;
18169 static PyObject
*_wrap_ToolBarBase_SetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18170 PyObject
*resultobj
;
18171 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18173 PyObject
* obj0
= 0 ;
18174 PyObject
* obj1
= 0 ;
18175 char *kwnames
[] = {
18176 (char *) "self",(char *) "packing", NULL
18179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolPacking",kwnames
,&obj0
,&obj1
)) goto fail
;
18180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18182 arg2
= (int)SWIG_As_int(obj1
);
18183 if (PyErr_Occurred()) SWIG_fail
;
18185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18186 (arg1
)->SetToolPacking(arg2
);
18188 wxPyEndAllowThreads(__tstate
);
18189 if (PyErr_Occurred()) SWIG_fail
;
18191 Py_INCREF(Py_None
); resultobj
= Py_None
;
18198 static PyObject
*_wrap_ToolBarBase_SetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18199 PyObject
*resultobj
;
18200 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18202 PyObject
* obj0
= 0 ;
18203 PyObject
* obj1
= 0 ;
18204 char *kwnames
[] = {
18205 (char *) "self",(char *) "separation", NULL
18208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolSeparation",kwnames
,&obj0
,&obj1
)) goto fail
;
18209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18211 arg2
= (int)SWIG_As_int(obj1
);
18212 if (PyErr_Occurred()) SWIG_fail
;
18214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18215 (arg1
)->SetToolSeparation(arg2
);
18217 wxPyEndAllowThreads(__tstate
);
18218 if (PyErr_Occurred()) SWIG_fail
;
18220 Py_INCREF(Py_None
); resultobj
= Py_None
;
18227 static PyObject
*_wrap_ToolBarBase_GetToolMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18228 PyObject
*resultobj
;
18229 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18231 PyObject
* obj0
= 0 ;
18232 char *kwnames
[] = {
18233 (char *) "self", NULL
18236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolMargins",kwnames
,&obj0
)) goto fail
;
18237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18241 result
= (arg1
)->GetToolMargins();
18243 wxPyEndAllowThreads(__tstate
);
18244 if (PyErr_Occurred()) SWIG_fail
;
18247 wxSize
* resultptr
;
18248 resultptr
= new wxSize((wxSize
&) result
);
18249 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18257 static PyObject
*_wrap_ToolBarBase_GetMargins(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18258 PyObject
*resultobj
;
18259 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18261 PyObject
* obj0
= 0 ;
18262 char *kwnames
[] = {
18263 (char *) "self", NULL
18266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMargins",kwnames
,&obj0
)) goto fail
;
18267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18271 result
= (arg1
)->GetMargins();
18273 wxPyEndAllowThreads(__tstate
);
18274 if (PyErr_Occurred()) SWIG_fail
;
18277 wxSize
* resultptr
;
18278 resultptr
= new wxSize((wxSize
&) result
);
18279 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18287 static PyObject
*_wrap_ToolBarBase_GetToolPacking(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18288 PyObject
*resultobj
;
18289 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18291 PyObject
* obj0
= 0 ;
18292 char *kwnames
[] = {
18293 (char *) "self", NULL
18296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolPacking",kwnames
,&obj0
)) goto fail
;
18297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18301 result
= (int)(arg1
)->GetToolPacking();
18303 wxPyEndAllowThreads(__tstate
);
18304 if (PyErr_Occurred()) SWIG_fail
;
18306 resultobj
= SWIG_From_int((int)result
);
18313 static PyObject
*_wrap_ToolBarBase_GetToolSeparation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18314 PyObject
*resultobj
;
18315 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18317 PyObject
* obj0
= 0 ;
18318 char *kwnames
[] = {
18319 (char *) "self", NULL
18322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSeparation",kwnames
,&obj0
)) goto fail
;
18323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18327 result
= (int)(arg1
)->GetToolSeparation();
18329 wxPyEndAllowThreads(__tstate
);
18330 if (PyErr_Occurred()) SWIG_fail
;
18332 resultobj
= SWIG_From_int((int)result
);
18339 static PyObject
*_wrap_ToolBarBase_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18340 PyObject
*resultobj
;
18341 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18343 PyObject
* obj0
= 0 ;
18344 PyObject
* obj1
= 0 ;
18345 char *kwnames
[] = {
18346 (char *) "self",(char *) "nRows", NULL
18349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
18350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18352 arg2
= (int)SWIG_As_int(obj1
);
18353 if (PyErr_Occurred()) SWIG_fail
;
18355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18356 (arg1
)->SetRows(arg2
);
18358 wxPyEndAllowThreads(__tstate
);
18359 if (PyErr_Occurred()) SWIG_fail
;
18361 Py_INCREF(Py_None
); resultobj
= Py_None
;
18368 static PyObject
*_wrap_ToolBarBase_SetMaxRowsCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18369 PyObject
*resultobj
;
18370 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18373 PyObject
* obj0
= 0 ;
18374 PyObject
* obj1
= 0 ;
18375 PyObject
* obj2
= 0 ;
18376 char *kwnames
[] = {
18377 (char *) "self",(char *) "rows",(char *) "cols", NULL
18380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_SetMaxRowsCols",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18383 arg2
= (int)SWIG_As_int(obj1
);
18384 if (PyErr_Occurred()) SWIG_fail
;
18385 arg3
= (int)SWIG_As_int(obj2
);
18386 if (PyErr_Occurred()) SWIG_fail
;
18388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18389 (arg1
)->SetMaxRowsCols(arg2
,arg3
);
18391 wxPyEndAllowThreads(__tstate
);
18392 if (PyErr_Occurred()) SWIG_fail
;
18394 Py_INCREF(Py_None
); resultobj
= Py_None
;
18401 static PyObject
*_wrap_ToolBarBase_GetMaxRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18402 PyObject
*resultobj
;
18403 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18405 PyObject
* obj0
= 0 ;
18406 char *kwnames
[] = {
18407 (char *) "self", NULL
18410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxRows",kwnames
,&obj0
)) goto fail
;
18411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18415 result
= (int)(arg1
)->GetMaxRows();
18417 wxPyEndAllowThreads(__tstate
);
18418 if (PyErr_Occurred()) SWIG_fail
;
18420 resultobj
= SWIG_From_int((int)result
);
18427 static PyObject
*_wrap_ToolBarBase_GetMaxCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18428 PyObject
*resultobj
;
18429 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18431 PyObject
* obj0
= 0 ;
18432 char *kwnames
[] = {
18433 (char *) "self", NULL
18436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetMaxCols",kwnames
,&obj0
)) goto fail
;
18437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18441 result
= (int)(arg1
)->GetMaxCols();
18443 wxPyEndAllowThreads(__tstate
);
18444 if (PyErr_Occurred()) SWIG_fail
;
18446 resultobj
= SWIG_From_int((int)result
);
18453 static PyObject
*_wrap_ToolBarBase_SetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18454 PyObject
*resultobj
;
18455 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18458 PyObject
* obj0
= 0 ;
18459 PyObject
* obj1
= 0 ;
18460 char *kwnames
[] = {
18461 (char *) "self",(char *) "size", NULL
18464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames
,&obj0
,&obj1
)) goto fail
;
18465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18469 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
18472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18473 (arg1
)->SetToolBitmapSize((wxSize
const &)*arg2
);
18475 wxPyEndAllowThreads(__tstate
);
18476 if (PyErr_Occurred()) SWIG_fail
;
18478 Py_INCREF(Py_None
); resultobj
= Py_None
;
18485 static PyObject
*_wrap_ToolBarBase_GetToolBitmapSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18486 PyObject
*resultobj
;
18487 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18489 PyObject
* obj0
= 0 ;
18490 char *kwnames
[] = {
18491 (char *) "self", NULL
18494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames
,&obj0
)) goto fail
;
18495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18499 result
= (arg1
)->GetToolBitmapSize();
18501 wxPyEndAllowThreads(__tstate
);
18502 if (PyErr_Occurred()) SWIG_fail
;
18505 wxSize
* resultptr
;
18506 resultptr
= new wxSize((wxSize
&) result
);
18507 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18515 static PyObject
*_wrap_ToolBarBase_GetToolSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18516 PyObject
*resultobj
;
18517 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18519 PyObject
* obj0
= 0 ;
18520 char *kwnames
[] = {
18521 (char *) "self", NULL
18524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_GetToolSize",kwnames
,&obj0
)) goto fail
;
18525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18529 result
= (arg1
)->GetToolSize();
18531 wxPyEndAllowThreads(__tstate
);
18532 if (PyErr_Occurred()) SWIG_fail
;
18535 wxSize
* resultptr
;
18536 resultptr
= new wxSize((wxSize
&) result
);
18537 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
18545 static PyObject
*_wrap_ToolBarBase_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18546 PyObject
*resultobj
;
18547 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18550 wxToolBarToolBase
*result
;
18551 PyObject
* obj0
= 0 ;
18552 PyObject
* obj1
= 0 ;
18553 PyObject
* obj2
= 0 ;
18554 char *kwnames
[] = {
18555 (char *) "self",(char *) "x",(char *) "y", NULL
18558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBarBase_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18561 arg2
= (int)SWIG_As_int(obj1
);
18562 if (PyErr_Occurred()) SWIG_fail
;
18563 arg3
= (int)SWIG_As_int(obj2
);
18564 if (PyErr_Occurred()) SWIG_fail
;
18566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18567 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18569 wxPyEndAllowThreads(__tstate
);
18570 if (PyErr_Occurred()) SWIG_fail
;
18573 resultobj
= wxPyMake_wxObject(result
, 0);
18581 static PyObject
*_wrap_ToolBarBase_FindById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18582 PyObject
*resultobj
;
18583 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18585 wxToolBarToolBase
*result
;
18586 PyObject
* obj0
= 0 ;
18587 PyObject
* obj1
= 0 ;
18588 char *kwnames
[] = {
18589 (char *) "self",(char *) "toolid", NULL
18592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolBarBase_FindById",kwnames
,&obj0
,&obj1
)) goto fail
;
18593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18595 arg2
= (int)SWIG_As_int(obj1
);
18596 if (PyErr_Occurred()) SWIG_fail
;
18598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18599 result
= (wxToolBarToolBase
*)((wxToolBarBase
const *)arg1
)->FindById(arg2
);
18601 wxPyEndAllowThreads(__tstate
);
18602 if (PyErr_Occurred()) SWIG_fail
;
18605 resultobj
= wxPyMake_wxObject(result
, 0);
18613 static PyObject
*_wrap_ToolBarBase_IsVertical(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18614 PyObject
*resultobj
;
18615 wxToolBarBase
*arg1
= (wxToolBarBase
*) 0 ;
18617 PyObject
* obj0
= 0 ;
18618 char *kwnames
[] = {
18619 (char *) "self", NULL
18622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolBarBase_IsVertical",kwnames
,&obj0
)) goto fail
;
18623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBarBase
,
18624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18627 result
= (bool)(arg1
)->IsVertical();
18629 wxPyEndAllowThreads(__tstate
);
18630 if (PyErr_Occurred()) SWIG_fail
;
18633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18641 static PyObject
* ToolBarBase_swigregister(PyObject
*, PyObject
*args
) {
18643 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18644 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase
, obj
);
18646 return Py_BuildValue((char *)"");
18648 static PyObject
*_wrap_new_ToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18649 PyObject
*resultobj
;
18650 wxWindow
*arg1
= (wxWindow
*) 0 ;
18651 int arg2
= (int) -1 ;
18652 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18653 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18654 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18655 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18656 long arg5
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18657 wxString
const &arg6_defvalue
= wxPyToolBarNameStr
;
18658 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18662 bool temp6
= False
;
18663 PyObject
* obj0
= 0 ;
18664 PyObject
* obj1
= 0 ;
18665 PyObject
* obj2
= 0 ;
18666 PyObject
* obj3
= 0 ;
18667 PyObject
* obj4
= 0 ;
18668 PyObject
* obj5
= 0 ;
18669 char *kwnames
[] = {
18670 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
18674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18677 arg2
= (int)SWIG_As_int(obj1
);
18678 if (PyErr_Occurred()) SWIG_fail
;
18683 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18689 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18693 arg5
= (long)SWIG_As_long(obj4
);
18694 if (PyErr_Occurred()) SWIG_fail
;
18698 arg6
= wxString_in_helper(obj5
);
18699 if (arg6
== NULL
) SWIG_fail
;
18704 if (!wxPyCheckForApp()) SWIG_fail
;
18705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18706 result
= (wxToolBar
*)new wxToolBar(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18708 wxPyEndAllowThreads(__tstate
);
18709 if (PyErr_Occurred()) SWIG_fail
;
18711 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
18726 static PyObject
*_wrap_new_PreToolBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18727 PyObject
*resultobj
;
18729 char *kwnames
[] = {
18733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreToolBar",kwnames
)) goto fail
;
18735 if (!wxPyCheckForApp()) SWIG_fail
;
18736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18737 result
= (wxToolBar
*)new wxToolBar();
18739 wxPyEndAllowThreads(__tstate
);
18740 if (PyErr_Occurred()) SWIG_fail
;
18742 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxToolBar
, 1);
18749 static PyObject
*_wrap_ToolBar_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18750 PyObject
*resultobj
;
18751 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18752 wxWindow
*arg2
= (wxWindow
*) 0 ;
18753 int arg3
= (int) -1 ;
18754 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18755 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18756 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18757 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18758 long arg6
= (long) wxNO_BORDER
|wxTB_HORIZONTAL
;
18759 wxString
const &arg7_defvalue
= wxPyToolBarNameStr
;
18760 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18764 bool temp7
= False
;
18765 PyObject
* obj0
= 0 ;
18766 PyObject
* obj1
= 0 ;
18767 PyObject
* obj2
= 0 ;
18768 PyObject
* obj3
= 0 ;
18769 PyObject
* obj4
= 0 ;
18770 PyObject
* obj5
= 0 ;
18771 PyObject
* obj6
= 0 ;
18772 char *kwnames
[] = {
18773 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ToolBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
18777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
18778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18779 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18782 arg3
= (int)SWIG_As_int(obj2
);
18783 if (PyErr_Occurred()) SWIG_fail
;
18788 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18794 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18798 arg6
= (long)SWIG_As_long(obj5
);
18799 if (PyErr_Occurred()) SWIG_fail
;
18803 arg7
= wxString_in_helper(obj6
);
18804 if (arg7
== NULL
) SWIG_fail
;
18809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18810 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18812 wxPyEndAllowThreads(__tstate
);
18813 if (PyErr_Occurred()) SWIG_fail
;
18816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18832 static PyObject
*_wrap_ToolBar_FindToolForPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18833 PyObject
*resultobj
;
18834 wxToolBar
*arg1
= (wxToolBar
*) 0 ;
18837 wxToolBarToolBase
*result
;
18838 PyObject
* obj0
= 0 ;
18839 PyObject
* obj1
= 0 ;
18840 PyObject
* obj2
= 0 ;
18841 char *kwnames
[] = {
18842 (char *) "self",(char *) "x",(char *) "y", NULL
18845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ToolBar_FindToolForPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolBar
,
18847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18848 arg2
= (int)SWIG_As_int(obj1
);
18849 if (PyErr_Occurred()) SWIG_fail
;
18850 arg3
= (int)SWIG_As_int(obj2
);
18851 if (PyErr_Occurred()) SWIG_fail
;
18853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18854 result
= (wxToolBarToolBase
*)(arg1
)->FindToolForPosition(arg2
,arg3
);
18856 wxPyEndAllowThreads(__tstate
);
18857 if (PyErr_Occurred()) SWIG_fail
;
18860 resultobj
= wxPyMake_wxObject(result
, 0);
18868 static PyObject
*_wrap_ToolBar_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18869 PyObject
*resultobj
;
18870 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
18871 wxVisualAttributes result
;
18872 PyObject
* obj0
= 0 ;
18873 char *kwnames
[] = {
18874 (char *) "variant", NULL
18877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ToolBar_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
18879 arg1
= (int)SWIG_As_int(obj0
);
18880 if (PyErr_Occurred()) SWIG_fail
;
18883 if (!wxPyCheckForApp()) SWIG_fail
;
18884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18885 result
= wxToolBar::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
18887 wxPyEndAllowThreads(__tstate
);
18888 if (PyErr_Occurred()) SWIG_fail
;
18891 wxVisualAttributes
* resultptr
;
18892 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
18893 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
18901 static PyObject
* ToolBar_swigregister(PyObject
*, PyObject
*args
) {
18903 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18904 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar
, obj
);
18906 return Py_BuildValue((char *)"");
18908 static int _wrap_ListCtrlNameStr_set(PyObject
*) {
18909 PyErr_SetString(PyExc_TypeError
,"Variable ListCtrlNameStr is read-only.");
18914 static PyObject
*_wrap_ListCtrlNameStr_get() {
18919 pyobj
= PyUnicode_FromWideChar((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
18921 pyobj
= PyString_FromStringAndSize((&wxPyListCtrlNameStr
)->c_str(), (&wxPyListCtrlNameStr
)->Len());
18928 static PyObject
*_wrap_new_ListItemAttr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18929 PyObject
*resultobj
;
18930 wxColour
const &arg1_defvalue
= wxNullColour
;
18931 wxColour
*arg1
= (wxColour
*) &arg1_defvalue
;
18932 wxColour
const &arg2_defvalue
= wxNullColour
;
18933 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
18934 wxFont
const &arg3_defvalue
= wxNullFont
;
18935 wxFont
*arg3
= (wxFont
*) &arg3_defvalue
;
18936 wxListItemAttr
*result
;
18939 PyObject
* obj0
= 0 ;
18940 PyObject
* obj1
= 0 ;
18941 PyObject
* obj2
= 0 ;
18942 char *kwnames
[] = {
18943 (char *) "colText",(char *) "colBack",(char *) "font", NULL
18946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ListItemAttr",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18950 if ( ! wxColour_helper(obj0
, &arg1
)) SWIG_fail
;
18956 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18960 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
18961 SWIG_POINTER_EXCEPTION
| 0)) == -1)
18963 if (arg3
== NULL
) {
18964 PyErr_SetString(PyExc_TypeError
,"null reference");
18969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18970 result
= (wxListItemAttr
*)new wxListItemAttr((wxColour
const &)*arg1
,(wxColour
const &)*arg2
,(wxFont
const &)*arg3
);
18972 wxPyEndAllowThreads(__tstate
);
18973 if (PyErr_Occurred()) SWIG_fail
;
18975 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 1);
18982 static PyObject
*_wrap_ListItemAttr_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18983 PyObject
*resultobj
;
18984 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
18985 wxColour
*arg2
= 0 ;
18987 PyObject
* obj0
= 0 ;
18988 PyObject
* obj1
= 0 ;
18989 char *kwnames
[] = {
18990 (char *) "self",(char *) "colText", NULL
18993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
18994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
18995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18998 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19002 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
19004 wxPyEndAllowThreads(__tstate
);
19005 if (PyErr_Occurred()) SWIG_fail
;
19007 Py_INCREF(Py_None
); resultobj
= Py_None
;
19014 static PyObject
*_wrap_ListItemAttr_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19015 PyObject
*resultobj
;
19016 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19017 wxColour
*arg2
= 0 ;
19019 PyObject
* obj0
= 0 ;
19020 PyObject
* obj1
= 0 ;
19021 char *kwnames
[] = {
19022 (char *) "self",(char *) "colBack", NULL
19025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19030 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19034 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
19036 wxPyEndAllowThreads(__tstate
);
19037 if (PyErr_Occurred()) SWIG_fail
;
19039 Py_INCREF(Py_None
); resultobj
= Py_None
;
19046 static PyObject
*_wrap_ListItemAttr_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19047 PyObject
*resultobj
;
19048 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19050 PyObject
* obj0
= 0 ;
19051 PyObject
* obj1
= 0 ;
19052 char *kwnames
[] = {
19053 (char *) "self",(char *) "font", NULL
19056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItemAttr_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
19057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19059 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
19060 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19062 if (arg2
== NULL
) {
19063 PyErr_SetString(PyExc_TypeError
,"null reference");
19067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19068 (arg1
)->SetFont((wxFont
const &)*arg2
);
19070 wxPyEndAllowThreads(__tstate
);
19071 if (PyErr_Occurred()) SWIG_fail
;
19073 Py_INCREF(Py_None
); resultobj
= Py_None
;
19080 static PyObject
*_wrap_ListItemAttr_HasTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19081 PyObject
*resultobj
;
19082 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19084 PyObject
* obj0
= 0 ;
19085 char *kwnames
[] = {
19086 (char *) "self", NULL
19089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasTextColour",kwnames
,&obj0
)) goto fail
;
19090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19094 result
= (bool)(arg1
)->HasTextColour();
19096 wxPyEndAllowThreads(__tstate
);
19097 if (PyErr_Occurred()) SWIG_fail
;
19100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19108 static PyObject
*_wrap_ListItemAttr_HasBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19109 PyObject
*resultobj
;
19110 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19112 PyObject
* obj0
= 0 ;
19113 char *kwnames
[] = {
19114 (char *) "self", NULL
19117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames
,&obj0
)) goto fail
;
19118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19122 result
= (bool)(arg1
)->HasBackgroundColour();
19124 wxPyEndAllowThreads(__tstate
);
19125 if (PyErr_Occurred()) SWIG_fail
;
19128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19136 static PyObject
*_wrap_ListItemAttr_HasFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19137 PyObject
*resultobj
;
19138 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19140 PyObject
* obj0
= 0 ;
19141 char *kwnames
[] = {
19142 (char *) "self", NULL
19145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_HasFont",kwnames
,&obj0
)) goto fail
;
19146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19150 result
= (bool)(arg1
)->HasFont();
19152 wxPyEndAllowThreads(__tstate
);
19153 if (PyErr_Occurred()) SWIG_fail
;
19156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19164 static PyObject
*_wrap_ListItemAttr_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19165 PyObject
*resultobj
;
19166 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19168 PyObject
* obj0
= 0 ;
19169 char *kwnames
[] = {
19170 (char *) "self", NULL
19173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetTextColour",kwnames
,&obj0
)) goto fail
;
19174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19178 result
= (arg1
)->GetTextColour();
19180 wxPyEndAllowThreads(__tstate
);
19181 if (PyErr_Occurred()) SWIG_fail
;
19184 wxColour
* resultptr
;
19185 resultptr
= new wxColour((wxColour
&) result
);
19186 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19194 static PyObject
*_wrap_ListItemAttr_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19195 PyObject
*resultobj
;
19196 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19198 PyObject
* obj0
= 0 ;
19199 char *kwnames
[] = {
19200 (char *) "self", NULL
19203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
19204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19208 result
= (arg1
)->GetBackgroundColour();
19210 wxPyEndAllowThreads(__tstate
);
19211 if (PyErr_Occurred()) SWIG_fail
;
19214 wxColour
* resultptr
;
19215 resultptr
= new wxColour((wxColour
&) result
);
19216 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
19224 static PyObject
*_wrap_ListItemAttr_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19225 PyObject
*resultobj
;
19226 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19228 PyObject
* obj0
= 0 ;
19229 char *kwnames
[] = {
19230 (char *) "self", NULL
19233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_GetFont",kwnames
,&obj0
)) goto fail
;
19234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19238 result
= (arg1
)->GetFont();
19240 wxPyEndAllowThreads(__tstate
);
19241 if (PyErr_Occurred()) SWIG_fail
;
19244 wxFont
* resultptr
;
19245 resultptr
= new wxFont((wxFont
&) result
);
19246 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
19254 static PyObject
*_wrap_ListItemAttr_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19255 PyObject
*resultobj
;
19256 wxListItemAttr
*arg1
= (wxListItemAttr
*) 0 ;
19257 PyObject
* obj0
= 0 ;
19258 char *kwnames
[] = {
19259 (char *) "self", NULL
19262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItemAttr_Destroy",kwnames
,&obj0
)) goto fail
;
19263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItemAttr
,
19264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19267 wxListItemAttr_Destroy(arg1
);
19269 wxPyEndAllowThreads(__tstate
);
19270 if (PyErr_Occurred()) SWIG_fail
;
19272 Py_INCREF(Py_None
); resultobj
= Py_None
;
19279 static PyObject
* ListItemAttr_swigregister(PyObject
*, PyObject
*args
) {
19281 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19282 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr
, obj
);
19284 return Py_BuildValue((char *)"");
19286 static PyObject
*_wrap_new_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19287 PyObject
*resultobj
;
19288 wxListItem
*result
;
19289 char *kwnames
[] = {
19293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ListItem",kwnames
)) goto fail
;
19295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19296 result
= (wxListItem
*)new wxListItem();
19298 wxPyEndAllowThreads(__tstate
);
19299 if (PyErr_Occurred()) SWIG_fail
;
19302 resultobj
= wxPyMake_wxObject(result
, 1);
19310 static PyObject
*_wrap_delete_ListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19311 PyObject
*resultobj
;
19312 wxListItem
*arg1
= (wxListItem
*) 0 ;
19313 PyObject
* obj0
= 0 ;
19314 char *kwnames
[] = {
19315 (char *) "self", NULL
19318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ListItem",kwnames
,&obj0
)) goto fail
;
19319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19325 wxPyEndAllowThreads(__tstate
);
19326 if (PyErr_Occurred()) SWIG_fail
;
19328 Py_INCREF(Py_None
); resultobj
= Py_None
;
19335 static PyObject
*_wrap_ListItem_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19336 PyObject
*resultobj
;
19337 wxListItem
*arg1
= (wxListItem
*) 0 ;
19338 PyObject
* obj0
= 0 ;
19339 char *kwnames
[] = {
19340 (char *) "self", NULL
19343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_Clear",kwnames
,&obj0
)) goto fail
;
19344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19350 wxPyEndAllowThreads(__tstate
);
19351 if (PyErr_Occurred()) SWIG_fail
;
19353 Py_INCREF(Py_None
); resultobj
= Py_None
;
19360 static PyObject
*_wrap_ListItem_ClearAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19361 PyObject
*resultobj
;
19362 wxListItem
*arg1
= (wxListItem
*) 0 ;
19363 PyObject
* obj0
= 0 ;
19364 char *kwnames
[] = {
19365 (char *) "self", NULL
19368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_ClearAttributes",kwnames
,&obj0
)) goto fail
;
19369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19373 (arg1
)->ClearAttributes();
19375 wxPyEndAllowThreads(__tstate
);
19376 if (PyErr_Occurred()) SWIG_fail
;
19378 Py_INCREF(Py_None
); resultobj
= Py_None
;
19385 static PyObject
*_wrap_ListItem_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19386 PyObject
*resultobj
;
19387 wxListItem
*arg1
= (wxListItem
*) 0 ;
19389 PyObject
* obj0
= 0 ;
19390 PyObject
* obj1
= 0 ;
19391 char *kwnames
[] = {
19392 (char *) "self",(char *) "mask", NULL
19395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19398 arg2
= (long)SWIG_As_long(obj1
);
19399 if (PyErr_Occurred()) SWIG_fail
;
19401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19402 (arg1
)->SetMask(arg2
);
19404 wxPyEndAllowThreads(__tstate
);
19405 if (PyErr_Occurred()) SWIG_fail
;
19407 Py_INCREF(Py_None
); resultobj
= Py_None
;
19414 static PyObject
*_wrap_ListItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19415 PyObject
*resultobj
;
19416 wxListItem
*arg1
= (wxListItem
*) 0 ;
19418 PyObject
* obj0
= 0 ;
19419 PyObject
* obj1
= 0 ;
19420 char *kwnames
[] = {
19421 (char *) "self",(char *) "id", NULL
19424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
19425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19427 arg2
= (long)SWIG_As_long(obj1
);
19428 if (PyErr_Occurred()) SWIG_fail
;
19430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19431 (arg1
)->SetId(arg2
);
19433 wxPyEndAllowThreads(__tstate
);
19434 if (PyErr_Occurred()) SWIG_fail
;
19436 Py_INCREF(Py_None
); resultobj
= Py_None
;
19443 static PyObject
*_wrap_ListItem_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19444 PyObject
*resultobj
;
19445 wxListItem
*arg1
= (wxListItem
*) 0 ;
19447 PyObject
* obj0
= 0 ;
19448 PyObject
* obj1
= 0 ;
19449 char *kwnames
[] = {
19450 (char *) "self",(char *) "col", NULL
19453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
19454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19456 arg2
= (int)SWIG_As_int(obj1
);
19457 if (PyErr_Occurred()) SWIG_fail
;
19459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19460 (arg1
)->SetColumn(arg2
);
19462 wxPyEndAllowThreads(__tstate
);
19463 if (PyErr_Occurred()) SWIG_fail
;
19465 Py_INCREF(Py_None
); resultobj
= Py_None
;
19472 static PyObject
*_wrap_ListItem_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19473 PyObject
*resultobj
;
19474 wxListItem
*arg1
= (wxListItem
*) 0 ;
19476 PyObject
* obj0
= 0 ;
19477 PyObject
* obj1
= 0 ;
19478 char *kwnames
[] = {
19479 (char *) "self",(char *) "state", NULL
19482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetState",kwnames
,&obj0
,&obj1
)) goto fail
;
19483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19485 arg2
= (long)SWIG_As_long(obj1
);
19486 if (PyErr_Occurred()) SWIG_fail
;
19488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19489 (arg1
)->SetState(arg2
);
19491 wxPyEndAllowThreads(__tstate
);
19492 if (PyErr_Occurred()) SWIG_fail
;
19494 Py_INCREF(Py_None
); resultobj
= Py_None
;
19501 static PyObject
*_wrap_ListItem_SetStateMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19502 PyObject
*resultobj
;
19503 wxListItem
*arg1
= (wxListItem
*) 0 ;
19505 PyObject
* obj0
= 0 ;
19506 PyObject
* obj1
= 0 ;
19507 char *kwnames
[] = {
19508 (char *) "self",(char *) "stateMask", NULL
19511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetStateMask",kwnames
,&obj0
,&obj1
)) goto fail
;
19512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19514 arg2
= (long)SWIG_As_long(obj1
);
19515 if (PyErr_Occurred()) SWIG_fail
;
19517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19518 (arg1
)->SetStateMask(arg2
);
19520 wxPyEndAllowThreads(__tstate
);
19521 if (PyErr_Occurred()) SWIG_fail
;
19523 Py_INCREF(Py_None
); resultobj
= Py_None
;
19530 static PyObject
*_wrap_ListItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19531 PyObject
*resultobj
;
19532 wxListItem
*arg1
= (wxListItem
*) 0 ;
19533 wxString
*arg2
= 0 ;
19534 bool temp2
= False
;
19535 PyObject
* obj0
= 0 ;
19536 PyObject
* obj1
= 0 ;
19537 char *kwnames
[] = {
19538 (char *) "self",(char *) "text", NULL
19541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
19542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19545 arg2
= wxString_in_helper(obj1
);
19546 if (arg2
== NULL
) SWIG_fail
;
19550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19551 (arg1
)->SetText((wxString
const &)*arg2
);
19553 wxPyEndAllowThreads(__tstate
);
19554 if (PyErr_Occurred()) SWIG_fail
;
19556 Py_INCREF(Py_None
); resultobj
= Py_None
;
19571 static PyObject
*_wrap_ListItem_SetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19572 PyObject
*resultobj
;
19573 wxListItem
*arg1
= (wxListItem
*) 0 ;
19575 PyObject
* obj0
= 0 ;
19576 PyObject
* obj1
= 0 ;
19577 char *kwnames
[] = {
19578 (char *) "self",(char *) "image", NULL
19581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetImage",kwnames
,&obj0
,&obj1
)) goto fail
;
19582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19584 arg2
= (int)SWIG_As_int(obj1
);
19585 if (PyErr_Occurred()) SWIG_fail
;
19587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19588 (arg1
)->SetImage(arg2
);
19590 wxPyEndAllowThreads(__tstate
);
19591 if (PyErr_Occurred()) SWIG_fail
;
19593 Py_INCREF(Py_None
); resultobj
= Py_None
;
19600 static PyObject
*_wrap_ListItem_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19601 PyObject
*resultobj
;
19602 wxListItem
*arg1
= (wxListItem
*) 0 ;
19604 PyObject
* obj0
= 0 ;
19605 PyObject
* obj1
= 0 ;
19606 char *kwnames
[] = {
19607 (char *) "self",(char *) "data", NULL
19610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
19611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19613 arg2
= (long)SWIG_As_long(obj1
);
19614 if (PyErr_Occurred()) SWIG_fail
;
19616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19617 (arg1
)->SetData(arg2
);
19619 wxPyEndAllowThreads(__tstate
);
19620 if (PyErr_Occurred()) SWIG_fail
;
19622 Py_INCREF(Py_None
); resultobj
= Py_None
;
19629 static PyObject
*_wrap_ListItem_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19630 PyObject
*resultobj
;
19631 wxListItem
*arg1
= (wxListItem
*) 0 ;
19633 PyObject
* obj0
= 0 ;
19634 PyObject
* obj1
= 0 ;
19635 char *kwnames
[] = {
19636 (char *) "self",(char *) "width", NULL
19639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
19640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19642 arg2
= (int)SWIG_As_int(obj1
);
19643 if (PyErr_Occurred()) SWIG_fail
;
19645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19646 (arg1
)->SetWidth(arg2
);
19648 wxPyEndAllowThreads(__tstate
);
19649 if (PyErr_Occurred()) SWIG_fail
;
19651 Py_INCREF(Py_None
); resultobj
= Py_None
;
19658 static PyObject
*_wrap_ListItem_SetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19659 PyObject
*resultobj
;
19660 wxListItem
*arg1
= (wxListItem
*) 0 ;
19662 PyObject
* obj0
= 0 ;
19663 PyObject
* obj1
= 0 ;
19664 char *kwnames
[] = {
19665 (char *) "self",(char *) "align", NULL
19668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetAlign",kwnames
,&obj0
,&obj1
)) goto fail
;
19669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19671 arg2
= (int)SWIG_As_int(obj1
);
19672 if (PyErr_Occurred()) SWIG_fail
;
19674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19675 (arg1
)->SetAlign((wxListColumnFormat
)arg2
);
19677 wxPyEndAllowThreads(__tstate
);
19678 if (PyErr_Occurred()) SWIG_fail
;
19680 Py_INCREF(Py_None
); resultobj
= Py_None
;
19687 static PyObject
*_wrap_ListItem_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19688 PyObject
*resultobj
;
19689 wxListItem
*arg1
= (wxListItem
*) 0 ;
19690 wxColour
*arg2
= 0 ;
19692 PyObject
* obj0
= 0 ;
19693 PyObject
* obj1
= 0 ;
19694 char *kwnames
[] = {
19695 (char *) "self",(char *) "colText", NULL
19698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19703 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19707 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
19709 wxPyEndAllowThreads(__tstate
);
19710 if (PyErr_Occurred()) SWIG_fail
;
19712 Py_INCREF(Py_None
); resultobj
= Py_None
;
19719 static PyObject
*_wrap_ListItem_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19720 PyObject
*resultobj
;
19721 wxListItem
*arg1
= (wxListItem
*) 0 ;
19722 wxColour
*arg2
= 0 ;
19724 PyObject
* obj0
= 0 ;
19725 PyObject
* obj1
= 0 ;
19726 char *kwnames
[] = {
19727 (char *) "self",(char *) "colBack", NULL
19730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
19731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19735 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19739 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
19741 wxPyEndAllowThreads(__tstate
);
19742 if (PyErr_Occurred()) SWIG_fail
;
19744 Py_INCREF(Py_None
); resultobj
= Py_None
;
19751 static PyObject
*_wrap_ListItem_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19752 PyObject
*resultobj
;
19753 wxListItem
*arg1
= (wxListItem
*) 0 ;
19755 PyObject
* obj0
= 0 ;
19756 PyObject
* obj1
= 0 ;
19757 char *kwnames
[] = {
19758 (char *) "self",(char *) "font", NULL
19761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
19762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19764 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
19765 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19767 if (arg2
== NULL
) {
19768 PyErr_SetString(PyExc_TypeError
,"null reference");
19772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19773 (arg1
)->SetFont((wxFont
const &)*arg2
);
19775 wxPyEndAllowThreads(__tstate
);
19776 if (PyErr_Occurred()) SWIG_fail
;
19778 Py_INCREF(Py_None
); resultobj
= Py_None
;
19785 static PyObject
*_wrap_ListItem_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19786 PyObject
*resultobj
;
19787 wxListItem
*arg1
= (wxListItem
*) 0 ;
19789 PyObject
* obj0
= 0 ;
19790 char *kwnames
[] = {
19791 (char *) "self", NULL
19794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetMask",kwnames
,&obj0
)) goto fail
;
19795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19799 result
= (long)(arg1
)->GetMask();
19801 wxPyEndAllowThreads(__tstate
);
19802 if (PyErr_Occurred()) SWIG_fail
;
19804 resultobj
= SWIG_From_long((long)result
);
19811 static PyObject
*_wrap_ListItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19812 PyObject
*resultobj
;
19813 wxListItem
*arg1
= (wxListItem
*) 0 ;
19815 PyObject
* obj0
= 0 ;
19816 char *kwnames
[] = {
19817 (char *) "self", NULL
19820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetId",kwnames
,&obj0
)) goto fail
;
19821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19825 result
= (long)(arg1
)->GetId();
19827 wxPyEndAllowThreads(__tstate
);
19828 if (PyErr_Occurred()) SWIG_fail
;
19830 resultobj
= SWIG_From_long((long)result
);
19837 static PyObject
*_wrap_ListItem_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19838 PyObject
*resultobj
;
19839 wxListItem
*arg1
= (wxListItem
*) 0 ;
19841 PyObject
* obj0
= 0 ;
19842 char *kwnames
[] = {
19843 (char *) "self", NULL
19846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetColumn",kwnames
,&obj0
)) goto fail
;
19847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19851 result
= (int)(arg1
)->GetColumn();
19853 wxPyEndAllowThreads(__tstate
);
19854 if (PyErr_Occurred()) SWIG_fail
;
19856 resultobj
= SWIG_From_int((int)result
);
19863 static PyObject
*_wrap_ListItem_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19864 PyObject
*resultobj
;
19865 wxListItem
*arg1
= (wxListItem
*) 0 ;
19867 PyObject
* obj0
= 0 ;
19868 char *kwnames
[] = {
19869 (char *) "self", NULL
19872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetState",kwnames
,&obj0
)) goto fail
;
19873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19877 result
= (long)(arg1
)->GetState();
19879 wxPyEndAllowThreads(__tstate
);
19880 if (PyErr_Occurred()) SWIG_fail
;
19882 resultobj
= SWIG_From_long((long)result
);
19889 static PyObject
*_wrap_ListItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19890 PyObject
*resultobj
;
19891 wxListItem
*arg1
= (wxListItem
*) 0 ;
19893 PyObject
* obj0
= 0 ;
19894 char *kwnames
[] = {
19895 (char *) "self", NULL
19898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetText",kwnames
,&obj0
)) goto fail
;
19899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19904 wxString
const &_result_ref
= (arg1
)->GetText();
19905 result
= (wxString
*) &_result_ref
;
19908 wxPyEndAllowThreads(__tstate
);
19909 if (PyErr_Occurred()) SWIG_fail
;
19913 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19915 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19924 static PyObject
*_wrap_ListItem_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19925 PyObject
*resultobj
;
19926 wxListItem
*arg1
= (wxListItem
*) 0 ;
19928 PyObject
* obj0
= 0 ;
19929 char *kwnames
[] = {
19930 (char *) "self", NULL
19933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetImage",kwnames
,&obj0
)) goto fail
;
19934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19938 result
= (int)(arg1
)->GetImage();
19940 wxPyEndAllowThreads(__tstate
);
19941 if (PyErr_Occurred()) SWIG_fail
;
19943 resultobj
= SWIG_From_int((int)result
);
19950 static PyObject
*_wrap_ListItem_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19951 PyObject
*resultobj
;
19952 wxListItem
*arg1
= (wxListItem
*) 0 ;
19954 PyObject
* obj0
= 0 ;
19955 char *kwnames
[] = {
19956 (char *) "self", NULL
19959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetData",kwnames
,&obj0
)) goto fail
;
19960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19964 result
= (long)(arg1
)->GetData();
19966 wxPyEndAllowThreads(__tstate
);
19967 if (PyErr_Occurred()) SWIG_fail
;
19969 resultobj
= SWIG_From_long((long)result
);
19976 static PyObject
*_wrap_ListItem_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19977 PyObject
*resultobj
;
19978 wxListItem
*arg1
= (wxListItem
*) 0 ;
19980 PyObject
* obj0
= 0 ;
19981 char *kwnames
[] = {
19982 (char *) "self", NULL
19985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetWidth",kwnames
,&obj0
)) goto fail
;
19986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
19987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19990 result
= (int)(arg1
)->GetWidth();
19992 wxPyEndAllowThreads(__tstate
);
19993 if (PyErr_Occurred()) SWIG_fail
;
19995 resultobj
= SWIG_From_int((int)result
);
20002 static PyObject
*_wrap_ListItem_GetAlign(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20003 PyObject
*resultobj
;
20004 wxListItem
*arg1
= (wxListItem
*) 0 ;
20006 PyObject
* obj0
= 0 ;
20007 char *kwnames
[] = {
20008 (char *) "self", NULL
20011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAlign",kwnames
,&obj0
)) goto fail
;
20012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20016 result
= (int)(arg1
)->GetAlign();
20018 wxPyEndAllowThreads(__tstate
);
20019 if (PyErr_Occurred()) SWIG_fail
;
20021 resultobj
= SWIG_From_int((int)result
);
20028 static PyObject
*_wrap_ListItem_GetAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20029 PyObject
*resultobj
;
20030 wxListItem
*arg1
= (wxListItem
*) 0 ;
20031 wxListItemAttr
*result
;
20032 PyObject
* obj0
= 0 ;
20033 char *kwnames
[] = {
20034 (char *) "self", NULL
20037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetAttributes",kwnames
,&obj0
)) goto fail
;
20038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20042 result
= (wxListItemAttr
*)(arg1
)->GetAttributes();
20044 wxPyEndAllowThreads(__tstate
);
20045 if (PyErr_Occurred()) SWIG_fail
;
20047 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItemAttr
, 0);
20054 static PyObject
*_wrap_ListItem_HasAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20055 PyObject
*resultobj
;
20056 wxListItem
*arg1
= (wxListItem
*) 0 ;
20058 PyObject
* obj0
= 0 ;
20059 char *kwnames
[] = {
20060 (char *) "self", NULL
20063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_HasAttributes",kwnames
,&obj0
)) goto fail
;
20064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20068 result
= (bool)(arg1
)->HasAttributes();
20070 wxPyEndAllowThreads(__tstate
);
20071 if (PyErr_Occurred()) SWIG_fail
;
20074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20082 static PyObject
*_wrap_ListItem_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20083 PyObject
*resultobj
;
20084 wxListItem
*arg1
= (wxListItem
*) 0 ;
20086 PyObject
* obj0
= 0 ;
20087 char *kwnames
[] = {
20088 (char *) "self", NULL
20091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
20092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20096 result
= ((wxListItem
const *)arg1
)->GetTextColour();
20098 wxPyEndAllowThreads(__tstate
);
20099 if (PyErr_Occurred()) SWIG_fail
;
20102 wxColour
* resultptr
;
20103 resultptr
= new wxColour((wxColour
&) result
);
20104 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20112 static PyObject
*_wrap_ListItem_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20113 PyObject
*resultobj
;
20114 wxListItem
*arg1
= (wxListItem
*) 0 ;
20116 PyObject
* obj0
= 0 ;
20117 char *kwnames
[] = {
20118 (char *) "self", NULL
20121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
20122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20126 result
= ((wxListItem
const *)arg1
)->GetBackgroundColour();
20128 wxPyEndAllowThreads(__tstate
);
20129 if (PyErr_Occurred()) SWIG_fail
;
20132 wxColour
* resultptr
;
20133 resultptr
= new wxColour((wxColour
&) result
);
20134 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
20142 static PyObject
*_wrap_ListItem_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20143 PyObject
*resultobj
;
20144 wxListItem
*arg1
= (wxListItem
*) 0 ;
20146 PyObject
* obj0
= 0 ;
20147 char *kwnames
[] = {
20148 (char *) "self", NULL
20151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_GetFont",kwnames
,&obj0
)) goto fail
;
20152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20156 result
= ((wxListItem
const *)arg1
)->GetFont();
20158 wxPyEndAllowThreads(__tstate
);
20159 if (PyErr_Occurred()) SWIG_fail
;
20162 wxFont
* resultptr
;
20163 resultptr
= new wxFont((wxFont
&) result
);
20164 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
20172 static PyObject
*_wrap_ListItem_m_mask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20173 PyObject
*resultobj
;
20174 wxListItem
*arg1
= (wxListItem
*) 0 ;
20176 PyObject
* obj0
= 0 ;
20177 PyObject
* obj1
= 0 ;
20178 char *kwnames
[] = {
20179 (char *) "self",(char *) "m_mask", NULL
20182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_mask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20185 arg2
= (long)SWIG_As_long(obj1
);
20186 if (PyErr_Occurred()) SWIG_fail
;
20187 if (arg1
) (arg1
)->m_mask
= arg2
;
20189 Py_INCREF(Py_None
); resultobj
= Py_None
;
20196 static PyObject
*_wrap_ListItem_m_mask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20197 PyObject
*resultobj
;
20198 wxListItem
*arg1
= (wxListItem
*) 0 ;
20200 PyObject
* obj0
= 0 ;
20201 char *kwnames
[] = {
20202 (char *) "self", NULL
20205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_mask_get",kwnames
,&obj0
)) goto fail
;
20206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20208 result
= (long) ((arg1
)->m_mask
);
20210 resultobj
= SWIG_From_long((long)result
);
20217 static PyObject
*_wrap_ListItem_m_itemId_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20218 PyObject
*resultobj
;
20219 wxListItem
*arg1
= (wxListItem
*) 0 ;
20221 PyObject
* obj0
= 0 ;
20222 PyObject
* obj1
= 0 ;
20223 char *kwnames
[] = {
20224 (char *) "self",(char *) "m_itemId", NULL
20227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_itemId_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20230 arg2
= (long)SWIG_As_long(obj1
);
20231 if (PyErr_Occurred()) SWIG_fail
;
20232 if (arg1
) (arg1
)->m_itemId
= arg2
;
20234 Py_INCREF(Py_None
); resultobj
= Py_None
;
20241 static PyObject
*_wrap_ListItem_m_itemId_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20242 PyObject
*resultobj
;
20243 wxListItem
*arg1
= (wxListItem
*) 0 ;
20245 PyObject
* obj0
= 0 ;
20246 char *kwnames
[] = {
20247 (char *) "self", NULL
20250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_itemId_get",kwnames
,&obj0
)) goto fail
;
20251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20253 result
= (long) ((arg1
)->m_itemId
);
20255 resultobj
= SWIG_From_long((long)result
);
20262 static PyObject
*_wrap_ListItem_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20263 PyObject
*resultobj
;
20264 wxListItem
*arg1
= (wxListItem
*) 0 ;
20266 PyObject
* obj0
= 0 ;
20267 PyObject
* obj1
= 0 ;
20268 char *kwnames
[] = {
20269 (char *) "self",(char *) "m_col", NULL
20272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20275 arg2
= (int)SWIG_As_int(obj1
);
20276 if (PyErr_Occurred()) SWIG_fail
;
20277 if (arg1
) (arg1
)->m_col
= arg2
;
20279 Py_INCREF(Py_None
); resultobj
= Py_None
;
20286 static PyObject
*_wrap_ListItem_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20287 PyObject
*resultobj
;
20288 wxListItem
*arg1
= (wxListItem
*) 0 ;
20290 PyObject
* obj0
= 0 ;
20291 char *kwnames
[] = {
20292 (char *) "self", NULL
20295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_col_get",kwnames
,&obj0
)) goto fail
;
20296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20298 result
= (int) ((arg1
)->m_col
);
20300 resultobj
= SWIG_From_int((int)result
);
20307 static PyObject
*_wrap_ListItem_m_state_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20308 PyObject
*resultobj
;
20309 wxListItem
*arg1
= (wxListItem
*) 0 ;
20311 PyObject
* obj0
= 0 ;
20312 PyObject
* obj1
= 0 ;
20313 char *kwnames
[] = {
20314 (char *) "self",(char *) "m_state", NULL
20317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_state_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20320 arg2
= (long)SWIG_As_long(obj1
);
20321 if (PyErr_Occurred()) SWIG_fail
;
20322 if (arg1
) (arg1
)->m_state
= arg2
;
20324 Py_INCREF(Py_None
); resultobj
= Py_None
;
20331 static PyObject
*_wrap_ListItem_m_state_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20332 PyObject
*resultobj
;
20333 wxListItem
*arg1
= (wxListItem
*) 0 ;
20335 PyObject
* obj0
= 0 ;
20336 char *kwnames
[] = {
20337 (char *) "self", NULL
20340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_state_get",kwnames
,&obj0
)) goto fail
;
20341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20343 result
= (long) ((arg1
)->m_state
);
20345 resultobj
= SWIG_From_long((long)result
);
20352 static PyObject
*_wrap_ListItem_m_stateMask_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20353 PyObject
*resultobj
;
20354 wxListItem
*arg1
= (wxListItem
*) 0 ;
20356 PyObject
* obj0
= 0 ;
20357 PyObject
* obj1
= 0 ;
20358 char *kwnames
[] = {
20359 (char *) "self",(char *) "m_stateMask", NULL
20362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_stateMask_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20365 arg2
= (long)SWIG_As_long(obj1
);
20366 if (PyErr_Occurred()) SWIG_fail
;
20367 if (arg1
) (arg1
)->m_stateMask
= arg2
;
20369 Py_INCREF(Py_None
); resultobj
= Py_None
;
20376 static PyObject
*_wrap_ListItem_m_stateMask_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20377 PyObject
*resultobj
;
20378 wxListItem
*arg1
= (wxListItem
*) 0 ;
20380 PyObject
* obj0
= 0 ;
20381 char *kwnames
[] = {
20382 (char *) "self", NULL
20385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_stateMask_get",kwnames
,&obj0
)) goto fail
;
20386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20388 result
= (long) ((arg1
)->m_stateMask
);
20390 resultobj
= SWIG_From_long((long)result
);
20397 static PyObject
*_wrap_ListItem_m_text_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20398 PyObject
*resultobj
;
20399 wxListItem
*arg1
= (wxListItem
*) 0 ;
20400 wxString
*arg2
= (wxString
*) 0 ;
20401 bool temp2
= False
;
20402 PyObject
* obj0
= 0 ;
20403 PyObject
* obj1
= 0 ;
20404 char *kwnames
[] = {
20405 (char *) "self",(char *) "m_text", NULL
20408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_text_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20412 arg2
= wxString_in_helper(obj1
);
20413 if (arg2
== NULL
) SWIG_fail
;
20416 if (arg1
) (arg1
)->m_text
= *arg2
;
20418 Py_INCREF(Py_None
); resultobj
= Py_None
;
20433 static PyObject
*_wrap_ListItem_m_text_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20434 PyObject
*resultobj
;
20435 wxListItem
*arg1
= (wxListItem
*) 0 ;
20437 PyObject
* obj0
= 0 ;
20438 char *kwnames
[] = {
20439 (char *) "self", NULL
20442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_text_get",kwnames
,&obj0
)) goto fail
;
20443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20445 result
= (wxString
*)& ((arg1
)->m_text
);
20449 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20451 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20460 static PyObject
*_wrap_ListItem_m_image_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20461 PyObject
*resultobj
;
20462 wxListItem
*arg1
= (wxListItem
*) 0 ;
20464 PyObject
* obj0
= 0 ;
20465 PyObject
* obj1
= 0 ;
20466 char *kwnames
[] = {
20467 (char *) "self",(char *) "m_image", NULL
20470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_image_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20473 arg2
= (int)SWIG_As_int(obj1
);
20474 if (PyErr_Occurred()) SWIG_fail
;
20475 if (arg1
) (arg1
)->m_image
= arg2
;
20477 Py_INCREF(Py_None
); resultobj
= Py_None
;
20484 static PyObject
*_wrap_ListItem_m_image_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20485 PyObject
*resultobj
;
20486 wxListItem
*arg1
= (wxListItem
*) 0 ;
20488 PyObject
* obj0
= 0 ;
20489 char *kwnames
[] = {
20490 (char *) "self", NULL
20493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_image_get",kwnames
,&obj0
)) goto fail
;
20494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20496 result
= (int) ((arg1
)->m_image
);
20498 resultobj
= SWIG_From_int((int)result
);
20505 static PyObject
*_wrap_ListItem_m_data_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20506 PyObject
*resultobj
;
20507 wxListItem
*arg1
= (wxListItem
*) 0 ;
20509 PyObject
* obj0
= 0 ;
20510 PyObject
* obj1
= 0 ;
20511 char *kwnames
[] = {
20512 (char *) "self",(char *) "m_data", NULL
20515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_data_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20518 arg2
= (long)SWIG_As_long(obj1
);
20519 if (PyErr_Occurred()) SWIG_fail
;
20520 if (arg1
) (arg1
)->m_data
= arg2
;
20522 Py_INCREF(Py_None
); resultobj
= Py_None
;
20529 static PyObject
*_wrap_ListItem_m_data_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20530 PyObject
*resultobj
;
20531 wxListItem
*arg1
= (wxListItem
*) 0 ;
20533 PyObject
* obj0
= 0 ;
20534 char *kwnames
[] = {
20535 (char *) "self", NULL
20538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_data_get",kwnames
,&obj0
)) goto fail
;
20539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20541 result
= (long) ((arg1
)->m_data
);
20543 resultobj
= SWIG_From_long((long)result
);
20550 static PyObject
*_wrap_ListItem_m_format_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20551 PyObject
*resultobj
;
20552 wxListItem
*arg1
= (wxListItem
*) 0 ;
20554 PyObject
* obj0
= 0 ;
20555 PyObject
* obj1
= 0 ;
20556 char *kwnames
[] = {
20557 (char *) "self",(char *) "m_format", NULL
20560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_format_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20563 arg2
= (int)SWIG_As_int(obj1
);
20564 if (PyErr_Occurred()) SWIG_fail
;
20565 if (arg1
) (arg1
)->m_format
= arg2
;
20567 Py_INCREF(Py_None
); resultobj
= Py_None
;
20574 static PyObject
*_wrap_ListItem_m_format_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20575 PyObject
*resultobj
;
20576 wxListItem
*arg1
= (wxListItem
*) 0 ;
20578 PyObject
* obj0
= 0 ;
20579 char *kwnames
[] = {
20580 (char *) "self", NULL
20583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_format_get",kwnames
,&obj0
)) goto fail
;
20584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20586 result
= (int) ((arg1
)->m_format
);
20588 resultobj
= SWIG_From_int((int)result
);
20595 static PyObject
*_wrap_ListItem_m_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20596 PyObject
*resultobj
;
20597 wxListItem
*arg1
= (wxListItem
*) 0 ;
20599 PyObject
* obj0
= 0 ;
20600 PyObject
* obj1
= 0 ;
20601 char *kwnames
[] = {
20602 (char *) "self",(char *) "m_width", NULL
20605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListItem_m_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20608 arg2
= (int)SWIG_As_int(obj1
);
20609 if (PyErr_Occurred()) SWIG_fail
;
20610 if (arg1
) (arg1
)->m_width
= arg2
;
20612 Py_INCREF(Py_None
); resultobj
= Py_None
;
20619 static PyObject
*_wrap_ListItem_m_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20620 PyObject
*resultobj
;
20621 wxListItem
*arg1
= (wxListItem
*) 0 ;
20623 PyObject
* obj0
= 0 ;
20624 char *kwnames
[] = {
20625 (char *) "self", NULL
20628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListItem_m_width_get",kwnames
,&obj0
)) goto fail
;
20629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListItem
,
20630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20631 result
= (int) ((arg1
)->m_width
);
20633 resultobj
= SWIG_From_int((int)result
);
20640 static PyObject
* ListItem_swigregister(PyObject
*, PyObject
*args
) {
20642 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20643 SWIG_TypeClientData(SWIGTYPE_p_wxListItem
, obj
);
20645 return Py_BuildValue((char *)"");
20647 static PyObject
*_wrap_new_ListEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20648 PyObject
*resultobj
;
20649 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
20650 int arg2
= (int) 0 ;
20651 wxListEvent
*result
;
20652 PyObject
* obj0
= 0 ;
20653 PyObject
* obj1
= 0 ;
20654 char *kwnames
[] = {
20655 (char *) "commandType",(char *) "id", NULL
20658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ListEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20660 arg1
= (wxEventType
)SWIG_As_int(obj0
);
20661 if (PyErr_Occurred()) SWIG_fail
;
20664 arg2
= (int)SWIG_As_int(obj1
);
20665 if (PyErr_Occurred()) SWIG_fail
;
20668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20669 result
= (wxListEvent
*)new wxListEvent(arg1
,arg2
);
20671 wxPyEndAllowThreads(__tstate
);
20672 if (PyErr_Occurred()) SWIG_fail
;
20674 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListEvent
, 1);
20681 static PyObject
*_wrap_ListEvent_m_code_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20682 PyObject
*resultobj
;
20683 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20685 PyObject
* obj0
= 0 ;
20686 PyObject
* obj1
= 0 ;
20687 char *kwnames
[] = {
20688 (char *) "self",(char *) "m_code", NULL
20691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_code_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20694 arg2
= (int)SWIG_As_int(obj1
);
20695 if (PyErr_Occurred()) SWIG_fail
;
20696 if (arg1
) (arg1
)->m_code
= arg2
;
20698 Py_INCREF(Py_None
); resultobj
= Py_None
;
20705 static PyObject
*_wrap_ListEvent_m_code_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20706 PyObject
*resultobj
;
20707 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20709 PyObject
* obj0
= 0 ;
20710 char *kwnames
[] = {
20711 (char *) "self", NULL
20714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_code_get",kwnames
,&obj0
)) goto fail
;
20715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20717 result
= (int) ((arg1
)->m_code
);
20719 resultobj
= SWIG_From_int((int)result
);
20726 static PyObject
*_wrap_ListEvent_m_oldItemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20727 PyObject
*resultobj
;
20728 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20730 PyObject
* obj0
= 0 ;
20731 PyObject
* obj1
= 0 ;
20732 char *kwnames
[] = {
20733 (char *) "self",(char *) "m_oldItemIndex", NULL
20736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_oldItemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20739 arg2
= (long)SWIG_As_long(obj1
);
20740 if (PyErr_Occurred()) SWIG_fail
;
20741 if (arg1
) (arg1
)->m_oldItemIndex
= arg2
;
20743 Py_INCREF(Py_None
); resultobj
= Py_None
;
20750 static PyObject
*_wrap_ListEvent_m_oldItemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20751 PyObject
*resultobj
;
20752 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20754 PyObject
* obj0
= 0 ;
20755 char *kwnames
[] = {
20756 (char *) "self", NULL
20759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames
,&obj0
)) goto fail
;
20760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20762 result
= (long) ((arg1
)->m_oldItemIndex
);
20764 resultobj
= SWIG_From_long((long)result
);
20771 static PyObject
*_wrap_ListEvent_m_itemIndex_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20772 PyObject
*resultobj
;
20773 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20775 PyObject
* obj0
= 0 ;
20776 PyObject
* obj1
= 0 ;
20777 char *kwnames
[] = {
20778 (char *) "self",(char *) "m_itemIndex", NULL
20781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_itemIndex_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20784 arg2
= (long)SWIG_As_long(obj1
);
20785 if (PyErr_Occurred()) SWIG_fail
;
20786 if (arg1
) (arg1
)->m_itemIndex
= arg2
;
20788 Py_INCREF(Py_None
); resultobj
= Py_None
;
20795 static PyObject
*_wrap_ListEvent_m_itemIndex_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20796 PyObject
*resultobj
;
20797 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20799 PyObject
* obj0
= 0 ;
20800 char *kwnames
[] = {
20801 (char *) "self", NULL
20804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_itemIndex_get",kwnames
,&obj0
)) goto fail
;
20805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20807 result
= (long) ((arg1
)->m_itemIndex
);
20809 resultobj
= SWIG_From_long((long)result
);
20816 static PyObject
*_wrap_ListEvent_m_col_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20817 PyObject
*resultobj
;
20818 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20820 PyObject
* obj0
= 0 ;
20821 PyObject
* obj1
= 0 ;
20822 char *kwnames
[] = {
20823 (char *) "self",(char *) "m_col", NULL
20826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_col_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20829 arg2
= (int)SWIG_As_int(obj1
);
20830 if (PyErr_Occurred()) SWIG_fail
;
20831 if (arg1
) (arg1
)->m_col
= arg2
;
20833 Py_INCREF(Py_None
); resultobj
= Py_None
;
20840 static PyObject
*_wrap_ListEvent_m_col_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20841 PyObject
*resultobj
;
20842 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20844 PyObject
* obj0
= 0 ;
20845 char *kwnames
[] = {
20846 (char *) "self", NULL
20849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_col_get",kwnames
,&obj0
)) goto fail
;
20850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20852 result
= (int) ((arg1
)->m_col
);
20854 resultobj
= SWIG_From_int((int)result
);
20861 static PyObject
*_wrap_ListEvent_m_pointDrag_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20862 PyObject
*resultobj
;
20863 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20864 wxPoint
*arg2
= (wxPoint
*) 0 ;
20865 PyObject
* obj0
= 0 ;
20866 PyObject
* obj1
= 0 ;
20867 char *kwnames
[] = {
20868 (char *) "self",(char *) "m_pointDrag", NULL
20871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_m_pointDrag_set",kwnames
,&obj0
,&obj1
)) goto fail
;
20872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20874 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
20875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20876 if (arg1
) (arg1
)->m_pointDrag
= *arg2
;
20878 Py_INCREF(Py_None
); resultobj
= Py_None
;
20885 static PyObject
*_wrap_ListEvent_m_pointDrag_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20886 PyObject
*resultobj
;
20887 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20889 PyObject
* obj0
= 0 ;
20890 char *kwnames
[] = {
20891 (char *) "self", NULL
20894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_pointDrag_get",kwnames
,&obj0
)) goto fail
;
20895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20897 result
= (wxPoint
*)& ((arg1
)->m_pointDrag
);
20899 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
20906 static PyObject
*_wrap_ListEvent_m_item_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20907 PyObject
*resultobj
;
20908 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20909 wxListItem
*result
;
20910 PyObject
* obj0
= 0 ;
20911 char *kwnames
[] = {
20912 (char *) "self", NULL
20915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_m_item_get",kwnames
,&obj0
)) goto fail
;
20916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20918 result
= (wxListItem
*)& ((arg1
)->m_item
);
20921 resultobj
= wxPyMake_wxObject(result
, 0);
20929 static PyObject
*_wrap_ListEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20930 PyObject
*resultobj
;
20931 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20933 PyObject
* obj0
= 0 ;
20934 char *kwnames
[] = {
20935 (char *) "self", NULL
20938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20943 result
= (int)(arg1
)->GetKeyCode();
20945 wxPyEndAllowThreads(__tstate
);
20946 if (PyErr_Occurred()) SWIG_fail
;
20948 resultobj
= SWIG_From_int((int)result
);
20955 static PyObject
*_wrap_ListEvent_GetIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20956 PyObject
*resultobj
;
20957 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20959 PyObject
* obj0
= 0 ;
20960 char *kwnames
[] = {
20961 (char *) "self", NULL
20964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetIndex",kwnames
,&obj0
)) goto fail
;
20965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20969 result
= (long)(arg1
)->GetIndex();
20971 wxPyEndAllowThreads(__tstate
);
20972 if (PyErr_Occurred()) SWIG_fail
;
20974 resultobj
= SWIG_From_long((long)result
);
20981 static PyObject
*_wrap_ListEvent_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20982 PyObject
*resultobj
;
20983 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
20985 PyObject
* obj0
= 0 ;
20986 char *kwnames
[] = {
20987 (char *) "self", NULL
20990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetColumn",kwnames
,&obj0
)) goto fail
;
20991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
20992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20995 result
= (int)(arg1
)->GetColumn();
20997 wxPyEndAllowThreads(__tstate
);
20998 if (PyErr_Occurred()) SWIG_fail
;
21000 resultobj
= SWIG_From_int((int)result
);
21007 static PyObject
*_wrap_ListEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21008 PyObject
*resultobj
;
21009 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21011 PyObject
* obj0
= 0 ;
21012 char *kwnames
[] = {
21013 (char *) "self", NULL
21016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
21017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21021 result
= (arg1
)->GetPoint();
21023 wxPyEndAllowThreads(__tstate
);
21024 if (PyErr_Occurred()) SWIG_fail
;
21027 wxPoint
* resultptr
;
21028 resultptr
= new wxPoint((wxPoint
&) result
);
21029 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
21037 static PyObject
*_wrap_ListEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21038 PyObject
*resultobj
;
21039 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21041 PyObject
* obj0
= 0 ;
21042 char *kwnames
[] = {
21043 (char *) "self", NULL
21046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
21047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21052 wxString
const &_result_ref
= (arg1
)->GetLabel();
21053 result
= (wxString
*) &_result_ref
;
21056 wxPyEndAllowThreads(__tstate
);
21057 if (PyErr_Occurred()) SWIG_fail
;
21061 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21063 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21072 static PyObject
*_wrap_ListEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21073 PyObject
*resultobj
;
21074 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21076 PyObject
* obj0
= 0 ;
21077 char *kwnames
[] = {
21078 (char *) "self", NULL
21081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetText",kwnames
,&obj0
)) goto fail
;
21082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21087 wxString
const &_result_ref
= (arg1
)->GetText();
21088 result
= (wxString
*) &_result_ref
;
21091 wxPyEndAllowThreads(__tstate
);
21092 if (PyErr_Occurred()) SWIG_fail
;
21096 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
21098 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
21107 static PyObject
*_wrap_ListEvent_GetImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21108 PyObject
*resultobj
;
21109 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21111 PyObject
* obj0
= 0 ;
21112 char *kwnames
[] = {
21113 (char *) "self", NULL
21116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetImage",kwnames
,&obj0
)) goto fail
;
21117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21121 result
= (int)(arg1
)->GetImage();
21123 wxPyEndAllowThreads(__tstate
);
21124 if (PyErr_Occurred()) SWIG_fail
;
21126 resultobj
= SWIG_From_int((int)result
);
21133 static PyObject
*_wrap_ListEvent_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21134 PyObject
*resultobj
;
21135 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21137 PyObject
* obj0
= 0 ;
21138 char *kwnames
[] = {
21139 (char *) "self", NULL
21142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetData",kwnames
,&obj0
)) goto fail
;
21143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21147 result
= (long)(arg1
)->GetData();
21149 wxPyEndAllowThreads(__tstate
);
21150 if (PyErr_Occurred()) SWIG_fail
;
21152 resultobj
= SWIG_From_long((long)result
);
21159 static PyObject
*_wrap_ListEvent_GetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21160 PyObject
*resultobj
;
21161 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21163 PyObject
* obj0
= 0 ;
21164 char *kwnames
[] = {
21165 (char *) "self", NULL
21168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetMask",kwnames
,&obj0
)) goto fail
;
21169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21173 result
= (long)(arg1
)->GetMask();
21175 wxPyEndAllowThreads(__tstate
);
21176 if (PyErr_Occurred()) SWIG_fail
;
21178 resultobj
= SWIG_From_long((long)result
);
21185 static PyObject
*_wrap_ListEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21186 PyObject
*resultobj
;
21187 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21188 wxListItem
*result
;
21189 PyObject
* obj0
= 0 ;
21190 char *kwnames
[] = {
21191 (char *) "self", NULL
21194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetItem",kwnames
,&obj0
)) goto fail
;
21195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21200 wxListItem
const &_result_ref
= (arg1
)->GetItem();
21201 result
= (wxListItem
*) &_result_ref
;
21204 wxPyEndAllowThreads(__tstate
);
21205 if (PyErr_Occurred()) SWIG_fail
;
21207 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListItem
, 0);
21214 static PyObject
*_wrap_ListEvent_GetCacheFrom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21215 PyObject
*resultobj
;
21216 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21218 PyObject
* obj0
= 0 ;
21219 char *kwnames
[] = {
21220 (char *) "self", NULL
21223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheFrom",kwnames
,&obj0
)) goto fail
;
21224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21228 result
= (long)(arg1
)->GetCacheFrom();
21230 wxPyEndAllowThreads(__tstate
);
21231 if (PyErr_Occurred()) SWIG_fail
;
21233 resultobj
= SWIG_From_long((long)result
);
21240 static PyObject
*_wrap_ListEvent_GetCacheTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21241 PyObject
*resultobj
;
21242 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21244 PyObject
* obj0
= 0 ;
21245 char *kwnames
[] = {
21246 (char *) "self", NULL
21249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_GetCacheTo",kwnames
,&obj0
)) goto fail
;
21250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21254 result
= (long)(arg1
)->GetCacheTo();
21256 wxPyEndAllowThreads(__tstate
);
21257 if (PyErr_Occurred()) SWIG_fail
;
21259 resultobj
= SWIG_From_long((long)result
);
21266 static PyObject
*_wrap_ListEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21267 PyObject
*resultobj
;
21268 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21270 PyObject
* obj0
= 0 ;
21271 char *kwnames
[] = {
21272 (char *) "self", NULL
21275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
21276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21280 result
= (bool)((wxListEvent
const *)arg1
)->IsEditCancelled();
21282 wxPyEndAllowThreads(__tstate
);
21283 if (PyErr_Occurred()) SWIG_fail
;
21286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21294 static PyObject
*_wrap_ListEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21295 PyObject
*resultobj
;
21296 wxListEvent
*arg1
= (wxListEvent
*) 0 ;
21298 PyObject
* obj0
= 0 ;
21299 PyObject
* obj1
= 0 ;
21300 char *kwnames
[] = {
21301 (char *) "self",(char *) "editCancelled", NULL
21304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
21305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListEvent
,
21306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21307 arg2
= (bool)SWIG_As_bool(obj1
);
21308 if (PyErr_Occurred()) SWIG_fail
;
21310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21311 (arg1
)->SetEditCanceled(arg2
);
21313 wxPyEndAllowThreads(__tstate
);
21314 if (PyErr_Occurred()) SWIG_fail
;
21316 Py_INCREF(Py_None
); resultobj
= Py_None
;
21323 static PyObject
* ListEvent_swigregister(PyObject
*, PyObject
*args
) {
21325 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21326 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent
, obj
);
21328 return Py_BuildValue((char *)"");
21330 static PyObject
*_wrap_new_ListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21331 PyObject
*resultobj
;
21332 wxWindow
*arg1
= (wxWindow
*) 0 ;
21333 int arg2
= (int) -1 ;
21334 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21335 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21336 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21337 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21338 long arg5
= (long) wxLC_ICON
;
21339 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
21340 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
21341 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
21342 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21343 wxPyListCtrl
*result
;
21346 bool temp7
= False
;
21347 PyObject
* obj0
= 0 ;
21348 PyObject
* obj1
= 0 ;
21349 PyObject
* obj2
= 0 ;
21350 PyObject
* obj3
= 0 ;
21351 PyObject
* obj4
= 0 ;
21352 PyObject
* obj5
= 0 ;
21353 PyObject
* obj6
= 0 ;
21354 char *kwnames
[] = {
21355 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21362 arg2
= (int)SWIG_As_int(obj1
);
21363 if (PyErr_Occurred()) SWIG_fail
;
21368 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21374 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21378 arg5
= (long)SWIG_As_long(obj4
);
21379 if (PyErr_Occurred()) SWIG_fail
;
21382 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
21383 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21385 if (arg6
== NULL
) {
21386 PyErr_SetString(PyExc_TypeError
,"null reference");
21392 arg7
= wxString_in_helper(obj6
);
21393 if (arg7
== NULL
) SWIG_fail
;
21398 if (!wxPyCheckForApp()) SWIG_fail
;
21399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21400 result
= (wxPyListCtrl
*)new wxPyListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
21402 wxPyEndAllowThreads(__tstate
);
21403 if (PyErr_Occurred()) SWIG_fail
;
21405 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21420 static PyObject
*_wrap_new_PreListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21421 PyObject
*resultobj
;
21422 wxPyListCtrl
*result
;
21423 char *kwnames
[] = {
21427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListCtrl",kwnames
)) goto fail
;
21429 if (!wxPyCheckForApp()) SWIG_fail
;
21430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21431 result
= (wxPyListCtrl
*)new wxPyListCtrl();
21433 wxPyEndAllowThreads(__tstate
);
21434 if (PyErr_Occurred()) SWIG_fail
;
21436 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyListCtrl
, 1);
21443 static PyObject
*_wrap_ListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21444 PyObject
*resultobj
;
21445 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21446 wxWindow
*arg2
= (wxWindow
*) 0 ;
21447 int arg3
= (int) -1 ;
21448 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21449 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21450 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21451 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21452 long arg6
= (long) wxLC_ICON
;
21453 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
21454 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
21455 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
21456 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21460 bool temp8
= False
;
21461 PyObject
* obj0
= 0 ;
21462 PyObject
* obj1
= 0 ;
21463 PyObject
* obj2
= 0 ;
21464 PyObject
* obj3
= 0 ;
21465 PyObject
* obj4
= 0 ;
21466 PyObject
* obj5
= 0 ;
21467 PyObject
* obj6
= 0 ;
21468 PyObject
* obj7
= 0 ;
21469 char *kwnames
[] = {
21470 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
21473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
21474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21476 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21479 arg3
= (int)SWIG_As_int(obj2
);
21480 if (PyErr_Occurred()) SWIG_fail
;
21485 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21491 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21495 arg6
= (long)SWIG_As_long(obj5
);
21496 if (PyErr_Occurred()) SWIG_fail
;
21499 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
21500 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21502 if (arg7
== NULL
) {
21503 PyErr_SetString(PyExc_TypeError
,"null reference");
21509 arg8
= wxString_in_helper(obj7
);
21510 if (arg8
== NULL
) SWIG_fail
;
21515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21516 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
21518 wxPyEndAllowThreads(__tstate
);
21519 if (PyErr_Occurred()) SWIG_fail
;
21522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21538 static PyObject
*_wrap_ListCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21539 PyObject
*resultobj
;
21540 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21541 PyObject
*arg2
= (PyObject
*) 0 ;
21542 PyObject
*arg3
= (PyObject
*) 0 ;
21543 PyObject
* obj0
= 0 ;
21544 PyObject
* obj1
= 0 ;
21545 PyObject
* obj2
= 0 ;
21546 char *kwnames
[] = {
21547 (char *) "self",(char *) "self",(char *) "_class", NULL
21550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21557 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21559 wxPyEndAllowThreads(__tstate
);
21560 if (PyErr_Occurred()) SWIG_fail
;
21562 Py_INCREF(Py_None
); resultobj
= Py_None
;
21569 static PyObject
*_wrap_ListCtrl_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21570 PyObject
*resultobj
;
21571 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21572 wxColour
*arg2
= 0 ;
21575 PyObject
* obj0
= 0 ;
21576 PyObject
* obj1
= 0 ;
21577 char *kwnames
[] = {
21578 (char *) "self",(char *) "col", NULL
21581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21586 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21590 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
21592 wxPyEndAllowThreads(__tstate
);
21593 if (PyErr_Occurred()) SWIG_fail
;
21596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21604 static PyObject
*_wrap_ListCtrl_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21605 PyObject
*resultobj
;
21606 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21607 wxColour
*arg2
= 0 ;
21610 PyObject
* obj0
= 0 ;
21611 PyObject
* obj1
= 0 ;
21612 char *kwnames
[] = {
21613 (char *) "self",(char *) "col", NULL
21616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
21617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21621 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
21624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21625 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
21627 wxPyEndAllowThreads(__tstate
);
21628 if (PyErr_Occurred()) SWIG_fail
;
21631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21639 static PyObject
*_wrap_ListCtrl_GetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21640 PyObject
*resultobj
;
21641 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21643 wxListItem
*result
;
21644 PyObject
* obj0
= 0 ;
21645 PyObject
* obj1
= 0 ;
21646 char *kwnames
[] = {
21647 (char *) "self",(char *) "col", NULL
21650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
21651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21653 arg2
= (int)SWIG_As_int(obj1
);
21654 if (PyErr_Occurred()) SWIG_fail
;
21656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21657 result
= (wxListItem
*)wxPyListCtrl_GetColumn(arg1
,arg2
);
21659 wxPyEndAllowThreads(__tstate
);
21660 if (PyErr_Occurred()) SWIG_fail
;
21663 resultobj
= wxPyMake_wxObject(result
, 0);
21671 static PyObject
*_wrap_ListCtrl_SetColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21672 PyObject
*resultobj
;
21673 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21675 wxListItem
*arg3
= 0 ;
21677 PyObject
* obj0
= 0 ;
21678 PyObject
* obj1
= 0 ;
21679 PyObject
* obj2
= 0 ;
21680 char *kwnames
[] = {
21681 (char *) "self",(char *) "col",(char *) "item", NULL
21684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumn",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21687 arg2
= (int)SWIG_As_int(obj1
);
21688 if (PyErr_Occurred()) SWIG_fail
;
21689 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
21690 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21692 if (arg3
== NULL
) {
21693 PyErr_SetString(PyExc_TypeError
,"null reference");
21697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21698 result
= (bool)(arg1
)->SetColumn(arg2
,*arg3
);
21700 wxPyEndAllowThreads(__tstate
);
21701 if (PyErr_Occurred()) SWIG_fail
;
21704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21712 static PyObject
*_wrap_ListCtrl_GetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21713 PyObject
*resultobj
;
21714 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21717 PyObject
* obj0
= 0 ;
21718 PyObject
* obj1
= 0 ;
21719 char *kwnames
[] = {
21720 (char *) "self",(char *) "col", NULL
21723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetColumnWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
21724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21726 arg2
= (int)SWIG_As_int(obj1
);
21727 if (PyErr_Occurred()) SWIG_fail
;
21729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21730 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnWidth(arg2
);
21732 wxPyEndAllowThreads(__tstate
);
21733 if (PyErr_Occurred()) SWIG_fail
;
21735 resultobj
= SWIG_From_int((int)result
);
21742 static PyObject
*_wrap_ListCtrl_SetColumnWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21743 PyObject
*resultobj
;
21744 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21748 PyObject
* obj0
= 0 ;
21749 PyObject
* obj1
= 0 ;
21750 PyObject
* obj2
= 0 ;
21751 char *kwnames
[] = {
21752 (char *) "self",(char *) "col",(char *) "width", NULL
21755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetColumnWidth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21758 arg2
= (int)SWIG_As_int(obj1
);
21759 if (PyErr_Occurred()) SWIG_fail
;
21760 arg3
= (int)SWIG_As_int(obj2
);
21761 if (PyErr_Occurred()) SWIG_fail
;
21763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21764 result
= (bool)(arg1
)->SetColumnWidth(arg2
,arg3
);
21766 wxPyEndAllowThreads(__tstate
);
21767 if (PyErr_Occurred()) SWIG_fail
;
21770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21778 static PyObject
*_wrap_ListCtrl_GetCountPerPage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21779 PyObject
*resultobj
;
21780 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21782 PyObject
* obj0
= 0 ;
21783 char *kwnames
[] = {
21784 (char *) "self", NULL
21787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetCountPerPage",kwnames
,&obj0
)) goto fail
;
21788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21792 result
= (int)((wxPyListCtrl
const *)arg1
)->GetCountPerPage();
21794 wxPyEndAllowThreads(__tstate
);
21795 if (PyErr_Occurred()) SWIG_fail
;
21797 resultobj
= SWIG_From_int((int)result
);
21804 static PyObject
*_wrap_ListCtrl_GetViewRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21805 PyObject
*resultobj
;
21806 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21808 PyObject
* obj0
= 0 ;
21809 char *kwnames
[] = {
21810 (char *) "self", NULL
21813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetViewRect",kwnames
,&obj0
)) goto fail
;
21814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21818 result
= ((wxPyListCtrl
const *)arg1
)->GetViewRect();
21820 wxPyEndAllowThreads(__tstate
);
21821 if (PyErr_Occurred()) SWIG_fail
;
21824 wxRect
* resultptr
;
21825 resultptr
= new wxRect((wxRect
&) result
);
21826 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
21834 static PyObject
*_wrap_ListCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21835 PyObject
*resultobj
;
21836 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21837 wxTextCtrl
*result
;
21838 PyObject
* obj0
= 0 ;
21839 char *kwnames
[] = {
21840 (char *) "self", NULL
21843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
21844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21848 result
= (wxTextCtrl
*)((wxPyListCtrl
const *)arg1
)->GetEditControl();
21850 wxPyEndAllowThreads(__tstate
);
21851 if (PyErr_Occurred()) SWIG_fail
;
21854 resultobj
= wxPyMake_wxObject(result
, 0);
21862 static PyObject
*_wrap_ListCtrl_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21863 PyObject
*resultobj
;
21864 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21866 int arg3
= (int) 0 ;
21867 wxListItem
*result
;
21868 PyObject
* obj0
= 0 ;
21869 PyObject
* obj1
= 0 ;
21870 PyObject
* obj2
= 0 ;
21871 char *kwnames
[] = {
21872 (char *) "self",(char *) "itemId",(char *) "col", NULL
21875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21878 arg2
= (long)SWIG_As_long(obj1
);
21879 if (PyErr_Occurred()) SWIG_fail
;
21881 arg3
= (int)SWIG_As_int(obj2
);
21882 if (PyErr_Occurred()) SWIG_fail
;
21885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21886 result
= (wxListItem
*)wxPyListCtrl_GetItem(arg1
,arg2
,arg3
);
21888 wxPyEndAllowThreads(__tstate
);
21889 if (PyErr_Occurred()) SWIG_fail
;
21892 resultobj
= wxPyMake_wxObject(result
, 0);
21900 static PyObject
*_wrap_ListCtrl_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21901 PyObject
*resultobj
;
21902 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21903 wxListItem
*arg2
= 0 ;
21905 PyObject
* obj0
= 0 ;
21906 PyObject
* obj1
= 0 ;
21907 char *kwnames
[] = {
21908 (char *) "self",(char *) "info", NULL
21911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21914 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
21915 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21917 if (arg2
== NULL
) {
21918 PyErr_SetString(PyExc_TypeError
,"null reference");
21922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21923 result
= (bool)(arg1
)->SetItem(*arg2
);
21925 wxPyEndAllowThreads(__tstate
);
21926 if (PyErr_Occurred()) SWIG_fail
;
21929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21937 static PyObject
*_wrap_ListCtrl_SetStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21938 PyObject
*resultobj
;
21939 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21942 wxString
*arg4
= 0 ;
21943 int arg5
= (int) -1 ;
21945 bool temp4
= False
;
21946 PyObject
* obj0
= 0 ;
21947 PyObject
* obj1
= 0 ;
21948 PyObject
* obj2
= 0 ;
21949 PyObject
* obj3
= 0 ;
21950 PyObject
* obj4
= 0 ;
21951 char *kwnames
[] = {
21952 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
21955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:ListCtrl_SetStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
21956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
21957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21958 arg2
= (long)SWIG_As_long(obj1
);
21959 if (PyErr_Occurred()) SWIG_fail
;
21960 arg3
= (int)SWIG_As_int(obj2
);
21961 if (PyErr_Occurred()) SWIG_fail
;
21963 arg4
= wxString_in_helper(obj3
);
21964 if (arg4
== NULL
) SWIG_fail
;
21968 arg5
= (int)SWIG_As_int(obj4
);
21969 if (PyErr_Occurred()) SWIG_fail
;
21972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21973 result
= (long)(arg1
)->SetItem(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
21975 wxPyEndAllowThreads(__tstate
);
21976 if (PyErr_Occurred()) SWIG_fail
;
21978 resultobj
= SWIG_From_long((long)result
);
21993 static PyObject
*_wrap_ListCtrl_GetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21994 PyObject
*resultobj
;
21995 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
21999 PyObject
* obj0
= 0 ;
22000 PyObject
* obj1
= 0 ;
22001 PyObject
* obj2
= 0 ;
22002 char *kwnames
[] = {
22003 (char *) "self",(char *) "item",(char *) "stateMask", NULL
22006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_GetItemState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22009 arg2
= (long)SWIG_As_long(obj1
);
22010 if (PyErr_Occurred()) SWIG_fail
;
22011 arg3
= (long)SWIG_As_long(obj2
);
22012 if (PyErr_Occurred()) SWIG_fail
;
22014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22015 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemState(arg2
,arg3
);
22017 wxPyEndAllowThreads(__tstate
);
22018 if (PyErr_Occurred()) SWIG_fail
;
22020 resultobj
= SWIG_From_int((int)result
);
22027 static PyObject
*_wrap_ListCtrl_SetItemState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22028 PyObject
*resultobj
;
22029 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22034 PyObject
* obj0
= 0 ;
22035 PyObject
* obj1
= 0 ;
22036 PyObject
* obj2
= 0 ;
22037 PyObject
* obj3
= 0 ;
22038 char *kwnames
[] = {
22039 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
22042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemState",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22045 arg2
= (long)SWIG_As_long(obj1
);
22046 if (PyErr_Occurred()) SWIG_fail
;
22047 arg3
= (long)SWIG_As_long(obj2
);
22048 if (PyErr_Occurred()) SWIG_fail
;
22049 arg4
= (long)SWIG_As_long(obj3
);
22050 if (PyErr_Occurred()) SWIG_fail
;
22052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22053 result
= (bool)(arg1
)->SetItemState(arg2
,arg3
,arg4
);
22055 wxPyEndAllowThreads(__tstate
);
22056 if (PyErr_Occurred()) SWIG_fail
;
22059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22067 static PyObject
*_wrap_ListCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22068 PyObject
*resultobj
;
22069 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22074 PyObject
* obj0
= 0 ;
22075 PyObject
* obj1
= 0 ;
22076 PyObject
* obj2
= 0 ;
22077 PyObject
* obj3
= 0 ;
22078 char *kwnames
[] = {
22079 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
22082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22085 arg2
= (long)SWIG_As_long(obj1
);
22086 if (PyErr_Occurred()) SWIG_fail
;
22087 arg3
= (int)SWIG_As_int(obj2
);
22088 if (PyErr_Occurred()) SWIG_fail
;
22089 arg4
= (int)SWIG_As_int(obj3
);
22090 if (PyErr_Occurred()) SWIG_fail
;
22092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22093 result
= (bool)(arg1
)->SetItemImage(arg2
,arg3
,arg4
);
22095 wxPyEndAllowThreads(__tstate
);
22096 if (PyErr_Occurred()) SWIG_fail
;
22099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22107 static PyObject
*_wrap_ListCtrl_GetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22108 PyObject
*resultobj
;
22109 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22112 PyObject
* obj0
= 0 ;
22113 PyObject
* obj1
= 0 ;
22114 char *kwnames
[] = {
22115 (char *) "self",(char *) "item", NULL
22118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemText",kwnames
,&obj0
,&obj1
)) goto fail
;
22119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22121 arg2
= (long)SWIG_As_long(obj1
);
22122 if (PyErr_Occurred()) SWIG_fail
;
22124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22125 result
= ((wxPyListCtrl
const *)arg1
)->GetItemText(arg2
);
22127 wxPyEndAllowThreads(__tstate
);
22128 if (PyErr_Occurred()) SWIG_fail
;
22132 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22134 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22143 static PyObject
*_wrap_ListCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22144 PyObject
*resultobj
;
22145 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22147 wxString
*arg3
= 0 ;
22148 bool temp3
= False
;
22149 PyObject
* obj0
= 0 ;
22150 PyObject
* obj1
= 0 ;
22151 PyObject
* obj2
= 0 ;
22152 char *kwnames
[] = {
22153 (char *) "self",(char *) "item",(char *) "str", NULL
22156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22159 arg2
= (long)SWIG_As_long(obj1
);
22160 if (PyErr_Occurred()) SWIG_fail
;
22162 arg3
= wxString_in_helper(obj2
);
22163 if (arg3
== NULL
) SWIG_fail
;
22167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22168 (arg1
)->SetItemText(arg2
,(wxString
const &)*arg3
);
22170 wxPyEndAllowThreads(__tstate
);
22171 if (PyErr_Occurred()) SWIG_fail
;
22173 Py_INCREF(Py_None
); resultobj
= Py_None
;
22188 static PyObject
*_wrap_ListCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22189 PyObject
*resultobj
;
22190 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22193 PyObject
* obj0
= 0 ;
22194 PyObject
* obj1
= 0 ;
22195 char *kwnames
[] = {
22196 (char *) "self",(char *) "item", NULL
22199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
22200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22202 arg2
= (long)SWIG_As_long(obj1
);
22203 if (PyErr_Occurred()) SWIG_fail
;
22205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22206 result
= (long)((wxPyListCtrl
const *)arg1
)->GetItemData(arg2
);
22208 wxPyEndAllowThreads(__tstate
);
22209 if (PyErr_Occurred()) SWIG_fail
;
22211 resultobj
= SWIG_From_long((long)result
);
22218 static PyObject
*_wrap_ListCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22219 PyObject
*resultobj
;
22220 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22224 PyObject
* obj0
= 0 ;
22225 PyObject
* obj1
= 0 ;
22226 PyObject
* obj2
= 0 ;
22227 char *kwnames
[] = {
22228 (char *) "self",(char *) "item",(char *) "data", NULL
22231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22234 arg2
= (long)SWIG_As_long(obj1
);
22235 if (PyErr_Occurred()) SWIG_fail
;
22236 arg3
= (long)SWIG_As_long(obj2
);
22237 if (PyErr_Occurred()) SWIG_fail
;
22239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22240 result
= (bool)(arg1
)->SetItemData(arg2
,arg3
);
22242 wxPyEndAllowThreads(__tstate
);
22243 if (PyErr_Occurred()) SWIG_fail
;
22246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22254 static PyObject
*_wrap_ListCtrl_GetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22255 PyObject
*resultobj
;
22256 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22259 PyObject
* obj0
= 0 ;
22260 PyObject
* obj1
= 0 ;
22261 char *kwnames
[] = {
22262 (char *) "self",(char *) "item", NULL
22265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
22266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22268 arg2
= (long)SWIG_As_long(obj1
);
22269 if (PyErr_Occurred()) SWIG_fail
;
22271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22272 result
= wxPyListCtrl_GetItemPosition(arg1
,arg2
);
22274 wxPyEndAllowThreads(__tstate
);
22275 if (PyErr_Occurred()) SWIG_fail
;
22278 wxPoint
* resultptr
;
22279 resultptr
= new wxPoint((wxPoint
&) result
);
22280 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22288 static PyObject
*_wrap_ListCtrl_GetItemRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22289 PyObject
*resultobj
;
22290 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22292 int arg3
= (int) wxLIST_RECT_BOUNDS
;
22294 PyObject
* obj0
= 0 ;
22295 PyObject
* obj1
= 0 ;
22296 PyObject
* obj2
= 0 ;
22297 char *kwnames
[] = {
22298 (char *) "self",(char *) "item",(char *) "code", NULL
22301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_GetItemRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22304 arg2
= (long)SWIG_As_long(obj1
);
22305 if (PyErr_Occurred()) SWIG_fail
;
22307 arg3
= (int)SWIG_As_int(obj2
);
22308 if (PyErr_Occurred()) SWIG_fail
;
22311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22312 result
= wxPyListCtrl_GetItemRect(arg1
,arg2
,arg3
);
22314 wxPyEndAllowThreads(__tstate
);
22315 if (PyErr_Occurred()) SWIG_fail
;
22318 wxRect
* resultptr
;
22319 resultptr
= new wxRect((wxRect
&) result
);
22320 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22328 static PyObject
*_wrap_ListCtrl_SetItemPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22329 PyObject
*resultobj
;
22330 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22332 wxPoint
*arg3
= 0 ;
22335 PyObject
* obj0
= 0 ;
22336 PyObject
* obj1
= 0 ;
22337 PyObject
* obj2
= 0 ;
22338 char *kwnames
[] = {
22339 (char *) "self",(char *) "item",(char *) "pos", NULL
22342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemPosition",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22345 arg2
= (long)SWIG_As_long(obj1
);
22346 if (PyErr_Occurred()) SWIG_fail
;
22349 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22353 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxPoint
const &)*arg3
);
22355 wxPyEndAllowThreads(__tstate
);
22356 if (PyErr_Occurred()) SWIG_fail
;
22359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22367 static PyObject
*_wrap_ListCtrl_GetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22368 PyObject
*resultobj
;
22369 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22371 PyObject
* obj0
= 0 ;
22372 char *kwnames
[] = {
22373 (char *) "self", NULL
22376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemCount",kwnames
,&obj0
)) goto fail
;
22377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22381 result
= (int)((wxPyListCtrl
const *)arg1
)->GetItemCount();
22383 wxPyEndAllowThreads(__tstate
);
22384 if (PyErr_Occurred()) SWIG_fail
;
22386 resultobj
= SWIG_From_int((int)result
);
22393 static PyObject
*_wrap_ListCtrl_GetColumnCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22394 PyObject
*resultobj
;
22395 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22397 PyObject
* obj0
= 0 ;
22398 char *kwnames
[] = {
22399 (char *) "self", NULL
22402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetColumnCount",kwnames
,&obj0
)) goto fail
;
22403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22407 result
= (int)((wxPyListCtrl
const *)arg1
)->GetColumnCount();
22409 wxPyEndAllowThreads(__tstate
);
22410 if (PyErr_Occurred()) SWIG_fail
;
22412 resultobj
= SWIG_From_int((int)result
);
22419 static PyObject
*_wrap_ListCtrl_GetItemSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22420 PyObject
*resultobj
;
22421 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22423 PyObject
* obj0
= 0 ;
22424 char *kwnames
[] = {
22425 (char *) "self", NULL
22428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetItemSpacing",kwnames
,&obj0
)) goto fail
;
22429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22433 result
= ((wxPyListCtrl
const *)arg1
)->GetItemSpacing();
22435 wxPyEndAllowThreads(__tstate
);
22436 if (PyErr_Occurred()) SWIG_fail
;
22439 wxSize
* resultptr
;
22440 resultptr
= new wxSize((wxSize
&) result
);
22441 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22449 static PyObject
*_wrap_ListCtrl_GetSelectedItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22450 PyObject
*resultobj
;
22451 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22453 PyObject
* obj0
= 0 ;
22454 char *kwnames
[] = {
22455 (char *) "self", NULL
22458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames
,&obj0
)) goto fail
;
22459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22463 result
= (int)((wxPyListCtrl
const *)arg1
)->GetSelectedItemCount();
22465 wxPyEndAllowThreads(__tstate
);
22466 if (PyErr_Occurred()) SWIG_fail
;
22468 resultobj
= SWIG_From_int((int)result
);
22475 static PyObject
*_wrap_ListCtrl_GetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22476 PyObject
*resultobj
;
22477 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22479 PyObject
* obj0
= 0 ;
22480 char *kwnames
[] = {
22481 (char *) "self", NULL
22484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTextColour",kwnames
,&obj0
)) goto fail
;
22485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22489 result
= ((wxPyListCtrl
const *)arg1
)->GetTextColour();
22491 wxPyEndAllowThreads(__tstate
);
22492 if (PyErr_Occurred()) SWIG_fail
;
22495 wxColour
* resultptr
;
22496 resultptr
= new wxColour((wxColour
&) result
);
22497 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
22505 static PyObject
*_wrap_ListCtrl_SetTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22506 PyObject
*resultobj
;
22507 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22508 wxColour
*arg2
= 0 ;
22510 PyObject
* obj0
= 0 ;
22511 PyObject
* obj1
= 0 ;
22512 char *kwnames
[] = {
22513 (char *) "self",(char *) "col", NULL
22516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22521 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22525 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
22527 wxPyEndAllowThreads(__tstate
);
22528 if (PyErr_Occurred()) SWIG_fail
;
22530 Py_INCREF(Py_None
); resultobj
= Py_None
;
22537 static PyObject
*_wrap_ListCtrl_GetTopItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22538 PyObject
*resultobj
;
22539 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22541 PyObject
* obj0
= 0 ;
22542 char *kwnames
[] = {
22543 (char *) "self", NULL
22546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetTopItem",kwnames
,&obj0
)) goto fail
;
22547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22551 result
= (long)((wxPyListCtrl
const *)arg1
)->GetTopItem();
22553 wxPyEndAllowThreads(__tstate
);
22554 if (PyErr_Occurred()) SWIG_fail
;
22556 resultobj
= SWIG_From_long((long)result
);
22563 static PyObject
*_wrap_ListCtrl_SetSingleStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22564 PyObject
*resultobj
;
22565 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22567 bool arg3
= (bool) True
;
22568 PyObject
* obj0
= 0 ;
22569 PyObject
* obj1
= 0 ;
22570 PyObject
* obj2
= 0 ;
22571 char *kwnames
[] = {
22572 (char *) "self",(char *) "style",(char *) "add", NULL
22575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListCtrl_SetSingleStyle",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22578 arg2
= (long)SWIG_As_long(obj1
);
22579 if (PyErr_Occurred()) SWIG_fail
;
22581 arg3
= (bool)SWIG_As_bool(obj2
);
22582 if (PyErr_Occurred()) SWIG_fail
;
22585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22586 (arg1
)->SetSingleStyle(arg2
,arg3
);
22588 wxPyEndAllowThreads(__tstate
);
22589 if (PyErr_Occurred()) SWIG_fail
;
22591 Py_INCREF(Py_None
); resultobj
= Py_None
;
22598 static PyObject
*_wrap_ListCtrl_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22599 PyObject
*resultobj
;
22600 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22602 PyObject
* obj0
= 0 ;
22603 PyObject
* obj1
= 0 ;
22604 char *kwnames
[] = {
22605 (char *) "self",(char *) "style", NULL
22608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
22609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22611 arg2
= (long)SWIG_As_long(obj1
);
22612 if (PyErr_Occurred()) SWIG_fail
;
22614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22615 (arg1
)->SetWindowStyleFlag(arg2
);
22617 wxPyEndAllowThreads(__tstate
);
22618 if (PyErr_Occurred()) SWIG_fail
;
22620 Py_INCREF(Py_None
); resultobj
= Py_None
;
22627 static PyObject
*_wrap_ListCtrl_GetNextItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22628 PyObject
*resultobj
;
22629 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22631 int arg3
= (int) wxLIST_NEXT_ALL
;
22632 int arg4
= (int) wxLIST_STATE_DONTCARE
;
22634 PyObject
* obj0
= 0 ;
22635 PyObject
* obj1
= 0 ;
22636 PyObject
* obj2
= 0 ;
22637 PyObject
* obj3
= 0 ;
22638 char *kwnames
[] = {
22639 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
22642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:ListCtrl_GetNextItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22645 arg2
= (long)SWIG_As_long(obj1
);
22646 if (PyErr_Occurred()) SWIG_fail
;
22648 arg3
= (int)SWIG_As_int(obj2
);
22649 if (PyErr_Occurred()) SWIG_fail
;
22652 arg4
= (int)SWIG_As_int(obj3
);
22653 if (PyErr_Occurred()) SWIG_fail
;
22656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22657 result
= (long)((wxPyListCtrl
const *)arg1
)->GetNextItem(arg2
,arg3
,arg4
);
22659 wxPyEndAllowThreads(__tstate
);
22660 if (PyErr_Occurred()) SWIG_fail
;
22662 resultobj
= SWIG_From_long((long)result
);
22669 static PyObject
*_wrap_ListCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22670 PyObject
*resultobj
;
22671 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22673 wxImageList
*result
;
22674 PyObject
* obj0
= 0 ;
22675 PyObject
* obj1
= 0 ;
22676 char *kwnames
[] = {
22677 (char *) "self",(char *) "which", NULL
22680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
22681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22683 arg2
= (int)SWIG_As_int(obj1
);
22684 if (PyErr_Occurred()) SWIG_fail
;
22686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22687 result
= (wxImageList
*)((wxPyListCtrl
const *)arg1
)->GetImageList(arg2
);
22689 wxPyEndAllowThreads(__tstate
);
22690 if (PyErr_Occurred()) SWIG_fail
;
22693 resultobj
= wxPyMake_wxObject(result
, 0);
22701 static PyObject
*_wrap_ListCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22702 PyObject
*resultobj
;
22703 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22704 wxImageList
*arg2
= (wxImageList
*) 0 ;
22706 PyObject
* obj0
= 0 ;
22707 PyObject
* obj1
= 0 ;
22708 PyObject
* obj2
= 0 ;
22709 char *kwnames
[] = {
22710 (char *) "self",(char *) "imageList",(char *) "which", NULL
22713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22716 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22718 arg3
= (int)SWIG_As_int(obj2
);
22719 if (PyErr_Occurred()) SWIG_fail
;
22721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22722 (arg1
)->SetImageList(arg2
,arg3
);
22724 wxPyEndAllowThreads(__tstate
);
22725 if (PyErr_Occurred()) SWIG_fail
;
22727 Py_INCREF(Py_None
); resultobj
= Py_None
;
22734 static PyObject
*_wrap_ListCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22735 PyObject
*resultobj
;
22736 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22737 wxImageList
*arg2
= (wxImageList
*) 0 ;
22739 PyObject
* obj0
= 0 ;
22740 PyObject
* obj1
= 0 ;
22741 PyObject
* obj2
= 0 ;
22742 char *kwnames
[] = {
22743 (char *) "self",(char *) "imageList",(char *) "which", NULL
22746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_AssignImageList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22749 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
22750 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
22751 arg3
= (int)SWIG_As_int(obj2
);
22752 if (PyErr_Occurred()) SWIG_fail
;
22754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22755 (arg1
)->AssignImageList(arg2
,arg3
);
22757 wxPyEndAllowThreads(__tstate
);
22758 if (PyErr_Occurred()) SWIG_fail
;
22760 Py_INCREF(Py_None
); resultobj
= Py_None
;
22767 static PyObject
*_wrap_ListCtrl_InReportView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22768 PyObject
*resultobj
;
22769 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22771 PyObject
* obj0
= 0 ;
22772 char *kwnames
[] = {
22773 (char *) "self", NULL
22776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_InReportView",kwnames
,&obj0
)) goto fail
;
22777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22781 result
= (bool)((wxPyListCtrl
const *)arg1
)->InReportView();
22783 wxPyEndAllowThreads(__tstate
);
22784 if (PyErr_Occurred()) SWIG_fail
;
22787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22795 static PyObject
*_wrap_ListCtrl_IsVirtual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22796 PyObject
*resultobj
;
22797 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22799 PyObject
* obj0
= 0 ;
22800 char *kwnames
[] = {
22801 (char *) "self", NULL
22804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_IsVirtual",kwnames
,&obj0
)) goto fail
;
22805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22809 result
= (bool)((wxPyListCtrl
const *)arg1
)->IsVirtual();
22811 wxPyEndAllowThreads(__tstate
);
22812 if (PyErr_Occurred()) SWIG_fail
;
22815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22823 static PyObject
*_wrap_ListCtrl_RefreshItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22824 PyObject
*resultobj
;
22825 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22827 PyObject
* obj0
= 0 ;
22828 PyObject
* obj1
= 0 ;
22829 char *kwnames
[] = {
22830 (char *) "self",(char *) "item", NULL
22833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_RefreshItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22836 arg2
= (long)SWIG_As_long(obj1
);
22837 if (PyErr_Occurred()) SWIG_fail
;
22839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22840 (arg1
)->RefreshItem(arg2
);
22842 wxPyEndAllowThreads(__tstate
);
22843 if (PyErr_Occurred()) SWIG_fail
;
22845 Py_INCREF(Py_None
); resultobj
= Py_None
;
22852 static PyObject
*_wrap_ListCtrl_RefreshItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22853 PyObject
*resultobj
;
22854 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22857 PyObject
* obj0
= 0 ;
22858 PyObject
* obj1
= 0 ;
22859 PyObject
* obj2
= 0 ;
22860 char *kwnames
[] = {
22861 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
22864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_RefreshItems",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22867 arg2
= (long)SWIG_As_long(obj1
);
22868 if (PyErr_Occurred()) SWIG_fail
;
22869 arg3
= (long)SWIG_As_long(obj2
);
22870 if (PyErr_Occurred()) SWIG_fail
;
22872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22873 (arg1
)->RefreshItems(arg2
,arg3
);
22875 wxPyEndAllowThreads(__tstate
);
22876 if (PyErr_Occurred()) SWIG_fail
;
22878 Py_INCREF(Py_None
); resultobj
= Py_None
;
22885 static PyObject
*_wrap_ListCtrl_Arrange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22886 PyObject
*resultobj
;
22887 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22888 int arg2
= (int) wxLIST_ALIGN_DEFAULT
;
22890 PyObject
* obj0
= 0 ;
22891 PyObject
* obj1
= 0 ;
22892 char *kwnames
[] = {
22893 (char *) "self",(char *) "flag", NULL
22896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ListCtrl_Arrange",kwnames
,&obj0
,&obj1
)) goto fail
;
22897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22900 arg2
= (int)SWIG_As_int(obj1
);
22901 if (PyErr_Occurred()) SWIG_fail
;
22904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22905 result
= (bool)(arg1
)->Arrange(arg2
);
22907 wxPyEndAllowThreads(__tstate
);
22908 if (PyErr_Occurred()) SWIG_fail
;
22911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22919 static PyObject
*_wrap_ListCtrl_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22920 PyObject
*resultobj
;
22921 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22924 PyObject
* obj0
= 0 ;
22925 PyObject
* obj1
= 0 ;
22926 char *kwnames
[] = {
22927 (char *) "self",(char *) "item", NULL
22930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
22931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22933 arg2
= (long)SWIG_As_long(obj1
);
22934 if (PyErr_Occurred()) SWIG_fail
;
22936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22937 result
= (bool)(arg1
)->DeleteItem(arg2
);
22939 wxPyEndAllowThreads(__tstate
);
22940 if (PyErr_Occurred()) SWIG_fail
;
22943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22951 static PyObject
*_wrap_ListCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22952 PyObject
*resultobj
;
22953 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22955 PyObject
* obj0
= 0 ;
22956 char *kwnames
[] = {
22957 (char *) "self", NULL
22960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
22961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22965 result
= (bool)(arg1
)->DeleteAllItems();
22967 wxPyEndAllowThreads(__tstate
);
22968 if (PyErr_Occurred()) SWIG_fail
;
22971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22979 static PyObject
*_wrap_ListCtrl_DeleteColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22980 PyObject
*resultobj
;
22981 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
22984 PyObject
* obj0
= 0 ;
22985 PyObject
* obj1
= 0 ;
22986 char *kwnames
[] = {
22987 (char *) "self",(char *) "col", NULL
22990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_DeleteColumn",kwnames
,&obj0
,&obj1
)) goto fail
;
22991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
22992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22993 arg2
= (int)SWIG_As_int(obj1
);
22994 if (PyErr_Occurred()) SWIG_fail
;
22996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22997 result
= (bool)(arg1
)->DeleteColumn(arg2
);
22999 wxPyEndAllowThreads(__tstate
);
23000 if (PyErr_Occurred()) SWIG_fail
;
23003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23011 static PyObject
*_wrap_ListCtrl_DeleteAllColumns(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23012 PyObject
*resultobj
;
23013 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23015 PyObject
* obj0
= 0 ;
23016 char *kwnames
[] = {
23017 (char *) "self", NULL
23020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_DeleteAllColumns",kwnames
,&obj0
)) goto fail
;
23021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23025 result
= (bool)(arg1
)->DeleteAllColumns();
23027 wxPyEndAllowThreads(__tstate
);
23028 if (PyErr_Occurred()) SWIG_fail
;
23031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23039 static PyObject
*_wrap_ListCtrl_ClearAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23040 PyObject
*resultobj
;
23041 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23042 PyObject
* obj0
= 0 ;
23043 char *kwnames
[] = {
23044 (char *) "self", NULL
23047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_ClearAll",kwnames
,&obj0
)) goto fail
;
23048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23052 (arg1
)->ClearAll();
23054 wxPyEndAllowThreads(__tstate
);
23055 if (PyErr_Occurred()) SWIG_fail
;
23057 Py_INCREF(Py_None
); resultobj
= Py_None
;
23064 static PyObject
*_wrap_ListCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23065 PyObject
*resultobj
;
23066 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23068 wxTextCtrl
*result
;
23069 PyObject
* obj0
= 0 ;
23070 PyObject
* obj1
= 0 ;
23071 char *kwnames
[] = {
23072 (char *) "self",(char *) "item", NULL
23075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
23076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23078 arg2
= (long)SWIG_As_long(obj1
);
23079 if (PyErr_Occurred()) SWIG_fail
;
23081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23082 result
= (wxTextCtrl
*)(arg1
)->EditLabel(arg2
);
23084 wxPyEndAllowThreads(__tstate
);
23085 if (PyErr_Occurred()) SWIG_fail
;
23088 resultobj
= wxPyMake_wxObject(result
, 0);
23096 static PyObject
*_wrap_ListCtrl_EndEditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23097 PyObject
*resultobj
;
23098 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23101 PyObject
* obj0
= 0 ;
23102 PyObject
* obj1
= 0 ;
23103 char *kwnames
[] = {
23104 (char *) "self",(char *) "cancel", NULL
23107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
23108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23110 arg2
= (bool)SWIG_As_bool(obj1
);
23111 if (PyErr_Occurred()) SWIG_fail
;
23113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23114 result
= (bool)(arg1
)->EndEditLabel(arg2
);
23116 wxPyEndAllowThreads(__tstate
);
23117 if (PyErr_Occurred()) SWIG_fail
;
23120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23128 static PyObject
*_wrap_ListCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23129 PyObject
*resultobj
;
23130 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23133 PyObject
* obj0
= 0 ;
23134 PyObject
* obj1
= 0 ;
23135 char *kwnames
[] = {
23136 (char *) "self",(char *) "item", NULL
23139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
23140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23142 arg2
= (long)SWIG_As_long(obj1
);
23143 if (PyErr_Occurred()) SWIG_fail
;
23145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23146 result
= (bool)(arg1
)->EnsureVisible(arg2
);
23148 wxPyEndAllowThreads(__tstate
);
23149 if (PyErr_Occurred()) SWIG_fail
;
23152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23160 static PyObject
*_wrap_ListCtrl_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23161 PyObject
*resultobj
;
23162 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23164 wxString
*arg3
= 0 ;
23165 bool arg4
= (bool) False
;
23167 bool temp3
= False
;
23168 PyObject
* obj0
= 0 ;
23169 PyObject
* obj1
= 0 ;
23170 PyObject
* obj2
= 0 ;
23171 PyObject
* obj3
= 0 ;
23172 char *kwnames
[] = {
23173 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
23176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ListCtrl_FindItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23179 arg2
= (long)SWIG_As_long(obj1
);
23180 if (PyErr_Occurred()) SWIG_fail
;
23182 arg3
= wxString_in_helper(obj2
);
23183 if (arg3
== NULL
) SWIG_fail
;
23187 arg4
= (bool)SWIG_As_bool(obj3
);
23188 if (PyErr_Occurred()) SWIG_fail
;
23191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23192 result
= (long)(arg1
)->FindItem(arg2
,(wxString
const &)*arg3
,arg4
);
23194 wxPyEndAllowThreads(__tstate
);
23195 if (PyErr_Occurred()) SWIG_fail
;
23197 resultobj
= SWIG_From_long((long)result
);
23212 static PyObject
*_wrap_ListCtrl_FindItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23213 PyObject
*resultobj
;
23214 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23218 PyObject
* obj0
= 0 ;
23219 PyObject
* obj1
= 0 ;
23220 PyObject
* obj2
= 0 ;
23221 char *kwnames
[] = {
23222 (char *) "self",(char *) "start",(char *) "data", NULL
23225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_FindItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23228 arg2
= (long)SWIG_As_long(obj1
);
23229 if (PyErr_Occurred()) SWIG_fail
;
23230 arg3
= (long)SWIG_As_long(obj2
);
23231 if (PyErr_Occurred()) SWIG_fail
;
23233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23234 result
= (long)(arg1
)->FindItem(arg2
,arg3
);
23236 wxPyEndAllowThreads(__tstate
);
23237 if (PyErr_Occurred()) SWIG_fail
;
23239 resultobj
= SWIG_From_long((long)result
);
23246 static PyObject
*_wrap_ListCtrl_FindItemAtPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23247 PyObject
*resultobj
;
23248 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23250 wxPoint
*arg3
= 0 ;
23254 PyObject
* obj0
= 0 ;
23255 PyObject
* obj1
= 0 ;
23256 PyObject
* obj2
= 0 ;
23257 PyObject
* obj3
= 0 ;
23258 char *kwnames
[] = {
23259 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
23262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_FindItemAtPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23265 arg2
= (long)SWIG_As_long(obj1
);
23266 if (PyErr_Occurred()) SWIG_fail
;
23269 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23271 arg4
= (int)SWIG_As_int(obj3
);
23272 if (PyErr_Occurred()) SWIG_fail
;
23274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23275 result
= (long)(arg1
)->FindItem(arg2
,(wxPoint
const &)*arg3
,arg4
);
23277 wxPyEndAllowThreads(__tstate
);
23278 if (PyErr_Occurred()) SWIG_fail
;
23280 resultobj
= SWIG_From_long((long)result
);
23287 static PyObject
*_wrap_ListCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23288 PyObject
*resultobj
;
23289 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23290 wxPoint
*arg2
= 0 ;
23296 PyObject
* obj0
= 0 ;
23297 PyObject
* obj1
= 0 ;
23298 char *kwnames
[] = {
23299 (char *) "self",(char *) "point", NULL
23302 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
23303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
23304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23308 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23312 result
= (long)(arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
23314 wxPyEndAllowThreads(__tstate
);
23315 if (PyErr_Occurred()) SWIG_fail
;
23317 resultobj
= SWIG_From_long((long)result
);
23318 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
23319 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
23326 static PyObject
*_wrap_ListCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23327 PyObject
*resultobj
;
23328 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23329 wxListItem
*arg2
= 0 ;
23331 PyObject
* obj0
= 0 ;
23332 PyObject
* obj1
= 0 ;
23333 char *kwnames
[] = {
23334 (char *) "self",(char *) "info", NULL
23337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_InsertItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23340 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxListItem
,
23341 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23343 if (arg2
== NULL
) {
23344 PyErr_SetString(PyExc_TypeError
,"null reference");
23348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23349 result
= (long)(arg1
)->InsertItem(*arg2
);
23351 wxPyEndAllowThreads(__tstate
);
23352 if (PyErr_Occurred()) SWIG_fail
;
23354 resultobj
= SWIG_From_long((long)result
);
23361 static PyObject
*_wrap_ListCtrl_InsertStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23362 PyObject
*resultobj
;
23363 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23365 wxString
*arg3
= 0 ;
23367 bool temp3
= False
;
23368 PyObject
* obj0
= 0 ;
23369 PyObject
* obj1
= 0 ;
23370 PyObject
* obj2
= 0 ;
23371 char *kwnames
[] = {
23372 (char *) "self",(char *) "index",(char *) "label", NULL
23375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertStringItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23378 arg2
= (long)SWIG_As_long(obj1
);
23379 if (PyErr_Occurred()) SWIG_fail
;
23381 arg3
= wxString_in_helper(obj2
);
23382 if (arg3
== NULL
) SWIG_fail
;
23386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23387 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
);
23389 wxPyEndAllowThreads(__tstate
);
23390 if (PyErr_Occurred()) SWIG_fail
;
23392 resultobj
= SWIG_From_long((long)result
);
23407 static PyObject
*_wrap_ListCtrl_InsertImageItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23408 PyObject
*resultobj
;
23409 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23413 PyObject
* obj0
= 0 ;
23414 PyObject
* obj1
= 0 ;
23415 PyObject
* obj2
= 0 ;
23416 char *kwnames
[] = {
23417 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
23420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertImageItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23423 arg2
= (long)SWIG_As_long(obj1
);
23424 if (PyErr_Occurred()) SWIG_fail
;
23425 arg3
= (int)SWIG_As_int(obj2
);
23426 if (PyErr_Occurred()) SWIG_fail
;
23428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23429 result
= (long)(arg1
)->InsertItem(arg2
,arg3
);
23431 wxPyEndAllowThreads(__tstate
);
23432 if (PyErr_Occurred()) SWIG_fail
;
23434 resultobj
= SWIG_From_long((long)result
);
23441 static PyObject
*_wrap_ListCtrl_InsertImageStringItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23442 PyObject
*resultobj
;
23443 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23445 wxString
*arg3
= 0 ;
23448 bool temp3
= False
;
23449 PyObject
* obj0
= 0 ;
23450 PyObject
* obj1
= 0 ;
23451 PyObject
* obj2
= 0 ;
23452 PyObject
* obj3
= 0 ;
23453 char *kwnames
[] = {
23454 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
23457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:ListCtrl_InsertImageStringItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23460 arg2
= (long)SWIG_As_long(obj1
);
23461 if (PyErr_Occurred()) SWIG_fail
;
23463 arg3
= wxString_in_helper(obj2
);
23464 if (arg3
== NULL
) SWIG_fail
;
23467 arg4
= (int)SWIG_As_int(obj3
);
23468 if (PyErr_Occurred()) SWIG_fail
;
23470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23471 result
= (long)(arg1
)->InsertItem(arg2
,(wxString
const &)*arg3
,arg4
);
23473 wxPyEndAllowThreads(__tstate
);
23474 if (PyErr_Occurred()) SWIG_fail
;
23476 resultobj
= SWIG_From_long((long)result
);
23491 static PyObject
*_wrap_ListCtrl_InsertColumnInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23492 PyObject
*resultobj
;
23493 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23495 wxListItem
*arg3
= 0 ;
23497 PyObject
* obj0
= 0 ;
23498 PyObject
* obj1
= 0 ;
23499 PyObject
* obj2
= 0 ;
23500 char *kwnames
[] = {
23501 (char *) "self",(char *) "col",(char *) "info", NULL
23504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_InsertColumnInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23507 arg2
= (long)SWIG_As_long(obj1
);
23508 if (PyErr_Occurred()) SWIG_fail
;
23509 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxListItem
,
23510 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23512 if (arg3
== NULL
) {
23513 PyErr_SetString(PyExc_TypeError
,"null reference");
23517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23518 result
= (long)(arg1
)->InsertColumn(arg2
,*arg3
);
23520 wxPyEndAllowThreads(__tstate
);
23521 if (PyErr_Occurred()) SWIG_fail
;
23523 resultobj
= SWIG_From_long((long)result
);
23530 static PyObject
*_wrap_ListCtrl_InsertColumn(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23531 PyObject
*resultobj
;
23532 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23534 wxString
*arg3
= 0 ;
23535 int arg4
= (int) wxLIST_FORMAT_LEFT
;
23536 int arg5
= (int) -1 ;
23538 bool temp3
= False
;
23539 PyObject
* obj0
= 0 ;
23540 PyObject
* obj1
= 0 ;
23541 PyObject
* obj2
= 0 ;
23542 PyObject
* obj3
= 0 ;
23543 PyObject
* obj4
= 0 ;
23544 char *kwnames
[] = {
23545 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
23548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:ListCtrl_InsertColumn",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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 arg3
= wxString_in_helper(obj2
);
23555 if (arg3
== NULL
) SWIG_fail
;
23559 arg4
= (int)SWIG_As_int(obj3
);
23560 if (PyErr_Occurred()) SWIG_fail
;
23563 arg5
= (int)SWIG_As_int(obj4
);
23564 if (PyErr_Occurred()) SWIG_fail
;
23567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23568 result
= (long)(arg1
)->InsertColumn(arg2
,(wxString
const &)*arg3
,arg4
,arg5
);
23570 wxPyEndAllowThreads(__tstate
);
23571 if (PyErr_Occurred()) SWIG_fail
;
23573 resultobj
= SWIG_From_long((long)result
);
23588 static PyObject
*_wrap_ListCtrl_SetItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23589 PyObject
*resultobj
;
23590 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23592 PyObject
* obj0
= 0 ;
23593 PyObject
* obj1
= 0 ;
23594 char *kwnames
[] = {
23595 (char *) "self",(char *) "count", NULL
23598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SetItemCount",kwnames
,&obj0
,&obj1
)) goto fail
;
23599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23601 arg2
= (long)SWIG_As_long(obj1
);
23602 if (PyErr_Occurred()) SWIG_fail
;
23604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23605 (arg1
)->SetItemCount(arg2
);
23607 wxPyEndAllowThreads(__tstate
);
23608 if (PyErr_Occurred()) SWIG_fail
;
23610 Py_INCREF(Py_None
); resultobj
= Py_None
;
23617 static PyObject
*_wrap_ListCtrl_ScrollList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23618 PyObject
*resultobj
;
23619 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23623 PyObject
* obj0
= 0 ;
23624 PyObject
* obj1
= 0 ;
23625 PyObject
* obj2
= 0 ;
23626 char *kwnames
[] = {
23627 (char *) "self",(char *) "dx",(char *) "dy", NULL
23630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_ScrollList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23633 arg2
= (int)SWIG_As_int(obj1
);
23634 if (PyErr_Occurred()) SWIG_fail
;
23635 arg3
= (int)SWIG_As_int(obj2
);
23636 if (PyErr_Occurred()) SWIG_fail
;
23638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23639 result
= (bool)(arg1
)->ScrollList(arg2
,arg3
);
23641 wxPyEndAllowThreads(__tstate
);
23642 if (PyErr_Occurred()) SWIG_fail
;
23645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23653 static PyObject
*_wrap_ListCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23654 PyObject
*resultobj
;
23655 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23657 wxColour
*arg3
= 0 ;
23659 PyObject
* obj0
= 0 ;
23660 PyObject
* obj1
= 0 ;
23661 PyObject
* obj2
= 0 ;
23662 char *kwnames
[] = {
23663 (char *) "self",(char *) "item",(char *) "col", NULL
23666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23669 arg2
= (long)SWIG_As_long(obj1
);
23670 if (PyErr_Occurred()) SWIG_fail
;
23673 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23677 (arg1
)->SetItemTextColour(arg2
,(wxColour
const &)*arg3
);
23679 wxPyEndAllowThreads(__tstate
);
23680 if (PyErr_Occurred()) SWIG_fail
;
23682 Py_INCREF(Py_None
); resultobj
= Py_None
;
23689 static PyObject
*_wrap_ListCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23690 PyObject
*resultobj
;
23691 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23694 PyObject
* obj0
= 0 ;
23695 PyObject
* obj1
= 0 ;
23696 char *kwnames
[] = {
23697 (char *) "self",(char *) "item", NULL
23700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23703 arg2
= (long)SWIG_As_long(obj1
);
23704 if (PyErr_Occurred()) SWIG_fail
;
23706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23707 result
= ((wxPyListCtrl
const *)arg1
)->GetItemTextColour(arg2
);
23709 wxPyEndAllowThreads(__tstate
);
23710 if (PyErr_Occurred()) SWIG_fail
;
23713 wxColour
* resultptr
;
23714 resultptr
= new wxColour((wxColour
&) result
);
23715 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23723 static PyObject
*_wrap_ListCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23724 PyObject
*resultobj
;
23725 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23727 wxColour
*arg3
= 0 ;
23729 PyObject
* obj0
= 0 ;
23730 PyObject
* obj1
= 0 ;
23731 PyObject
* obj2
= 0 ;
23732 char *kwnames
[] = {
23733 (char *) "self",(char *) "item",(char *) "col", NULL
23736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23739 arg2
= (long)SWIG_As_long(obj1
);
23740 if (PyErr_Occurred()) SWIG_fail
;
23743 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
23746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23747 (arg1
)->SetItemBackgroundColour(arg2
,(wxColour
const &)*arg3
);
23749 wxPyEndAllowThreads(__tstate
);
23750 if (PyErr_Occurred()) SWIG_fail
;
23752 Py_INCREF(Py_None
); resultobj
= Py_None
;
23759 static PyObject
*_wrap_ListCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23760 PyObject
*resultobj
;
23761 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23764 PyObject
* obj0
= 0 ;
23765 PyObject
* obj1
= 0 ;
23766 char *kwnames
[] = {
23767 (char *) "self",(char *) "item", NULL
23770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
23771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23773 arg2
= (long)SWIG_As_long(obj1
);
23774 if (PyErr_Occurred()) SWIG_fail
;
23776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23777 result
= ((wxPyListCtrl
const *)arg1
)->GetItemBackgroundColour(arg2
);
23779 wxPyEndAllowThreads(__tstate
);
23780 if (PyErr_Occurred()) SWIG_fail
;
23783 wxColour
* resultptr
;
23784 resultptr
= new wxColour((wxColour
&) result
);
23785 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
23793 static PyObject
*_wrap_ListCtrl_SortItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23794 PyObject
*resultobj
;
23795 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23796 PyObject
*arg2
= (PyObject
*) 0 ;
23798 PyObject
* obj0
= 0 ;
23799 PyObject
* obj1
= 0 ;
23800 char *kwnames
[] = {
23801 (char *) "self",(char *) "func", NULL
23804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListCtrl_SortItems",kwnames
,&obj0
,&obj1
)) goto fail
;
23805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23810 result
= (bool)wxPyListCtrl_SortItems(arg1
,arg2
);
23812 wxPyEndAllowThreads(__tstate
);
23813 if (PyErr_Occurred()) SWIG_fail
;
23816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23824 static PyObject
*_wrap_ListCtrl_GetMainWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23825 PyObject
*resultobj
;
23826 wxPyListCtrl
*arg1
= (wxPyListCtrl
*) 0 ;
23828 PyObject
* obj0
= 0 ;
23829 char *kwnames
[] = {
23830 (char *) "self", NULL
23833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListCtrl_GetMainWindow",kwnames
,&obj0
)) goto fail
;
23834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
23835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23838 result
= (wxWindow
*)wxPyListCtrl_GetMainWindow(arg1
);
23840 wxPyEndAllowThreads(__tstate
);
23841 if (PyErr_Occurred()) SWIG_fail
;
23844 resultobj
= wxPyMake_wxObject(result
, 0);
23852 static PyObject
*_wrap_ListCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23853 PyObject
*resultobj
;
23854 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
23855 wxVisualAttributes result
;
23856 PyObject
* obj0
= 0 ;
23857 char *kwnames
[] = {
23858 (char *) "variant", NULL
23861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ListCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
23863 arg1
= (int)SWIG_As_int(obj0
);
23864 if (PyErr_Occurred()) SWIG_fail
;
23867 if (!wxPyCheckForApp()) SWIG_fail
;
23868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23869 result
= wxPyListCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
23871 wxPyEndAllowThreads(__tstate
);
23872 if (PyErr_Occurred()) SWIG_fail
;
23875 wxVisualAttributes
* resultptr
;
23876 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
23877 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
23885 static PyObject
* ListCtrl_swigregister(PyObject
*, PyObject
*args
) {
23887 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23888 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl
, obj
);
23890 return Py_BuildValue((char *)"");
23892 static PyObject
*_wrap_new_ListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23893 PyObject
*resultobj
;
23894 wxWindow
*arg1
= (wxWindow
*) 0 ;
23895 int arg2
= (int) -1 ;
23896 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23897 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23898 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23899 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23900 long arg5
= (long) wxLC_REPORT
;
23901 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
23902 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
23903 wxString
const &arg7_defvalue
= wxPyListCtrlNameStr
;
23904 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
23905 wxListView
*result
;
23908 bool temp7
= False
;
23909 PyObject
* obj0
= 0 ;
23910 PyObject
* obj1
= 0 ;
23911 PyObject
* obj2
= 0 ;
23912 PyObject
* obj3
= 0 ;
23913 PyObject
* obj4
= 0 ;
23914 PyObject
* obj5
= 0 ;
23915 PyObject
* obj6
= 0 ;
23916 char *kwnames
[] = {
23917 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_ListView",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23924 arg2
= (int)SWIG_As_int(obj1
);
23925 if (PyErr_Occurred()) SWIG_fail
;
23930 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23936 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23940 arg5
= (long)SWIG_As_long(obj4
);
23941 if (PyErr_Occurred()) SWIG_fail
;
23944 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
23945 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23947 if (arg6
== NULL
) {
23948 PyErr_SetString(PyExc_TypeError
,"null reference");
23954 arg7
= wxString_in_helper(obj6
);
23955 if (arg7
== NULL
) SWIG_fail
;
23960 if (!wxPyCheckForApp()) SWIG_fail
;
23961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23962 result
= (wxListView
*)new wxListView(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
23964 wxPyEndAllowThreads(__tstate
);
23965 if (PyErr_Occurred()) SWIG_fail
;
23967 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
23982 static PyObject
*_wrap_new_PreListView(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23983 PyObject
*resultobj
;
23984 wxListView
*result
;
23985 char *kwnames
[] = {
23989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreListView",kwnames
)) goto fail
;
23991 if (!wxPyCheckForApp()) SWIG_fail
;
23992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23993 result
= (wxListView
*)new wxListView();
23995 wxPyEndAllowThreads(__tstate
);
23996 if (PyErr_Occurred()) SWIG_fail
;
23998 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxListView
, 1);
24005 static PyObject
*_wrap_ListView_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24006 PyObject
*resultobj
;
24007 wxListView
*arg1
= (wxListView
*) 0 ;
24008 wxWindow
*arg2
= (wxWindow
*) 0 ;
24009 int arg3
= (int) -1 ;
24010 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
24011 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
24012 wxSize
const &arg5_defvalue
= wxDefaultSize
;
24013 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
24014 long arg6
= (long) wxLC_REPORT
;
24015 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
24016 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
24017 wxString
const &arg8_defvalue
= wxPyListCtrlNameStr
;
24018 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
24022 bool temp8
= False
;
24023 PyObject
* obj0
= 0 ;
24024 PyObject
* obj1
= 0 ;
24025 PyObject
* obj2
= 0 ;
24026 PyObject
* obj3
= 0 ;
24027 PyObject
* obj4
= 0 ;
24028 PyObject
* obj5
= 0 ;
24029 PyObject
* obj6
= 0 ;
24030 PyObject
* obj7
= 0 ;
24031 char *kwnames
[] = {
24032 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:ListView_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
24036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24038 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24041 arg3
= (int)SWIG_As_int(obj2
);
24042 if (PyErr_Occurred()) SWIG_fail
;
24047 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
24053 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
24057 arg6
= (long)SWIG_As_long(obj5
);
24058 if (PyErr_Occurred()) SWIG_fail
;
24061 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
24062 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24064 if (arg7
== NULL
) {
24065 PyErr_SetString(PyExc_TypeError
,"null reference");
24071 arg8
= wxString_in_helper(obj7
);
24072 if (arg8
== NULL
) SWIG_fail
;
24077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24078 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
24080 wxPyEndAllowThreads(__tstate
);
24081 if (PyErr_Occurred()) SWIG_fail
;
24084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24100 static PyObject
*_wrap_ListView_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24101 PyObject
*resultobj
;
24102 wxListView
*arg1
= (wxListView
*) 0 ;
24104 bool arg3
= (bool) True
;
24105 PyObject
* obj0
= 0 ;
24106 PyObject
* obj1
= 0 ;
24107 PyObject
* obj2
= 0 ;
24108 char *kwnames
[] = {
24109 (char *) "self",(char *) "n",(char *) "on", NULL
24112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ListView_Select",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24115 arg2
= (long)SWIG_As_long(obj1
);
24116 if (PyErr_Occurred()) SWIG_fail
;
24118 arg3
= (bool)SWIG_As_bool(obj2
);
24119 if (PyErr_Occurred()) SWIG_fail
;
24122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24123 (arg1
)->Select(arg2
,arg3
);
24125 wxPyEndAllowThreads(__tstate
);
24126 if (PyErr_Occurred()) SWIG_fail
;
24128 Py_INCREF(Py_None
); resultobj
= Py_None
;
24135 static PyObject
*_wrap_ListView_Focus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24136 PyObject
*resultobj
;
24137 wxListView
*arg1
= (wxListView
*) 0 ;
24139 PyObject
* obj0
= 0 ;
24140 PyObject
* obj1
= 0 ;
24141 char *kwnames
[] = {
24142 (char *) "self",(char *) "index", NULL
24145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_Focus",kwnames
,&obj0
,&obj1
)) goto fail
;
24146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24148 arg2
= (long)SWIG_As_long(obj1
);
24149 if (PyErr_Occurred()) SWIG_fail
;
24151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24152 (arg1
)->Focus(arg2
);
24154 wxPyEndAllowThreads(__tstate
);
24155 if (PyErr_Occurred()) SWIG_fail
;
24157 Py_INCREF(Py_None
); resultobj
= Py_None
;
24164 static PyObject
*_wrap_ListView_GetFocusedItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24165 PyObject
*resultobj
;
24166 wxListView
*arg1
= (wxListView
*) 0 ;
24168 PyObject
* obj0
= 0 ;
24169 char *kwnames
[] = {
24170 (char *) "self", NULL
24173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFocusedItem",kwnames
,&obj0
)) goto fail
;
24174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24178 result
= (long)((wxListView
const *)arg1
)->GetFocusedItem();
24180 wxPyEndAllowThreads(__tstate
);
24181 if (PyErr_Occurred()) SWIG_fail
;
24183 resultobj
= SWIG_From_long((long)result
);
24190 static PyObject
*_wrap_ListView_GetNextSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24191 PyObject
*resultobj
;
24192 wxListView
*arg1
= (wxListView
*) 0 ;
24195 PyObject
* obj0
= 0 ;
24196 PyObject
* obj1
= 0 ;
24197 char *kwnames
[] = {
24198 (char *) "self",(char *) "item", NULL
24201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_GetNextSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
24202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24204 arg2
= (long)SWIG_As_long(obj1
);
24205 if (PyErr_Occurred()) SWIG_fail
;
24207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24208 result
= (long)((wxListView
const *)arg1
)->GetNextSelected(arg2
);
24210 wxPyEndAllowThreads(__tstate
);
24211 if (PyErr_Occurred()) SWIG_fail
;
24213 resultobj
= SWIG_From_long((long)result
);
24220 static PyObject
*_wrap_ListView_GetFirstSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24221 PyObject
*resultobj
;
24222 wxListView
*arg1
= (wxListView
*) 0 ;
24224 PyObject
* obj0
= 0 ;
24225 char *kwnames
[] = {
24226 (char *) "self", NULL
24229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ListView_GetFirstSelected",kwnames
,&obj0
)) goto fail
;
24230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24234 result
= (long)((wxListView
const *)arg1
)->GetFirstSelected();
24236 wxPyEndAllowThreads(__tstate
);
24237 if (PyErr_Occurred()) SWIG_fail
;
24239 resultobj
= SWIG_From_long((long)result
);
24246 static PyObject
*_wrap_ListView_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24247 PyObject
*resultobj
;
24248 wxListView
*arg1
= (wxListView
*) 0 ;
24251 PyObject
* obj0
= 0 ;
24252 PyObject
* obj1
= 0 ;
24253 char *kwnames
[] = {
24254 (char *) "self",(char *) "index", NULL
24257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
24258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24260 arg2
= (long)SWIG_As_long(obj1
);
24261 if (PyErr_Occurred()) SWIG_fail
;
24263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24264 result
= (bool)(arg1
)->IsSelected(arg2
);
24266 wxPyEndAllowThreads(__tstate
);
24267 if (PyErr_Occurred()) SWIG_fail
;
24270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24278 static PyObject
*_wrap_ListView_SetColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24279 PyObject
*resultobj
;
24280 wxListView
*arg1
= (wxListView
*) 0 ;
24283 PyObject
* obj0
= 0 ;
24284 PyObject
* obj1
= 0 ;
24285 PyObject
* obj2
= 0 ;
24286 char *kwnames
[] = {
24287 (char *) "self",(char *) "col",(char *) "image", NULL
24290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ListView_SetColumnImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24293 arg2
= (int)SWIG_As_int(obj1
);
24294 if (PyErr_Occurred()) SWIG_fail
;
24295 arg3
= (int)SWIG_As_int(obj2
);
24296 if (PyErr_Occurred()) SWIG_fail
;
24298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24299 (arg1
)->SetColumnImage(arg2
,arg3
);
24301 wxPyEndAllowThreads(__tstate
);
24302 if (PyErr_Occurred()) SWIG_fail
;
24304 Py_INCREF(Py_None
); resultobj
= Py_None
;
24311 static PyObject
*_wrap_ListView_ClearColumnImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24312 PyObject
*resultobj
;
24313 wxListView
*arg1
= (wxListView
*) 0 ;
24315 PyObject
* obj0
= 0 ;
24316 PyObject
* obj1
= 0 ;
24317 char *kwnames
[] = {
24318 (char *) "self",(char *) "col", NULL
24321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ListView_ClearColumnImage",kwnames
,&obj0
,&obj1
)) goto fail
;
24322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxListView
,
24323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24324 arg2
= (int)SWIG_As_int(obj1
);
24325 if (PyErr_Occurred()) SWIG_fail
;
24327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24328 (arg1
)->ClearColumnImage(arg2
);
24330 wxPyEndAllowThreads(__tstate
);
24331 if (PyErr_Occurred()) SWIG_fail
;
24333 Py_INCREF(Py_None
); resultobj
= Py_None
;
24340 static PyObject
* ListView_swigregister(PyObject
*, PyObject
*args
) {
24342 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24343 SWIG_TypeClientData(SWIGTYPE_p_wxListView
, obj
);
24345 return Py_BuildValue((char *)"");
24347 static int _wrap_TreeCtrlNameStr_set(PyObject
*) {
24348 PyErr_SetString(PyExc_TypeError
,"Variable TreeCtrlNameStr is read-only.");
24353 static PyObject
*_wrap_TreeCtrlNameStr_get() {
24358 pyobj
= PyUnicode_FromWideChar((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
24360 pyobj
= PyString_FromStringAndSize((&wxPyTreeCtrlNameStr
)->c_str(), (&wxPyTreeCtrlNameStr
)->Len());
24367 static PyObject
*_wrap_new_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24368 PyObject
*resultobj
;
24369 wxTreeItemId
*result
;
24370 char *kwnames
[] = {
24374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TreeItemId",kwnames
)) goto fail
;
24376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24377 result
= (wxTreeItemId
*)new wxTreeItemId();
24379 wxPyEndAllowThreads(__tstate
);
24380 if (PyErr_Occurred()) SWIG_fail
;
24382 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 1);
24389 static PyObject
*_wrap_delete_TreeItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24390 PyObject
*resultobj
;
24391 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24392 PyObject
* obj0
= 0 ;
24393 char *kwnames
[] = {
24394 (char *) "self", NULL
24397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TreeItemId",kwnames
,&obj0
)) goto fail
;
24398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24404 wxPyEndAllowThreads(__tstate
);
24405 if (PyErr_Occurred()) SWIG_fail
;
24407 Py_INCREF(Py_None
); resultobj
= Py_None
;
24414 static PyObject
*_wrap_TreeItemId_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24415 PyObject
*resultobj
;
24416 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24418 PyObject
* obj0
= 0 ;
24419 char *kwnames
[] = {
24420 (char *) "self", NULL
24423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_IsOk",kwnames
,&obj0
)) goto fail
;
24424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24428 result
= (bool)((wxTreeItemId
const *)arg1
)->IsOk();
24430 wxPyEndAllowThreads(__tstate
);
24431 if (PyErr_Occurred()) SWIG_fail
;
24434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24442 static PyObject
*_wrap_TreeItemId___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24443 PyObject
*resultobj
;
24444 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24445 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24447 PyObject
* obj0
= 0 ;
24448 PyObject
* obj1
= 0 ;
24449 char *kwnames
[] = {
24450 (char *) "self",(char *) "other", NULL
24453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
24454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24456 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24460 result
= (bool)wxTreeItemId___eq__(arg1
,(wxTreeItemId
const *)arg2
);
24462 wxPyEndAllowThreads(__tstate
);
24463 if (PyErr_Occurred()) SWIG_fail
;
24466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24474 static PyObject
*_wrap_TreeItemId___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24475 PyObject
*resultobj
;
24476 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24477 wxTreeItemId
*arg2
= (wxTreeItemId
*) 0 ;
24479 PyObject
* obj0
= 0 ;
24480 PyObject
* obj1
= 0 ;
24481 char *kwnames
[] = {
24482 (char *) "self",(char *) "other", NULL
24485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
24486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24488 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24492 result
= (bool)wxTreeItemId___ne__(arg1
,(wxTreeItemId
const *)arg2
);
24494 wxPyEndAllowThreads(__tstate
);
24495 if (PyErr_Occurred()) SWIG_fail
;
24498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24506 static PyObject
*_wrap_TreeItemId_m_pItem_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24507 PyObject
*resultobj
;
24508 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24509 void *arg2
= (void *) 0 ;
24510 PyObject
* obj0
= 0 ;
24511 PyObject
* obj1
= 0 ;
24512 char *kwnames
[] = {
24513 (char *) "self",(char *) "m_pItem", NULL
24516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemId_m_pItem_set",kwnames
,&obj0
,&obj1
)) goto fail
;
24517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24519 if ((SWIG_ConvertPtr(obj1
,&arg2
,0,SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24520 if (arg1
) (arg1
)->m_pItem
= arg2
;
24522 Py_INCREF(Py_None
); resultobj
= Py_None
;
24529 static PyObject
*_wrap_TreeItemId_m_pItem_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24530 PyObject
*resultobj
;
24531 wxTreeItemId
*arg1
= (wxTreeItemId
*) 0 ;
24533 PyObject
* obj0
= 0 ;
24534 char *kwnames
[] = {
24535 (char *) "self", NULL
24538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemId_m_pItem_get",kwnames
,&obj0
)) goto fail
;
24539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeItemId
,
24540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24541 result
= (void *) ((arg1
)->m_pItem
);
24543 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_void
, 0);
24550 static PyObject
* TreeItemId_swigregister(PyObject
*, PyObject
*args
) {
24552 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24553 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId
, obj
);
24555 return Py_BuildValue((char *)"");
24557 static PyObject
*_wrap_new_TreeItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24558 PyObject
*resultobj
;
24559 PyObject
*arg1
= (PyObject
*) NULL
;
24560 wxPyTreeItemData
*result
;
24561 PyObject
* obj0
= 0 ;
24562 char *kwnames
[] = {
24563 (char *) "obj", NULL
24566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TreeItemData",kwnames
,&obj0
)) goto fail
;
24571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24572 result
= (wxPyTreeItemData
*)new wxPyTreeItemData(arg1
);
24574 wxPyEndAllowThreads(__tstate
);
24575 if (PyErr_Occurred()) SWIG_fail
;
24577 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 1);
24584 static PyObject
*_wrap_TreeItemData_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24585 PyObject
*resultobj
;
24586 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24588 PyObject
* obj0
= 0 ;
24589 char *kwnames
[] = {
24590 (char *) "self", NULL
24593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetData",kwnames
,&obj0
)) goto fail
;
24594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24598 result
= (PyObject
*)(arg1
)->GetData();
24600 wxPyEndAllowThreads(__tstate
);
24601 if (PyErr_Occurred()) SWIG_fail
;
24603 resultobj
= result
;
24610 static PyObject
*_wrap_TreeItemData_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24611 PyObject
*resultobj
;
24612 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24613 PyObject
*arg2
= (PyObject
*) 0 ;
24614 PyObject
* obj0
= 0 ;
24615 PyObject
* obj1
= 0 ;
24616 char *kwnames
[] = {
24617 (char *) "self",(char *) "obj", NULL
24620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24626 (arg1
)->SetData(arg2
);
24628 wxPyEndAllowThreads(__tstate
);
24629 if (PyErr_Occurred()) SWIG_fail
;
24631 Py_INCREF(Py_None
); resultobj
= Py_None
;
24638 static PyObject
*_wrap_TreeItemData_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24639 PyObject
*resultobj
;
24640 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24641 wxTreeItemId
*result
;
24642 PyObject
* obj0
= 0 ;
24643 char *kwnames
[] = {
24644 (char *) "self", NULL
24647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_GetId",kwnames
,&obj0
)) goto fail
;
24648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24653 wxTreeItemId
const &_result_ref
= (arg1
)->GetId();
24654 result
= (wxTreeItemId
*) &_result_ref
;
24657 wxPyEndAllowThreads(__tstate
);
24658 if (PyErr_Occurred()) SWIG_fail
;
24660 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeItemId
, 0);
24667 static PyObject
*_wrap_TreeItemData_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24668 PyObject
*resultobj
;
24669 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24670 wxTreeItemId
*arg2
= 0 ;
24671 PyObject
* obj0
= 0 ;
24672 PyObject
* obj1
= 0 ;
24673 char *kwnames
[] = {
24674 (char *) "self",(char *) "id", NULL
24677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeItemData_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24680 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24681 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24683 if (arg2
== NULL
) {
24684 PyErr_SetString(PyExc_TypeError
,"null reference");
24688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24689 (arg1
)->SetId((wxTreeItemId
const &)*arg2
);
24691 wxPyEndAllowThreads(__tstate
);
24692 if (PyErr_Occurred()) SWIG_fail
;
24694 Py_INCREF(Py_None
); resultobj
= Py_None
;
24701 static PyObject
*_wrap_TreeItemData_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24702 PyObject
*resultobj
;
24703 wxPyTreeItemData
*arg1
= (wxPyTreeItemData
*) 0 ;
24704 PyObject
* obj0
= 0 ;
24705 char *kwnames
[] = {
24706 (char *) "self", NULL
24709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeItemData_Destroy",kwnames
,&obj0
)) goto fail
;
24710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeItemData
,
24711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24714 wxPyTreeItemData_Destroy(arg1
);
24716 wxPyEndAllowThreads(__tstate
);
24717 if (PyErr_Occurred()) SWIG_fail
;
24719 Py_INCREF(Py_None
); resultobj
= Py_None
;
24726 static PyObject
* TreeItemData_swigregister(PyObject
*, PyObject
*args
) {
24728 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24729 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData
, obj
);
24731 return Py_BuildValue((char *)"");
24733 static PyObject
*_wrap_new_TreeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24734 PyObject
*resultobj
;
24735 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
24736 int arg2
= (int) 0 ;
24737 wxTreeEvent
*result
;
24738 PyObject
* obj0
= 0 ;
24739 PyObject
* obj1
= 0 ;
24740 char *kwnames
[] = {
24741 (char *) "commandType",(char *) "id", NULL
24744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TreeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
24746 arg1
= (wxEventType
)SWIG_As_int(obj0
);
24747 if (PyErr_Occurred()) SWIG_fail
;
24750 arg2
= (int)SWIG_As_int(obj1
);
24751 if (PyErr_Occurred()) SWIG_fail
;
24754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24755 result
= (wxTreeEvent
*)new wxTreeEvent(arg1
,arg2
);
24757 wxPyEndAllowThreads(__tstate
);
24758 if (PyErr_Occurred()) SWIG_fail
;
24760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTreeEvent
, 1);
24767 static PyObject
*_wrap_TreeEvent_GetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24768 PyObject
*resultobj
;
24769 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24770 wxTreeItemId result
;
24771 PyObject
* obj0
= 0 ;
24772 char *kwnames
[] = {
24773 (char *) "self", NULL
24776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetItem",kwnames
,&obj0
)) goto fail
;
24777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24781 result
= ((wxTreeEvent
const *)arg1
)->GetItem();
24783 wxPyEndAllowThreads(__tstate
);
24784 if (PyErr_Occurred()) SWIG_fail
;
24787 wxTreeItemId
* resultptr
;
24788 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24789 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24797 static PyObject
*_wrap_TreeEvent_SetItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24798 PyObject
*resultobj
;
24799 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24800 wxTreeItemId
*arg2
= 0 ;
24801 PyObject
* obj0
= 0 ;
24802 PyObject
* obj1
= 0 ;
24803 char *kwnames
[] = {
24804 (char *) "self",(char *) "item", NULL
24807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24810 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24811 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24813 if (arg2
== NULL
) {
24814 PyErr_SetString(PyExc_TypeError
,"null reference");
24818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24819 (arg1
)->SetItem((wxTreeItemId
const &)*arg2
);
24821 wxPyEndAllowThreads(__tstate
);
24822 if (PyErr_Occurred()) SWIG_fail
;
24824 Py_INCREF(Py_None
); resultobj
= Py_None
;
24831 static PyObject
*_wrap_TreeEvent_GetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24832 PyObject
*resultobj
;
24833 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24834 wxTreeItemId result
;
24835 PyObject
* obj0
= 0 ;
24836 char *kwnames
[] = {
24837 (char *) "self", NULL
24840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetOldItem",kwnames
,&obj0
)) goto fail
;
24841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24845 result
= ((wxTreeEvent
const *)arg1
)->GetOldItem();
24847 wxPyEndAllowThreads(__tstate
);
24848 if (PyErr_Occurred()) SWIG_fail
;
24851 wxTreeItemId
* resultptr
;
24852 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
24853 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
24861 static PyObject
*_wrap_TreeEvent_SetOldItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24862 PyObject
*resultobj
;
24863 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24864 wxTreeItemId
*arg2
= 0 ;
24865 PyObject
* obj0
= 0 ;
24866 PyObject
* obj1
= 0 ;
24867 char *kwnames
[] = {
24868 (char *) "self",(char *) "item", NULL
24871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetOldItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24874 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
24875 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24877 if (arg2
== NULL
) {
24878 PyErr_SetString(PyExc_TypeError
,"null reference");
24882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24883 (arg1
)->SetOldItem((wxTreeItemId
const &)*arg2
);
24885 wxPyEndAllowThreads(__tstate
);
24886 if (PyErr_Occurred()) SWIG_fail
;
24888 Py_INCREF(Py_None
); resultobj
= Py_None
;
24895 static PyObject
*_wrap_TreeEvent_GetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24896 PyObject
*resultobj
;
24897 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24899 PyObject
* obj0
= 0 ;
24900 char *kwnames
[] = {
24901 (char *) "self", NULL
24904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetPoint",kwnames
,&obj0
)) goto fail
;
24905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24909 result
= ((wxTreeEvent
const *)arg1
)->GetPoint();
24911 wxPyEndAllowThreads(__tstate
);
24912 if (PyErr_Occurred()) SWIG_fail
;
24915 wxPoint
* resultptr
;
24916 resultptr
= new wxPoint((wxPoint
&) result
);
24917 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24925 static PyObject
*_wrap_TreeEvent_SetPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24926 PyObject
*resultobj
;
24927 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24928 wxPoint
*arg2
= 0 ;
24930 PyObject
* obj0
= 0 ;
24931 PyObject
* obj1
= 0 ;
24932 char *kwnames
[] = {
24933 (char *) "self",(char *) "pt", NULL
24936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
24937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24941 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24945 (arg1
)->SetPoint((wxPoint
const &)*arg2
);
24947 wxPyEndAllowThreads(__tstate
);
24948 if (PyErr_Occurred()) SWIG_fail
;
24950 Py_INCREF(Py_None
); resultobj
= Py_None
;
24957 static PyObject
*_wrap_TreeEvent_GetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24958 PyObject
*resultobj
;
24959 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24960 wxKeyEvent
*result
;
24961 PyObject
* obj0
= 0 ;
24962 char *kwnames
[] = {
24963 (char *) "self", NULL
24966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyEvent",kwnames
,&obj0
)) goto fail
;
24967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24972 wxKeyEvent
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetKeyEvent();
24973 result
= (wxKeyEvent
*) &_result_ref
;
24976 wxPyEndAllowThreads(__tstate
);
24977 if (PyErr_Occurred()) SWIG_fail
;
24979 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 0);
24986 static PyObject
*_wrap_TreeEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24987 PyObject
*resultobj
;
24988 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
24990 PyObject
* obj0
= 0 ;
24991 char *kwnames
[] = {
24992 (char *) "self", NULL
24995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
24996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
24997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25000 result
= (int)((wxTreeEvent
const *)arg1
)->GetKeyCode();
25002 wxPyEndAllowThreads(__tstate
);
25003 if (PyErr_Occurred()) SWIG_fail
;
25005 resultobj
= SWIG_From_int((int)result
);
25012 static PyObject
*_wrap_TreeEvent_SetKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25013 PyObject
*resultobj
;
25014 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25015 wxKeyEvent
*arg2
= 0 ;
25016 PyObject
* obj0
= 0 ;
25017 PyObject
* obj1
= 0 ;
25018 char *kwnames
[] = {
25019 (char *) "self",(char *) "evt", NULL
25022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetKeyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
25023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25025 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxKeyEvent
,
25026 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25028 if (arg2
== NULL
) {
25029 PyErr_SetString(PyExc_TypeError
,"null reference");
25033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25034 (arg1
)->SetKeyEvent((wxKeyEvent
const &)*arg2
);
25036 wxPyEndAllowThreads(__tstate
);
25037 if (PyErr_Occurred()) SWIG_fail
;
25039 Py_INCREF(Py_None
); resultobj
= Py_None
;
25046 static PyObject
*_wrap_TreeEvent_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25047 PyObject
*resultobj
;
25048 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25050 PyObject
* obj0
= 0 ;
25051 char *kwnames
[] = {
25052 (char *) "self", NULL
25055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_GetLabel",kwnames
,&obj0
)) goto fail
;
25056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25061 wxString
const &_result_ref
= ((wxTreeEvent
const *)arg1
)->GetLabel();
25062 result
= (wxString
*) &_result_ref
;
25065 wxPyEndAllowThreads(__tstate
);
25066 if (PyErr_Occurred()) SWIG_fail
;
25070 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
25072 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
25081 static PyObject
*_wrap_TreeEvent_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25082 PyObject
*resultobj
;
25083 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25084 wxString
*arg2
= 0 ;
25085 bool temp2
= False
;
25086 PyObject
* obj0
= 0 ;
25087 PyObject
* obj1
= 0 ;
25088 char *kwnames
[] = {
25089 (char *) "self",(char *) "label", NULL
25092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
25093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25096 arg2
= wxString_in_helper(obj1
);
25097 if (arg2
== NULL
) SWIG_fail
;
25101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25102 (arg1
)->SetLabel((wxString
const &)*arg2
);
25104 wxPyEndAllowThreads(__tstate
);
25105 if (PyErr_Occurred()) SWIG_fail
;
25107 Py_INCREF(Py_None
); resultobj
= Py_None
;
25122 static PyObject
*_wrap_TreeEvent_IsEditCancelled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25123 PyObject
*resultobj
;
25124 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25126 PyObject
* obj0
= 0 ;
25127 char *kwnames
[] = {
25128 (char *) "self", NULL
25131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeEvent_IsEditCancelled",kwnames
,&obj0
)) goto fail
;
25132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25136 result
= (bool)((wxTreeEvent
const *)arg1
)->IsEditCancelled();
25138 wxPyEndAllowThreads(__tstate
);
25139 if (PyErr_Occurred()) SWIG_fail
;
25142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25150 static PyObject
*_wrap_TreeEvent_SetEditCanceled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25151 PyObject
*resultobj
;
25152 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25154 PyObject
* obj0
= 0 ;
25155 PyObject
* obj1
= 0 ;
25156 char *kwnames
[] = {
25157 (char *) "self",(char *) "editCancelled", NULL
25160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetEditCanceled",kwnames
,&obj0
,&obj1
)) goto fail
;
25161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25163 arg2
= (bool)SWIG_As_bool(obj1
);
25164 if (PyErr_Occurred()) SWIG_fail
;
25166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25167 (arg1
)->SetEditCanceled(arg2
);
25169 wxPyEndAllowThreads(__tstate
);
25170 if (PyErr_Occurred()) SWIG_fail
;
25172 Py_INCREF(Py_None
); resultobj
= Py_None
;
25179 static PyObject
*_wrap_TreeEvent_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25180 PyObject
*resultobj
;
25181 wxTreeEvent
*arg1
= (wxTreeEvent
*) 0 ;
25182 wxString
*arg2
= 0 ;
25183 bool temp2
= False
;
25184 PyObject
* obj0
= 0 ;
25185 PyObject
* obj1
= 0 ;
25186 char *kwnames
[] = {
25187 (char *) "self",(char *) "toolTip", NULL
25190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeEvent_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
25191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTreeEvent
,
25192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25194 arg2
= wxString_in_helper(obj1
);
25195 if (arg2
== NULL
) SWIG_fail
;
25199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25200 (arg1
)->SetToolTip((wxString
const &)*arg2
);
25202 wxPyEndAllowThreads(__tstate
);
25203 if (PyErr_Occurred()) SWIG_fail
;
25205 Py_INCREF(Py_None
); resultobj
= Py_None
;
25220 static PyObject
* TreeEvent_swigregister(PyObject
*, PyObject
*args
) {
25222 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25223 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent
, obj
);
25225 return Py_BuildValue((char *)"");
25227 static PyObject
*_wrap_new_TreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25228 PyObject
*resultobj
;
25229 wxWindow
*arg1
= (wxWindow
*) 0 ;
25230 int arg2
= (int) -1 ;
25231 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
25232 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
25233 wxSize
const &arg4_defvalue
= wxDefaultSize
;
25234 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
25235 long arg5
= (long) wxTR_DEFAULT_STYLE
;
25236 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
25237 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
25238 wxString
const &arg7_defvalue
= wxPyTreeCtrlNameStr
;
25239 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
25240 wxPyTreeCtrl
*result
;
25243 bool temp7
= False
;
25244 PyObject
* obj0
= 0 ;
25245 PyObject
* obj1
= 0 ;
25246 PyObject
* obj2
= 0 ;
25247 PyObject
* obj3
= 0 ;
25248 PyObject
* obj4
= 0 ;
25249 PyObject
* obj5
= 0 ;
25250 PyObject
* obj6
= 0 ;
25251 char *kwnames
[] = {
25252 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_TreeCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
25256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25259 arg2
= (int)SWIG_As_int(obj1
);
25260 if (PyErr_Occurred()) SWIG_fail
;
25265 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25271 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
25275 arg5
= (long)SWIG_As_long(obj4
);
25276 if (PyErr_Occurred()) SWIG_fail
;
25279 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
25280 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25282 if (arg6
== NULL
) {
25283 PyErr_SetString(PyExc_TypeError
,"null reference");
25289 arg7
= wxString_in_helper(obj6
);
25290 if (arg7
== NULL
) SWIG_fail
;
25295 if (!wxPyCheckForApp()) SWIG_fail
;
25296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25297 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
25299 wxPyEndAllowThreads(__tstate
);
25300 if (PyErr_Occurred()) SWIG_fail
;
25302 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
25317 static PyObject
*_wrap_new_PreTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25318 PyObject
*resultobj
;
25319 wxPyTreeCtrl
*result
;
25320 char *kwnames
[] = {
25324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreTreeCtrl",kwnames
)) goto fail
;
25326 if (!wxPyCheckForApp()) SWIG_fail
;
25327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25328 result
= (wxPyTreeCtrl
*)new wxPyTreeCtrl();
25330 wxPyEndAllowThreads(__tstate
);
25331 if (PyErr_Occurred()) SWIG_fail
;
25333 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeCtrl
, 1);
25340 static PyObject
*_wrap_TreeCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25341 PyObject
*resultobj
;
25342 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25343 wxWindow
*arg2
= (wxWindow
*) 0 ;
25344 int arg3
= (int) -1 ;
25345 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
25346 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
25347 wxSize
const &arg5_defvalue
= wxDefaultSize
;
25348 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
25349 long arg6
= (long) wxTR_DEFAULT_STYLE
;
25350 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
25351 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
25352 wxString
const &arg8_defvalue
= wxPyTreeCtrlNameStr
;
25353 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
25357 bool temp8
= False
;
25358 PyObject
* obj0
= 0 ;
25359 PyObject
* obj1
= 0 ;
25360 PyObject
* obj2
= 0 ;
25361 PyObject
* obj3
= 0 ;
25362 PyObject
* obj4
= 0 ;
25363 PyObject
* obj5
= 0 ;
25364 PyObject
* obj6
= 0 ;
25365 PyObject
* obj7
= 0 ;
25366 char *kwnames
[] = {
25367 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
25370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:TreeCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
25371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25373 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
25374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25376 arg3
= (int)SWIG_As_int(obj2
);
25377 if (PyErr_Occurred()) SWIG_fail
;
25382 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
25388 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
25392 arg6
= (long)SWIG_As_long(obj5
);
25393 if (PyErr_Occurred()) SWIG_fail
;
25396 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
25397 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25399 if (arg7
== NULL
) {
25400 PyErr_SetString(PyExc_TypeError
,"null reference");
25406 arg8
= wxString_in_helper(obj7
);
25407 if (arg8
== NULL
) SWIG_fail
;
25412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25413 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
25415 wxPyEndAllowThreads(__tstate
);
25416 if (PyErr_Occurred()) SWIG_fail
;
25419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25435 static PyObject
*_wrap_TreeCtrl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25436 PyObject
*resultobj
;
25437 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25438 PyObject
*arg2
= (PyObject
*) 0 ;
25439 PyObject
*arg3
= (PyObject
*) 0 ;
25440 PyObject
* obj0
= 0 ;
25441 PyObject
* obj1
= 0 ;
25442 PyObject
* obj2
= 0 ;
25443 char *kwnames
[] = {
25444 (char *) "self",(char *) "self",(char *) "_class", NULL
25447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25454 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25456 wxPyEndAllowThreads(__tstate
);
25457 if (PyErr_Occurred()) SWIG_fail
;
25459 Py_INCREF(Py_None
); resultobj
= Py_None
;
25466 static PyObject
*_wrap_TreeCtrl_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25467 PyObject
*resultobj
;
25468 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25470 PyObject
* obj0
= 0 ;
25471 char *kwnames
[] = {
25472 (char *) "self", NULL
25475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetCount",kwnames
,&obj0
)) goto fail
;
25476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25480 result
= (size_t)((wxPyTreeCtrl
const *)arg1
)->GetCount();
25482 wxPyEndAllowThreads(__tstate
);
25483 if (PyErr_Occurred()) SWIG_fail
;
25485 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
25492 static PyObject
*_wrap_TreeCtrl_GetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25493 PyObject
*resultobj
;
25494 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25495 unsigned int result
;
25496 PyObject
* obj0
= 0 ;
25497 char *kwnames
[] = {
25498 (char *) "self", NULL
25501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetIndent",kwnames
,&obj0
)) goto fail
;
25502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25506 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetIndent();
25508 wxPyEndAllowThreads(__tstate
);
25509 if (PyErr_Occurred()) SWIG_fail
;
25511 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
25518 static PyObject
*_wrap_TreeCtrl_SetIndent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25519 PyObject
*resultobj
;
25520 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25521 unsigned int arg2
;
25522 PyObject
* obj0
= 0 ;
25523 PyObject
* obj1
= 0 ;
25524 char *kwnames
[] = {
25525 (char *) "self",(char *) "indent", NULL
25528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetIndent",kwnames
,&obj0
,&obj1
)) goto fail
;
25529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25531 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
25532 if (PyErr_Occurred()) SWIG_fail
;
25534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25535 (arg1
)->SetIndent(arg2
);
25537 wxPyEndAllowThreads(__tstate
);
25538 if (PyErr_Occurred()) SWIG_fail
;
25540 Py_INCREF(Py_None
); resultobj
= Py_None
;
25547 static PyObject
*_wrap_TreeCtrl_GetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25548 PyObject
*resultobj
;
25549 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25550 unsigned int result
;
25551 PyObject
* obj0
= 0 ;
25552 char *kwnames
[] = {
25553 (char *) "self", NULL
25556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSpacing",kwnames
,&obj0
)) goto fail
;
25557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25561 result
= (unsigned int)((wxPyTreeCtrl
const *)arg1
)->GetSpacing();
25563 wxPyEndAllowThreads(__tstate
);
25564 if (PyErr_Occurred()) SWIG_fail
;
25566 resultobj
= SWIG_From_unsigned_SS_int((unsigned int)result
);
25573 static PyObject
*_wrap_TreeCtrl_SetSpacing(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25574 PyObject
*resultobj
;
25575 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25576 unsigned int arg2
;
25577 PyObject
* obj0
= 0 ;
25578 PyObject
* obj1
= 0 ;
25579 char *kwnames
[] = {
25580 (char *) "self",(char *) "spacing", NULL
25583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetSpacing",kwnames
,&obj0
,&obj1
)) goto fail
;
25584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25586 arg2
= (unsigned int)SWIG_As_unsigned_SS_int(obj1
);
25587 if (PyErr_Occurred()) SWIG_fail
;
25589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25590 (arg1
)->SetSpacing(arg2
);
25592 wxPyEndAllowThreads(__tstate
);
25593 if (PyErr_Occurred()) SWIG_fail
;
25595 Py_INCREF(Py_None
); resultobj
= Py_None
;
25602 static PyObject
*_wrap_TreeCtrl_GetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25603 PyObject
*resultobj
;
25604 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25605 wxImageList
*result
;
25606 PyObject
* obj0
= 0 ;
25607 char *kwnames
[] = {
25608 (char *) "self", NULL
25611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetImageList",kwnames
,&obj0
)) goto fail
;
25612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25616 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetImageList();
25618 wxPyEndAllowThreads(__tstate
);
25619 if (PyErr_Occurred()) SWIG_fail
;
25622 resultobj
= wxPyMake_wxObject(result
, 0);
25630 static PyObject
*_wrap_TreeCtrl_GetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25631 PyObject
*resultobj
;
25632 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25633 wxImageList
*result
;
25634 PyObject
* obj0
= 0 ;
25635 char *kwnames
[] = {
25636 (char *) "self", NULL
25639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetStateImageList",kwnames
,&obj0
)) goto fail
;
25640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25644 result
= (wxImageList
*)((wxPyTreeCtrl
const *)arg1
)->GetStateImageList();
25646 wxPyEndAllowThreads(__tstate
);
25647 if (PyErr_Occurred()) SWIG_fail
;
25650 resultobj
= wxPyMake_wxObject(result
, 0);
25658 static PyObject
*_wrap_TreeCtrl_SetImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25659 PyObject
*resultobj
;
25660 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25661 wxImageList
*arg2
= (wxImageList
*) 0 ;
25662 PyObject
* obj0
= 0 ;
25663 PyObject
* obj1
= 0 ;
25664 char *kwnames
[] = {
25665 (char *) "self",(char *) "imageList", NULL
25668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25671 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25675 (arg1
)->SetImageList(arg2
);
25677 wxPyEndAllowThreads(__tstate
);
25678 if (PyErr_Occurred()) SWIG_fail
;
25680 Py_INCREF(Py_None
); resultobj
= Py_None
;
25687 static PyObject
*_wrap_TreeCtrl_SetStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25688 PyObject
*resultobj
;
25689 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25690 wxImageList
*arg2
= (wxImageList
*) 0 ;
25691 PyObject
* obj0
= 0 ;
25692 PyObject
* obj1
= 0 ;
25693 char *kwnames
[] = {
25694 (char *) "self",(char *) "imageList", NULL
25697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SetStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25700 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25704 (arg1
)->SetStateImageList(arg2
);
25706 wxPyEndAllowThreads(__tstate
);
25707 if (PyErr_Occurred()) SWIG_fail
;
25709 Py_INCREF(Py_None
); resultobj
= Py_None
;
25716 static PyObject
*_wrap_TreeCtrl_AssignImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25717 PyObject
*resultobj
;
25718 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25719 wxImageList
*arg2
= (wxImageList
*) 0 ;
25720 PyObject
* obj0
= 0 ;
25721 PyObject
* obj1
= 0 ;
25722 char *kwnames
[] = {
25723 (char *) "self",(char *) "imageList", NULL
25726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25729 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25730 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25733 (arg1
)->AssignImageList(arg2
);
25735 wxPyEndAllowThreads(__tstate
);
25736 if (PyErr_Occurred()) SWIG_fail
;
25738 Py_INCREF(Py_None
); resultobj
= Py_None
;
25745 static PyObject
*_wrap_TreeCtrl_AssignStateImageList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25746 PyObject
*resultobj
;
25747 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25748 wxImageList
*arg2
= (wxImageList
*) 0 ;
25749 PyObject
* obj0
= 0 ;
25750 PyObject
* obj1
= 0 ;
25751 char *kwnames
[] = {
25752 (char *) "self",(char *) "imageList", NULL
25755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames
,&obj0
,&obj1
)) goto fail
;
25756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25758 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageList
,
25759 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25762 (arg1
)->AssignStateImageList(arg2
);
25764 wxPyEndAllowThreads(__tstate
);
25765 if (PyErr_Occurred()) SWIG_fail
;
25767 Py_INCREF(Py_None
); resultobj
= Py_None
;
25774 static PyObject
*_wrap_TreeCtrl_GetItemText(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_GetItemText",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
)->GetItemText((wxTreeItemId
const &)*arg2
);
25799 wxPyEndAllowThreads(__tstate
);
25800 if (PyErr_Occurred()) SWIG_fail
;
25804 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25806 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25815 static PyObject
*_wrap_TreeCtrl_GetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25816 PyObject
*resultobj
;
25817 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25818 wxTreeItemId
*arg2
= 0 ;
25819 int arg3
= (int) wxTreeItemIcon_Normal
;
25821 PyObject
* obj0
= 0 ;
25822 PyObject
* obj1
= 0 ;
25823 PyObject
* obj2
= 0 ;
25824 char *kwnames
[] = {
25825 (char *) "self",(char *) "item",(char *) "which", NULL
25828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetItemImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25831 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25832 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25834 if (arg2
== NULL
) {
25835 PyErr_SetString(PyExc_TypeError
,"null reference");
25839 arg3
= (int)SWIG_As_int(obj2
);
25840 if (PyErr_Occurred()) SWIG_fail
;
25843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25844 result
= (int)((wxPyTreeCtrl
const *)arg1
)->GetItemImage((wxTreeItemId
const &)*arg2
,(wxTreeItemIcon
)arg3
);
25846 wxPyEndAllowThreads(__tstate
);
25847 if (PyErr_Occurred()) SWIG_fail
;
25849 resultobj
= SWIG_From_int((int)result
);
25856 static PyObject
*_wrap_TreeCtrl_GetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25857 PyObject
*resultobj
;
25858 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25859 wxTreeItemId
*arg2
= 0 ;
25860 wxPyTreeItemData
*result
;
25861 PyObject
* obj0
= 0 ;
25862 PyObject
* obj1
= 0 ;
25863 char *kwnames
[] = {
25864 (char *) "self",(char *) "item", NULL
25867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemData",kwnames
,&obj0
,&obj1
)) goto fail
;
25868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25870 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25871 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25873 if (arg2
== NULL
) {
25874 PyErr_SetString(PyExc_TypeError
,"null reference");
25878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25879 result
= (wxPyTreeItemData
*)wxPyTreeCtrl_GetItemData(arg1
,(wxTreeItemId
const &)*arg2
);
25881 wxPyEndAllowThreads(__tstate
);
25882 if (PyErr_Occurred()) SWIG_fail
;
25884 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTreeItemData
, 0);
25891 static PyObject
*_wrap_TreeCtrl_GetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25892 PyObject
*resultobj
;
25893 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25894 wxTreeItemId
*arg2
= 0 ;
25896 PyObject
* obj0
= 0 ;
25897 PyObject
* obj1
= 0 ;
25898 char *kwnames
[] = {
25899 (char *) "self",(char *) "item", NULL
25902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemPyData",kwnames
,&obj0
,&obj1
)) goto fail
;
25903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25905 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25906 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25908 if (arg2
== NULL
) {
25909 PyErr_SetString(PyExc_TypeError
,"null reference");
25913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25914 result
= (PyObject
*)wxPyTreeCtrl_GetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
);
25916 wxPyEndAllowThreads(__tstate
);
25917 if (PyErr_Occurred()) SWIG_fail
;
25919 resultobj
= result
;
25926 static PyObject
*_wrap_TreeCtrl_GetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25927 PyObject
*resultobj
;
25928 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25929 wxTreeItemId
*arg2
= 0 ;
25931 PyObject
* obj0
= 0 ;
25932 PyObject
* obj1
= 0 ;
25933 char *kwnames
[] = {
25934 (char *) "self",(char *) "item", NULL
25937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25940 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25941 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25943 if (arg2
== NULL
) {
25944 PyErr_SetString(PyExc_TypeError
,"null reference");
25948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25949 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemTextColour((wxTreeItemId
const &)*arg2
);
25951 wxPyEndAllowThreads(__tstate
);
25952 if (PyErr_Occurred()) SWIG_fail
;
25955 wxColour
* resultptr
;
25956 resultptr
= new wxColour((wxColour
&) result
);
25957 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25965 static PyObject
*_wrap_TreeCtrl_GetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25966 PyObject
*resultobj
;
25967 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
25968 wxTreeItemId
*arg2
= 0 ;
25970 PyObject
* obj0
= 0 ;
25971 PyObject
* obj1
= 0 ;
25972 char *kwnames
[] = {
25973 (char *) "self",(char *) "item", NULL
25976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
25978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25979 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
25980 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25982 if (arg2
== NULL
) {
25983 PyErr_SetString(PyExc_TypeError
,"null reference");
25987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25988 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemBackgroundColour((wxTreeItemId
const &)*arg2
);
25990 wxPyEndAllowThreads(__tstate
);
25991 if (PyErr_Occurred()) SWIG_fail
;
25994 wxColour
* resultptr
;
25995 resultptr
= new wxColour((wxColour
&) result
);
25996 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26004 static PyObject
*_wrap_TreeCtrl_GetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26005 PyObject
*resultobj
;
26006 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26007 wxTreeItemId
*arg2
= 0 ;
26009 PyObject
* obj0
= 0 ;
26010 PyObject
* obj1
= 0 ;
26011 char *kwnames
[] = {
26012 (char *) "self",(char *) "item", NULL
26015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26018 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26019 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26021 if (arg2
== NULL
) {
26022 PyErr_SetString(PyExc_TypeError
,"null reference");
26026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26027 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemFont((wxTreeItemId
const &)*arg2
);
26029 wxPyEndAllowThreads(__tstate
);
26030 if (PyErr_Occurred()) SWIG_fail
;
26033 wxFont
* resultptr
;
26034 resultptr
= new wxFont((wxFont
&) result
);
26035 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
26043 static PyObject
*_wrap_TreeCtrl_SetItemText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26044 PyObject
*resultobj
;
26045 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26046 wxTreeItemId
*arg2
= 0 ;
26047 wxString
*arg3
= 0 ;
26048 bool temp3
= False
;
26049 PyObject
* obj0
= 0 ;
26050 PyObject
* obj1
= 0 ;
26051 PyObject
* obj2
= 0 ;
26052 char *kwnames
[] = {
26053 (char *) "self",(char *) "item",(char *) "text", NULL
26056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemText",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26059 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26060 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26062 if (arg2
== NULL
) {
26063 PyErr_SetString(PyExc_TypeError
,"null reference");
26067 arg3
= wxString_in_helper(obj2
);
26068 if (arg3
== NULL
) SWIG_fail
;
26072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26073 (arg1
)->SetItemText((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
);
26075 wxPyEndAllowThreads(__tstate
);
26076 if (PyErr_Occurred()) SWIG_fail
;
26078 Py_INCREF(Py_None
); resultobj
= Py_None
;
26093 static PyObject
*_wrap_TreeCtrl_SetItemImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26094 PyObject
*resultobj
;
26095 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26096 wxTreeItemId
*arg2
= 0 ;
26098 int arg4
= (int) wxTreeItemIcon_Normal
;
26099 PyObject
* obj0
= 0 ;
26100 PyObject
* obj1
= 0 ;
26101 PyObject
* obj2
= 0 ;
26102 PyObject
* obj3
= 0 ;
26103 char *kwnames
[] = {
26104 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
26107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TreeCtrl_SetItemImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26110 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26111 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26113 if (arg2
== NULL
) {
26114 PyErr_SetString(PyExc_TypeError
,"null reference");
26117 arg3
= (int)SWIG_As_int(obj2
);
26118 if (PyErr_Occurred()) SWIG_fail
;
26120 arg4
= (int)SWIG_As_int(obj3
);
26121 if (PyErr_Occurred()) SWIG_fail
;
26124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26125 (arg1
)->SetItemImage((wxTreeItemId
const &)*arg2
,arg3
,(wxTreeItemIcon
)arg4
);
26127 wxPyEndAllowThreads(__tstate
);
26128 if (PyErr_Occurred()) SWIG_fail
;
26130 Py_INCREF(Py_None
); resultobj
= Py_None
;
26137 static PyObject
*_wrap_TreeCtrl_SetItemData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26138 PyObject
*resultobj
;
26139 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26140 wxTreeItemId
*arg2
= 0 ;
26141 wxPyTreeItemData
*arg3
= (wxPyTreeItemData
*) 0 ;
26142 PyObject
* obj0
= 0 ;
26143 PyObject
* obj1
= 0 ;
26144 PyObject
* obj2
= 0 ;
26145 char *kwnames
[] = {
26146 (char *) "self",(char *) "item",(char *) "data", NULL
26149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26152 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26153 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26155 if (arg2
== NULL
) {
26156 PyErr_SetString(PyExc_TypeError
,"null reference");
26159 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyTreeItemData
,
26160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26163 wxPyTreeCtrl_SetItemData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26165 wxPyEndAllowThreads(__tstate
);
26166 if (PyErr_Occurred()) SWIG_fail
;
26168 Py_INCREF(Py_None
); resultobj
= Py_None
;
26175 static PyObject
*_wrap_TreeCtrl_SetItemPyData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26176 PyObject
*resultobj
;
26177 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26178 wxTreeItemId
*arg2
= 0 ;
26179 PyObject
*arg3
= (PyObject
*) 0 ;
26180 PyObject
* obj0
= 0 ;
26181 PyObject
* obj1
= 0 ;
26182 PyObject
* obj2
= 0 ;
26183 char *kwnames
[] = {
26184 (char *) "self",(char *) "item",(char *) "obj", NULL
26187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26190 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26191 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26193 if (arg2
== NULL
) {
26194 PyErr_SetString(PyExc_TypeError
,"null reference");
26199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26200 wxPyTreeCtrl_SetItemPyData(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26202 wxPyEndAllowThreads(__tstate
);
26203 if (PyErr_Occurred()) SWIG_fail
;
26205 Py_INCREF(Py_None
); resultobj
= Py_None
;
26212 static PyObject
*_wrap_TreeCtrl_SetItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26213 PyObject
*resultobj
;
26214 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26215 wxTreeItemId
*arg2
= 0 ;
26216 bool arg3
= (bool) True
;
26217 PyObject
* obj0
= 0 ;
26218 PyObject
* obj1
= 0 ;
26219 PyObject
* obj2
= 0 ;
26220 char *kwnames
[] = {
26221 (char *) "self",(char *) "item",(char *) "has", NULL
26224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26227 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26228 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26230 if (arg2
== NULL
) {
26231 PyErr_SetString(PyExc_TypeError
,"null reference");
26235 arg3
= (bool)SWIG_As_bool(obj2
);
26236 if (PyErr_Occurred()) SWIG_fail
;
26239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26240 (arg1
)->SetItemHasChildren((wxTreeItemId
const &)*arg2
,arg3
);
26242 wxPyEndAllowThreads(__tstate
);
26243 if (PyErr_Occurred()) SWIG_fail
;
26245 Py_INCREF(Py_None
); resultobj
= Py_None
;
26252 static PyObject
*_wrap_TreeCtrl_SetItemBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26253 PyObject
*resultobj
;
26254 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26255 wxTreeItemId
*arg2
= 0 ;
26256 bool arg3
= (bool) True
;
26257 PyObject
* obj0
= 0 ;
26258 PyObject
* obj1
= 0 ;
26259 PyObject
* obj2
= 0 ;
26260 char *kwnames
[] = {
26261 (char *) "self",(char *) "item",(char *) "bold", NULL
26264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26267 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26268 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26270 if (arg2
== NULL
) {
26271 PyErr_SetString(PyExc_TypeError
,"null reference");
26275 arg3
= (bool)SWIG_As_bool(obj2
);
26276 if (PyErr_Occurred()) SWIG_fail
;
26279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26280 (arg1
)->SetItemBold((wxTreeItemId
const &)*arg2
,arg3
);
26282 wxPyEndAllowThreads(__tstate
);
26283 if (PyErr_Occurred()) SWIG_fail
;
26285 Py_INCREF(Py_None
); resultobj
= Py_None
;
26292 static PyObject
*_wrap_TreeCtrl_SetItemDropHighlight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26293 PyObject
*resultobj
;
26294 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26295 wxTreeItemId
*arg2
= 0 ;
26296 bool arg3
= (bool) True
;
26297 PyObject
* obj0
= 0 ;
26298 PyObject
* obj1
= 0 ;
26299 PyObject
* obj2
= 0 ;
26300 char *kwnames
[] = {
26301 (char *) "self",(char *) "item",(char *) "highlight", NULL
26304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26307 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26308 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26310 if (arg2
== NULL
) {
26311 PyErr_SetString(PyExc_TypeError
,"null reference");
26315 arg3
= (bool)SWIG_As_bool(obj2
);
26316 if (PyErr_Occurred()) SWIG_fail
;
26319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26320 (arg1
)->SetItemDropHighlight((wxTreeItemId
const &)*arg2
,arg3
);
26322 wxPyEndAllowThreads(__tstate
);
26323 if (PyErr_Occurred()) SWIG_fail
;
26325 Py_INCREF(Py_None
); resultobj
= Py_None
;
26332 static PyObject
*_wrap_TreeCtrl_SetItemTextColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26333 PyObject
*resultobj
;
26334 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26335 wxTreeItemId
*arg2
= 0 ;
26336 wxColour
*arg3
= 0 ;
26338 PyObject
* obj0
= 0 ;
26339 PyObject
* obj1
= 0 ;
26340 PyObject
* obj2
= 0 ;
26341 char *kwnames
[] = {
26342 (char *) "self",(char *) "item",(char *) "col", NULL
26345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26348 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26349 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26351 if (arg2
== NULL
) {
26352 PyErr_SetString(PyExc_TypeError
,"null reference");
26357 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26361 (arg1
)->SetItemTextColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
26363 wxPyEndAllowThreads(__tstate
);
26364 if (PyErr_Occurred()) SWIG_fail
;
26366 Py_INCREF(Py_None
); resultobj
= Py_None
;
26373 static PyObject
*_wrap_TreeCtrl_SetItemBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26374 PyObject
*resultobj
;
26375 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26376 wxTreeItemId
*arg2
= 0 ;
26377 wxColour
*arg3
= 0 ;
26379 PyObject
* obj0
= 0 ;
26380 PyObject
* obj1
= 0 ;
26381 PyObject
* obj2
= 0 ;
26382 char *kwnames
[] = {
26383 (char *) "self",(char *) "item",(char *) "col", NULL
26386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26389 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26390 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26392 if (arg2
== NULL
) {
26393 PyErr_SetString(PyExc_TypeError
,"null reference");
26398 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
26401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26402 (arg1
)->SetItemBackgroundColour((wxTreeItemId
const &)*arg2
,(wxColour
const &)*arg3
);
26404 wxPyEndAllowThreads(__tstate
);
26405 if (PyErr_Occurred()) SWIG_fail
;
26407 Py_INCREF(Py_None
); resultobj
= Py_None
;
26414 static PyObject
*_wrap_TreeCtrl_SetItemFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26415 PyObject
*resultobj
;
26416 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26417 wxTreeItemId
*arg2
= 0 ;
26419 PyObject
* obj0
= 0 ;
26420 PyObject
* obj1
= 0 ;
26421 PyObject
* obj2
= 0 ;
26422 char *kwnames
[] = {
26423 (char *) "self",(char *) "item",(char *) "font", NULL
26426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetItemFont",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26429 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26430 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26432 if (arg2
== NULL
) {
26433 PyErr_SetString(PyExc_TypeError
,"null reference");
26436 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxFont
,
26437 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26439 if (arg3
== NULL
) {
26440 PyErr_SetString(PyExc_TypeError
,"null reference");
26444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26445 (arg1
)->SetItemFont((wxTreeItemId
const &)*arg2
,(wxFont
const &)*arg3
);
26447 wxPyEndAllowThreads(__tstate
);
26448 if (PyErr_Occurred()) SWIG_fail
;
26450 Py_INCREF(Py_None
); resultobj
= Py_None
;
26457 static PyObject
*_wrap_TreeCtrl_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26458 PyObject
*resultobj
;
26459 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26460 wxTreeItemId
*arg2
= 0 ;
26462 PyObject
* obj0
= 0 ;
26463 PyObject
* obj1
= 0 ;
26464 char *kwnames
[] = {
26465 (char *) "self",(char *) "item", NULL
26468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
26469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26471 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26472 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26474 if (arg2
== NULL
) {
26475 PyErr_SetString(PyExc_TypeError
,"null reference");
26479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26480 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsVisible((wxTreeItemId
const &)*arg2
);
26482 wxPyEndAllowThreads(__tstate
);
26483 if (PyErr_Occurred()) SWIG_fail
;
26486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26494 static PyObject
*_wrap_TreeCtrl_ItemHasChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26495 PyObject
*resultobj
;
26496 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26497 wxTreeItemId
*arg2
= 0 ;
26499 PyObject
* obj0
= 0 ;
26500 PyObject
* obj1
= 0 ;
26501 char *kwnames
[] = {
26502 (char *) "self",(char *) "item", NULL
26505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
26506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26508 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26509 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26511 if (arg2
== NULL
) {
26512 PyErr_SetString(PyExc_TypeError
,"null reference");
26516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26517 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->ItemHasChildren((wxTreeItemId
const &)*arg2
);
26519 wxPyEndAllowThreads(__tstate
);
26520 if (PyErr_Occurred()) SWIG_fail
;
26523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26531 static PyObject
*_wrap_TreeCtrl_IsExpanded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26532 PyObject
*resultobj
;
26533 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26534 wxTreeItemId
*arg2
= 0 ;
26536 PyObject
* obj0
= 0 ;
26537 PyObject
* obj1
= 0 ;
26538 char *kwnames
[] = {
26539 (char *) "self",(char *) "item", NULL
26542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsExpanded",kwnames
,&obj0
,&obj1
)) goto fail
;
26543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26545 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26546 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26548 if (arg2
== NULL
) {
26549 PyErr_SetString(PyExc_TypeError
,"null reference");
26553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26554 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsExpanded((wxTreeItemId
const &)*arg2
);
26556 wxPyEndAllowThreads(__tstate
);
26557 if (PyErr_Occurred()) SWIG_fail
;
26560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26568 static PyObject
*_wrap_TreeCtrl_IsSelected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26569 PyObject
*resultobj
;
26570 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26571 wxTreeItemId
*arg2
= 0 ;
26573 PyObject
* obj0
= 0 ;
26574 PyObject
* obj1
= 0 ;
26575 char *kwnames
[] = {
26576 (char *) "self",(char *) "item", NULL
26579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsSelected",kwnames
,&obj0
,&obj1
)) goto fail
;
26580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26582 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26583 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26585 if (arg2
== NULL
) {
26586 PyErr_SetString(PyExc_TypeError
,"null reference");
26590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26591 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsSelected((wxTreeItemId
const &)*arg2
);
26593 wxPyEndAllowThreads(__tstate
);
26594 if (PyErr_Occurred()) SWIG_fail
;
26597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26605 static PyObject
*_wrap_TreeCtrl_IsBold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26606 PyObject
*resultobj
;
26607 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26608 wxTreeItemId
*arg2
= 0 ;
26610 PyObject
* obj0
= 0 ;
26611 PyObject
* obj1
= 0 ;
26612 char *kwnames
[] = {
26613 (char *) "self",(char *) "item", NULL
26616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_IsBold",kwnames
,&obj0
,&obj1
)) goto fail
;
26617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26619 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26620 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26622 if (arg2
== NULL
) {
26623 PyErr_SetString(PyExc_TypeError
,"null reference");
26627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26628 result
= (bool)((wxPyTreeCtrl
const *)arg1
)->IsBold((wxTreeItemId
const &)*arg2
);
26630 wxPyEndAllowThreads(__tstate
);
26631 if (PyErr_Occurred()) SWIG_fail
;
26634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26642 static PyObject
*_wrap_TreeCtrl_GetChildrenCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26643 PyObject
*resultobj
;
26644 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26645 wxTreeItemId
*arg2
= 0 ;
26646 bool arg3
= (bool) True
;
26648 PyObject
* obj0
= 0 ;
26649 PyObject
* obj1
= 0 ;
26650 PyObject
* obj2
= 0 ;
26651 char *kwnames
[] = {
26652 (char *) "self",(char *) "item",(char *) "recursively", NULL
26655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26658 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26659 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26661 if (arg2
== NULL
) {
26662 PyErr_SetString(PyExc_TypeError
,"null reference");
26666 arg3
= (bool)SWIG_As_bool(obj2
);
26667 if (PyErr_Occurred()) SWIG_fail
;
26670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26671 result
= (size_t)(arg1
)->GetChildrenCount((wxTreeItemId
const &)*arg2
,arg3
);
26673 wxPyEndAllowThreads(__tstate
);
26674 if (PyErr_Occurred()) SWIG_fail
;
26676 resultobj
= SWIG_From_unsigned_SS_long((unsigned long)result
);
26683 static PyObject
*_wrap_TreeCtrl_GetRootItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26684 PyObject
*resultobj
;
26685 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26686 wxTreeItemId result
;
26687 PyObject
* obj0
= 0 ;
26688 char *kwnames
[] = {
26689 (char *) "self", NULL
26692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetRootItem",kwnames
,&obj0
)) goto fail
;
26693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26697 result
= ((wxPyTreeCtrl
const *)arg1
)->GetRootItem();
26699 wxPyEndAllowThreads(__tstate
);
26700 if (PyErr_Occurred()) SWIG_fail
;
26703 wxTreeItemId
* resultptr
;
26704 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26705 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26713 static PyObject
*_wrap_TreeCtrl_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26714 PyObject
*resultobj
;
26715 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26716 wxTreeItemId result
;
26717 PyObject
* obj0
= 0 ;
26718 char *kwnames
[] = {
26719 (char *) "self", NULL
26722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelection",kwnames
,&obj0
)) goto fail
;
26723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26727 result
= ((wxPyTreeCtrl
const *)arg1
)->GetSelection();
26729 wxPyEndAllowThreads(__tstate
);
26730 if (PyErr_Occurred()) SWIG_fail
;
26733 wxTreeItemId
* resultptr
;
26734 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26735 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26743 static PyObject
*_wrap_TreeCtrl_GetSelections(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26744 PyObject
*resultobj
;
26745 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26747 PyObject
* obj0
= 0 ;
26748 char *kwnames
[] = {
26749 (char *) "self", NULL
26752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetSelections",kwnames
,&obj0
)) goto fail
;
26753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26757 result
= (PyObject
*)wxPyTreeCtrl_GetSelections(arg1
);
26759 wxPyEndAllowThreads(__tstate
);
26760 if (PyErr_Occurred()) SWIG_fail
;
26762 resultobj
= result
;
26769 static PyObject
*_wrap_TreeCtrl_GetItemParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26770 PyObject
*resultobj
;
26771 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26772 wxTreeItemId
*arg2
= 0 ;
26773 wxTreeItemId result
;
26774 PyObject
* obj0
= 0 ;
26775 PyObject
* obj1
= 0 ;
26776 char *kwnames
[] = {
26777 (char *) "self",(char *) "item", NULL
26780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetItemParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26783 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26784 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26786 if (arg2
== NULL
) {
26787 PyErr_SetString(PyExc_TypeError
,"null reference");
26791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26792 result
= ((wxPyTreeCtrl
const *)arg1
)->GetItemParent((wxTreeItemId
const &)*arg2
);
26794 wxPyEndAllowThreads(__tstate
);
26795 if (PyErr_Occurred()) SWIG_fail
;
26798 wxTreeItemId
* resultptr
;
26799 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26800 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26808 static PyObject
*_wrap_TreeCtrl_GetFirstChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26809 PyObject
*resultobj
;
26810 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26811 wxTreeItemId
*arg2
= 0 ;
26813 PyObject
* obj0
= 0 ;
26814 PyObject
* obj1
= 0 ;
26815 char *kwnames
[] = {
26816 (char *) "self",(char *) "item", NULL
26819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetFirstChild",kwnames
,&obj0
,&obj1
)) goto fail
;
26820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26822 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26823 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26825 if (arg2
== NULL
) {
26826 PyErr_SetString(PyExc_TypeError
,"null reference");
26830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26831 result
= (PyObject
*)wxPyTreeCtrl_GetFirstChild(arg1
,(wxTreeItemId
const &)*arg2
);
26833 wxPyEndAllowThreads(__tstate
);
26834 if (PyErr_Occurred()) SWIG_fail
;
26836 resultobj
= result
;
26843 static PyObject
*_wrap_TreeCtrl_GetNextChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26844 PyObject
*resultobj
;
26845 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26846 wxTreeItemId
*arg2
= 0 ;
26847 void *arg3
= (void *) 0 ;
26849 PyObject
* obj0
= 0 ;
26850 PyObject
* obj1
= 0 ;
26851 PyObject
* obj2
= 0 ;
26852 char *kwnames
[] = {
26853 (char *) "self",(char *) "item",(char *) "cookie", NULL
26856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_GetNextChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26859 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26860 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26862 if (arg2
== NULL
) {
26863 PyErr_SetString(PyExc_TypeError
,"null reference");
26866 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26869 result
= (PyObject
*)wxPyTreeCtrl_GetNextChild(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
26871 wxPyEndAllowThreads(__tstate
);
26872 if (PyErr_Occurred()) SWIG_fail
;
26874 resultobj
= result
;
26881 static PyObject
*_wrap_TreeCtrl_GetLastChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26882 PyObject
*resultobj
;
26883 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26884 wxTreeItemId
*arg2
= 0 ;
26885 wxTreeItemId result
;
26886 PyObject
* obj0
= 0 ;
26887 PyObject
* obj1
= 0 ;
26888 char *kwnames
[] = {
26889 (char *) "self",(char *) "item", NULL
26892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetLastChild",kwnames
,&obj0
,&obj1
)) goto fail
;
26893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26895 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26896 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26898 if (arg2
== NULL
) {
26899 PyErr_SetString(PyExc_TypeError
,"null reference");
26903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26904 result
= ((wxPyTreeCtrl
const *)arg1
)->GetLastChild((wxTreeItemId
const &)*arg2
);
26906 wxPyEndAllowThreads(__tstate
);
26907 if (PyErr_Occurred()) SWIG_fail
;
26910 wxTreeItemId
* resultptr
;
26911 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26912 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26920 static PyObject
*_wrap_TreeCtrl_GetNextSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26921 PyObject
*resultobj
;
26922 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26923 wxTreeItemId
*arg2
= 0 ;
26924 wxTreeItemId result
;
26925 PyObject
* obj0
= 0 ;
26926 PyObject
* obj1
= 0 ;
26927 char *kwnames
[] = {
26928 (char *) "self",(char *) "item", NULL
26931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
26932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26934 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26935 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26937 if (arg2
== NULL
) {
26938 PyErr_SetString(PyExc_TypeError
,"null reference");
26942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26943 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextSibling((wxTreeItemId
const &)*arg2
);
26945 wxPyEndAllowThreads(__tstate
);
26946 if (PyErr_Occurred()) SWIG_fail
;
26949 wxTreeItemId
* resultptr
;
26950 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26951 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26959 static PyObject
*_wrap_TreeCtrl_GetPrevSibling(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26960 PyObject
*resultobj
;
26961 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
26962 wxTreeItemId
*arg2
= 0 ;
26963 wxTreeItemId result
;
26964 PyObject
* obj0
= 0 ;
26965 PyObject
* obj1
= 0 ;
26966 char *kwnames
[] = {
26967 (char *) "self",(char *) "item", NULL
26970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames
,&obj0
,&obj1
)) goto fail
;
26971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
26972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26973 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
26974 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26976 if (arg2
== NULL
) {
26977 PyErr_SetString(PyExc_TypeError
,"null reference");
26981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26982 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevSibling((wxTreeItemId
const &)*arg2
);
26984 wxPyEndAllowThreads(__tstate
);
26985 if (PyErr_Occurred()) SWIG_fail
;
26988 wxTreeItemId
* resultptr
;
26989 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
26990 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
26998 static PyObject
*_wrap_TreeCtrl_GetFirstVisibleItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26999 PyObject
*resultobj
;
27000 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27001 wxTreeItemId result
;
27002 PyObject
* obj0
= 0 ;
27003 char *kwnames
[] = {
27004 (char *) "self", NULL
27007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames
,&obj0
)) goto fail
;
27008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27012 result
= ((wxPyTreeCtrl
const *)arg1
)->GetFirstVisibleItem();
27014 wxPyEndAllowThreads(__tstate
);
27015 if (PyErr_Occurred()) SWIG_fail
;
27018 wxTreeItemId
* resultptr
;
27019 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27020 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27028 static PyObject
*_wrap_TreeCtrl_GetNextVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27029 PyObject
*resultobj
;
27030 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27031 wxTreeItemId
*arg2
= 0 ;
27032 wxTreeItemId result
;
27033 PyObject
* obj0
= 0 ;
27034 PyObject
* obj1
= 0 ;
27035 char *kwnames
[] = {
27036 (char *) "self",(char *) "item", NULL
27039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetNextVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
27040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27042 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27043 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27045 if (arg2
== NULL
) {
27046 PyErr_SetString(PyExc_TypeError
,"null reference");
27050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27051 result
= ((wxPyTreeCtrl
const *)arg1
)->GetNextVisible((wxTreeItemId
const &)*arg2
);
27053 wxPyEndAllowThreads(__tstate
);
27054 if (PyErr_Occurred()) SWIG_fail
;
27057 wxTreeItemId
* resultptr
;
27058 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27059 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27067 static PyObject
*_wrap_TreeCtrl_GetPrevVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27068 PyObject
*resultobj
;
27069 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27070 wxTreeItemId
*arg2
= 0 ;
27071 wxTreeItemId result
;
27072 PyObject
* obj0
= 0 ;
27073 PyObject
* obj1
= 0 ;
27074 char *kwnames
[] = {
27075 (char *) "self",(char *) "item", NULL
27078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
27079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27081 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27082 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27084 if (arg2
== NULL
) {
27085 PyErr_SetString(PyExc_TypeError
,"null reference");
27089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27090 result
= ((wxPyTreeCtrl
const *)arg1
)->GetPrevVisible((wxTreeItemId
const &)*arg2
);
27092 wxPyEndAllowThreads(__tstate
);
27093 if (PyErr_Occurred()) SWIG_fail
;
27096 wxTreeItemId
* resultptr
;
27097 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27098 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27106 static PyObject
*_wrap_TreeCtrl_AddRoot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27107 PyObject
*resultobj
;
27108 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27109 wxString
*arg2
= 0 ;
27110 int arg3
= (int) -1 ;
27111 int arg4
= (int) -1 ;
27112 wxPyTreeItemData
*arg5
= (wxPyTreeItemData
*) NULL
;
27113 wxTreeItemId result
;
27114 bool temp2
= False
;
27115 PyObject
* obj0
= 0 ;
27116 PyObject
* obj1
= 0 ;
27117 PyObject
* obj2
= 0 ;
27118 PyObject
* obj3
= 0 ;
27119 PyObject
* obj4
= 0 ;
27120 char *kwnames
[] = {
27121 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:TreeCtrl_AddRoot",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27128 arg2
= wxString_in_helper(obj1
);
27129 if (arg2
== NULL
) SWIG_fail
;
27133 arg3
= (int)SWIG_As_int(obj2
);
27134 if (PyErr_Occurred()) SWIG_fail
;
27137 arg4
= (int)SWIG_As_int(obj3
);
27138 if (PyErr_Occurred()) SWIG_fail
;
27141 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPyTreeItemData
,
27142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27146 result
= (arg1
)->AddRoot((wxString
const &)*arg2
,arg3
,arg4
,arg5
);
27148 wxPyEndAllowThreads(__tstate
);
27149 if (PyErr_Occurred()) SWIG_fail
;
27152 wxTreeItemId
* resultptr
;
27153 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27154 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27170 static PyObject
*_wrap_TreeCtrl_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27171 PyObject
*resultobj
;
27172 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27173 wxTreeItemId
*arg2
= 0 ;
27174 wxString
*arg3
= 0 ;
27175 int arg4
= (int) -1 ;
27176 int arg5
= (int) -1 ;
27177 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
27178 wxTreeItemId result
;
27179 bool temp3
= False
;
27180 PyObject
* obj0
= 0 ;
27181 PyObject
* obj1
= 0 ;
27182 PyObject
* obj2
= 0 ;
27183 PyObject
* obj3
= 0 ;
27184 PyObject
* obj4
= 0 ;
27185 PyObject
* obj5
= 0 ;
27186 char *kwnames
[] = {
27187 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_PrependItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27193 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27194 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27196 if (arg2
== NULL
) {
27197 PyErr_SetString(PyExc_TypeError
,"null reference");
27201 arg3
= wxString_in_helper(obj2
);
27202 if (arg3
== NULL
) SWIG_fail
;
27206 arg4
= (int)SWIG_As_int(obj3
);
27207 if (PyErr_Occurred()) SWIG_fail
;
27210 arg5
= (int)SWIG_As_int(obj4
);
27211 if (PyErr_Occurred()) SWIG_fail
;
27214 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
27215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27219 result
= (arg1
)->PrependItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
27221 wxPyEndAllowThreads(__tstate
);
27222 if (PyErr_Occurred()) SWIG_fail
;
27225 wxTreeItemId
* resultptr
;
27226 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27227 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27243 static PyObject
*_wrap_TreeCtrl_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27244 PyObject
*resultobj
;
27245 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27246 wxTreeItemId
*arg2
= 0 ;
27247 wxTreeItemId
*arg3
= 0 ;
27248 wxString
*arg4
= 0 ;
27249 int arg5
= (int) -1 ;
27250 int arg6
= (int) -1 ;
27251 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
27252 wxTreeItemId result
;
27253 bool temp4
= False
;
27254 PyObject
* obj0
= 0 ;
27255 PyObject
* obj1
= 0 ;
27256 PyObject
* obj2
= 0 ;
27257 PyObject
* obj3
= 0 ;
27258 PyObject
* obj4
= 0 ;
27259 PyObject
* obj5
= 0 ;
27260 PyObject
* obj6
= 0 ;
27261 char *kwnames
[] = {
27262 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27268 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27269 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27271 if (arg2
== NULL
) {
27272 PyErr_SetString(PyExc_TypeError
,"null reference");
27275 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTreeItemId
,
27276 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27278 if (arg3
== NULL
) {
27279 PyErr_SetString(PyExc_TypeError
,"null reference");
27283 arg4
= wxString_in_helper(obj3
);
27284 if (arg4
== NULL
) SWIG_fail
;
27288 arg5
= (int)SWIG_As_int(obj4
);
27289 if (PyErr_Occurred()) SWIG_fail
;
27292 arg6
= (int)SWIG_As_int(obj5
);
27293 if (PyErr_Occurred()) SWIG_fail
;
27296 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
27297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27301 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,(wxTreeItemId
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
27303 wxPyEndAllowThreads(__tstate
);
27304 if (PyErr_Occurred()) SWIG_fail
;
27307 wxTreeItemId
* resultptr
;
27308 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27309 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27325 static PyObject
*_wrap_TreeCtrl_InsertItemBefore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27326 PyObject
*resultobj
;
27327 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27328 wxTreeItemId
*arg2
= 0 ;
27330 wxString
*arg4
= 0 ;
27331 int arg5
= (int) -1 ;
27332 int arg6
= (int) -1 ;
27333 wxPyTreeItemData
*arg7
= (wxPyTreeItemData
*) NULL
;
27334 wxTreeItemId result
;
27335 bool temp4
= False
;
27336 PyObject
* obj0
= 0 ;
27337 PyObject
* obj1
= 0 ;
27338 PyObject
* obj2
= 0 ;
27339 PyObject
* obj3
= 0 ;
27340 PyObject
* obj4
= 0 ;
27341 PyObject
* obj5
= 0 ;
27342 PyObject
* obj6
= 0 ;
27343 char *kwnames
[] = {
27344 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOO:TreeCtrl_InsertItemBefore",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
27348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27350 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27351 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27353 if (arg2
== NULL
) {
27354 PyErr_SetString(PyExc_TypeError
,"null reference");
27357 arg3
= (size_t)SWIG_As_unsigned_SS_long(obj2
);
27358 if (PyErr_Occurred()) SWIG_fail
;
27360 arg4
= wxString_in_helper(obj3
);
27361 if (arg4
== NULL
) SWIG_fail
;
27365 arg5
= (int)SWIG_As_int(obj4
);
27366 if (PyErr_Occurred()) SWIG_fail
;
27369 arg6
= (int)SWIG_As_int(obj5
);
27370 if (PyErr_Occurred()) SWIG_fail
;
27373 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxPyTreeItemData
,
27374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27378 result
= (arg1
)->InsertItem((wxTreeItemId
const &)*arg2
,arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
);
27380 wxPyEndAllowThreads(__tstate
);
27381 if (PyErr_Occurred()) SWIG_fail
;
27384 wxTreeItemId
* resultptr
;
27385 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27386 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27402 static PyObject
*_wrap_TreeCtrl_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27403 PyObject
*resultobj
;
27404 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27405 wxTreeItemId
*arg2
= 0 ;
27406 wxString
*arg3
= 0 ;
27407 int arg4
= (int) -1 ;
27408 int arg5
= (int) -1 ;
27409 wxPyTreeItemData
*arg6
= (wxPyTreeItemData
*) NULL
;
27410 wxTreeItemId result
;
27411 bool temp3
= False
;
27412 PyObject
* obj0
= 0 ;
27413 PyObject
* obj1
= 0 ;
27414 PyObject
* obj2
= 0 ;
27415 PyObject
* obj3
= 0 ;
27416 PyObject
* obj4
= 0 ;
27417 PyObject
* obj5
= 0 ;
27418 char *kwnames
[] = {
27419 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
27422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:TreeCtrl_AppendItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27425 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27426 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27428 if (arg2
== NULL
) {
27429 PyErr_SetString(PyExc_TypeError
,"null reference");
27433 arg3
= wxString_in_helper(obj2
);
27434 if (arg3
== NULL
) SWIG_fail
;
27438 arg4
= (int)SWIG_As_int(obj3
);
27439 if (PyErr_Occurred()) SWIG_fail
;
27442 arg5
= (int)SWIG_As_int(obj4
);
27443 if (PyErr_Occurred()) SWIG_fail
;
27446 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxPyTreeItemData
,
27447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27451 result
= (arg1
)->AppendItem((wxTreeItemId
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
);
27453 wxPyEndAllowThreads(__tstate
);
27454 if (PyErr_Occurred()) SWIG_fail
;
27457 wxTreeItemId
* resultptr
;
27458 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
27459 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
27475 static PyObject
*_wrap_TreeCtrl_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27476 PyObject
*resultobj
;
27477 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27478 wxTreeItemId
*arg2
= 0 ;
27479 PyObject
* obj0
= 0 ;
27480 PyObject
* obj1
= 0 ;
27481 char *kwnames
[] = {
27482 (char *) "self",(char *) "item", NULL
27485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
27486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27488 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27489 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27491 if (arg2
== NULL
) {
27492 PyErr_SetString(PyExc_TypeError
,"null reference");
27496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27497 (arg1
)->Delete((wxTreeItemId
const &)*arg2
);
27499 wxPyEndAllowThreads(__tstate
);
27500 if (PyErr_Occurred()) SWIG_fail
;
27502 Py_INCREF(Py_None
); resultobj
= Py_None
;
27509 static PyObject
*_wrap_TreeCtrl_DeleteChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27510 PyObject
*resultobj
;
27511 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27512 wxTreeItemId
*arg2
= 0 ;
27513 PyObject
* obj0
= 0 ;
27514 PyObject
* obj1
= 0 ;
27515 char *kwnames
[] = {
27516 (char *) "self",(char *) "item", NULL
27519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_DeleteChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
27520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27522 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27523 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27525 if (arg2
== NULL
) {
27526 PyErr_SetString(PyExc_TypeError
,"null reference");
27530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27531 (arg1
)->DeleteChildren((wxTreeItemId
const &)*arg2
);
27533 wxPyEndAllowThreads(__tstate
);
27534 if (PyErr_Occurred()) SWIG_fail
;
27536 Py_INCREF(Py_None
); resultobj
= Py_None
;
27543 static PyObject
*_wrap_TreeCtrl_DeleteAllItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27544 PyObject
*resultobj
;
27545 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27546 PyObject
* obj0
= 0 ;
27547 char *kwnames
[] = {
27548 (char *) "self", NULL
27551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_DeleteAllItems",kwnames
,&obj0
)) goto fail
;
27552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27556 (arg1
)->DeleteAllItems();
27558 wxPyEndAllowThreads(__tstate
);
27559 if (PyErr_Occurred()) SWIG_fail
;
27561 Py_INCREF(Py_None
); resultobj
= Py_None
;
27568 static PyObject
*_wrap_TreeCtrl_Expand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27569 PyObject
*resultobj
;
27570 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27571 wxTreeItemId
*arg2
= 0 ;
27572 PyObject
* obj0
= 0 ;
27573 PyObject
* obj1
= 0 ;
27574 char *kwnames
[] = {
27575 (char *) "self",(char *) "item", NULL
27578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Expand",kwnames
,&obj0
,&obj1
)) goto fail
;
27579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27581 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27582 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27584 if (arg2
== NULL
) {
27585 PyErr_SetString(PyExc_TypeError
,"null reference");
27589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27590 (arg1
)->Expand((wxTreeItemId
const &)*arg2
);
27592 wxPyEndAllowThreads(__tstate
);
27593 if (PyErr_Occurred()) SWIG_fail
;
27595 Py_INCREF(Py_None
); resultobj
= Py_None
;
27602 static PyObject
*_wrap_TreeCtrl_Collapse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27603 PyObject
*resultobj
;
27604 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27605 wxTreeItemId
*arg2
= 0 ;
27606 PyObject
* obj0
= 0 ;
27607 PyObject
* obj1
= 0 ;
27608 char *kwnames
[] = {
27609 (char *) "self",(char *) "item", NULL
27612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_Collapse",kwnames
,&obj0
,&obj1
)) goto fail
;
27613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27615 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27616 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27618 if (arg2
== NULL
) {
27619 PyErr_SetString(PyExc_TypeError
,"null reference");
27623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27624 (arg1
)->Collapse((wxTreeItemId
const &)*arg2
);
27626 wxPyEndAllowThreads(__tstate
);
27627 if (PyErr_Occurred()) SWIG_fail
;
27629 Py_INCREF(Py_None
); resultobj
= Py_None
;
27636 static PyObject
*_wrap_TreeCtrl_CollapseAndReset(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_CollapseAndReset",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
)->CollapseAndReset((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_Toggle(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_Toggle",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
)->Toggle((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_Unselect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27705 PyObject
*resultobj
;
27706 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27707 PyObject
* obj0
= 0 ;
27708 char *kwnames
[] = {
27709 (char *) "self", NULL
27712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_Unselect",kwnames
,&obj0
)) goto fail
;
27713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27717 (arg1
)->Unselect();
27719 wxPyEndAllowThreads(__tstate
);
27720 if (PyErr_Occurred()) SWIG_fail
;
27722 Py_INCREF(Py_None
); resultobj
= Py_None
;
27729 static PyObject
*_wrap_TreeCtrl_UnselectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27730 PyObject
*resultobj
;
27731 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27732 wxTreeItemId
*arg2
= 0 ;
27733 PyObject
* obj0
= 0 ;
27734 PyObject
* obj1
= 0 ;
27735 char *kwnames
[] = {
27736 (char *) "self",(char *) "item", NULL
27739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_UnselectItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27742 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27743 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27745 if (arg2
== NULL
) {
27746 PyErr_SetString(PyExc_TypeError
,"null reference");
27750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27751 (arg1
)->UnselectItem((wxTreeItemId
const &)*arg2
);
27753 wxPyEndAllowThreads(__tstate
);
27754 if (PyErr_Occurred()) SWIG_fail
;
27756 Py_INCREF(Py_None
); resultobj
= Py_None
;
27763 static PyObject
*_wrap_TreeCtrl_UnselectAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27764 PyObject
*resultobj
;
27765 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27766 PyObject
* obj0
= 0 ;
27767 char *kwnames
[] = {
27768 (char *) "self", NULL
27771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_UnselectAll",kwnames
,&obj0
)) goto fail
;
27772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27776 (arg1
)->UnselectAll();
27778 wxPyEndAllowThreads(__tstate
);
27779 if (PyErr_Occurred()) SWIG_fail
;
27781 Py_INCREF(Py_None
); resultobj
= Py_None
;
27788 static PyObject
*_wrap_TreeCtrl_SelectItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27789 PyObject
*resultobj
;
27790 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27791 wxTreeItemId
*arg2
= 0 ;
27792 bool arg3
= (bool) True
;
27793 PyObject
* obj0
= 0 ;
27794 PyObject
* obj1
= 0 ;
27795 PyObject
* obj2
= 0 ;
27796 char *kwnames
[] = {
27797 (char *) "self",(char *) "item",(char *) "select", NULL
27800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_SelectItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27803 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27804 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27806 if (arg2
== NULL
) {
27807 PyErr_SetString(PyExc_TypeError
,"null reference");
27811 arg3
= (bool)SWIG_As_bool(obj2
);
27812 if (PyErr_Occurred()) SWIG_fail
;
27815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27816 (arg1
)->SelectItem((wxTreeItemId
const &)*arg2
,arg3
);
27818 wxPyEndAllowThreads(__tstate
);
27819 if (PyErr_Occurred()) SWIG_fail
;
27821 Py_INCREF(Py_None
); resultobj
= Py_None
;
27828 static PyObject
*_wrap_TreeCtrl_ToggleItemSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27829 PyObject
*resultobj
;
27830 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27831 wxTreeItemId
*arg2
= 0 ;
27832 PyObject
* obj0
= 0 ;
27833 PyObject
* obj1
= 0 ;
27834 char *kwnames
[] = {
27835 (char *) "self",(char *) "item", NULL
27838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ToggleItemSelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27841 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27842 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27844 if (arg2
== NULL
) {
27845 PyErr_SetString(PyExc_TypeError
,"null reference");
27849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27850 (arg1
)->ToggleItemSelection((wxTreeItemId
const &)*arg2
);
27852 wxPyEndAllowThreads(__tstate
);
27853 if (PyErr_Occurred()) SWIG_fail
;
27855 Py_INCREF(Py_None
); resultobj
= Py_None
;
27862 static PyObject
*_wrap_TreeCtrl_EnsureVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27863 PyObject
*resultobj
;
27864 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27865 wxTreeItemId
*arg2
= 0 ;
27866 PyObject
* obj0
= 0 ;
27867 PyObject
* obj1
= 0 ;
27868 char *kwnames
[] = {
27869 (char *) "self",(char *) "item", NULL
27872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EnsureVisible",kwnames
,&obj0
,&obj1
)) goto fail
;
27873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27875 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27876 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27878 if (arg2
== NULL
) {
27879 PyErr_SetString(PyExc_TypeError
,"null reference");
27883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27884 (arg1
)->EnsureVisible((wxTreeItemId
const &)*arg2
);
27886 wxPyEndAllowThreads(__tstate
);
27887 if (PyErr_Occurred()) SWIG_fail
;
27889 Py_INCREF(Py_None
); resultobj
= Py_None
;
27896 static PyObject
*_wrap_TreeCtrl_ScrollTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27897 PyObject
*resultobj
;
27898 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27899 wxTreeItemId
*arg2
= 0 ;
27900 PyObject
* obj0
= 0 ;
27901 PyObject
* obj1
= 0 ;
27902 char *kwnames
[] = {
27903 (char *) "self",(char *) "item", NULL
27906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_ScrollTo",kwnames
,&obj0
,&obj1
)) goto fail
;
27907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27909 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27910 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27912 if (arg2
== NULL
) {
27913 PyErr_SetString(PyExc_TypeError
,"null reference");
27917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27918 (arg1
)->ScrollTo((wxTreeItemId
const &)*arg2
);
27920 wxPyEndAllowThreads(__tstate
);
27921 if (PyErr_Occurred()) SWIG_fail
;
27923 Py_INCREF(Py_None
); resultobj
= Py_None
;
27930 static PyObject
*_wrap_TreeCtrl_EditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27931 PyObject
*resultobj
;
27932 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27933 wxTreeItemId
*arg2
= 0 ;
27934 PyObject
* obj0
= 0 ;
27935 PyObject
* obj1
= 0 ;
27936 char *kwnames
[] = {
27937 (char *) "self",(char *) "item", NULL
27940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_EditLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27943 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
27944 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27946 if (arg2
== NULL
) {
27947 PyErr_SetString(PyExc_TypeError
,"null reference");
27951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27952 (arg1
)->EditLabel((wxTreeItemId
const &)*arg2
);
27954 wxPyEndAllowThreads(__tstate
);
27955 if (PyErr_Occurred()) SWIG_fail
;
27957 Py_INCREF(Py_None
); resultobj
= Py_None
;
27964 static PyObject
*_wrap_TreeCtrl_GetEditControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27965 PyObject
*resultobj
;
27966 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27967 wxTextCtrl
*result
;
27968 PyObject
* obj0
= 0 ;
27969 char *kwnames
[] = {
27970 (char *) "self", NULL
27973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TreeCtrl_GetEditControl",kwnames
,&obj0
)) goto fail
;
27974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
27975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27978 result
= (wxTextCtrl
*)((wxPyTreeCtrl
const *)arg1
)->GetEditControl();
27980 wxPyEndAllowThreads(__tstate
);
27981 if (PyErr_Occurred()) SWIG_fail
;
27984 resultobj
= wxPyMake_wxObject(result
, 0);
27992 static PyObject
*_wrap_TreeCtrl_EndEditLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27993 PyObject
*resultobj
;
27994 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
27995 wxTreeItemId
*arg2
= 0 ;
27996 bool arg3
= (bool) False
;
27997 PyObject
* obj0
= 0 ;
27998 PyObject
* obj1
= 0 ;
27999 PyObject
* obj2
= 0 ;
28000 char *kwnames
[] = {
28001 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
28004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28007 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28008 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28010 if (arg2
== NULL
) {
28011 PyErr_SetString(PyExc_TypeError
,"null reference");
28015 arg3
= (bool)SWIG_As_bool(obj2
);
28016 if (PyErr_Occurred()) SWIG_fail
;
28019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28020 (arg1
)->EndEditLabel((wxTreeItemId
const &)*arg2
,arg3
);
28022 wxPyEndAllowThreads(__tstate
);
28023 if (PyErr_Occurred()) SWIG_fail
;
28025 Py_INCREF(Py_None
); resultobj
= Py_None
;
28032 static PyObject
*_wrap_TreeCtrl_SortChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28033 PyObject
*resultobj
;
28034 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28035 wxTreeItemId
*arg2
= 0 ;
28036 PyObject
* obj0
= 0 ;
28037 PyObject
* obj1
= 0 ;
28038 char *kwnames
[] = {
28039 (char *) "self",(char *) "item", NULL
28042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_SortChildren",kwnames
,&obj0
,&obj1
)) goto fail
;
28043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28045 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28046 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28048 if (arg2
== NULL
) {
28049 PyErr_SetString(PyExc_TypeError
,"null reference");
28053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28054 (arg1
)->SortChildren((wxTreeItemId
const &)*arg2
);
28056 wxPyEndAllowThreads(__tstate
);
28057 if (PyErr_Occurred()) SWIG_fail
;
28059 Py_INCREF(Py_None
); resultobj
= Py_None
;
28066 static PyObject
*_wrap_TreeCtrl_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28067 PyObject
*resultobj
;
28068 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28069 wxPoint
*arg2
= 0 ;
28071 wxTreeItemId result
;
28075 PyObject
* obj0
= 0 ;
28076 PyObject
* obj1
= 0 ;
28077 char *kwnames
[] = {
28078 (char *) "self",(char *) "point", NULL
28081 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
28082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
28083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28087 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
28090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28091 result
= (arg1
)->HitTest((wxPoint
const &)*arg2
,*arg3
);
28093 wxPyEndAllowThreads(__tstate
);
28094 if (PyErr_Occurred()) SWIG_fail
;
28097 wxTreeItemId
* resultptr
;
28098 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28099 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28101 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
28102 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
28109 static PyObject
*_wrap_TreeCtrl_GetBoundingRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28110 PyObject
*resultobj
;
28111 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28112 wxTreeItemId
*arg2
= 0 ;
28113 bool arg3
= (bool) False
;
28115 PyObject
* obj0
= 0 ;
28116 PyObject
* obj1
= 0 ;
28117 PyObject
* obj2
= 0 ;
28118 char *kwnames
[] = {
28119 (char *) "self",(char *) "item",(char *) "textOnly", NULL
28122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28125 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28126 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28128 if (arg2
== NULL
) {
28129 PyErr_SetString(PyExc_TypeError
,"null reference");
28133 arg3
= (bool)SWIG_As_bool(obj2
);
28134 if (PyErr_Occurred()) SWIG_fail
;
28137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28138 result
= (PyObject
*)wxPyTreeCtrl_GetBoundingRect(arg1
,(wxTreeItemId
const &)*arg2
,arg3
);
28140 wxPyEndAllowThreads(__tstate
);
28141 if (PyErr_Occurred()) SWIG_fail
;
28143 resultobj
= result
;
28150 static PyObject
*_wrap_TreeCtrl_SetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28151 PyObject
*resultobj
;
28152 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28153 wxTreeItemId
*arg2
= 0 ;
28155 PyObject
* obj0
= 0 ;
28156 PyObject
* obj1
= 0 ;
28157 PyObject
* obj2
= 0 ;
28158 char *kwnames
[] = {
28159 (char *) "self",(char *) "node",(char *) "state", NULL
28162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TreeCtrl_SetState",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28165 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28166 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28168 if (arg2
== NULL
) {
28169 PyErr_SetString(PyExc_TypeError
,"null reference");
28172 arg3
= (int)SWIG_As_int(obj2
);
28173 if (PyErr_Occurred()) SWIG_fail
;
28175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28176 (arg1
)->SetState((wxTreeItemId
const &)*arg2
,arg3
);
28178 wxPyEndAllowThreads(__tstate
);
28179 if (PyErr_Occurred()) SWIG_fail
;
28181 Py_INCREF(Py_None
); resultobj
= Py_None
;
28188 static PyObject
*_wrap_TreeCtrl_GetState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28189 PyObject
*resultobj
;
28190 wxPyTreeCtrl
*arg1
= (wxPyTreeCtrl
*) 0 ;
28191 wxTreeItemId
*arg2
= 0 ;
28193 PyObject
* obj0
= 0 ;
28194 PyObject
* obj1
= 0 ;
28195 char *kwnames
[] = {
28196 (char *) "self",(char *) "node", NULL
28199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TreeCtrl_GetState",kwnames
,&obj0
,&obj1
)) goto fail
;
28200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
28201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28202 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
28203 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28205 if (arg2
== NULL
) {
28206 PyErr_SetString(PyExc_TypeError
,"null reference");
28210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28211 result
= (int)(arg1
)->GetState((wxTreeItemId
const &)*arg2
);
28213 wxPyEndAllowThreads(__tstate
);
28214 if (PyErr_Occurred()) SWIG_fail
;
28216 resultobj
= SWIG_From_int((int)result
);
28223 static PyObject
*_wrap_TreeCtrl_GetClassDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28224 PyObject
*resultobj
;
28225 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
28226 wxVisualAttributes result
;
28227 PyObject
* obj0
= 0 ;
28228 char *kwnames
[] = {
28229 (char *) "variant", NULL
28232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:TreeCtrl_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
28234 arg1
= (int)SWIG_As_int(obj0
);
28235 if (PyErr_Occurred()) SWIG_fail
;
28238 if (!wxPyCheckForApp()) SWIG_fail
;
28239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28240 result
= wxPyTreeCtrl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
28242 wxPyEndAllowThreads(__tstate
);
28243 if (PyErr_Occurred()) SWIG_fail
;
28246 wxVisualAttributes
* resultptr
;
28247 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
28248 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
28256 static PyObject
* TreeCtrl_swigregister(PyObject
*, PyObject
*args
) {
28258 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28259 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl
, obj
);
28261 return Py_BuildValue((char *)"");
28263 static int _wrap_DirDialogDefaultFolderStr_set(PyObject
*) {
28264 PyErr_SetString(PyExc_TypeError
,"Variable DirDialogDefaultFolderStr is read-only.");
28269 static PyObject
*_wrap_DirDialogDefaultFolderStr_get() {
28274 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
28276 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogDefaultFolderStr
)->c_str(), (&wxPyDirDialogDefaultFolderStr
)->Len());
28283 static PyObject
*_wrap_new_GenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28284 PyObject
*resultobj
;
28285 wxWindow
*arg1
= (wxWindow
*) 0 ;
28286 int arg2
= (int) (int)-1 ;
28287 wxString
const &arg3_defvalue
= wxPyDirDialogDefaultFolderStr
;
28288 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
28289 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28290 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28291 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28292 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28293 long arg6
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
28294 wxString
const &arg7_defvalue
= wxPyEmptyString
;
28295 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28296 int arg8
= (int) 0 ;
28297 wxString
const &arg9_defvalue
= wxPyTreeCtrlNameStr
;
28298 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
28299 wxGenericDirCtrl
*result
;
28300 bool temp3
= False
;
28303 bool temp7
= False
;
28304 bool temp9
= False
;
28305 PyObject
* obj0
= 0 ;
28306 PyObject
* obj1
= 0 ;
28307 PyObject
* obj2
= 0 ;
28308 PyObject
* obj3
= 0 ;
28309 PyObject
* obj4
= 0 ;
28310 PyObject
* obj5
= 0 ;
28311 PyObject
* obj6
= 0 ;
28312 PyObject
* obj7
= 0 ;
28313 PyObject
* obj8
= 0 ;
28314 char *kwnames
[] = {
28315 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOOO:new_GenericDirCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
28319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28322 arg2
= (int)SWIG_As_int(obj1
);
28323 if (PyErr_Occurred()) SWIG_fail
;
28327 arg3
= wxString_in_helper(obj2
);
28328 if (arg3
== NULL
) SWIG_fail
;
28335 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28341 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28345 arg6
= (long)SWIG_As_long(obj5
);
28346 if (PyErr_Occurred()) SWIG_fail
;
28350 arg7
= wxString_in_helper(obj6
);
28351 if (arg7
== NULL
) SWIG_fail
;
28356 arg8
= (int)SWIG_As_int(obj7
);
28357 if (PyErr_Occurred()) SWIG_fail
;
28361 arg9
= wxString_in_helper(obj8
);
28362 if (arg9
== NULL
) SWIG_fail
;
28367 if (!wxPyCheckForApp()) SWIG_fail
;
28368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28369 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
,arg8
,(wxString
const &)*arg9
);
28371 wxPyEndAllowThreads(__tstate
);
28372 if (PyErr_Occurred()) SWIG_fail
;
28374 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
28405 static PyObject
*_wrap_new_PreGenericDirCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28406 PyObject
*resultobj
;
28407 wxGenericDirCtrl
*result
;
28408 char *kwnames
[] = {
28412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreGenericDirCtrl",kwnames
)) goto fail
;
28414 if (!wxPyCheckForApp()) SWIG_fail
;
28415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28416 result
= (wxGenericDirCtrl
*)new wxGenericDirCtrl();
28418 wxPyEndAllowThreads(__tstate
);
28419 if (PyErr_Occurred()) SWIG_fail
;
28421 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDirCtrl
, 1);
28428 static PyObject
*_wrap_GenericDirCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28429 PyObject
*resultobj
;
28430 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28431 wxWindow
*arg2
= (wxWindow
*) 0 ;
28432 int arg3
= (int) (int)-1 ;
28433 wxString
const &arg4_defvalue
= wxPyDirDialogDefaultFolderStr
;
28434 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28435 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
28436 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
28437 wxSize
const &arg6_defvalue
= wxDefaultSize
;
28438 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
28439 long arg7
= (long) wxDIRCTRL_3D_INTERNAL
|wxSUNKEN_BORDER
;
28440 wxString
const &arg8_defvalue
= wxPyEmptyString
;
28441 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28442 int arg9
= (int) 0 ;
28443 wxString
const &arg10_defvalue
= wxPyTreeCtrlNameStr
;
28444 wxString
*arg10
= (wxString
*) &arg10_defvalue
;
28446 bool temp4
= False
;
28449 bool temp8
= False
;
28450 bool temp10
= False
;
28451 PyObject
* obj0
= 0 ;
28452 PyObject
* obj1
= 0 ;
28453 PyObject
* obj2
= 0 ;
28454 PyObject
* obj3
= 0 ;
28455 PyObject
* obj4
= 0 ;
28456 PyObject
* obj5
= 0 ;
28457 PyObject
* obj6
= 0 ;
28458 PyObject
* obj7
= 0 ;
28459 PyObject
* obj8
= 0 ;
28460 PyObject
* obj9
= 0 ;
28461 char *kwnames
[] = {
28462 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
28465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOOO:GenericDirCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
,&obj9
)) goto fail
;
28466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28468 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28471 arg3
= (int)SWIG_As_int(obj2
);
28472 if (PyErr_Occurred()) SWIG_fail
;
28476 arg4
= wxString_in_helper(obj3
);
28477 if (arg4
== NULL
) SWIG_fail
;
28484 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
28490 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
28494 arg7
= (long)SWIG_As_long(obj6
);
28495 if (PyErr_Occurred()) SWIG_fail
;
28499 arg8
= wxString_in_helper(obj7
);
28500 if (arg8
== NULL
) SWIG_fail
;
28505 arg9
= (int)SWIG_As_int(obj8
);
28506 if (PyErr_Occurred()) SWIG_fail
;
28510 arg10
= wxString_in_helper(obj9
);
28511 if (arg10
== NULL
) SWIG_fail
;
28516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28517 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
,arg9
,(wxString
const &)*arg10
);
28519 wxPyEndAllowThreads(__tstate
);
28520 if (PyErr_Occurred()) SWIG_fail
;
28523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28555 static PyObject
*_wrap_GenericDirCtrl_ExpandPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28556 PyObject
*resultobj
;
28557 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28558 wxString
*arg2
= 0 ;
28560 bool temp2
= False
;
28561 PyObject
* obj0
= 0 ;
28562 PyObject
* obj1
= 0 ;
28563 char *kwnames
[] = {
28564 (char *) "self",(char *) "path", NULL
28567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28571 arg2
= wxString_in_helper(obj1
);
28572 if (arg2
== NULL
) SWIG_fail
;
28576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28577 result
= (bool)(arg1
)->ExpandPath((wxString
const &)*arg2
);
28579 wxPyEndAllowThreads(__tstate
);
28580 if (PyErr_Occurred()) SWIG_fail
;
28583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28599 static PyObject
*_wrap_GenericDirCtrl_GetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28600 PyObject
*resultobj
;
28601 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28603 PyObject
* obj0
= 0 ;
28604 char *kwnames
[] = {
28605 (char *) "self", NULL
28608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames
,&obj0
)) goto fail
;
28609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28613 result
= ((wxGenericDirCtrl
const *)arg1
)->GetDefaultPath();
28615 wxPyEndAllowThreads(__tstate
);
28616 if (PyErr_Occurred()) SWIG_fail
;
28620 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28622 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28631 static PyObject
*_wrap_GenericDirCtrl_SetDefaultPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28632 PyObject
*resultobj
;
28633 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28634 wxString
*arg2
= 0 ;
28635 bool temp2
= False
;
28636 PyObject
* obj0
= 0 ;
28637 PyObject
* obj1
= 0 ;
28638 char *kwnames
[] = {
28639 (char *) "self",(char *) "path", NULL
28642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28646 arg2
= wxString_in_helper(obj1
);
28647 if (arg2
== NULL
) SWIG_fail
;
28651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28652 (arg1
)->SetDefaultPath((wxString
const &)*arg2
);
28654 wxPyEndAllowThreads(__tstate
);
28655 if (PyErr_Occurred()) SWIG_fail
;
28657 Py_INCREF(Py_None
); resultobj
= Py_None
;
28672 static PyObject
*_wrap_GenericDirCtrl_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28673 PyObject
*resultobj
;
28674 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28676 PyObject
* obj0
= 0 ;
28677 char *kwnames
[] = {
28678 (char *) "self", NULL
28681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetPath",kwnames
,&obj0
)) goto fail
;
28682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28686 result
= ((wxGenericDirCtrl
const *)arg1
)->GetPath();
28688 wxPyEndAllowThreads(__tstate
);
28689 if (PyErr_Occurred()) SWIG_fail
;
28693 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28695 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28704 static PyObject
*_wrap_GenericDirCtrl_GetFilePath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28705 PyObject
*resultobj
;
28706 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28708 PyObject
* obj0
= 0 ;
28709 char *kwnames
[] = {
28710 (char *) "self", NULL
28713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilePath",kwnames
,&obj0
)) goto fail
;
28714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28718 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilePath();
28720 wxPyEndAllowThreads(__tstate
);
28721 if (PyErr_Occurred()) SWIG_fail
;
28725 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28727 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28736 static PyObject
*_wrap_GenericDirCtrl_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28737 PyObject
*resultobj
;
28738 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28739 wxString
*arg2
= 0 ;
28740 bool temp2
= False
;
28741 PyObject
* obj0
= 0 ;
28742 PyObject
* obj1
= 0 ;
28743 char *kwnames
[] = {
28744 (char *) "self",(char *) "path", NULL
28747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
28748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28751 arg2
= wxString_in_helper(obj1
);
28752 if (arg2
== NULL
) SWIG_fail
;
28756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28757 (arg1
)->SetPath((wxString
const &)*arg2
);
28759 wxPyEndAllowThreads(__tstate
);
28760 if (PyErr_Occurred()) SWIG_fail
;
28762 Py_INCREF(Py_None
); resultobj
= Py_None
;
28777 static PyObject
*_wrap_GenericDirCtrl_ShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28778 PyObject
*resultobj
;
28779 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28781 PyObject
* obj0
= 0 ;
28782 PyObject
* obj1
= 0 ;
28783 char *kwnames
[] = {
28784 (char *) "self",(char *) "show", NULL
28787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames
,&obj0
,&obj1
)) goto fail
;
28788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28790 arg2
= (bool)SWIG_As_bool(obj1
);
28791 if (PyErr_Occurred()) SWIG_fail
;
28793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28794 (arg1
)->ShowHidden(arg2
);
28796 wxPyEndAllowThreads(__tstate
);
28797 if (PyErr_Occurred()) SWIG_fail
;
28799 Py_INCREF(Py_None
); resultobj
= Py_None
;
28806 static PyObject
*_wrap_GenericDirCtrl_GetShowHidden(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28807 PyObject
*resultobj
;
28808 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28810 PyObject
* obj0
= 0 ;
28811 char *kwnames
[] = {
28812 (char *) "self", NULL
28815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames
,&obj0
)) goto fail
;
28816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28820 result
= (bool)(arg1
)->GetShowHidden();
28822 wxPyEndAllowThreads(__tstate
);
28823 if (PyErr_Occurred()) SWIG_fail
;
28826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28834 static PyObject
*_wrap_GenericDirCtrl_GetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28835 PyObject
*resultobj
;
28836 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28838 PyObject
* obj0
= 0 ;
28839 char *kwnames
[] = {
28840 (char *) "self", NULL
28843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilter",kwnames
,&obj0
)) goto fail
;
28844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28848 result
= ((wxGenericDirCtrl
const *)arg1
)->GetFilter();
28850 wxPyEndAllowThreads(__tstate
);
28851 if (PyErr_Occurred()) SWIG_fail
;
28855 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28857 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28866 static PyObject
*_wrap_GenericDirCtrl_SetFilter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28867 PyObject
*resultobj
;
28868 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28869 wxString
*arg2
= 0 ;
28870 bool temp2
= False
;
28871 PyObject
* obj0
= 0 ;
28872 PyObject
* obj1
= 0 ;
28873 char *kwnames
[] = {
28874 (char *) "self",(char *) "filter", NULL
28877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilter",kwnames
,&obj0
,&obj1
)) goto fail
;
28878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28881 arg2
= wxString_in_helper(obj1
);
28882 if (arg2
== NULL
) SWIG_fail
;
28886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28887 (arg1
)->SetFilter((wxString
const &)*arg2
);
28889 wxPyEndAllowThreads(__tstate
);
28890 if (PyErr_Occurred()) SWIG_fail
;
28892 Py_INCREF(Py_None
); resultobj
= Py_None
;
28907 static PyObject
*_wrap_GenericDirCtrl_GetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28908 PyObject
*resultobj
;
28909 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28911 PyObject
* obj0
= 0 ;
28912 char *kwnames
[] = {
28913 (char *) "self", NULL
28916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames
,&obj0
)) goto fail
;
28917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28921 result
= (int)((wxGenericDirCtrl
const *)arg1
)->GetFilterIndex();
28923 wxPyEndAllowThreads(__tstate
);
28924 if (PyErr_Occurred()) SWIG_fail
;
28926 resultobj
= SWIG_From_int((int)result
);
28933 static PyObject
*_wrap_GenericDirCtrl_SetFilterIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28934 PyObject
*resultobj
;
28935 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28937 PyObject
* obj0
= 0 ;
28938 PyObject
* obj1
= 0 ;
28939 char *kwnames
[] = {
28940 (char *) "self",(char *) "n", NULL
28943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GenericDirCtrl_SetFilterIndex",kwnames
,&obj0
,&obj1
)) goto fail
;
28944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28946 arg2
= (int)SWIG_As_int(obj1
);
28947 if (PyErr_Occurred()) SWIG_fail
;
28949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28950 (arg1
)->SetFilterIndex(arg2
);
28952 wxPyEndAllowThreads(__tstate
);
28953 if (PyErr_Occurred()) SWIG_fail
;
28955 Py_INCREF(Py_None
); resultobj
= Py_None
;
28962 static PyObject
*_wrap_GenericDirCtrl_GetRootId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28963 PyObject
*resultobj
;
28964 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28965 wxTreeItemId result
;
28966 PyObject
* obj0
= 0 ;
28967 char *kwnames
[] = {
28968 (char *) "self", NULL
28971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetRootId",kwnames
,&obj0
)) goto fail
;
28972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
28973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28976 result
= (arg1
)->GetRootId();
28978 wxPyEndAllowThreads(__tstate
);
28979 if (PyErr_Occurred()) SWIG_fail
;
28982 wxTreeItemId
* resultptr
;
28983 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
28984 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
28992 static PyObject
*_wrap_GenericDirCtrl_GetTreeCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28993 PyObject
*resultobj
;
28994 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
28995 wxPyTreeCtrl
*result
;
28996 PyObject
* obj0
= 0 ;
28997 char *kwnames
[] = {
28998 (char *) "self", NULL
29001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames
,&obj0
)) goto fail
;
29002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29006 result
= (wxPyTreeCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetTreeCtrl();
29008 wxPyEndAllowThreads(__tstate
);
29009 if (PyErr_Occurred()) SWIG_fail
;
29012 resultobj
= wxPyMake_wxObject(result
, 0);
29020 static PyObject
*_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29021 PyObject
*resultobj
;
29022 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29023 wxDirFilterListCtrl
*result
;
29024 PyObject
* obj0
= 0 ;
29025 char *kwnames
[] = {
29026 (char *) "self", NULL
29029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames
,&obj0
)) goto fail
;
29030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29034 result
= (wxDirFilterListCtrl
*)((wxGenericDirCtrl
const *)arg1
)->GetFilterListCtrl();
29036 wxPyEndAllowThreads(__tstate
);
29037 if (PyErr_Occurred()) SWIG_fail
;
29039 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 0);
29046 static PyObject
*_wrap_GenericDirCtrl_FindChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29047 PyObject
*resultobj
;
29048 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29049 wxTreeItemId arg2
;
29050 wxString
*arg3
= 0 ;
29052 wxTreeItemId result
;
29053 wxTreeItemId
*argp2
;
29054 bool temp3
= False
;
29057 PyObject
* obj0
= 0 ;
29058 PyObject
* obj1
= 0 ;
29059 PyObject
* obj2
= 0 ;
29060 char *kwnames
[] = {
29061 (char *) "self",(char *) "parentId",(char *) "path", NULL
29064 arg4
= &temp4
; res4
= SWIG_NEWOBJ
;
29065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GenericDirCtrl_FindChild",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29068 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxTreeItemId
,
29069 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
29072 arg3
= wxString_in_helper(obj2
);
29073 if (arg3
== NULL
) SWIG_fail
;
29077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29078 result
= (arg1
)->FindChild(arg2
,(wxString
const &)*arg3
,*arg4
);
29080 wxPyEndAllowThreads(__tstate
);
29081 if (PyErr_Occurred()) SWIG_fail
;
29084 wxTreeItemId
* resultptr
;
29085 resultptr
= new wxTreeItemId((wxTreeItemId
&) result
);
29086 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTreeItemId
, 1);
29088 resultobj
= t_output_helper(resultobj
, ((res4
== SWIG_NEWOBJ
) ?
29089 SWIG_From_bool((*arg4
)) : SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, 0)));
29104 static PyObject
*_wrap_GenericDirCtrl_DoResize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29105 PyObject
*resultobj
;
29106 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29107 PyObject
* obj0
= 0 ;
29108 char *kwnames
[] = {
29109 (char *) "self", NULL
29112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_DoResize",kwnames
,&obj0
)) goto fail
;
29113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29117 (arg1
)->DoResize();
29119 wxPyEndAllowThreads(__tstate
);
29120 if (PyErr_Occurred()) SWIG_fail
;
29122 Py_INCREF(Py_None
); resultobj
= Py_None
;
29129 static PyObject
*_wrap_GenericDirCtrl_ReCreateTree(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29130 PyObject
*resultobj
;
29131 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29132 PyObject
* obj0
= 0 ;
29133 char *kwnames
[] = {
29134 (char *) "self", NULL
29137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames
,&obj0
)) goto fail
;
29138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29142 (arg1
)->ReCreateTree();
29144 wxPyEndAllowThreads(__tstate
);
29145 if (PyErr_Occurred()) SWIG_fail
;
29147 Py_INCREF(Py_None
); resultobj
= Py_None
;
29154 static PyObject
* GenericDirCtrl_swigregister(PyObject
*, PyObject
*args
) {
29156 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29157 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl
, obj
);
29159 return Py_BuildValue((char *)"");
29161 static PyObject
*_wrap_new_DirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29162 PyObject
*resultobj
;
29163 wxGenericDirCtrl
*arg1
= (wxGenericDirCtrl
*) 0 ;
29164 int arg2
= (int) (int)-1 ;
29165 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29166 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29167 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29168 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29169 long arg5
= (long) 0 ;
29170 wxDirFilterListCtrl
*result
;
29173 PyObject
* obj0
= 0 ;
29174 PyObject
* obj1
= 0 ;
29175 PyObject
* obj2
= 0 ;
29176 PyObject
* obj3
= 0 ;
29177 PyObject
* obj4
= 0 ;
29178 char *kwnames
[] = {
29179 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_DirFilterListCtrl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDirCtrl
,
29184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29186 arg2
= (int)SWIG_As_int(obj1
);
29187 if (PyErr_Occurred()) SWIG_fail
;
29192 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29198 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29202 arg5
= (long)SWIG_As_long(obj4
);
29203 if (PyErr_Occurred()) SWIG_fail
;
29206 if (!wxPyCheckForApp()) SWIG_fail
;
29207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29208 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
29210 wxPyEndAllowThreads(__tstate
);
29211 if (PyErr_Occurred()) SWIG_fail
;
29213 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
29220 static PyObject
*_wrap_new_PreDirFilterListCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29221 PyObject
*resultobj
;
29222 wxDirFilterListCtrl
*result
;
29223 char *kwnames
[] = {
29227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreDirFilterListCtrl",kwnames
)) goto fail
;
29229 if (!wxPyCheckForApp()) SWIG_fail
;
29230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29231 result
= (wxDirFilterListCtrl
*)new wxDirFilterListCtrl();
29233 wxPyEndAllowThreads(__tstate
);
29234 if (PyErr_Occurred()) SWIG_fail
;
29236 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDirFilterListCtrl
, 1);
29243 static PyObject
*_wrap_DirFilterListCtrl_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29244 PyObject
*resultobj
;
29245 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
29246 wxGenericDirCtrl
*arg2
= (wxGenericDirCtrl
*) 0 ;
29247 int arg3
= (int) (int)-1 ;
29248 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29249 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29250 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29251 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29252 long arg6
= (long) 0 ;
29256 PyObject
* obj0
= 0 ;
29257 PyObject
* obj1
= 0 ;
29258 PyObject
* obj2
= 0 ;
29259 PyObject
* obj3
= 0 ;
29260 PyObject
* obj4
= 0 ;
29261 PyObject
* obj5
= 0 ;
29262 char *kwnames
[] = {
29263 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
29266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:DirFilterListCtrl_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
29268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29269 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGenericDirCtrl
,
29270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29272 arg3
= (int)SWIG_As_int(obj2
);
29273 if (PyErr_Occurred()) SWIG_fail
;
29278 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29284 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29288 arg6
= (long)SWIG_As_long(obj5
);
29289 if (PyErr_Occurred()) SWIG_fail
;
29292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29293 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
29295 wxPyEndAllowThreads(__tstate
);
29296 if (PyErr_Occurred()) SWIG_fail
;
29299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29307 static PyObject
*_wrap_DirFilterListCtrl_FillFilterList(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29308 PyObject
*resultobj
;
29309 wxDirFilterListCtrl
*arg1
= (wxDirFilterListCtrl
*) 0 ;
29310 wxString
*arg2
= 0 ;
29312 bool temp2
= False
;
29313 PyObject
* obj0
= 0 ;
29314 PyObject
* obj1
= 0 ;
29315 PyObject
* obj2
= 0 ;
29316 char *kwnames
[] = {
29317 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
29320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DirFilterListCtrl_FillFilterList",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDirFilterListCtrl
,
29322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29324 arg2
= wxString_in_helper(obj1
);
29325 if (arg2
== NULL
) SWIG_fail
;
29328 arg3
= (int)SWIG_As_int(obj2
);
29329 if (PyErr_Occurred()) SWIG_fail
;
29331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29332 (arg1
)->FillFilterList((wxString
const &)*arg2
,arg3
);
29334 wxPyEndAllowThreads(__tstate
);
29335 if (PyErr_Occurred()) SWIG_fail
;
29337 Py_INCREF(Py_None
); resultobj
= Py_None
;
29352 static PyObject
* DirFilterListCtrl_swigregister(PyObject
*, PyObject
*args
) {
29354 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29355 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl
, obj
);
29357 return Py_BuildValue((char *)"");
29359 static PyObject
*_wrap_new_PyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29360 PyObject
*resultobj
;
29361 wxWindow
*arg1
= (wxWindow
*) 0 ;
29362 int arg2
= (int) (int)-1 ;
29363 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29364 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29365 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29366 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29367 long arg5
= (long) 0 ;
29368 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
29369 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
29370 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
29371 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29372 wxPyControl
*result
;
29375 bool temp7
= False
;
29376 PyObject
* obj0
= 0 ;
29377 PyObject
* obj1
= 0 ;
29378 PyObject
* obj2
= 0 ;
29379 PyObject
* obj3
= 0 ;
29380 PyObject
* obj4
= 0 ;
29381 PyObject
* obj5
= 0 ;
29382 PyObject
* obj6
= 0 ;
29383 char *kwnames
[] = {
29384 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_PyControl",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
29388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
29389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29391 arg2
= (int)SWIG_As_int(obj1
);
29392 if (PyErr_Occurred()) SWIG_fail
;
29397 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29403 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29407 arg5
= (long)SWIG_As_long(obj4
);
29408 if (PyErr_Occurred()) SWIG_fail
;
29411 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
29412 SWIG_POINTER_EXCEPTION
| 0)) == -1)
29414 if (arg6
== NULL
) {
29415 PyErr_SetString(PyExc_TypeError
,"null reference");
29421 arg7
= wxString_in_helper(obj6
);
29422 if (arg7
== NULL
) SWIG_fail
;
29427 if (!wxPyCheckForApp()) SWIG_fail
;
29428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29429 result
= (wxPyControl
*)new wxPyControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
29431 wxPyEndAllowThreads(__tstate
);
29432 if (PyErr_Occurred()) SWIG_fail
;
29434 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
29449 static PyObject
*_wrap_new_PrePyControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29450 PyObject
*resultobj
;
29451 wxPyControl
*result
;
29452 char *kwnames
[] = {
29456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PrePyControl",kwnames
)) goto fail
;
29458 if (!wxPyCheckForApp()) SWIG_fail
;
29459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29460 result
= (wxPyControl
*)new wxPyControl();
29462 wxPyEndAllowThreads(__tstate
);
29463 if (PyErr_Occurred()) SWIG_fail
;
29465 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyControl
, 1);
29472 static PyObject
*_wrap_PyControl__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29473 PyObject
*resultobj
;
29474 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29475 PyObject
*arg2
= (PyObject
*) 0 ;
29476 PyObject
*arg3
= (PyObject
*) 0 ;
29477 PyObject
* obj0
= 0 ;
29478 PyObject
* obj1
= 0 ;
29479 PyObject
* obj2
= 0 ;
29480 char *kwnames
[] = {
29481 (char *) "self",(char *) "self",(char *) "_class", NULL
29484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29491 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29493 wxPyEndAllowThreads(__tstate
);
29494 if (PyErr_Occurred()) SWIG_fail
;
29496 Py_INCREF(Py_None
); resultobj
= Py_None
;
29503 static PyObject
*_wrap_PyControl_SetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29504 PyObject
*resultobj
;
29505 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29508 PyObject
* obj0
= 0 ;
29509 PyObject
* obj1
= 0 ;
29510 char *kwnames
[] = {
29511 (char *) "self",(char *) "size", NULL
29514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_SetBestSize",kwnames
,&obj0
,&obj1
)) goto fail
;
29515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29519 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29523 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
29525 wxPyEndAllowThreads(__tstate
);
29526 if (PyErr_Occurred()) SWIG_fail
;
29528 Py_INCREF(Py_None
); resultobj
= Py_None
;
29535 static PyObject
*_wrap_PyControl_base_DoMoveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29536 PyObject
*resultobj
;
29537 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29542 PyObject
* obj0
= 0 ;
29543 PyObject
* obj1
= 0 ;
29544 PyObject
* obj2
= 0 ;
29545 PyObject
* obj3
= 0 ;
29546 PyObject
* obj4
= 0 ;
29547 char *kwnames
[] = {
29548 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
29551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyControl_base_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29554 arg2
= (int)SWIG_As_int(obj1
);
29555 if (PyErr_Occurred()) SWIG_fail
;
29556 arg3
= (int)SWIG_As_int(obj2
);
29557 if (PyErr_Occurred()) SWIG_fail
;
29558 arg4
= (int)SWIG_As_int(obj3
);
29559 if (PyErr_Occurred()) SWIG_fail
;
29560 arg5
= (int)SWIG_As_int(obj4
);
29561 if (PyErr_Occurred()) SWIG_fail
;
29563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29564 (arg1
)->base_DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
29566 wxPyEndAllowThreads(__tstate
);
29567 if (PyErr_Occurred()) SWIG_fail
;
29569 Py_INCREF(Py_None
); resultobj
= Py_None
;
29576 static PyObject
*_wrap_PyControl_base_DoSetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29577 PyObject
*resultobj
;
29578 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29583 int arg6
= (int) wxSIZE_AUTO
;
29584 PyObject
* obj0
= 0 ;
29585 PyObject
* obj1
= 0 ;
29586 PyObject
* obj2
= 0 ;
29587 PyObject
* obj3
= 0 ;
29588 PyObject
* obj4
= 0 ;
29589 PyObject
* obj5
= 0 ;
29590 char *kwnames
[] = {
29591 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
29594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyControl_base_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29597 arg2
= (int)SWIG_As_int(obj1
);
29598 if (PyErr_Occurred()) SWIG_fail
;
29599 arg3
= (int)SWIG_As_int(obj2
);
29600 if (PyErr_Occurred()) SWIG_fail
;
29601 arg4
= (int)SWIG_As_int(obj3
);
29602 if (PyErr_Occurred()) SWIG_fail
;
29603 arg5
= (int)SWIG_As_int(obj4
);
29604 if (PyErr_Occurred()) SWIG_fail
;
29606 arg6
= (int)SWIG_As_int(obj5
);
29607 if (PyErr_Occurred()) SWIG_fail
;
29610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29611 (arg1
)->base_DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
29613 wxPyEndAllowThreads(__tstate
);
29614 if (PyErr_Occurred()) SWIG_fail
;
29616 Py_INCREF(Py_None
); resultobj
= Py_None
;
29623 static PyObject
*_wrap_PyControl_base_DoSetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29624 PyObject
*resultobj
;
29625 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29628 PyObject
* obj0
= 0 ;
29629 PyObject
* obj1
= 0 ;
29630 PyObject
* obj2
= 0 ;
29631 char *kwnames
[] = {
29632 (char *) "self",(char *) "width",(char *) "height", NULL
29635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29638 arg2
= (int)SWIG_As_int(obj1
);
29639 if (PyErr_Occurred()) SWIG_fail
;
29640 arg3
= (int)SWIG_As_int(obj2
);
29641 if (PyErr_Occurred()) SWIG_fail
;
29643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29644 (arg1
)->base_DoSetClientSize(arg2
,arg3
);
29646 wxPyEndAllowThreads(__tstate
);
29647 if (PyErr_Occurred()) SWIG_fail
;
29649 Py_INCREF(Py_None
); resultobj
= Py_None
;
29656 static PyObject
*_wrap_PyControl_base_DoSetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29657 PyObject
*resultobj
;
29658 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29661 PyObject
* obj0
= 0 ;
29662 PyObject
* obj1
= 0 ;
29663 PyObject
* obj2
= 0 ;
29664 char *kwnames
[] = {
29665 (char *) "self",(char *) "x",(char *) "y", NULL
29668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyControl_base_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29671 arg2
= (int)SWIG_As_int(obj1
);
29672 if (PyErr_Occurred()) SWIG_fail
;
29673 arg3
= (int)SWIG_As_int(obj2
);
29674 if (PyErr_Occurred()) SWIG_fail
;
29676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29677 (arg1
)->base_DoSetVirtualSize(arg2
,arg3
);
29679 wxPyEndAllowThreads(__tstate
);
29680 if (PyErr_Occurred()) SWIG_fail
;
29682 Py_INCREF(Py_None
); resultobj
= Py_None
;
29689 static PyObject
*_wrap_PyControl_base_DoGetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29690 PyObject
*resultobj
;
29691 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29692 int *arg2
= (int *) 0 ;
29693 int *arg3
= (int *) 0 ;
29698 PyObject
* obj0
= 0 ;
29699 char *kwnames
[] = {
29700 (char *) "self", NULL
29703 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
29704 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetSize",kwnames
,&obj0
)) goto fail
;
29706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29710 ((wxPyControl
const *)arg1
)->base_DoGetSize(arg2
,arg3
);
29712 wxPyEndAllowThreads(__tstate
);
29713 if (PyErr_Occurred()) SWIG_fail
;
29715 Py_INCREF(Py_None
); resultobj
= Py_None
;
29716 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
29717 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
29718 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29719 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29726 static PyObject
*_wrap_PyControl_base_DoGetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29727 PyObject
*resultobj
;
29728 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29729 int *arg2
= (int *) 0 ;
29730 int *arg3
= (int *) 0 ;
29735 PyObject
* obj0
= 0 ;
29736 char *kwnames
[] = {
29737 (char *) "self", NULL
29740 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
29741 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetClientSize",kwnames
,&obj0
)) goto fail
;
29743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29747 ((wxPyControl
const *)arg1
)->base_DoGetClientSize(arg2
,arg3
);
29749 wxPyEndAllowThreads(__tstate
);
29750 if (PyErr_Occurred()) SWIG_fail
;
29752 Py_INCREF(Py_None
); resultobj
= Py_None
;
29753 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
29754 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
29755 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29756 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29763 static PyObject
*_wrap_PyControl_base_DoGetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29764 PyObject
*resultobj
;
29765 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29766 int *arg2
= (int *) 0 ;
29767 int *arg3
= (int *) 0 ;
29772 PyObject
* obj0
= 0 ;
29773 char *kwnames
[] = {
29774 (char *) "self", NULL
29777 arg2
= &temp2
; res2
= SWIG_NEWOBJ
;
29778 arg3
= &temp3
; res3
= SWIG_NEWOBJ
;
29779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetPosition",kwnames
,&obj0
)) goto fail
;
29780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29784 ((wxPyControl
const *)arg1
)->base_DoGetPosition(arg2
,arg3
);
29786 wxPyEndAllowThreads(__tstate
);
29787 if (PyErr_Occurred()) SWIG_fail
;
29789 Py_INCREF(Py_None
); resultobj
= Py_None
;
29790 resultobj
= t_output_helper(resultobj
, ((res2
== SWIG_NEWOBJ
) ?
29791 SWIG_From_int((*arg2
)) : SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, 0)));
29792 resultobj
= t_output_helper(resultobj
, ((res3
== SWIG_NEWOBJ
) ?
29793 SWIG_From_int((*arg3
)) : SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, 0)));
29800 static PyObject
*_wrap_PyControl_base_DoGetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29801 PyObject
*resultobj
;
29802 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29804 PyObject
* obj0
= 0 ;
29805 char *kwnames
[] = {
29806 (char *) "self", NULL
29809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames
,&obj0
)) goto fail
;
29810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29814 result
= ((wxPyControl
const *)arg1
)->base_DoGetVirtualSize();
29816 wxPyEndAllowThreads(__tstate
);
29817 if (PyErr_Occurred()) SWIG_fail
;
29820 wxSize
* resultptr
;
29821 resultptr
= new wxSize((wxSize
&) result
);
29822 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29830 static PyObject
*_wrap_PyControl_base_DoGetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29831 PyObject
*resultobj
;
29832 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29834 PyObject
* obj0
= 0 ;
29835 char *kwnames
[] = {
29836 (char *) "self", NULL
29839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_DoGetBestSize",kwnames
,&obj0
)) goto fail
;
29840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29844 result
= ((wxPyControl
const *)arg1
)->base_DoGetBestSize();
29846 wxPyEndAllowThreads(__tstate
);
29847 if (PyErr_Occurred()) SWIG_fail
;
29850 wxSize
* resultptr
;
29851 resultptr
= new wxSize((wxSize
&) result
);
29852 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
29860 static PyObject
*_wrap_PyControl_base_InitDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29861 PyObject
*resultobj
;
29862 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29863 PyObject
* obj0
= 0 ;
29864 char *kwnames
[] = {
29865 (char *) "self", NULL
29868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_InitDialog",kwnames
,&obj0
)) goto fail
;
29869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29873 (arg1
)->base_InitDialog();
29875 wxPyEndAllowThreads(__tstate
);
29876 if (PyErr_Occurred()) SWIG_fail
;
29878 Py_INCREF(Py_None
); resultobj
= Py_None
;
29885 static PyObject
*_wrap_PyControl_base_TransferDataToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29886 PyObject
*resultobj
;
29887 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29889 PyObject
* obj0
= 0 ;
29890 char *kwnames
[] = {
29891 (char *) "self", NULL
29894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
29895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29899 result
= (bool)(arg1
)->base_TransferDataToWindow();
29901 wxPyEndAllowThreads(__tstate
);
29902 if (PyErr_Occurred()) SWIG_fail
;
29905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29913 static PyObject
*_wrap_PyControl_base_TransferDataFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29914 PyObject
*resultobj
;
29915 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29917 PyObject
* obj0
= 0 ;
29918 char *kwnames
[] = {
29919 (char *) "self", NULL
29922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
29923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29927 result
= (bool)(arg1
)->base_TransferDataFromWindow();
29929 wxPyEndAllowThreads(__tstate
);
29930 if (PyErr_Occurred()) SWIG_fail
;
29933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29941 static PyObject
*_wrap_PyControl_base_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29942 PyObject
*resultobj
;
29943 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29945 PyObject
* obj0
= 0 ;
29946 char *kwnames
[] = {
29947 (char *) "self", NULL
29950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_Validate",kwnames
,&obj0
)) goto fail
;
29951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29955 result
= (bool)(arg1
)->base_Validate();
29957 wxPyEndAllowThreads(__tstate
);
29958 if (PyErr_Occurred()) SWIG_fail
;
29961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29969 static PyObject
*_wrap_PyControl_base_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29970 PyObject
*resultobj
;
29971 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
29973 PyObject
* obj0
= 0 ;
29974 char *kwnames
[] = {
29975 (char *) "self", NULL
29978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
29979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
29980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29983 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocus();
29985 wxPyEndAllowThreads(__tstate
);
29986 if (PyErr_Occurred()) SWIG_fail
;
29989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29997 static PyObject
*_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29998 PyObject
*resultobj
;
29999 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30001 PyObject
* obj0
= 0 ;
30002 char *kwnames
[] = {
30003 (char *) "self", NULL
30006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
30007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30011 result
= (bool)((wxPyControl
const *)arg1
)->base_AcceptsFocusFromKeyboard();
30013 wxPyEndAllowThreads(__tstate
);
30014 if (PyErr_Occurred()) SWIG_fail
;
30017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30025 static PyObject
*_wrap_PyControl_base_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30026 PyObject
*resultobj
;
30027 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30029 PyObject
* obj0
= 0 ;
30030 char *kwnames
[] = {
30031 (char *) "self", NULL
30034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetMaxSize",kwnames
,&obj0
)) goto fail
;
30035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30039 result
= ((wxPyControl
const *)arg1
)->base_GetMaxSize();
30041 wxPyEndAllowThreads(__tstate
);
30042 if (PyErr_Occurred()) SWIG_fail
;
30045 wxSize
* resultptr
;
30046 resultptr
= new wxSize((wxSize
&) result
);
30047 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
30055 static PyObject
*_wrap_PyControl_base_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30056 PyObject
*resultobj
;
30057 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30058 wxWindow
*arg2
= (wxWindow
*) 0 ;
30059 PyObject
* obj0
= 0 ;
30060 PyObject
* obj1
= 0 ;
30061 char *kwnames
[] = {
30062 (char *) "self",(char *) "child", NULL
30065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
30066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30068 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30072 (arg1
)->base_AddChild(arg2
);
30074 wxPyEndAllowThreads(__tstate
);
30075 if (PyErr_Occurred()) SWIG_fail
;
30077 Py_INCREF(Py_None
); resultobj
= Py_None
;
30084 static PyObject
*_wrap_PyControl_base_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30085 PyObject
*resultobj
;
30086 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30087 wxWindow
*arg2
= (wxWindow
*) 0 ;
30088 PyObject
* obj0
= 0 ;
30089 PyObject
* obj1
= 0 ;
30090 char *kwnames
[] = {
30091 (char *) "self",(char *) "child", NULL
30094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
30095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30097 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30101 (arg1
)->base_RemoveChild(arg2
);
30103 wxPyEndAllowThreads(__tstate
);
30104 if (PyErr_Occurred()) SWIG_fail
;
30106 Py_INCREF(Py_None
); resultobj
= Py_None
;
30113 static PyObject
*_wrap_PyControl_base_ShouldInheritColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30114 PyObject
*resultobj
;
30115 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30117 PyObject
* obj0
= 0 ;
30118 char *kwnames
[] = {
30119 (char *) "self", NULL
30122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
30123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30127 result
= (bool)((wxPyControl
const *)arg1
)->base_ShouldInheritColours();
30129 wxPyEndAllowThreads(__tstate
);
30130 if (PyErr_Occurred()) SWIG_fail
;
30133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30141 static PyObject
*_wrap_PyControl_base_ApplyParentThemeBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30142 PyObject
*resultobj
;
30143 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30144 wxColour
*arg2
= 0 ;
30146 PyObject
* obj0
= 0 ;
30147 PyObject
* obj1
= 0 ;
30148 char *kwnames
[] = {
30149 (char *) "self",(char *) "c", NULL
30152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyControl_base_ApplyParentThemeBackground",kwnames
,&obj0
,&obj1
)) goto fail
;
30153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30157 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
30160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30161 (arg1
)->base_ApplyParentThemeBackground((wxColour
const &)*arg2
);
30163 wxPyEndAllowThreads(__tstate
);
30164 if (PyErr_Occurred()) SWIG_fail
;
30166 Py_INCREF(Py_None
); resultobj
= Py_None
;
30173 static PyObject
*_wrap_PyControl_base_GetDefaultAttributes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30174 PyObject
*resultobj
;
30175 wxPyControl
*arg1
= (wxPyControl
*) 0 ;
30176 wxVisualAttributes result
;
30177 PyObject
* obj0
= 0 ;
30178 char *kwnames
[] = {
30179 (char *) "self", NULL
30182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyControl_base_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
30183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyControl
,
30184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30187 result
= (arg1
)->base_GetDefaultAttributes();
30189 wxPyEndAllowThreads(__tstate
);
30190 if (PyErr_Occurred()) SWIG_fail
;
30193 wxVisualAttributes
* resultptr
;
30194 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
30195 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
30203 static PyObject
* PyControl_swigregister(PyObject
*, PyObject
*args
) {
30205 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30206 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl
, obj
);
30208 return Py_BuildValue((char *)"");
30210 static PyObject
*_wrap_new_HelpEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30211 PyObject
*resultobj
;
30212 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
30213 int arg2
= (int) 0 ;
30214 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30215 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30216 wxHelpEvent
*result
;
30218 PyObject
* obj0
= 0 ;
30219 PyObject
* obj1
= 0 ;
30220 PyObject
* obj2
= 0 ;
30221 char *kwnames
[] = {
30222 (char *) "type",(char *) "winid",(char *) "pt", NULL
30225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_HelpEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30227 arg1
= (wxEventType
)SWIG_As_int(obj0
);
30228 if (PyErr_Occurred()) SWIG_fail
;
30231 arg2
= (int)SWIG_As_int(obj1
);
30232 if (PyErr_Occurred()) SWIG_fail
;
30237 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30242 result
= (wxHelpEvent
*)new wxHelpEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
30244 wxPyEndAllowThreads(__tstate
);
30245 if (PyErr_Occurred()) SWIG_fail
;
30247 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpEvent
, 1);
30254 static PyObject
*_wrap_HelpEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30255 PyObject
*resultobj
;
30256 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30258 PyObject
* obj0
= 0 ;
30259 char *kwnames
[] = {
30260 (char *) "self", NULL
30263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
30264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30268 result
= ((wxHelpEvent
const *)arg1
)->GetPosition();
30270 wxPyEndAllowThreads(__tstate
);
30271 if (PyErr_Occurred()) SWIG_fail
;
30274 wxPoint
* resultptr
;
30275 resultptr
= new wxPoint((wxPoint
&) result
);
30276 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
30284 static PyObject
*_wrap_HelpEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30285 PyObject
*resultobj
;
30286 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30287 wxPoint
*arg2
= 0 ;
30289 PyObject
* obj0
= 0 ;
30290 PyObject
* obj1
= 0 ;
30291 char *kwnames
[] = {
30292 (char *) "self",(char *) "pos", NULL
30295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
30296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30300 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
30303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30304 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
30306 wxPyEndAllowThreads(__tstate
);
30307 if (PyErr_Occurred()) SWIG_fail
;
30309 Py_INCREF(Py_None
); resultobj
= Py_None
;
30316 static PyObject
*_wrap_HelpEvent_GetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30317 PyObject
*resultobj
;
30318 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30320 PyObject
* obj0
= 0 ;
30321 char *kwnames
[] = {
30322 (char *) "self", NULL
30325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetLink",kwnames
,&obj0
)) goto fail
;
30326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30331 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetLink();
30332 result
= (wxString
*) &_result_ref
;
30335 wxPyEndAllowThreads(__tstate
);
30336 if (PyErr_Occurred()) SWIG_fail
;
30340 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30342 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30351 static PyObject
*_wrap_HelpEvent_SetLink(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30352 PyObject
*resultobj
;
30353 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30354 wxString
*arg2
= 0 ;
30355 bool temp2
= False
;
30356 PyObject
* obj0
= 0 ;
30357 PyObject
* obj1
= 0 ;
30358 char *kwnames
[] = {
30359 (char *) "self",(char *) "link", NULL
30362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetLink",kwnames
,&obj0
,&obj1
)) goto fail
;
30363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30366 arg2
= wxString_in_helper(obj1
);
30367 if (arg2
== NULL
) SWIG_fail
;
30371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30372 (arg1
)->SetLink((wxString
const &)*arg2
);
30374 wxPyEndAllowThreads(__tstate
);
30375 if (PyErr_Occurred()) SWIG_fail
;
30377 Py_INCREF(Py_None
); resultobj
= Py_None
;
30392 static PyObject
*_wrap_HelpEvent_GetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30393 PyObject
*resultobj
;
30394 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30396 PyObject
* obj0
= 0 ;
30397 char *kwnames
[] = {
30398 (char *) "self", NULL
30401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpEvent_GetTarget",kwnames
,&obj0
)) goto fail
;
30402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30407 wxString
const &_result_ref
= ((wxHelpEvent
const *)arg1
)->GetTarget();
30408 result
= (wxString
*) &_result_ref
;
30411 wxPyEndAllowThreads(__tstate
);
30412 if (PyErr_Occurred()) SWIG_fail
;
30416 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30418 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30427 static PyObject
*_wrap_HelpEvent_SetTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30428 PyObject
*resultobj
;
30429 wxHelpEvent
*arg1
= (wxHelpEvent
*) 0 ;
30430 wxString
*arg2
= 0 ;
30431 bool temp2
= False
;
30432 PyObject
* obj0
= 0 ;
30433 PyObject
* obj1
= 0 ;
30434 char *kwnames
[] = {
30435 (char *) "self",(char *) "target", NULL
30438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpEvent_SetTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
30439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpEvent
,
30440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30442 arg2
= wxString_in_helper(obj1
);
30443 if (arg2
== NULL
) SWIG_fail
;
30447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30448 (arg1
)->SetTarget((wxString
const &)*arg2
);
30450 wxPyEndAllowThreads(__tstate
);
30451 if (PyErr_Occurred()) SWIG_fail
;
30453 Py_INCREF(Py_None
); resultobj
= Py_None
;
30468 static PyObject
* HelpEvent_swigregister(PyObject
*, PyObject
*args
) {
30470 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30471 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent
, obj
);
30473 return Py_BuildValue((char *)"");
30475 static PyObject
*_wrap_new_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30476 PyObject
*resultobj
;
30477 wxWindow
*arg1
= (wxWindow
*) NULL
;
30478 bool arg2
= (bool) True
;
30479 wxContextHelp
*result
;
30480 PyObject
* obj0
= 0 ;
30481 PyObject
* obj1
= 0 ;
30482 char *kwnames
[] = {
30483 (char *) "window",(char *) "doNow", NULL
30486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30492 arg2
= (bool)SWIG_As_bool(obj1
);
30493 if (PyErr_Occurred()) SWIG_fail
;
30496 if (!wxPyCheckForApp()) SWIG_fail
;
30497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30498 result
= (wxContextHelp
*)new wxContextHelp(arg1
,arg2
);
30500 wxPyEndAllowThreads(__tstate
);
30501 if (PyErr_Occurred()) SWIG_fail
;
30503 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelp
, 1);
30510 static PyObject
*_wrap_delete_ContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30511 PyObject
*resultobj
;
30512 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30513 PyObject
* obj0
= 0 ;
30514 char *kwnames
[] = {
30515 (char *) "self", NULL
30518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ContextHelp",kwnames
,&obj0
)) goto fail
;
30519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30525 wxPyEndAllowThreads(__tstate
);
30526 if (PyErr_Occurred()) SWIG_fail
;
30528 Py_INCREF(Py_None
); resultobj
= Py_None
;
30535 static PyObject
*_wrap_ContextHelp_BeginContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30536 PyObject
*resultobj
;
30537 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30538 wxWindow
*arg2
= (wxWindow
*) NULL
;
30540 PyObject
* obj0
= 0 ;
30541 PyObject
* obj1
= 0 ;
30542 char *kwnames
[] = {
30543 (char *) "self",(char *) "window", NULL
30546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30550 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30555 result
= (bool)(arg1
)->BeginContextHelp(arg2
);
30557 wxPyEndAllowThreads(__tstate
);
30558 if (PyErr_Occurred()) SWIG_fail
;
30561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30569 static PyObject
*_wrap_ContextHelp_EndContextHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30570 PyObject
*resultobj
;
30571 wxContextHelp
*arg1
= (wxContextHelp
*) 0 ;
30573 PyObject
* obj0
= 0 ;
30574 char *kwnames
[] = {
30575 (char *) "self", NULL
30578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextHelp_EndContextHelp",kwnames
,&obj0
)) goto fail
;
30579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextHelp
,
30580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30583 result
= (bool)(arg1
)->EndContextHelp();
30585 wxPyEndAllowThreads(__tstate
);
30586 if (PyErr_Occurred()) SWIG_fail
;
30589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30597 static PyObject
* ContextHelp_swigregister(PyObject
*, PyObject
*args
) {
30599 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30600 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp
, obj
);
30602 return Py_BuildValue((char *)"");
30604 static PyObject
*_wrap_new_ContextHelpButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30605 PyObject
*resultobj
;
30606 wxWindow
*arg1
= (wxWindow
*) 0 ;
30607 int arg2
= (int) wxID_CONTEXT_HELP
;
30608 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
30609 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
30610 wxSize
const &arg4_defvalue
= wxDefaultSize
;
30611 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
30612 long arg5
= (long) wxBU_AUTODRAW
;
30613 wxContextHelpButton
*result
;
30616 PyObject
* obj0
= 0 ;
30617 PyObject
* obj1
= 0 ;
30618 PyObject
* obj2
= 0 ;
30619 PyObject
* obj3
= 0 ;
30620 PyObject
* obj4
= 0 ;
30621 char *kwnames
[] = {
30622 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
30625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:new_ContextHelpButton",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
30626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
30627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30629 arg2
= (int)SWIG_As_int(obj1
);
30630 if (PyErr_Occurred()) SWIG_fail
;
30635 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
30641 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
30645 arg5
= (long)SWIG_As_long(obj4
);
30646 if (PyErr_Occurred()) SWIG_fail
;
30649 if (!wxPyCheckForApp()) SWIG_fail
;
30650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30651 result
= (wxContextHelpButton
*)new wxContextHelpButton(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
);
30653 wxPyEndAllowThreads(__tstate
);
30654 if (PyErr_Occurred()) SWIG_fail
;
30656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextHelpButton
, 1);
30663 static PyObject
* ContextHelpButton_swigregister(PyObject
*, PyObject
*args
) {
30665 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30666 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton
, obj
);
30668 return Py_BuildValue((char *)"");
30670 static PyObject
*_wrap_HelpProvider_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30671 PyObject
*resultobj
;
30672 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30673 wxHelpProvider
*result
;
30674 PyObject
* obj0
= 0 ;
30675 char *kwnames
[] = {
30676 (char *) "helpProvider", NULL
30679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Set",kwnames
,&obj0
)) goto fail
;
30680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30684 result
= (wxHelpProvider
*)wxHelpProvider::Set(arg1
);
30686 wxPyEndAllowThreads(__tstate
);
30687 if (PyErr_Occurred()) SWIG_fail
;
30689 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30696 static PyObject
*_wrap_HelpProvider_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30697 PyObject
*resultobj
;
30698 wxHelpProvider
*result
;
30699 char *kwnames
[] = {
30703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":HelpProvider_Get",kwnames
)) goto fail
;
30705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30706 result
= (wxHelpProvider
*)wxHelpProvider::Get();
30708 wxPyEndAllowThreads(__tstate
);
30709 if (PyErr_Occurred()) SWIG_fail
;
30711 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxHelpProvider
, 0);
30718 static PyObject
*_wrap_HelpProvider_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30719 PyObject
*resultobj
;
30720 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30721 wxWindow
*arg2
= (wxWindow
*) 0 ;
30723 PyObject
* obj0
= 0 ;
30724 PyObject
* obj1
= 0 ;
30725 char *kwnames
[] = {
30726 (char *) "self",(char *) "window", NULL
30729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_GetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30732 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30736 result
= (arg1
)->GetHelp((wxWindow
const *)arg2
);
30738 wxPyEndAllowThreads(__tstate
);
30739 if (PyErr_Occurred()) SWIG_fail
;
30743 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30745 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30754 static PyObject
*_wrap_HelpProvider_ShowHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30755 PyObject
*resultobj
;
30756 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30757 wxWindow
*arg2
= (wxWindow
*) 0 ;
30759 PyObject
* obj0
= 0 ;
30760 PyObject
* obj1
= 0 ;
30761 char *kwnames
[] = {
30762 (char *) "self",(char *) "window", NULL
30765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_ShowHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30768 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30772 result
= (bool)(arg1
)->ShowHelp(arg2
);
30774 wxPyEndAllowThreads(__tstate
);
30775 if (PyErr_Occurred()) SWIG_fail
;
30778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30786 static PyObject
*_wrap_HelpProvider_AddHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30787 PyObject
*resultobj
;
30788 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30789 wxWindow
*arg2
= (wxWindow
*) 0 ;
30790 wxString
*arg3
= 0 ;
30791 bool temp3
= False
;
30792 PyObject
* obj0
= 0 ;
30793 PyObject
* obj1
= 0 ;
30794 PyObject
* obj2
= 0 ;
30795 char *kwnames
[] = {
30796 (char *) "self",(char *) "window",(char *) "text", NULL
30799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelp",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30802 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30805 arg3
= wxString_in_helper(obj2
);
30806 if (arg3
== NULL
) SWIG_fail
;
30810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30811 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30813 wxPyEndAllowThreads(__tstate
);
30814 if (PyErr_Occurred()) SWIG_fail
;
30816 Py_INCREF(Py_None
); resultobj
= Py_None
;
30831 static PyObject
*_wrap_HelpProvider_AddHelpById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30832 PyObject
*resultobj
;
30833 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30835 wxString
*arg3
= 0 ;
30836 bool temp3
= False
;
30837 PyObject
* obj0
= 0 ;
30838 PyObject
* obj1
= 0 ;
30839 PyObject
* obj2
= 0 ;
30840 char *kwnames
[] = {
30841 (char *) "self",(char *) "id",(char *) "text", NULL
30844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HelpProvider_AddHelpById",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30847 arg2
= (int)SWIG_As_int(obj1
);
30848 if (PyErr_Occurred()) SWIG_fail
;
30850 arg3
= wxString_in_helper(obj2
);
30851 if (arg3
== NULL
) SWIG_fail
;
30855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30856 (arg1
)->AddHelp(arg2
,(wxString
const &)*arg3
);
30858 wxPyEndAllowThreads(__tstate
);
30859 if (PyErr_Occurred()) SWIG_fail
;
30861 Py_INCREF(Py_None
); resultobj
= Py_None
;
30876 static PyObject
*_wrap_HelpProvider_RemoveHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30877 PyObject
*resultobj
;
30878 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30879 wxWindow
*arg2
= (wxWindow
*) 0 ;
30880 PyObject
* obj0
= 0 ;
30881 PyObject
* obj1
= 0 ;
30882 char *kwnames
[] = {
30883 (char *) "self",(char *) "window", NULL
30886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HelpProvider_RemoveHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30889 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30893 (arg1
)->RemoveHelp(arg2
);
30895 wxPyEndAllowThreads(__tstate
);
30896 if (PyErr_Occurred()) SWIG_fail
;
30898 Py_INCREF(Py_None
); resultobj
= Py_None
;
30905 static PyObject
*_wrap_HelpProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30906 PyObject
*resultobj
;
30907 wxHelpProvider
*arg1
= (wxHelpProvider
*) 0 ;
30908 PyObject
* obj0
= 0 ;
30909 char *kwnames
[] = {
30910 (char *) "self", NULL
30913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:HelpProvider_Destroy",kwnames
,&obj0
)) goto fail
;
30914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxHelpProvider
,
30915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30918 wxHelpProvider_Destroy(arg1
);
30920 wxPyEndAllowThreads(__tstate
);
30921 if (PyErr_Occurred()) SWIG_fail
;
30923 Py_INCREF(Py_None
); resultobj
= Py_None
;
30930 static PyObject
* HelpProvider_swigregister(PyObject
*, PyObject
*args
) {
30932 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30933 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider
, obj
);
30935 return Py_BuildValue((char *)"");
30937 static PyObject
*_wrap_new_SimpleHelpProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30938 PyObject
*resultobj
;
30939 wxSimpleHelpProvider
*result
;
30940 char *kwnames
[] = {
30944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SimpleHelpProvider",kwnames
)) goto fail
;
30946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30947 result
= (wxSimpleHelpProvider
*)new wxSimpleHelpProvider();
30949 wxPyEndAllowThreads(__tstate
);
30950 if (PyErr_Occurred()) SWIG_fail
;
30952 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSimpleHelpProvider
, 1);
30959 static PyObject
* SimpleHelpProvider_swigregister(PyObject
*, PyObject
*args
) {
30961 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30962 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider
, obj
);
30964 return Py_BuildValue((char *)"");
30966 static PyObject
*_wrap_new_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30967 PyObject
*resultobj
;
30968 wxBitmap
*arg1
= 0 ;
30969 wxCursor
const &arg2_defvalue
= wxNullCursor
;
30970 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
30971 wxGenericDragImage
*result
;
30972 PyObject
* obj0
= 0 ;
30973 PyObject
* obj1
= 0 ;
30974 char *kwnames
[] = {
30975 (char *) "image",(char *) "cursor", NULL
30978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragImage",kwnames
,&obj0
,&obj1
)) goto fail
;
30979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
30980 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30982 if (arg1
== NULL
) {
30983 PyErr_SetString(PyExc_TypeError
,"null reference");
30987 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
30988 SWIG_POINTER_EXCEPTION
| 0)) == -1)
30990 if (arg2
== NULL
) {
30991 PyErr_SetString(PyExc_TypeError
,"null reference");
30996 if (!wxPyCheckForApp()) SWIG_fail
;
30997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30998 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxBitmap
const &)*arg1
,(wxCursor
const &)*arg2
);
31000 wxPyEndAllowThreads(__tstate
);
31001 if (PyErr_Occurred()) SWIG_fail
;
31003 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
31010 static PyObject
*_wrap_new_DragIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31011 PyObject
*resultobj
;
31013 wxCursor
const &arg2_defvalue
= wxNullCursor
;
31014 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
31015 wxGenericDragImage
*result
;
31016 PyObject
* obj0
= 0 ;
31017 PyObject
* obj1
= 0 ;
31018 char *kwnames
[] = {
31019 (char *) "image",(char *) "cursor", NULL
31022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragIcon",kwnames
,&obj0
,&obj1
)) goto fail
;
31023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIcon
,
31024 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31026 if (arg1
== NULL
) {
31027 PyErr_SetString(PyExc_TypeError
,"null reference");
31031 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
31032 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31034 if (arg2
== NULL
) {
31035 PyErr_SetString(PyExc_TypeError
,"null reference");
31040 if (!wxPyCheckForApp()) SWIG_fail
;
31041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31042 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxIcon
const &)*arg1
,(wxCursor
const &)*arg2
);
31044 wxPyEndAllowThreads(__tstate
);
31045 if (PyErr_Occurred()) SWIG_fail
;
31047 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
31054 static PyObject
*_wrap_new_DragString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31055 PyObject
*resultobj
;
31056 wxString
*arg1
= 0 ;
31057 wxCursor
const &arg2_defvalue
= wxNullCursor
;
31058 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
31059 wxGenericDragImage
*result
;
31060 bool temp1
= False
;
31061 PyObject
* obj0
= 0 ;
31062 PyObject
* obj1
= 0 ;
31063 char *kwnames
[] = {
31064 (char *) "str",(char *) "cursor", NULL
31067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_DragString",kwnames
,&obj0
,&obj1
)) goto fail
;
31069 arg1
= wxString_in_helper(obj0
);
31070 if (arg1
== NULL
) SWIG_fail
;
31074 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
31075 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31077 if (arg2
== NULL
) {
31078 PyErr_SetString(PyExc_TypeError
,"null reference");
31083 if (!wxPyCheckForApp()) SWIG_fail
;
31084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31085 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxString
const &)*arg1
,(wxCursor
const &)*arg2
);
31087 wxPyEndAllowThreads(__tstate
);
31088 if (PyErr_Occurred()) SWIG_fail
;
31090 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
31105 static PyObject
*_wrap_new_DragTreeItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31106 PyObject
*resultobj
;
31107 wxPyTreeCtrl
*arg1
= 0 ;
31108 wxTreeItemId
*arg2
= 0 ;
31109 wxGenericDragImage
*result
;
31110 PyObject
* obj0
= 0 ;
31111 PyObject
* obj1
= 0 ;
31112 char *kwnames
[] = {
31113 (char *) "treeCtrl",(char *) "id", NULL
31116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragTreeItem",kwnames
,&obj0
,&obj1
)) goto fail
;
31117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTreeCtrl
,
31118 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31120 if (arg1
== NULL
) {
31121 PyErr_SetString(PyExc_TypeError
,"null reference");
31124 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTreeItemId
,
31125 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31127 if (arg2
== NULL
) {
31128 PyErr_SetString(PyExc_TypeError
,"null reference");
31132 if (!wxPyCheckForApp()) SWIG_fail
;
31133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31134 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyTreeCtrl
const &)*arg1
,*arg2
);
31136 wxPyEndAllowThreads(__tstate
);
31137 if (PyErr_Occurred()) SWIG_fail
;
31139 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
31146 static PyObject
*_wrap_new_DragListItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31147 PyObject
*resultobj
;
31148 wxPyListCtrl
*arg1
= 0 ;
31150 wxGenericDragImage
*result
;
31151 PyObject
* obj0
= 0 ;
31152 PyObject
* obj1
= 0 ;
31153 char *kwnames
[] = {
31154 (char *) "listCtrl",(char *) "id", NULL
31157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_DragListItem",kwnames
,&obj0
,&obj1
)) goto fail
;
31158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyListCtrl
,
31159 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31161 if (arg1
== NULL
) {
31162 PyErr_SetString(PyExc_TypeError
,"null reference");
31165 arg2
= (long)SWIG_As_long(obj1
);
31166 if (PyErr_Occurred()) SWIG_fail
;
31168 if (!wxPyCheckForApp()) SWIG_fail
;
31169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31170 result
= (wxGenericDragImage
*)new wxGenericDragImage((wxPyListCtrl
const &)*arg1
,arg2
);
31172 wxPyEndAllowThreads(__tstate
);
31173 if (PyErr_Occurred()) SWIG_fail
;
31175 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGenericDragImage
, 1);
31182 static PyObject
*_wrap_delete_DragImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31183 PyObject
*resultobj
;
31184 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31185 PyObject
* obj0
= 0 ;
31186 char *kwnames
[] = {
31187 (char *) "self", NULL
31190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DragImage",kwnames
,&obj0
)) goto fail
;
31191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31197 wxPyEndAllowThreads(__tstate
);
31198 if (PyErr_Occurred()) SWIG_fail
;
31200 Py_INCREF(Py_None
); resultobj
= Py_None
;
31207 static PyObject
*_wrap_DragImage_SetBackingBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31208 PyObject
*resultobj
;
31209 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31210 wxBitmap
*arg2
= (wxBitmap
*) 0 ;
31211 PyObject
* obj0
= 0 ;
31212 PyObject
* obj1
= 0 ;
31213 char *kwnames
[] = {
31214 (char *) "self",(char *) "bitmap", NULL
31217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_SetBackingBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
31218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31220 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
31221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31224 (arg1
)->SetBackingBitmap(arg2
);
31226 wxPyEndAllowThreads(__tstate
);
31227 if (PyErr_Occurred()) SWIG_fail
;
31229 Py_INCREF(Py_None
); resultobj
= Py_None
;
31236 static PyObject
*_wrap_DragImage_BeginDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31237 PyObject
*resultobj
;
31238 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31239 wxPoint
*arg2
= 0 ;
31240 wxWindow
*arg3
= (wxWindow
*) 0 ;
31241 bool arg4
= (bool) False
;
31242 wxRect
*arg5
= (wxRect
*) NULL
;
31245 PyObject
* obj0
= 0 ;
31246 PyObject
* obj1
= 0 ;
31247 PyObject
* obj2
= 0 ;
31248 PyObject
* obj3
= 0 ;
31249 PyObject
* obj4
= 0 ;
31250 char *kwnames
[] = {
31251 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
31254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:DragImage_BeginDrag",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31259 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31261 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
31262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31264 arg4
= (bool)SWIG_As_bool(obj3
);
31265 if (PyErr_Occurred()) SWIG_fail
;
31268 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxRect
,
31269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31273 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
,arg5
);
31275 wxPyEndAllowThreads(__tstate
);
31276 if (PyErr_Occurred()) SWIG_fail
;
31279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31287 static PyObject
*_wrap_DragImage_BeginDragBounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31288 PyObject
*resultobj
;
31289 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31290 wxPoint
*arg2
= 0 ;
31291 wxWindow
*arg3
= (wxWindow
*) 0 ;
31292 wxWindow
*arg4
= (wxWindow
*) 0 ;
31295 PyObject
* obj0
= 0 ;
31296 PyObject
* obj1
= 0 ;
31297 PyObject
* obj2
= 0 ;
31298 PyObject
* obj3
= 0 ;
31299 char *kwnames
[] = {
31300 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
31303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DragImage_BeginDragBounded",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31308 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31310 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
31311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31312 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
31313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31316 result
= (bool)(arg1
)->BeginDrag((wxPoint
const &)*arg2
,arg3
,arg4
);
31318 wxPyEndAllowThreads(__tstate
);
31319 if (PyErr_Occurred()) SWIG_fail
;
31322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31330 static PyObject
*_wrap_DragImage_EndDrag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31331 PyObject
*resultobj
;
31332 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31334 PyObject
* obj0
= 0 ;
31335 char *kwnames
[] = {
31336 (char *) "self", NULL
31339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_EndDrag",kwnames
,&obj0
)) goto fail
;
31340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31344 result
= (bool)(arg1
)->EndDrag();
31346 wxPyEndAllowThreads(__tstate
);
31347 if (PyErr_Occurred()) SWIG_fail
;
31350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31358 static PyObject
*_wrap_DragImage_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31359 PyObject
*resultobj
;
31360 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31361 wxPoint
*arg2
= 0 ;
31364 PyObject
* obj0
= 0 ;
31365 PyObject
* obj1
= 0 ;
31366 char *kwnames
[] = {
31367 (char *) "self",(char *) "pt", NULL
31370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
31371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31375 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31379 result
= (bool)(arg1
)->Move((wxPoint
const &)*arg2
);
31381 wxPyEndAllowThreads(__tstate
);
31382 if (PyErr_Occurred()) SWIG_fail
;
31385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31393 static PyObject
*_wrap_DragImage_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31394 PyObject
*resultobj
;
31395 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31397 PyObject
* obj0
= 0 ;
31398 char *kwnames
[] = {
31399 (char *) "self", NULL
31402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Show",kwnames
,&obj0
)) goto fail
;
31403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31407 result
= (bool)(arg1
)->Show();
31409 wxPyEndAllowThreads(__tstate
);
31410 if (PyErr_Occurred()) SWIG_fail
;
31413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31421 static PyObject
*_wrap_DragImage_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31422 PyObject
*resultobj
;
31423 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31425 PyObject
* obj0
= 0 ;
31426 char *kwnames
[] = {
31427 (char *) "self", NULL
31430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DragImage_Hide",kwnames
,&obj0
)) goto fail
;
31431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31435 result
= (bool)(arg1
)->Hide();
31437 wxPyEndAllowThreads(__tstate
);
31438 if (PyErr_Occurred()) SWIG_fail
;
31441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31449 static PyObject
*_wrap_DragImage_GetImageRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31450 PyObject
*resultobj
;
31451 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31452 wxPoint
*arg2
= 0 ;
31455 PyObject
* obj0
= 0 ;
31456 PyObject
* obj1
= 0 ;
31457 char *kwnames
[] = {
31458 (char *) "self",(char *) "pos", NULL
31461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DragImage_GetImageRect",kwnames
,&obj0
,&obj1
)) goto fail
;
31462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31466 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31470 result
= ((wxGenericDragImage
const *)arg1
)->GetImageRect((wxPoint
const &)*arg2
);
31472 wxPyEndAllowThreads(__tstate
);
31473 if (PyErr_Occurred()) SWIG_fail
;
31476 wxRect
* resultptr
;
31477 resultptr
= new wxRect((wxRect
&) result
);
31478 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
31486 static PyObject
*_wrap_DragImage_DoDrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31487 PyObject
*resultobj
;
31488 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31490 wxPoint
*arg3
= 0 ;
31493 PyObject
* obj0
= 0 ;
31494 PyObject
* obj1
= 0 ;
31495 PyObject
* obj2
= 0 ;
31496 char *kwnames
[] = {
31497 (char *) "self",(char *) "dc",(char *) "pos", NULL
31500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DragImage_DoDrawImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31503 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31504 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31506 if (arg2
== NULL
) {
31507 PyErr_SetString(PyExc_TypeError
,"null reference");
31512 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31516 result
= (bool)((wxGenericDragImage
const *)arg1
)->DoDrawImage(*arg2
,(wxPoint
const &)*arg3
);
31518 wxPyEndAllowThreads(__tstate
);
31519 if (PyErr_Occurred()) SWIG_fail
;
31522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31530 static PyObject
*_wrap_DragImage_UpdateBackingFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31531 PyObject
*resultobj
;
31532 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31534 wxMemoryDC
*arg3
= 0 ;
31540 PyObject
* obj0
= 0 ;
31541 PyObject
* obj1
= 0 ;
31542 PyObject
* obj2
= 0 ;
31543 PyObject
* obj3
= 0 ;
31544 PyObject
* obj4
= 0 ;
31545 char *kwnames
[] = {
31546 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
31549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31552 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
31553 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31555 if (arg2
== NULL
) {
31556 PyErr_SetString(PyExc_TypeError
,"null reference");
31559 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMemoryDC
,
31560 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31562 if (arg3
== NULL
) {
31563 PyErr_SetString(PyExc_TypeError
,"null reference");
31568 if ( ! wxRect_helper(obj3
, &arg4
)) SWIG_fail
;
31572 if ( ! wxRect_helper(obj4
, &arg5
)) SWIG_fail
;
31575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31576 result
= (bool)((wxGenericDragImage
const *)arg1
)->UpdateBackingFromWindow(*arg2
,*arg3
,(wxRect
const &)*arg4
,(wxRect
const &)*arg5
);
31578 wxPyEndAllowThreads(__tstate
);
31579 if (PyErr_Occurred()) SWIG_fail
;
31582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31590 static PyObject
*_wrap_DragImage_RedrawImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31591 PyObject
*resultobj
;
31592 wxGenericDragImage
*arg1
= (wxGenericDragImage
*) 0 ;
31593 wxPoint
*arg2
= 0 ;
31594 wxPoint
*arg3
= 0 ;
31600 PyObject
* obj0
= 0 ;
31601 PyObject
* obj1
= 0 ;
31602 PyObject
* obj2
= 0 ;
31603 PyObject
* obj3
= 0 ;
31604 PyObject
* obj4
= 0 ;
31605 char *kwnames
[] = {
31606 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
31609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:DragImage_RedrawImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
31610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGenericDragImage
,
31611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31614 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
31618 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31620 arg4
= (bool)SWIG_As_bool(obj3
);
31621 if (PyErr_Occurred()) SWIG_fail
;
31622 arg5
= (bool)SWIG_As_bool(obj4
);
31623 if (PyErr_Occurred()) SWIG_fail
;
31625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31626 result
= (bool)(arg1
)->RedrawImage((wxPoint
const &)*arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
31628 wxPyEndAllowThreads(__tstate
);
31629 if (PyErr_Occurred()) SWIG_fail
;
31632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31640 static PyObject
* DragImage_swigregister(PyObject
*, PyObject
*args
) {
31642 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31643 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage
, obj
);
31645 return Py_BuildValue((char *)"");
31647 static PyMethodDef SwigMethods
[] = {
31648 { (char *)"new_Button", (PyCFunction
) _wrap_new_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31649 { (char *)"new_PreButton", (PyCFunction
) _wrap_new_PreButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31650 { (char *)"Button_Create", (PyCFunction
) _wrap_Button_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31651 { (char *)"Button_SetDefault", (PyCFunction
) _wrap_Button_SetDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31652 { (char *)"Button_GetDefaultSize", (PyCFunction
) _wrap_Button_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31653 { (char *)"Button_GetClassDefaultAttributes", (PyCFunction
) _wrap_Button_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31654 { (char *)"Button_swigregister", Button_swigregister
, METH_VARARGS
, NULL
},
31655 { (char *)"new_BitmapButton", (PyCFunction
) _wrap_new_BitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31656 { (char *)"new_PreBitmapButton", (PyCFunction
) _wrap_new_PreBitmapButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31657 { (char *)"BitmapButton_Create", (PyCFunction
) _wrap_BitmapButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31658 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_GetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31659 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_GetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31660 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_GetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31661 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_GetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31662 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction
) _wrap_BitmapButton_SetBitmapDisabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31663 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction
) _wrap_BitmapButton_SetBitmapFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31664 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction
) _wrap_BitmapButton_SetBitmapSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31665 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction
) _wrap_BitmapButton_SetBitmapLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31666 { (char *)"BitmapButton_SetMargins", (PyCFunction
) _wrap_BitmapButton_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31667 { (char *)"BitmapButton_GetMarginX", (PyCFunction
) _wrap_BitmapButton_GetMarginX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31668 { (char *)"BitmapButton_GetMarginY", (PyCFunction
) _wrap_BitmapButton_GetMarginY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31669 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister
, METH_VARARGS
, NULL
},
31670 { (char *)"new_CheckBox", (PyCFunction
) _wrap_new_CheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31671 { (char *)"new_PreCheckBox", (PyCFunction
) _wrap_new_PreCheckBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31672 { (char *)"CheckBox_Create", (PyCFunction
) _wrap_CheckBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31673 { (char *)"CheckBox_GetValue", (PyCFunction
) _wrap_CheckBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31674 { (char *)"CheckBox_IsChecked", (PyCFunction
) _wrap_CheckBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31675 { (char *)"CheckBox_SetValue", (PyCFunction
) _wrap_CheckBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31676 { (char *)"CheckBox_Get3StateValue", (PyCFunction
) _wrap_CheckBox_Get3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31677 { (char *)"CheckBox_Set3StateValue", (PyCFunction
) _wrap_CheckBox_Set3StateValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31678 { (char *)"CheckBox_Is3State", (PyCFunction
) _wrap_CheckBox_Is3State
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31679 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction
) _wrap_CheckBox_Is3rdStateAllowedForUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31680 { (char *)"CheckBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_CheckBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31681 { (char *)"CheckBox_swigregister", CheckBox_swigregister
, METH_VARARGS
, NULL
},
31682 { (char *)"new_Choice", (PyCFunction
) _wrap_new_Choice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31683 { (char *)"new_PreChoice", (PyCFunction
) _wrap_new_PreChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31684 { (char *)"Choice_Create", (PyCFunction
) _wrap_Choice_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31685 { (char *)"Choice_SetSelection", (PyCFunction
) _wrap_Choice_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31686 { (char *)"Choice_SetStringSelection", (PyCFunction
) _wrap_Choice_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31687 { (char *)"Choice_SetString", (PyCFunction
) _wrap_Choice_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31688 { (char *)"Choice_GetClassDefaultAttributes", (PyCFunction
) _wrap_Choice_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31689 { (char *)"Choice_swigregister", Choice_swigregister
, METH_VARARGS
, NULL
},
31690 { (char *)"new_ComboBox", (PyCFunction
) _wrap_new_ComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31691 { (char *)"new_PreComboBox", (PyCFunction
) _wrap_new_PreComboBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31692 { (char *)"ComboBox_Create", (PyCFunction
) _wrap_ComboBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31693 { (char *)"ComboBox_GetValue", (PyCFunction
) _wrap_ComboBox_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31694 { (char *)"ComboBox_SetValue", (PyCFunction
) _wrap_ComboBox_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31695 { (char *)"ComboBox_Copy", (PyCFunction
) _wrap_ComboBox_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31696 { (char *)"ComboBox_Cut", (PyCFunction
) _wrap_ComboBox_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31697 { (char *)"ComboBox_Paste", (PyCFunction
) _wrap_ComboBox_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31698 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction
) _wrap_ComboBox_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31699 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction
) _wrap_ComboBox_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31700 { (char *)"ComboBox_GetLastPosition", (PyCFunction
) _wrap_ComboBox_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31701 { (char *)"ComboBox_Replace", (PyCFunction
) _wrap_ComboBox_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31702 { (char *)"ComboBox_SetSelection", (PyCFunction
) _wrap_ComboBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31703 { (char *)"ComboBox_SetMark", (PyCFunction
) _wrap_ComboBox_SetMark
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31704 { (char *)"ComboBox_SetStringSelection", (PyCFunction
) _wrap_ComboBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31705 { (char *)"ComboBox_SetString", (PyCFunction
) _wrap_ComboBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31706 { (char *)"ComboBox_SetEditable", (PyCFunction
) _wrap_ComboBox_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31707 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction
) _wrap_ComboBox_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31708 { (char *)"ComboBox_Remove", (PyCFunction
) _wrap_ComboBox_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31709 { (char *)"ComboBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ComboBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31710 { (char *)"ComboBox_swigregister", ComboBox_swigregister
, METH_VARARGS
, NULL
},
31711 { (char *)"new_Gauge", (PyCFunction
) _wrap_new_Gauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31712 { (char *)"new_PreGauge", (PyCFunction
) _wrap_new_PreGauge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31713 { (char *)"Gauge_Create", (PyCFunction
) _wrap_Gauge_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31714 { (char *)"Gauge_SetRange", (PyCFunction
) _wrap_Gauge_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31715 { (char *)"Gauge_GetRange", (PyCFunction
) _wrap_Gauge_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31716 { (char *)"Gauge_SetValue", (PyCFunction
) _wrap_Gauge_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31717 { (char *)"Gauge_GetValue", (PyCFunction
) _wrap_Gauge_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31718 { (char *)"Gauge_IsVertical", (PyCFunction
) _wrap_Gauge_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31719 { (char *)"Gauge_SetShadowWidth", (PyCFunction
) _wrap_Gauge_SetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31720 { (char *)"Gauge_GetShadowWidth", (PyCFunction
) _wrap_Gauge_GetShadowWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31721 { (char *)"Gauge_SetBezelFace", (PyCFunction
) _wrap_Gauge_SetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31722 { (char *)"Gauge_GetBezelFace", (PyCFunction
) _wrap_Gauge_GetBezelFace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31723 { (char *)"Gauge_GetClassDefaultAttributes", (PyCFunction
) _wrap_Gauge_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31724 { (char *)"Gauge_swigregister", Gauge_swigregister
, METH_VARARGS
, NULL
},
31725 { (char *)"new_StaticBox", (PyCFunction
) _wrap_new_StaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31726 { (char *)"new_PreStaticBox", (PyCFunction
) _wrap_new_PreStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31727 { (char *)"StaticBox_Create", (PyCFunction
) _wrap_StaticBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31728 { (char *)"StaticBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31729 { (char *)"StaticBox_swigregister", StaticBox_swigregister
, METH_VARARGS
, NULL
},
31730 { (char *)"new_StaticLine", (PyCFunction
) _wrap_new_StaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31731 { (char *)"new_PreStaticLine", (PyCFunction
) _wrap_new_PreStaticLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31732 { (char *)"StaticLine_Create", (PyCFunction
) _wrap_StaticLine_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31733 { (char *)"StaticLine_IsVertical", (PyCFunction
) _wrap_StaticLine_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31734 { (char *)"StaticLine_GetDefaultSize", (PyCFunction
) _wrap_StaticLine_GetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31735 { (char *)"StaticLine_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticLine_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31736 { (char *)"StaticLine_swigregister", StaticLine_swigregister
, METH_VARARGS
, NULL
},
31737 { (char *)"new_StaticText", (PyCFunction
) _wrap_new_StaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31738 { (char *)"new_PreStaticText", (PyCFunction
) _wrap_new_PreStaticText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31739 { (char *)"StaticText_Create", (PyCFunction
) _wrap_StaticText_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31740 { (char *)"StaticText_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticText_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31741 { (char *)"StaticText_swigregister", StaticText_swigregister
, METH_VARARGS
, NULL
},
31742 { (char *)"new_StaticBitmap", (PyCFunction
) _wrap_new_StaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31743 { (char *)"new_PreStaticBitmap", (PyCFunction
) _wrap_new_PreStaticBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31744 { (char *)"StaticBitmap_Create", (PyCFunction
) _wrap_StaticBitmap_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31745 { (char *)"StaticBitmap_GetBitmap", (PyCFunction
) _wrap_StaticBitmap_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31746 { (char *)"StaticBitmap_SetBitmap", (PyCFunction
) _wrap_StaticBitmap_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31747 { (char *)"StaticBitmap_SetIcon", (PyCFunction
) _wrap_StaticBitmap_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31748 { (char *)"StaticBitmap_GetClassDefaultAttributes", (PyCFunction
) _wrap_StaticBitmap_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31749 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister
, METH_VARARGS
, NULL
},
31750 { (char *)"new_ListBox", (PyCFunction
) _wrap_new_ListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31751 { (char *)"new_PreListBox", (PyCFunction
) _wrap_new_PreListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31752 { (char *)"ListBox_Create", (PyCFunction
) _wrap_ListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31753 { (char *)"ListBox_Insert", (PyCFunction
) _wrap_ListBox_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31754 { (char *)"ListBox_InsertItems", (PyCFunction
) _wrap_ListBox_InsertItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31755 { (char *)"ListBox_Set", (PyCFunction
) _wrap_ListBox_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31756 { (char *)"ListBox_IsSelected", (PyCFunction
) _wrap_ListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31757 { (char *)"ListBox_SetSelection", (PyCFunction
) _wrap_ListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31758 { (char *)"ListBox_Select", (PyCFunction
) _wrap_ListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31759 { (char *)"ListBox_Deselect", (PyCFunction
) _wrap_ListBox_Deselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31760 { (char *)"ListBox_DeselectAll", (PyCFunction
) _wrap_ListBox_DeselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31761 { (char *)"ListBox_SetStringSelection", (PyCFunction
) _wrap_ListBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31762 { (char *)"ListBox_GetSelections", (PyCFunction
) _wrap_ListBox_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31763 { (char *)"ListBox_SetFirstItem", (PyCFunction
) _wrap_ListBox_SetFirstItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31764 { (char *)"ListBox_SetFirstItemStr", (PyCFunction
) _wrap_ListBox_SetFirstItemStr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31765 { (char *)"ListBox_EnsureVisible", (PyCFunction
) _wrap_ListBox_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31766 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction
) _wrap_ListBox_AppendAndEnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31767 { (char *)"ListBox_IsSorted", (PyCFunction
) _wrap_ListBox_IsSorted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31768 { (char *)"ListBox_SetItemForegroundColour", (PyCFunction
) _wrap_ListBox_SetItemForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31769 { (char *)"ListBox_SetItemBackgroundColour", (PyCFunction
) _wrap_ListBox_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31770 { (char *)"ListBox_SetItemFont", (PyCFunction
) _wrap_ListBox_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31771 { (char *)"ListBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31772 { (char *)"ListBox_swigregister", ListBox_swigregister
, METH_VARARGS
, NULL
},
31773 { (char *)"new_CheckListBox", (PyCFunction
) _wrap_new_CheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31774 { (char *)"new_PreCheckListBox", (PyCFunction
) _wrap_new_PreCheckListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31775 { (char *)"CheckListBox_Create", (PyCFunction
) _wrap_CheckListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31776 { (char *)"CheckListBox_IsChecked", (PyCFunction
) _wrap_CheckListBox_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31777 { (char *)"CheckListBox_Check", (PyCFunction
) _wrap_CheckListBox_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31778 { (char *)"CheckListBox_GetItemHeight", (PyCFunction
) _wrap_CheckListBox_GetItemHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31779 { (char *)"CheckListBox_HitTest", (PyCFunction
) _wrap_CheckListBox_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31780 { (char *)"CheckListBox_HitTestXY", (PyCFunction
) _wrap_CheckListBox_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31781 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister
, METH_VARARGS
, NULL
},
31782 { (char *)"new_TextAttr", (PyCFunction
) _wrap_new_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31783 { (char *)"delete_TextAttr", (PyCFunction
) _wrap_delete_TextAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31784 { (char *)"TextAttr_Init", (PyCFunction
) _wrap_TextAttr_Init
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31785 { (char *)"TextAttr_SetTextColour", (PyCFunction
) _wrap_TextAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31786 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction
) _wrap_TextAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31787 { (char *)"TextAttr_SetFont", (PyCFunction
) _wrap_TextAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31788 { (char *)"TextAttr_SetAlignment", (PyCFunction
) _wrap_TextAttr_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31789 { (char *)"TextAttr_SetTabs", (PyCFunction
) _wrap_TextAttr_SetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31790 { (char *)"TextAttr_SetLeftIndent", (PyCFunction
) _wrap_TextAttr_SetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31791 { (char *)"TextAttr_SetRightIndent", (PyCFunction
) _wrap_TextAttr_SetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31792 { (char *)"TextAttr_SetFlags", (PyCFunction
) _wrap_TextAttr_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31793 { (char *)"TextAttr_HasTextColour", (PyCFunction
) _wrap_TextAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31794 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction
) _wrap_TextAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31795 { (char *)"TextAttr_HasFont", (PyCFunction
) _wrap_TextAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31796 { (char *)"TextAttr_HasAlignment", (PyCFunction
) _wrap_TextAttr_HasAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31797 { (char *)"TextAttr_HasTabs", (PyCFunction
) _wrap_TextAttr_HasTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31798 { (char *)"TextAttr_HasLeftIndent", (PyCFunction
) _wrap_TextAttr_HasLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31799 { (char *)"TextAttr_HasRightIndent", (PyCFunction
) _wrap_TextAttr_HasRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31800 { (char *)"TextAttr_HasFlag", (PyCFunction
) _wrap_TextAttr_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31801 { (char *)"TextAttr_GetTextColour", (PyCFunction
) _wrap_TextAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31802 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction
) _wrap_TextAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31803 { (char *)"TextAttr_GetFont", (PyCFunction
) _wrap_TextAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31804 { (char *)"TextAttr_GetAlignment", (PyCFunction
) _wrap_TextAttr_GetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31805 { (char *)"TextAttr_GetTabs", (PyCFunction
) _wrap_TextAttr_GetTabs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31806 { (char *)"TextAttr_GetLeftIndent", (PyCFunction
) _wrap_TextAttr_GetLeftIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31807 { (char *)"TextAttr_GetLeftSubIndent", (PyCFunction
) _wrap_TextAttr_GetLeftSubIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31808 { (char *)"TextAttr_GetRightIndent", (PyCFunction
) _wrap_TextAttr_GetRightIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31809 { (char *)"TextAttr_GetFlags", (PyCFunction
) _wrap_TextAttr_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31810 { (char *)"TextAttr_IsDefault", (PyCFunction
) _wrap_TextAttr_IsDefault
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31811 { (char *)"TextAttr_Combine", (PyCFunction
) _wrap_TextAttr_Combine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31812 { (char *)"TextAttr_swigregister", TextAttr_swigregister
, METH_VARARGS
, NULL
},
31813 { (char *)"new_TextCtrl", (PyCFunction
) _wrap_new_TextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31814 { (char *)"new_PreTextCtrl", (PyCFunction
) _wrap_new_PreTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31815 { (char *)"TextCtrl_Create", (PyCFunction
) _wrap_TextCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31816 { (char *)"TextCtrl_GetValue", (PyCFunction
) _wrap_TextCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31817 { (char *)"TextCtrl_SetValue", (PyCFunction
) _wrap_TextCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31818 { (char *)"TextCtrl_GetRange", (PyCFunction
) _wrap_TextCtrl_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31819 { (char *)"TextCtrl_GetLineLength", (PyCFunction
) _wrap_TextCtrl_GetLineLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31820 { (char *)"TextCtrl_GetLineText", (PyCFunction
) _wrap_TextCtrl_GetLineText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31821 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction
) _wrap_TextCtrl_GetNumberOfLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31822 { (char *)"TextCtrl_IsModified", (PyCFunction
) _wrap_TextCtrl_IsModified
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31823 { (char *)"TextCtrl_IsEditable", (PyCFunction
) _wrap_TextCtrl_IsEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31824 { (char *)"TextCtrl_IsSingleLine", (PyCFunction
) _wrap_TextCtrl_IsSingleLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31825 { (char *)"TextCtrl_IsMultiLine", (PyCFunction
) _wrap_TextCtrl_IsMultiLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31826 { (char *)"TextCtrl_GetSelection", (PyCFunction
) _wrap_TextCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31827 { (char *)"TextCtrl_GetStringSelection", (PyCFunction
) _wrap_TextCtrl_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31828 { (char *)"TextCtrl_Clear", (PyCFunction
) _wrap_TextCtrl_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31829 { (char *)"TextCtrl_Replace", (PyCFunction
) _wrap_TextCtrl_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31830 { (char *)"TextCtrl_Remove", (PyCFunction
) _wrap_TextCtrl_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31831 { (char *)"TextCtrl_LoadFile", (PyCFunction
) _wrap_TextCtrl_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31832 { (char *)"TextCtrl_SaveFile", (PyCFunction
) _wrap_TextCtrl_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31833 { (char *)"TextCtrl_MarkDirty", (PyCFunction
) _wrap_TextCtrl_MarkDirty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31834 { (char *)"TextCtrl_DiscardEdits", (PyCFunction
) _wrap_TextCtrl_DiscardEdits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31835 { (char *)"TextCtrl_SetMaxLength", (PyCFunction
) _wrap_TextCtrl_SetMaxLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31836 { (char *)"TextCtrl_WriteText", (PyCFunction
) _wrap_TextCtrl_WriteText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31837 { (char *)"TextCtrl_AppendText", (PyCFunction
) _wrap_TextCtrl_AppendText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31838 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction
) _wrap_TextCtrl_EmulateKeyPress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31839 { (char *)"TextCtrl_SetStyle", (PyCFunction
) _wrap_TextCtrl_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31840 { (char *)"TextCtrl_GetStyle", (PyCFunction
) _wrap_TextCtrl_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31841 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_SetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31842 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction
) _wrap_TextCtrl_GetDefaultStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31843 { (char *)"TextCtrl_XYToPosition", (PyCFunction
) _wrap_TextCtrl_XYToPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31844 { (char *)"TextCtrl_PositionToXY", (PyCFunction
) _wrap_TextCtrl_PositionToXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31845 { (char *)"TextCtrl_ShowPosition", (PyCFunction
) _wrap_TextCtrl_ShowPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31846 { (char *)"TextCtrl_HitTest", (PyCFunction
) _wrap_TextCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31847 { (char *)"TextCtrl_HitTestPos", (PyCFunction
) _wrap_TextCtrl_HitTestPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31848 { (char *)"TextCtrl_Copy", (PyCFunction
) _wrap_TextCtrl_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31849 { (char *)"TextCtrl_Cut", (PyCFunction
) _wrap_TextCtrl_Cut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31850 { (char *)"TextCtrl_Paste", (PyCFunction
) _wrap_TextCtrl_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31851 { (char *)"TextCtrl_CanCopy", (PyCFunction
) _wrap_TextCtrl_CanCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31852 { (char *)"TextCtrl_CanCut", (PyCFunction
) _wrap_TextCtrl_CanCut
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31853 { (char *)"TextCtrl_CanPaste", (PyCFunction
) _wrap_TextCtrl_CanPaste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31854 { (char *)"TextCtrl_Undo", (PyCFunction
) _wrap_TextCtrl_Undo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31855 { (char *)"TextCtrl_Redo", (PyCFunction
) _wrap_TextCtrl_Redo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31856 { (char *)"TextCtrl_CanUndo", (PyCFunction
) _wrap_TextCtrl_CanUndo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31857 { (char *)"TextCtrl_CanRedo", (PyCFunction
) _wrap_TextCtrl_CanRedo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31858 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_SetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31859 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction
) _wrap_TextCtrl_SetInsertionPointEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31860 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction
) _wrap_TextCtrl_GetInsertionPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31861 { (char *)"TextCtrl_GetLastPosition", (PyCFunction
) _wrap_TextCtrl_GetLastPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31862 { (char *)"TextCtrl_SetSelection", (PyCFunction
) _wrap_TextCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31863 { (char *)"TextCtrl_SelectAll", (PyCFunction
) _wrap_TextCtrl_SelectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31864 { (char *)"TextCtrl_SetEditable", (PyCFunction
) _wrap_TextCtrl_SetEditable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31865 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction
) _wrap_TextCtrl_ShowNativeCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31866 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction
) _wrap_TextCtrl_HideNativeCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31867 { (char *)"TextCtrl_write", (PyCFunction
) _wrap_TextCtrl_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31868 { (char *)"TextCtrl_GetString", (PyCFunction
) _wrap_TextCtrl_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31869 { (char *)"TextCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TextCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31870 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister
, METH_VARARGS
, NULL
},
31871 { (char *)"new_TextUrlEvent", (PyCFunction
) _wrap_new_TextUrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31872 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction
) _wrap_TextUrlEvent_GetMouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31873 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction
) _wrap_TextUrlEvent_GetURLStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31874 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction
) _wrap_TextUrlEvent_GetURLEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31875 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister
, METH_VARARGS
, NULL
},
31876 { (char *)"new_ScrollBar", (PyCFunction
) _wrap_new_ScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31877 { (char *)"new_PreScrollBar", (PyCFunction
) _wrap_new_PreScrollBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31878 { (char *)"ScrollBar_Create", (PyCFunction
) _wrap_ScrollBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31879 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction
) _wrap_ScrollBar_GetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31880 { (char *)"ScrollBar_GetThumbSize", (PyCFunction
) _wrap_ScrollBar_GetThumbSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31881 { (char *)"ScrollBar_GetPageSize", (PyCFunction
) _wrap_ScrollBar_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31882 { (char *)"ScrollBar_GetRange", (PyCFunction
) _wrap_ScrollBar_GetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31883 { (char *)"ScrollBar_IsVertical", (PyCFunction
) _wrap_ScrollBar_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31884 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction
) _wrap_ScrollBar_SetThumbPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31885 { (char *)"ScrollBar_SetScrollbar", (PyCFunction
) _wrap_ScrollBar_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31886 { (char *)"ScrollBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrollBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31887 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister
, METH_VARARGS
, NULL
},
31888 { (char *)"new_SpinButton", (PyCFunction
) _wrap_new_SpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31889 { (char *)"new_PreSpinButton", (PyCFunction
) _wrap_new_PreSpinButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31890 { (char *)"SpinButton_Create", (PyCFunction
) _wrap_SpinButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31891 { (char *)"SpinButton_GetValue", (PyCFunction
) _wrap_SpinButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31892 { (char *)"SpinButton_GetMin", (PyCFunction
) _wrap_SpinButton_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31893 { (char *)"SpinButton_GetMax", (PyCFunction
) _wrap_SpinButton_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31894 { (char *)"SpinButton_SetValue", (PyCFunction
) _wrap_SpinButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31895 { (char *)"SpinButton_SetMin", (PyCFunction
) _wrap_SpinButton_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31896 { (char *)"SpinButton_SetMax", (PyCFunction
) _wrap_SpinButton_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31897 { (char *)"SpinButton_SetRange", (PyCFunction
) _wrap_SpinButton_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31898 { (char *)"SpinButton_IsVertical", (PyCFunction
) _wrap_SpinButton_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31899 { (char *)"SpinButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31900 { (char *)"SpinButton_swigregister", SpinButton_swigregister
, METH_VARARGS
, NULL
},
31901 { (char *)"new_SpinCtrl", (PyCFunction
) _wrap_new_SpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31902 { (char *)"new_PreSpinCtrl", (PyCFunction
) _wrap_new_PreSpinCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31903 { (char *)"SpinCtrl_Create", (PyCFunction
) _wrap_SpinCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31904 { (char *)"SpinCtrl_GetValue", (PyCFunction
) _wrap_SpinCtrl_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31905 { (char *)"SpinCtrl_SetValue", (PyCFunction
) _wrap_SpinCtrl_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31906 { (char *)"SpinCtrl_SetValueString", (PyCFunction
) _wrap_SpinCtrl_SetValueString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31907 { (char *)"SpinCtrl_SetRange", (PyCFunction
) _wrap_SpinCtrl_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31908 { (char *)"SpinCtrl_GetMin", (PyCFunction
) _wrap_SpinCtrl_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31909 { (char *)"SpinCtrl_GetMax", (PyCFunction
) _wrap_SpinCtrl_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31910 { (char *)"SpinCtrl_SetSelection", (PyCFunction
) _wrap_SpinCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31911 { (char *)"SpinCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_SpinCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31912 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister
, METH_VARARGS
, NULL
},
31913 { (char *)"new_SpinEvent", (PyCFunction
) _wrap_new_SpinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31914 { (char *)"SpinEvent_GetPosition", (PyCFunction
) _wrap_SpinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31915 { (char *)"SpinEvent_SetPosition", (PyCFunction
) _wrap_SpinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31916 { (char *)"SpinEvent_swigregister", SpinEvent_swigregister
, METH_VARARGS
, NULL
},
31917 { (char *)"new_RadioBox", (PyCFunction
) _wrap_new_RadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31918 { (char *)"new_PreRadioBox", (PyCFunction
) _wrap_new_PreRadioBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31919 { (char *)"RadioBox_Create", (PyCFunction
) _wrap_RadioBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31920 { (char *)"RadioBox_SetSelection", (PyCFunction
) _wrap_RadioBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31921 { (char *)"RadioBox_GetSelection", (PyCFunction
) _wrap_RadioBox_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31922 { (char *)"RadioBox_GetStringSelection", (PyCFunction
) _wrap_RadioBox_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31923 { (char *)"RadioBox_SetStringSelection", (PyCFunction
) _wrap_RadioBox_SetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31924 { (char *)"RadioBox_GetCount", (PyCFunction
) _wrap_RadioBox_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31925 { (char *)"RadioBox_FindString", (PyCFunction
) _wrap_RadioBox_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31926 { (char *)"RadioBox_GetString", (PyCFunction
) _wrap_RadioBox_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31927 { (char *)"RadioBox_SetString", (PyCFunction
) _wrap_RadioBox_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31928 { (char *)"RadioBox_EnableItem", (PyCFunction
) _wrap_RadioBox_EnableItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31929 { (char *)"RadioBox_ShowItem", (PyCFunction
) _wrap_RadioBox_ShowItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31930 { (char *)"RadioBox_GetColumnCount", (PyCFunction
) _wrap_RadioBox_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31931 { (char *)"RadioBox_GetRowCount", (PyCFunction
) _wrap_RadioBox_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31932 { (char *)"RadioBox_GetNextItem", (PyCFunction
) _wrap_RadioBox_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31933 { (char *)"RadioBox_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioBox_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31934 { (char *)"RadioBox_swigregister", RadioBox_swigregister
, METH_VARARGS
, NULL
},
31935 { (char *)"new_RadioButton", (PyCFunction
) _wrap_new_RadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31936 { (char *)"new_PreRadioButton", (PyCFunction
) _wrap_new_PreRadioButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31937 { (char *)"RadioButton_Create", (PyCFunction
) _wrap_RadioButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31938 { (char *)"RadioButton_GetValue", (PyCFunction
) _wrap_RadioButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31939 { (char *)"RadioButton_SetValue", (PyCFunction
) _wrap_RadioButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31940 { (char *)"RadioButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_RadioButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31941 { (char *)"RadioButton_swigregister", RadioButton_swigregister
, METH_VARARGS
, NULL
},
31942 { (char *)"new_Slider", (PyCFunction
) _wrap_new_Slider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31943 { (char *)"new_PreSlider", (PyCFunction
) _wrap_new_PreSlider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31944 { (char *)"Slider_Create", (PyCFunction
) _wrap_Slider_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31945 { (char *)"Slider_GetValue", (PyCFunction
) _wrap_Slider_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31946 { (char *)"Slider_SetValue", (PyCFunction
) _wrap_Slider_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31947 { (char *)"Slider_SetRange", (PyCFunction
) _wrap_Slider_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31948 { (char *)"Slider_GetMin", (PyCFunction
) _wrap_Slider_GetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31949 { (char *)"Slider_GetMax", (PyCFunction
) _wrap_Slider_GetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31950 { (char *)"Slider_SetMin", (PyCFunction
) _wrap_Slider_SetMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31951 { (char *)"Slider_SetMax", (PyCFunction
) _wrap_Slider_SetMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31952 { (char *)"Slider_SetLineSize", (PyCFunction
) _wrap_Slider_SetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31953 { (char *)"Slider_SetPageSize", (PyCFunction
) _wrap_Slider_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31954 { (char *)"Slider_GetLineSize", (PyCFunction
) _wrap_Slider_GetLineSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31955 { (char *)"Slider_GetPageSize", (PyCFunction
) _wrap_Slider_GetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31956 { (char *)"Slider_SetThumbLength", (PyCFunction
) _wrap_Slider_SetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31957 { (char *)"Slider_GetThumbLength", (PyCFunction
) _wrap_Slider_GetThumbLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31958 { (char *)"Slider_SetTickFreq", (PyCFunction
) _wrap_Slider_SetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31959 { (char *)"Slider_GetTickFreq", (PyCFunction
) _wrap_Slider_GetTickFreq
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31960 { (char *)"Slider_ClearTicks", (PyCFunction
) _wrap_Slider_ClearTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31961 { (char *)"Slider_SetTick", (PyCFunction
) _wrap_Slider_SetTick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31962 { (char *)"Slider_ClearSel", (PyCFunction
) _wrap_Slider_ClearSel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31963 { (char *)"Slider_GetSelEnd", (PyCFunction
) _wrap_Slider_GetSelEnd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31964 { (char *)"Slider_GetSelStart", (PyCFunction
) _wrap_Slider_GetSelStart
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31965 { (char *)"Slider_SetSelection", (PyCFunction
) _wrap_Slider_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31966 { (char *)"Slider_GetClassDefaultAttributes", (PyCFunction
) _wrap_Slider_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31967 { (char *)"Slider_swigregister", Slider_swigregister
, METH_VARARGS
, NULL
},
31968 { (char *)"new_ToggleButton", (PyCFunction
) _wrap_new_ToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31969 { (char *)"new_PreToggleButton", (PyCFunction
) _wrap_new_PreToggleButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31970 { (char *)"ToggleButton_Create", (PyCFunction
) _wrap_ToggleButton_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31971 { (char *)"ToggleButton_SetValue", (PyCFunction
) _wrap_ToggleButton_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31972 { (char *)"ToggleButton_GetValue", (PyCFunction
) _wrap_ToggleButton_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31973 { (char *)"ToggleButton_SetLabel", (PyCFunction
) _wrap_ToggleButton_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31974 { (char *)"ToggleButton_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToggleButton_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31975 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister
, METH_VARARGS
, NULL
},
31976 { (char *)"BookCtrl_GetPageCount", (PyCFunction
) _wrap_BookCtrl_GetPageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31977 { (char *)"BookCtrl_GetPage", (PyCFunction
) _wrap_BookCtrl_GetPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31978 { (char *)"BookCtrl_GetSelection", (PyCFunction
) _wrap_BookCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31979 { (char *)"BookCtrl_SetPageText", (PyCFunction
) _wrap_BookCtrl_SetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31980 { (char *)"BookCtrl_GetPageText", (PyCFunction
) _wrap_BookCtrl_GetPageText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31981 { (char *)"BookCtrl_SetImageList", (PyCFunction
) _wrap_BookCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31982 { (char *)"BookCtrl_AssignImageList", (PyCFunction
) _wrap_BookCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31983 { (char *)"BookCtrl_GetImageList", (PyCFunction
) _wrap_BookCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31984 { (char *)"BookCtrl_GetPageImage", (PyCFunction
) _wrap_BookCtrl_GetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31985 { (char *)"BookCtrl_SetPageImage", (PyCFunction
) _wrap_BookCtrl_SetPageImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31986 { (char *)"BookCtrl_SetPageSize", (PyCFunction
) _wrap_BookCtrl_SetPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31987 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction
) _wrap_BookCtrl_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31988 { (char *)"BookCtrl_DeletePage", (PyCFunction
) _wrap_BookCtrl_DeletePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31989 { (char *)"BookCtrl_RemovePage", (PyCFunction
) _wrap_BookCtrl_RemovePage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31990 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction
) _wrap_BookCtrl_DeleteAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31991 { (char *)"BookCtrl_AddPage", (PyCFunction
) _wrap_BookCtrl_AddPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31992 { (char *)"BookCtrl_InsertPage", (PyCFunction
) _wrap_BookCtrl_InsertPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31993 { (char *)"BookCtrl_SetSelection", (PyCFunction
) _wrap_BookCtrl_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31994 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction
) _wrap_BookCtrl_AdvanceSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31995 { (char *)"BookCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_BookCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31996 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister
, METH_VARARGS
, NULL
},
31997 { (char *)"new_BookCtrlEvent", (PyCFunction
) _wrap_new_BookCtrlEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31998 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31999 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32000 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_GetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32001 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction
) _wrap_BookCtrlEvent_SetOldSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32002 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister
, METH_VARARGS
, NULL
},
32003 { (char *)"new_Notebook", (PyCFunction
) _wrap_new_Notebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32004 { (char *)"new_PreNotebook", (PyCFunction
) _wrap_new_PreNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32005 { (char *)"Notebook_Create", (PyCFunction
) _wrap_Notebook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32006 { (char *)"Notebook_GetRowCount", (PyCFunction
) _wrap_Notebook_GetRowCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32007 { (char *)"Notebook_SetPadding", (PyCFunction
) _wrap_Notebook_SetPadding
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32008 { (char *)"Notebook_SetTabSize", (PyCFunction
) _wrap_Notebook_SetTabSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32009 { (char *)"Notebook_HitTest", (PyCFunction
) _wrap_Notebook_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32010 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction
) _wrap_Notebook_CalcSizeFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32011 { (char *)"Notebook_ApplyThemeBackground", (PyCFunction
) _wrap_Notebook_ApplyThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32012 { (char *)"Notebook_GetClassDefaultAttributes", (PyCFunction
) _wrap_Notebook_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32013 { (char *)"Notebook_swigregister", Notebook_swigregister
, METH_VARARGS
, NULL
},
32014 { (char *)"new_NotebookEvent", (PyCFunction
) _wrap_new_NotebookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32015 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister
, METH_VARARGS
, NULL
},
32016 { (char *)"new_Listbook", (PyCFunction
) _wrap_new_Listbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32017 { (char *)"new_PreListbook", (PyCFunction
) _wrap_new_PreListbook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32018 { (char *)"Listbook_Create", (PyCFunction
) _wrap_Listbook_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32019 { (char *)"Listbook_IsVertical", (PyCFunction
) _wrap_Listbook_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32020 { (char *)"Listbook_GetListView", (PyCFunction
) _wrap_Listbook_GetListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32021 { (char *)"Listbook_swigregister", Listbook_swigregister
, METH_VARARGS
, NULL
},
32022 { (char *)"new_ListbookEvent", (PyCFunction
) _wrap_new_ListbookEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32023 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister
, METH_VARARGS
, NULL
},
32024 { (char *)"new_BookCtrlSizer", (PyCFunction
) _wrap_new_BookCtrlSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32025 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction
) _wrap_BookCtrlSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32026 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction
) _wrap_BookCtrlSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32027 { (char *)"BookCtrlSizer_GetControl", (PyCFunction
) _wrap_BookCtrlSizer_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32028 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister
, METH_VARARGS
, NULL
},
32029 { (char *)"new_NotebookSizer", (PyCFunction
) _wrap_new_NotebookSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32030 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction
) _wrap_NotebookSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32031 { (char *)"NotebookSizer_CalcMin", (PyCFunction
) _wrap_NotebookSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32032 { (char *)"NotebookSizer_GetNotebook", (PyCFunction
) _wrap_NotebookSizer_GetNotebook
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32033 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister
, METH_VARARGS
, NULL
},
32034 { (char *)"ToolBarToolBase_GetId", (PyCFunction
) _wrap_ToolBarToolBase_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32035 { (char *)"ToolBarToolBase_GetControl", (PyCFunction
) _wrap_ToolBarToolBase_GetControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32036 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction
) _wrap_ToolBarToolBase_GetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32037 { (char *)"ToolBarToolBase_IsButton", (PyCFunction
) _wrap_ToolBarToolBase_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32038 { (char *)"ToolBarToolBase_IsControl", (PyCFunction
) _wrap_ToolBarToolBase_IsControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32039 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction
) _wrap_ToolBarToolBase_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32040 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction
) _wrap_ToolBarToolBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32041 { (char *)"ToolBarToolBase_GetKind", (PyCFunction
) _wrap_ToolBarToolBase_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32042 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction
) _wrap_ToolBarToolBase_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32043 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction
) _wrap_ToolBarToolBase_IsToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32044 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction
) _wrap_ToolBarToolBase_CanBeToggled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32045 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32046 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32047 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction
) _wrap_ToolBarToolBase_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32048 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction
) _wrap_ToolBarToolBase_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32049 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32050 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_GetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32051 { (char *)"ToolBarToolBase_Enable", (PyCFunction
) _wrap_ToolBarToolBase_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32052 { (char *)"ToolBarToolBase_Toggle", (PyCFunction
) _wrap_ToolBarToolBase_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32053 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction
) _wrap_ToolBarToolBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32054 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32055 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction
) _wrap_ToolBarToolBase_SetLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32056 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetNormalBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32057 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction
) _wrap_ToolBarToolBase_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32058 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction
) _wrap_ToolBarToolBase_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32059 { (char *)"ToolBarToolBase_Detach", (PyCFunction
) _wrap_ToolBarToolBase_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32060 { (char *)"ToolBarToolBase_Attach", (PyCFunction
) _wrap_ToolBarToolBase_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32061 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction
) _wrap_ToolBarToolBase_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32062 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction
) _wrap_ToolBarToolBase_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32063 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister
, METH_VARARGS
, NULL
},
32064 { (char *)"ToolBarBase_DoAddTool", (PyCFunction
) _wrap_ToolBarBase_DoAddTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32065 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction
) _wrap_ToolBarBase_DoInsertTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32066 { (char *)"ToolBarBase_AddToolItem", (PyCFunction
) _wrap_ToolBarBase_AddToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32067 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction
) _wrap_ToolBarBase_InsertToolItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32068 { (char *)"ToolBarBase_AddControl", (PyCFunction
) _wrap_ToolBarBase_AddControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32069 { (char *)"ToolBarBase_InsertControl", (PyCFunction
) _wrap_ToolBarBase_InsertControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32070 { (char *)"ToolBarBase_FindControl", (PyCFunction
) _wrap_ToolBarBase_FindControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32071 { (char *)"ToolBarBase_AddSeparator", (PyCFunction
) _wrap_ToolBarBase_AddSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32072 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction
) _wrap_ToolBarBase_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32073 { (char *)"ToolBarBase_RemoveTool", (PyCFunction
) _wrap_ToolBarBase_RemoveTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32074 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction
) _wrap_ToolBarBase_DeleteToolByPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32075 { (char *)"ToolBarBase_DeleteTool", (PyCFunction
) _wrap_ToolBarBase_DeleteTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32076 { (char *)"ToolBarBase_ClearTools", (PyCFunction
) _wrap_ToolBarBase_ClearTools
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32077 { (char *)"ToolBarBase_Realize", (PyCFunction
) _wrap_ToolBarBase_Realize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32078 { (char *)"ToolBarBase_EnableTool", (PyCFunction
) _wrap_ToolBarBase_EnableTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32079 { (char *)"ToolBarBase_ToggleTool", (PyCFunction
) _wrap_ToolBarBase_ToggleTool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32080 { (char *)"ToolBarBase_SetToggle", (PyCFunction
) _wrap_ToolBarBase_SetToggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32081 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction
) _wrap_ToolBarBase_GetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32082 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction
) _wrap_ToolBarBase_SetToolClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32083 { (char *)"ToolBarBase_GetToolPos", (PyCFunction
) _wrap_ToolBarBase_GetToolPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32084 { (char *)"ToolBarBase_GetToolState", (PyCFunction
) _wrap_ToolBarBase_GetToolState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32085 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction
) _wrap_ToolBarBase_GetToolEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32086 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32087 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolShortHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32088 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_SetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32089 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction
) _wrap_ToolBarBase_GetToolLongHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32090 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction
) _wrap_ToolBarBase_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32091 { (char *)"ToolBarBase_SetMargins", (PyCFunction
) _wrap_ToolBarBase_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32092 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction
) _wrap_ToolBarBase_SetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32093 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_SetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32094 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction
) _wrap_ToolBarBase_GetToolMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32095 { (char *)"ToolBarBase_GetMargins", (PyCFunction
) _wrap_ToolBarBase_GetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32096 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction
) _wrap_ToolBarBase_GetToolPacking
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32097 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction
) _wrap_ToolBarBase_GetToolSeparation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32098 { (char *)"ToolBarBase_SetRows", (PyCFunction
) _wrap_ToolBarBase_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32099 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction
) _wrap_ToolBarBase_SetMaxRowsCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32100 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction
) _wrap_ToolBarBase_GetMaxRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32101 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction
) _wrap_ToolBarBase_GetMaxCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32102 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_SetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32103 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction
) _wrap_ToolBarBase_GetToolBitmapSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32104 { (char *)"ToolBarBase_GetToolSize", (PyCFunction
) _wrap_ToolBarBase_GetToolSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32105 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction
) _wrap_ToolBarBase_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32106 { (char *)"ToolBarBase_FindById", (PyCFunction
) _wrap_ToolBarBase_FindById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32107 { (char *)"ToolBarBase_IsVertical", (PyCFunction
) _wrap_ToolBarBase_IsVertical
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32108 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister
, METH_VARARGS
, NULL
},
32109 { (char *)"new_ToolBar", (PyCFunction
) _wrap_new_ToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32110 { (char *)"new_PreToolBar", (PyCFunction
) _wrap_new_PreToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32111 { (char *)"ToolBar_Create", (PyCFunction
) _wrap_ToolBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32112 { (char *)"ToolBar_FindToolForPosition", (PyCFunction
) _wrap_ToolBar_FindToolForPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32113 { (char *)"ToolBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_ToolBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32114 { (char *)"ToolBar_swigregister", ToolBar_swigregister
, METH_VARARGS
, NULL
},
32115 { (char *)"new_ListItemAttr", (PyCFunction
) _wrap_new_ListItemAttr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32116 { (char *)"ListItemAttr_SetTextColour", (PyCFunction
) _wrap_ListItemAttr_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32117 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32118 { (char *)"ListItemAttr_SetFont", (PyCFunction
) _wrap_ListItemAttr_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32119 { (char *)"ListItemAttr_HasTextColour", (PyCFunction
) _wrap_ListItemAttr_HasTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32120 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_HasBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32121 { (char *)"ListItemAttr_HasFont", (PyCFunction
) _wrap_ListItemAttr_HasFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32122 { (char *)"ListItemAttr_GetTextColour", (PyCFunction
) _wrap_ListItemAttr_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32123 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction
) _wrap_ListItemAttr_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32124 { (char *)"ListItemAttr_GetFont", (PyCFunction
) _wrap_ListItemAttr_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32125 { (char *)"ListItemAttr_Destroy", (PyCFunction
) _wrap_ListItemAttr_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32126 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister
, METH_VARARGS
, NULL
},
32127 { (char *)"new_ListItem", (PyCFunction
) _wrap_new_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32128 { (char *)"delete_ListItem", (PyCFunction
) _wrap_delete_ListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32129 { (char *)"ListItem_Clear", (PyCFunction
) _wrap_ListItem_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32130 { (char *)"ListItem_ClearAttributes", (PyCFunction
) _wrap_ListItem_ClearAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32131 { (char *)"ListItem_SetMask", (PyCFunction
) _wrap_ListItem_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32132 { (char *)"ListItem_SetId", (PyCFunction
) _wrap_ListItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32133 { (char *)"ListItem_SetColumn", (PyCFunction
) _wrap_ListItem_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32134 { (char *)"ListItem_SetState", (PyCFunction
) _wrap_ListItem_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32135 { (char *)"ListItem_SetStateMask", (PyCFunction
) _wrap_ListItem_SetStateMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32136 { (char *)"ListItem_SetText", (PyCFunction
) _wrap_ListItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32137 { (char *)"ListItem_SetImage", (PyCFunction
) _wrap_ListItem_SetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32138 { (char *)"ListItem_SetData", (PyCFunction
) _wrap_ListItem_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32139 { (char *)"ListItem_SetWidth", (PyCFunction
) _wrap_ListItem_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32140 { (char *)"ListItem_SetAlign", (PyCFunction
) _wrap_ListItem_SetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32141 { (char *)"ListItem_SetTextColour", (PyCFunction
) _wrap_ListItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32142 { (char *)"ListItem_SetBackgroundColour", (PyCFunction
) _wrap_ListItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32143 { (char *)"ListItem_SetFont", (PyCFunction
) _wrap_ListItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32144 { (char *)"ListItem_GetMask", (PyCFunction
) _wrap_ListItem_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32145 { (char *)"ListItem_GetId", (PyCFunction
) _wrap_ListItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32146 { (char *)"ListItem_GetColumn", (PyCFunction
) _wrap_ListItem_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32147 { (char *)"ListItem_GetState", (PyCFunction
) _wrap_ListItem_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32148 { (char *)"ListItem_GetText", (PyCFunction
) _wrap_ListItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32149 { (char *)"ListItem_GetImage", (PyCFunction
) _wrap_ListItem_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32150 { (char *)"ListItem_GetData", (PyCFunction
) _wrap_ListItem_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32151 { (char *)"ListItem_GetWidth", (PyCFunction
) _wrap_ListItem_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32152 { (char *)"ListItem_GetAlign", (PyCFunction
) _wrap_ListItem_GetAlign
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32153 { (char *)"ListItem_GetAttributes", (PyCFunction
) _wrap_ListItem_GetAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32154 { (char *)"ListItem_HasAttributes", (PyCFunction
) _wrap_ListItem_HasAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32155 { (char *)"ListItem_GetTextColour", (PyCFunction
) _wrap_ListItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32156 { (char *)"ListItem_GetBackgroundColour", (PyCFunction
) _wrap_ListItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32157 { (char *)"ListItem_GetFont", (PyCFunction
) _wrap_ListItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32158 { (char *)"ListItem_m_mask_set", (PyCFunction
) _wrap_ListItem_m_mask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32159 { (char *)"ListItem_m_mask_get", (PyCFunction
) _wrap_ListItem_m_mask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32160 { (char *)"ListItem_m_itemId_set", (PyCFunction
) _wrap_ListItem_m_itemId_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32161 { (char *)"ListItem_m_itemId_get", (PyCFunction
) _wrap_ListItem_m_itemId_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32162 { (char *)"ListItem_m_col_set", (PyCFunction
) _wrap_ListItem_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32163 { (char *)"ListItem_m_col_get", (PyCFunction
) _wrap_ListItem_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32164 { (char *)"ListItem_m_state_set", (PyCFunction
) _wrap_ListItem_m_state_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32165 { (char *)"ListItem_m_state_get", (PyCFunction
) _wrap_ListItem_m_state_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32166 { (char *)"ListItem_m_stateMask_set", (PyCFunction
) _wrap_ListItem_m_stateMask_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32167 { (char *)"ListItem_m_stateMask_get", (PyCFunction
) _wrap_ListItem_m_stateMask_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32168 { (char *)"ListItem_m_text_set", (PyCFunction
) _wrap_ListItem_m_text_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32169 { (char *)"ListItem_m_text_get", (PyCFunction
) _wrap_ListItem_m_text_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32170 { (char *)"ListItem_m_image_set", (PyCFunction
) _wrap_ListItem_m_image_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32171 { (char *)"ListItem_m_image_get", (PyCFunction
) _wrap_ListItem_m_image_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32172 { (char *)"ListItem_m_data_set", (PyCFunction
) _wrap_ListItem_m_data_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32173 { (char *)"ListItem_m_data_get", (PyCFunction
) _wrap_ListItem_m_data_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32174 { (char *)"ListItem_m_format_set", (PyCFunction
) _wrap_ListItem_m_format_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32175 { (char *)"ListItem_m_format_get", (PyCFunction
) _wrap_ListItem_m_format_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32176 { (char *)"ListItem_m_width_set", (PyCFunction
) _wrap_ListItem_m_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32177 { (char *)"ListItem_m_width_get", (PyCFunction
) _wrap_ListItem_m_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32178 { (char *)"ListItem_swigregister", ListItem_swigregister
, METH_VARARGS
, NULL
},
32179 { (char *)"new_ListEvent", (PyCFunction
) _wrap_new_ListEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32180 { (char *)"ListEvent_m_code_set", (PyCFunction
) _wrap_ListEvent_m_code_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32181 { (char *)"ListEvent_m_code_get", (PyCFunction
) _wrap_ListEvent_m_code_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32182 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32183 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction
) _wrap_ListEvent_m_oldItemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32184 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction
) _wrap_ListEvent_m_itemIndex_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32185 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction
) _wrap_ListEvent_m_itemIndex_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32186 { (char *)"ListEvent_m_col_set", (PyCFunction
) _wrap_ListEvent_m_col_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32187 { (char *)"ListEvent_m_col_get", (PyCFunction
) _wrap_ListEvent_m_col_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32188 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction
) _wrap_ListEvent_m_pointDrag_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32189 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction
) _wrap_ListEvent_m_pointDrag_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32190 { (char *)"ListEvent_m_item_get", (PyCFunction
) _wrap_ListEvent_m_item_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32191 { (char *)"ListEvent_GetKeyCode", (PyCFunction
) _wrap_ListEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32192 { (char *)"ListEvent_GetIndex", (PyCFunction
) _wrap_ListEvent_GetIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32193 { (char *)"ListEvent_GetColumn", (PyCFunction
) _wrap_ListEvent_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32194 { (char *)"ListEvent_GetPoint", (PyCFunction
) _wrap_ListEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32195 { (char *)"ListEvent_GetLabel", (PyCFunction
) _wrap_ListEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32196 { (char *)"ListEvent_GetText", (PyCFunction
) _wrap_ListEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32197 { (char *)"ListEvent_GetImage", (PyCFunction
) _wrap_ListEvent_GetImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32198 { (char *)"ListEvent_GetData", (PyCFunction
) _wrap_ListEvent_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32199 { (char *)"ListEvent_GetMask", (PyCFunction
) _wrap_ListEvent_GetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32200 { (char *)"ListEvent_GetItem", (PyCFunction
) _wrap_ListEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32201 { (char *)"ListEvent_GetCacheFrom", (PyCFunction
) _wrap_ListEvent_GetCacheFrom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32202 { (char *)"ListEvent_GetCacheTo", (PyCFunction
) _wrap_ListEvent_GetCacheTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32203 { (char *)"ListEvent_IsEditCancelled", (PyCFunction
) _wrap_ListEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32204 { (char *)"ListEvent_SetEditCanceled", (PyCFunction
) _wrap_ListEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32205 { (char *)"ListEvent_swigregister", ListEvent_swigregister
, METH_VARARGS
, NULL
},
32206 { (char *)"new_ListCtrl", (PyCFunction
) _wrap_new_ListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32207 { (char *)"new_PreListCtrl", (PyCFunction
) _wrap_new_PreListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32208 { (char *)"ListCtrl_Create", (PyCFunction
) _wrap_ListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32209 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction
) _wrap_ListCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32210 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction
) _wrap_ListCtrl_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32211 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32212 { (char *)"ListCtrl_GetColumn", (PyCFunction
) _wrap_ListCtrl_GetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32213 { (char *)"ListCtrl_SetColumn", (PyCFunction
) _wrap_ListCtrl_SetColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32214 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction
) _wrap_ListCtrl_GetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32215 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction
) _wrap_ListCtrl_SetColumnWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32216 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction
) _wrap_ListCtrl_GetCountPerPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32217 { (char *)"ListCtrl_GetViewRect", (PyCFunction
) _wrap_ListCtrl_GetViewRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32218 { (char *)"ListCtrl_GetEditControl", (PyCFunction
) _wrap_ListCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32219 { (char *)"ListCtrl_GetItem", (PyCFunction
) _wrap_ListCtrl_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32220 { (char *)"ListCtrl_SetItem", (PyCFunction
) _wrap_ListCtrl_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32221 { (char *)"ListCtrl_SetStringItem", (PyCFunction
) _wrap_ListCtrl_SetStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32222 { (char *)"ListCtrl_GetItemState", (PyCFunction
) _wrap_ListCtrl_GetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32223 { (char *)"ListCtrl_SetItemState", (PyCFunction
) _wrap_ListCtrl_SetItemState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32224 { (char *)"ListCtrl_SetItemImage", (PyCFunction
) _wrap_ListCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32225 { (char *)"ListCtrl_GetItemText", (PyCFunction
) _wrap_ListCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32226 { (char *)"ListCtrl_SetItemText", (PyCFunction
) _wrap_ListCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32227 { (char *)"ListCtrl_GetItemData", (PyCFunction
) _wrap_ListCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32228 { (char *)"ListCtrl_SetItemData", (PyCFunction
) _wrap_ListCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32229 { (char *)"ListCtrl_GetItemPosition", (PyCFunction
) _wrap_ListCtrl_GetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32230 { (char *)"ListCtrl_GetItemRect", (PyCFunction
) _wrap_ListCtrl_GetItemRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32231 { (char *)"ListCtrl_SetItemPosition", (PyCFunction
) _wrap_ListCtrl_SetItemPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32232 { (char *)"ListCtrl_GetItemCount", (PyCFunction
) _wrap_ListCtrl_GetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32233 { (char *)"ListCtrl_GetColumnCount", (PyCFunction
) _wrap_ListCtrl_GetColumnCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32234 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction
) _wrap_ListCtrl_GetItemSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32235 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction
) _wrap_ListCtrl_GetSelectedItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32236 { (char *)"ListCtrl_GetTextColour", (PyCFunction
) _wrap_ListCtrl_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32237 { (char *)"ListCtrl_SetTextColour", (PyCFunction
) _wrap_ListCtrl_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32238 { (char *)"ListCtrl_GetTopItem", (PyCFunction
) _wrap_ListCtrl_GetTopItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32239 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction
) _wrap_ListCtrl_SetSingleStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32240 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction
) _wrap_ListCtrl_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32241 { (char *)"ListCtrl_GetNextItem", (PyCFunction
) _wrap_ListCtrl_GetNextItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32242 { (char *)"ListCtrl_GetImageList", (PyCFunction
) _wrap_ListCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32243 { (char *)"ListCtrl_SetImageList", (PyCFunction
) _wrap_ListCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32244 { (char *)"ListCtrl_AssignImageList", (PyCFunction
) _wrap_ListCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32245 { (char *)"ListCtrl_InReportView", (PyCFunction
) _wrap_ListCtrl_InReportView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32246 { (char *)"ListCtrl_IsVirtual", (PyCFunction
) _wrap_ListCtrl_IsVirtual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32247 { (char *)"ListCtrl_RefreshItem", (PyCFunction
) _wrap_ListCtrl_RefreshItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32248 { (char *)"ListCtrl_RefreshItems", (PyCFunction
) _wrap_ListCtrl_RefreshItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32249 { (char *)"ListCtrl_Arrange", (PyCFunction
) _wrap_ListCtrl_Arrange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32250 { (char *)"ListCtrl_DeleteItem", (PyCFunction
) _wrap_ListCtrl_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32251 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction
) _wrap_ListCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32252 { (char *)"ListCtrl_DeleteColumn", (PyCFunction
) _wrap_ListCtrl_DeleteColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32253 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction
) _wrap_ListCtrl_DeleteAllColumns
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32254 { (char *)"ListCtrl_ClearAll", (PyCFunction
) _wrap_ListCtrl_ClearAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32255 { (char *)"ListCtrl_EditLabel", (PyCFunction
) _wrap_ListCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32256 { (char *)"ListCtrl_EndEditLabel", (PyCFunction
) _wrap_ListCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32257 { (char *)"ListCtrl_EnsureVisible", (PyCFunction
) _wrap_ListCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32258 { (char *)"ListCtrl_FindItem", (PyCFunction
) _wrap_ListCtrl_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32259 { (char *)"ListCtrl_FindItemData", (PyCFunction
) _wrap_ListCtrl_FindItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32260 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction
) _wrap_ListCtrl_FindItemAtPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32261 { (char *)"ListCtrl_HitTest", (PyCFunction
) _wrap_ListCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32262 { (char *)"ListCtrl_InsertItem", (PyCFunction
) _wrap_ListCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32263 { (char *)"ListCtrl_InsertStringItem", (PyCFunction
) _wrap_ListCtrl_InsertStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32264 { (char *)"ListCtrl_InsertImageItem", (PyCFunction
) _wrap_ListCtrl_InsertImageItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32265 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction
) _wrap_ListCtrl_InsertImageStringItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32266 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction
) _wrap_ListCtrl_InsertColumnInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32267 { (char *)"ListCtrl_InsertColumn", (PyCFunction
) _wrap_ListCtrl_InsertColumn
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32268 { (char *)"ListCtrl_SetItemCount", (PyCFunction
) _wrap_ListCtrl_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32269 { (char *)"ListCtrl_ScrollList", (PyCFunction
) _wrap_ListCtrl_ScrollList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32270 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction
) _wrap_ListCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32271 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction
) _wrap_ListCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32272 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32273 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_ListCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32274 { (char *)"ListCtrl_SortItems", (PyCFunction
) _wrap_ListCtrl_SortItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32275 { (char *)"ListCtrl_GetMainWindow", (PyCFunction
) _wrap_ListCtrl_GetMainWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32276 { (char *)"ListCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_ListCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32277 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister
, METH_VARARGS
, NULL
},
32278 { (char *)"new_ListView", (PyCFunction
) _wrap_new_ListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32279 { (char *)"new_PreListView", (PyCFunction
) _wrap_new_PreListView
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32280 { (char *)"ListView_Create", (PyCFunction
) _wrap_ListView_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32281 { (char *)"ListView_Select", (PyCFunction
) _wrap_ListView_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32282 { (char *)"ListView_Focus", (PyCFunction
) _wrap_ListView_Focus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32283 { (char *)"ListView_GetFocusedItem", (PyCFunction
) _wrap_ListView_GetFocusedItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32284 { (char *)"ListView_GetNextSelected", (PyCFunction
) _wrap_ListView_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32285 { (char *)"ListView_GetFirstSelected", (PyCFunction
) _wrap_ListView_GetFirstSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32286 { (char *)"ListView_IsSelected", (PyCFunction
) _wrap_ListView_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32287 { (char *)"ListView_SetColumnImage", (PyCFunction
) _wrap_ListView_SetColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32288 { (char *)"ListView_ClearColumnImage", (PyCFunction
) _wrap_ListView_ClearColumnImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32289 { (char *)"ListView_swigregister", ListView_swigregister
, METH_VARARGS
, NULL
},
32290 { (char *)"new_TreeItemId", (PyCFunction
) _wrap_new_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32291 { (char *)"delete_TreeItemId", (PyCFunction
) _wrap_delete_TreeItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32292 { (char *)"TreeItemId_IsOk", (PyCFunction
) _wrap_TreeItemId_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32293 { (char *)"TreeItemId___eq__", (PyCFunction
) _wrap_TreeItemId___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32294 { (char *)"TreeItemId___ne__", (PyCFunction
) _wrap_TreeItemId___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32295 { (char *)"TreeItemId_m_pItem_set", (PyCFunction
) _wrap_TreeItemId_m_pItem_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32296 { (char *)"TreeItemId_m_pItem_get", (PyCFunction
) _wrap_TreeItemId_m_pItem_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32297 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister
, METH_VARARGS
, NULL
},
32298 { (char *)"new_TreeItemData", (PyCFunction
) _wrap_new_TreeItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32299 { (char *)"TreeItemData_GetData", (PyCFunction
) _wrap_TreeItemData_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32300 { (char *)"TreeItemData_SetData", (PyCFunction
) _wrap_TreeItemData_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32301 { (char *)"TreeItemData_GetId", (PyCFunction
) _wrap_TreeItemData_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32302 { (char *)"TreeItemData_SetId", (PyCFunction
) _wrap_TreeItemData_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32303 { (char *)"TreeItemData_Destroy", (PyCFunction
) _wrap_TreeItemData_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32304 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister
, METH_VARARGS
, NULL
},
32305 { (char *)"new_TreeEvent", (PyCFunction
) _wrap_new_TreeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32306 { (char *)"TreeEvent_GetItem", (PyCFunction
) _wrap_TreeEvent_GetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32307 { (char *)"TreeEvent_SetItem", (PyCFunction
) _wrap_TreeEvent_SetItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32308 { (char *)"TreeEvent_GetOldItem", (PyCFunction
) _wrap_TreeEvent_GetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32309 { (char *)"TreeEvent_SetOldItem", (PyCFunction
) _wrap_TreeEvent_SetOldItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32310 { (char *)"TreeEvent_GetPoint", (PyCFunction
) _wrap_TreeEvent_GetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32311 { (char *)"TreeEvent_SetPoint", (PyCFunction
) _wrap_TreeEvent_SetPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32312 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction
) _wrap_TreeEvent_GetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32313 { (char *)"TreeEvent_GetKeyCode", (PyCFunction
) _wrap_TreeEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32314 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction
) _wrap_TreeEvent_SetKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32315 { (char *)"TreeEvent_GetLabel", (PyCFunction
) _wrap_TreeEvent_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32316 { (char *)"TreeEvent_SetLabel", (PyCFunction
) _wrap_TreeEvent_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32317 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction
) _wrap_TreeEvent_IsEditCancelled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32318 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction
) _wrap_TreeEvent_SetEditCanceled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32319 { (char *)"TreeEvent_SetToolTip", (PyCFunction
) _wrap_TreeEvent_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32320 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister
, METH_VARARGS
, NULL
},
32321 { (char *)"new_TreeCtrl", (PyCFunction
) _wrap_new_TreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32322 { (char *)"new_PreTreeCtrl", (PyCFunction
) _wrap_new_PreTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32323 { (char *)"TreeCtrl_Create", (PyCFunction
) _wrap_TreeCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32324 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction
) _wrap_TreeCtrl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32325 { (char *)"TreeCtrl_GetCount", (PyCFunction
) _wrap_TreeCtrl_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32326 { (char *)"TreeCtrl_GetIndent", (PyCFunction
) _wrap_TreeCtrl_GetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32327 { (char *)"TreeCtrl_SetIndent", (PyCFunction
) _wrap_TreeCtrl_SetIndent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32328 { (char *)"TreeCtrl_GetSpacing", (PyCFunction
) _wrap_TreeCtrl_GetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32329 { (char *)"TreeCtrl_SetSpacing", (PyCFunction
) _wrap_TreeCtrl_SetSpacing
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32330 { (char *)"TreeCtrl_GetImageList", (PyCFunction
) _wrap_TreeCtrl_GetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32331 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction
) _wrap_TreeCtrl_GetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32332 { (char *)"TreeCtrl_SetImageList", (PyCFunction
) _wrap_TreeCtrl_SetImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32333 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction
) _wrap_TreeCtrl_SetStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32334 { (char *)"TreeCtrl_AssignImageList", (PyCFunction
) _wrap_TreeCtrl_AssignImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32335 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction
) _wrap_TreeCtrl_AssignStateImageList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32336 { (char *)"TreeCtrl_GetItemText", (PyCFunction
) _wrap_TreeCtrl_GetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32337 { (char *)"TreeCtrl_GetItemImage", (PyCFunction
) _wrap_TreeCtrl_GetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32338 { (char *)"TreeCtrl_GetItemData", (PyCFunction
) _wrap_TreeCtrl_GetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32339 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction
) _wrap_TreeCtrl_GetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32340 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_GetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32341 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_GetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32342 { (char *)"TreeCtrl_GetItemFont", (PyCFunction
) _wrap_TreeCtrl_GetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32343 { (char *)"TreeCtrl_SetItemText", (PyCFunction
) _wrap_TreeCtrl_SetItemText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32344 { (char *)"TreeCtrl_SetItemImage", (PyCFunction
) _wrap_TreeCtrl_SetItemImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32345 { (char *)"TreeCtrl_SetItemData", (PyCFunction
) _wrap_TreeCtrl_SetItemData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32346 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction
) _wrap_TreeCtrl_SetItemPyData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32347 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_SetItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32348 { (char *)"TreeCtrl_SetItemBold", (PyCFunction
) _wrap_TreeCtrl_SetItemBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32349 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction
) _wrap_TreeCtrl_SetItemDropHighlight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32350 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction
) _wrap_TreeCtrl_SetItemTextColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32351 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction
) _wrap_TreeCtrl_SetItemBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32352 { (char *)"TreeCtrl_SetItemFont", (PyCFunction
) _wrap_TreeCtrl_SetItemFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32353 { (char *)"TreeCtrl_IsVisible", (PyCFunction
) _wrap_TreeCtrl_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32354 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction
) _wrap_TreeCtrl_ItemHasChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32355 { (char *)"TreeCtrl_IsExpanded", (PyCFunction
) _wrap_TreeCtrl_IsExpanded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32356 { (char *)"TreeCtrl_IsSelected", (PyCFunction
) _wrap_TreeCtrl_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32357 { (char *)"TreeCtrl_IsBold", (PyCFunction
) _wrap_TreeCtrl_IsBold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32358 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction
) _wrap_TreeCtrl_GetChildrenCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32359 { (char *)"TreeCtrl_GetRootItem", (PyCFunction
) _wrap_TreeCtrl_GetRootItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32360 { (char *)"TreeCtrl_GetSelection", (PyCFunction
) _wrap_TreeCtrl_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32361 { (char *)"TreeCtrl_GetSelections", (PyCFunction
) _wrap_TreeCtrl_GetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32362 { (char *)"TreeCtrl_GetItemParent", (PyCFunction
) _wrap_TreeCtrl_GetItemParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32363 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction
) _wrap_TreeCtrl_GetFirstChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32364 { (char *)"TreeCtrl_GetNextChild", (PyCFunction
) _wrap_TreeCtrl_GetNextChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32365 { (char *)"TreeCtrl_GetLastChild", (PyCFunction
) _wrap_TreeCtrl_GetLastChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32366 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction
) _wrap_TreeCtrl_GetNextSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32367 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction
) _wrap_TreeCtrl_GetPrevSibling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32368 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction
) _wrap_TreeCtrl_GetFirstVisibleItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32369 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction
) _wrap_TreeCtrl_GetNextVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32370 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction
) _wrap_TreeCtrl_GetPrevVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32371 { (char *)"TreeCtrl_AddRoot", (PyCFunction
) _wrap_TreeCtrl_AddRoot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32372 { (char *)"TreeCtrl_PrependItem", (PyCFunction
) _wrap_TreeCtrl_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32373 { (char *)"TreeCtrl_InsertItem", (PyCFunction
) _wrap_TreeCtrl_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32374 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction
) _wrap_TreeCtrl_InsertItemBefore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32375 { (char *)"TreeCtrl_AppendItem", (PyCFunction
) _wrap_TreeCtrl_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32376 { (char *)"TreeCtrl_Delete", (PyCFunction
) _wrap_TreeCtrl_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32377 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction
) _wrap_TreeCtrl_DeleteChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32378 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction
) _wrap_TreeCtrl_DeleteAllItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32379 { (char *)"TreeCtrl_Expand", (PyCFunction
) _wrap_TreeCtrl_Expand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32380 { (char *)"TreeCtrl_Collapse", (PyCFunction
) _wrap_TreeCtrl_Collapse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32381 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction
) _wrap_TreeCtrl_CollapseAndReset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32382 { (char *)"TreeCtrl_Toggle", (PyCFunction
) _wrap_TreeCtrl_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32383 { (char *)"TreeCtrl_Unselect", (PyCFunction
) _wrap_TreeCtrl_Unselect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32384 { (char *)"TreeCtrl_UnselectItem", (PyCFunction
) _wrap_TreeCtrl_UnselectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32385 { (char *)"TreeCtrl_UnselectAll", (PyCFunction
) _wrap_TreeCtrl_UnselectAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32386 { (char *)"TreeCtrl_SelectItem", (PyCFunction
) _wrap_TreeCtrl_SelectItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32387 { (char *)"TreeCtrl_ToggleItemSelection", (PyCFunction
) _wrap_TreeCtrl_ToggleItemSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32388 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction
) _wrap_TreeCtrl_EnsureVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32389 { (char *)"TreeCtrl_ScrollTo", (PyCFunction
) _wrap_TreeCtrl_ScrollTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32390 { (char *)"TreeCtrl_EditLabel", (PyCFunction
) _wrap_TreeCtrl_EditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32391 { (char *)"TreeCtrl_GetEditControl", (PyCFunction
) _wrap_TreeCtrl_GetEditControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32392 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction
) _wrap_TreeCtrl_EndEditLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32393 { (char *)"TreeCtrl_SortChildren", (PyCFunction
) _wrap_TreeCtrl_SortChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32394 { (char *)"TreeCtrl_HitTest", (PyCFunction
) _wrap_TreeCtrl_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32395 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction
) _wrap_TreeCtrl_GetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32396 { (char *)"TreeCtrl_SetState", (PyCFunction
) _wrap_TreeCtrl_SetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32397 { (char *)"TreeCtrl_GetState", (PyCFunction
) _wrap_TreeCtrl_GetState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32398 { (char *)"TreeCtrl_GetClassDefaultAttributes", (PyCFunction
) _wrap_TreeCtrl_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32399 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister
, METH_VARARGS
, NULL
},
32400 { (char *)"new_GenericDirCtrl", (PyCFunction
) _wrap_new_GenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32401 { (char *)"new_PreGenericDirCtrl", (PyCFunction
) _wrap_new_PreGenericDirCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32402 { (char *)"GenericDirCtrl_Create", (PyCFunction
) _wrap_GenericDirCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32403 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction
) _wrap_GenericDirCtrl_ExpandPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32404 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_GetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32405 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction
) _wrap_GenericDirCtrl_SetDefaultPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32406 { (char *)"GenericDirCtrl_GetPath", (PyCFunction
) _wrap_GenericDirCtrl_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32407 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction
) _wrap_GenericDirCtrl_GetFilePath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32408 { (char *)"GenericDirCtrl_SetPath", (PyCFunction
) _wrap_GenericDirCtrl_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32409 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_ShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32410 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction
) _wrap_GenericDirCtrl_GetShowHidden
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32411 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction
) _wrap_GenericDirCtrl_GetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32412 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction
) _wrap_GenericDirCtrl_SetFilter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32413 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32414 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction
) _wrap_GenericDirCtrl_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32415 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction
) _wrap_GenericDirCtrl_GetRootId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32416 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetTreeCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32417 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction
) _wrap_GenericDirCtrl_GetFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32418 { (char *)"GenericDirCtrl_FindChild", (PyCFunction
) _wrap_GenericDirCtrl_FindChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32419 { (char *)"GenericDirCtrl_DoResize", (PyCFunction
) _wrap_GenericDirCtrl_DoResize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32420 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction
) _wrap_GenericDirCtrl_ReCreateTree
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32421 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister
, METH_VARARGS
, NULL
},
32422 { (char *)"new_DirFilterListCtrl", (PyCFunction
) _wrap_new_DirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32423 { (char *)"new_PreDirFilterListCtrl", (PyCFunction
) _wrap_new_PreDirFilterListCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32424 { (char *)"DirFilterListCtrl_Create", (PyCFunction
) _wrap_DirFilterListCtrl_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32425 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction
) _wrap_DirFilterListCtrl_FillFilterList
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32426 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister
, METH_VARARGS
, NULL
},
32427 { (char *)"new_PyControl", (PyCFunction
) _wrap_new_PyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32428 { (char *)"new_PrePyControl", (PyCFunction
) _wrap_new_PrePyControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32429 { (char *)"PyControl__setCallbackInfo", (PyCFunction
) _wrap_PyControl__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32430 { (char *)"PyControl_SetBestSize", (PyCFunction
) _wrap_PyControl_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32431 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction
) _wrap_PyControl_base_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32432 { (char *)"PyControl_base_DoSetSize", (PyCFunction
) _wrap_PyControl_base_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32433 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction
) _wrap_PyControl_base_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32434 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32435 { (char *)"PyControl_base_DoGetSize", (PyCFunction
) _wrap_PyControl_base_DoGetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32436 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction
) _wrap_PyControl_base_DoGetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32437 { (char *)"PyControl_base_DoGetPosition", (PyCFunction
) _wrap_PyControl_base_DoGetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32438 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction
) _wrap_PyControl_base_DoGetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32439 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction
) _wrap_PyControl_base_DoGetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32440 { (char *)"PyControl_base_InitDialog", (PyCFunction
) _wrap_PyControl_base_InitDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32441 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32442 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction
) _wrap_PyControl_base_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32443 { (char *)"PyControl_base_Validate", (PyCFunction
) _wrap_PyControl_base_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32444 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction
) _wrap_PyControl_base_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32445 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_PyControl_base_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32446 { (char *)"PyControl_base_GetMaxSize", (PyCFunction
) _wrap_PyControl_base_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32447 { (char *)"PyControl_base_AddChild", (PyCFunction
) _wrap_PyControl_base_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32448 { (char *)"PyControl_base_RemoveChild", (PyCFunction
) _wrap_PyControl_base_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32449 { (char *)"PyControl_base_ShouldInheritColours", (PyCFunction
) _wrap_PyControl_base_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32450 { (char *)"PyControl_base_ApplyParentThemeBackground", (PyCFunction
) _wrap_PyControl_base_ApplyParentThemeBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32451 { (char *)"PyControl_base_GetDefaultAttributes", (PyCFunction
) _wrap_PyControl_base_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32452 { (char *)"PyControl_swigregister", PyControl_swigregister
, METH_VARARGS
, NULL
},
32453 { (char *)"new_HelpEvent", (PyCFunction
) _wrap_new_HelpEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32454 { (char *)"HelpEvent_GetPosition", (PyCFunction
) _wrap_HelpEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32455 { (char *)"HelpEvent_SetPosition", (PyCFunction
) _wrap_HelpEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32456 { (char *)"HelpEvent_GetLink", (PyCFunction
) _wrap_HelpEvent_GetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32457 { (char *)"HelpEvent_SetLink", (PyCFunction
) _wrap_HelpEvent_SetLink
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32458 { (char *)"HelpEvent_GetTarget", (PyCFunction
) _wrap_HelpEvent_GetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32459 { (char *)"HelpEvent_SetTarget", (PyCFunction
) _wrap_HelpEvent_SetTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32460 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister
, METH_VARARGS
, NULL
},
32461 { (char *)"new_ContextHelp", (PyCFunction
) _wrap_new_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32462 { (char *)"delete_ContextHelp", (PyCFunction
) _wrap_delete_ContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32463 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction
) _wrap_ContextHelp_BeginContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32464 { (char *)"ContextHelp_EndContextHelp", (PyCFunction
) _wrap_ContextHelp_EndContextHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32465 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister
, METH_VARARGS
, NULL
},
32466 { (char *)"new_ContextHelpButton", (PyCFunction
) _wrap_new_ContextHelpButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32467 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister
, METH_VARARGS
, NULL
},
32468 { (char *)"HelpProvider_Set", (PyCFunction
) _wrap_HelpProvider_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32469 { (char *)"HelpProvider_Get", (PyCFunction
) _wrap_HelpProvider_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32470 { (char *)"HelpProvider_GetHelp", (PyCFunction
) _wrap_HelpProvider_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32471 { (char *)"HelpProvider_ShowHelp", (PyCFunction
) _wrap_HelpProvider_ShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32472 { (char *)"HelpProvider_AddHelp", (PyCFunction
) _wrap_HelpProvider_AddHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32473 { (char *)"HelpProvider_AddHelpById", (PyCFunction
) _wrap_HelpProvider_AddHelpById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32474 { (char *)"HelpProvider_RemoveHelp", (PyCFunction
) _wrap_HelpProvider_RemoveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32475 { (char *)"HelpProvider_Destroy", (PyCFunction
) _wrap_HelpProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32476 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister
, METH_VARARGS
, NULL
},
32477 { (char *)"new_SimpleHelpProvider", (PyCFunction
) _wrap_new_SimpleHelpProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32478 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister
, METH_VARARGS
, NULL
},
32479 { (char *)"new_DragImage", (PyCFunction
) _wrap_new_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32480 { (char *)"new_DragIcon", (PyCFunction
) _wrap_new_DragIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32481 { (char *)"new_DragString", (PyCFunction
) _wrap_new_DragString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32482 { (char *)"new_DragTreeItem", (PyCFunction
) _wrap_new_DragTreeItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32483 { (char *)"new_DragListItem", (PyCFunction
) _wrap_new_DragListItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32484 { (char *)"delete_DragImage", (PyCFunction
) _wrap_delete_DragImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32485 { (char *)"DragImage_SetBackingBitmap", (PyCFunction
) _wrap_DragImage_SetBackingBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32486 { (char *)"DragImage_BeginDrag", (PyCFunction
) _wrap_DragImage_BeginDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32487 { (char *)"DragImage_BeginDragBounded", (PyCFunction
) _wrap_DragImage_BeginDragBounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32488 { (char *)"DragImage_EndDrag", (PyCFunction
) _wrap_DragImage_EndDrag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32489 { (char *)"DragImage_Move", (PyCFunction
) _wrap_DragImage_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32490 { (char *)"DragImage_Show", (PyCFunction
) _wrap_DragImage_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32491 { (char *)"DragImage_Hide", (PyCFunction
) _wrap_DragImage_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32492 { (char *)"DragImage_GetImageRect", (PyCFunction
) _wrap_DragImage_GetImageRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32493 { (char *)"DragImage_DoDrawImage", (PyCFunction
) _wrap_DragImage_DoDrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32494 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction
) _wrap_DragImage_UpdateBackingFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32495 { (char *)"DragImage_RedrawImage", (PyCFunction
) _wrap_DragImage_RedrawImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32496 { (char *)"DragImage_swigregister", DragImage_swigregister
, METH_VARARGS
, NULL
},
32497 { NULL
, NULL
, 0, NULL
}
32501 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32503 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x
) {
32504 return (void *)((wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32506 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x
) {
32507 return (void *)((wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32509 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
32510 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
32512 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
32513 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32515 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
32516 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32518 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
32519 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
32521 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
32522 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32524 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x
) {
32525 return (void *)((wxSizer
*) ((wxNotebookSizer
*) x
));
32527 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
32528 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
32530 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x
) {
32531 return (void *)((wxSizer
*) ((wxBookCtrlSizer
*) x
));
32533 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32534 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32536 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32537 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32539 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32540 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32542 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32543 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32545 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32546 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32548 static void *_p_wxTreeEventTo_p_wxEvent(void *x
) {
32549 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32551 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32552 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32554 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32555 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32557 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32558 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32560 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x
) {
32561 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32563 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x
) {
32564 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32566 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32567 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32569 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32570 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32572 static void *_p_wxListEventTo_p_wxEvent(void *x
) {
32573 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
32575 static void *_p_wxNotebookEventTo_p_wxEvent(void *x
) {
32576 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32578 static void *_p_wxListbookEventTo_p_wxEvent(void *x
) {
32579 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32581 static void *_p_wxHelpEventTo_p_wxEvent(void *x
) {
32582 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxHelpEvent
*) x
));
32584 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32585 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32587 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32588 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32590 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32591 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32593 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32594 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32596 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32597 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32599 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32600 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32602 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32603 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32605 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32606 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32608 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32609 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32611 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32612 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32614 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32615 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32617 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32618 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32620 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32621 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32623 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32624 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32626 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32627 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32629 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32630 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32632 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32633 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32635 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32636 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32638 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32639 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32641 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32642 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32644 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32645 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32647 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32648 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32650 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32651 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32653 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32654 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32656 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32657 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32659 static void *_p_wxSpinEventTo_p_wxEvent(void *x
) {
32660 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32662 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x
) {
32663 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
32665 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x
) {
32666 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32668 static void *_p_wxChoiceTo_p_wxItemContainer(void *x
) {
32669 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32671 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
32672 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
32674 static void *_p_wxListBoxTo_p_wxItemContainer(void *x
) {
32675 return (void *)((wxItemContainer
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32677 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x
) {
32678 return (void *)((wxItemContainer
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32680 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x
) {
32681 return (void *)((wxPyListCtrl
*) ((wxListView
*) x
));
32683 static void *_p_wxCheckListBoxTo_p_wxControl(void *x
) {
32684 return (void *)((wxControl
*) (wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32686 static void *_p_wxListBoxTo_p_wxControl(void *x
) {
32687 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxListBox
*) x
));
32689 static void *_p_wxChoiceTo_p_wxControl(void *x
) {
32690 return (void *)((wxControl
*) (wxControlWithItems
*) ((wxChoice
*) x
));
32692 static void *_p_wxToolBarTo_p_wxControl(void *x
) {
32693 return (void *)((wxControl
*) (wxToolBarBase
*) ((wxToolBar
*) x
));
32695 static void *_p_wxStaticBitmapTo_p_wxControl(void *x
) {
32696 return (void *)((wxControl
*) ((wxStaticBitmap
*) x
));
32698 static void *_p_wxComboBoxTo_p_wxControl(void *x
) {
32699 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
32701 static void *_p_wxSpinCtrlTo_p_wxControl(void *x
) {
32702 return (void *)((wxControl
*) ((wxSpinCtrl
*) x
));
32704 static void *_p_wxStaticBoxTo_p_wxControl(void *x
) {
32705 return (void *)((wxControl
*) ((wxStaticBox
*) x
));
32707 static void *_p_wxPyListCtrlTo_p_wxControl(void *x
) {
32708 return (void *)((wxControl
*) ((wxPyListCtrl
*) x
));
32710 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x
) {
32711 return (void *)((wxControl
*) ((wxPyTreeCtrl
*) x
));
32713 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x
) {
32714 return (void *)((wxControl
*) (wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32716 static void *_p_wxScrollBarTo_p_wxControl(void *x
) {
32717 return (void *)((wxControl
*) ((wxScrollBar
*) x
));
32719 static void *_p_wxBookCtrlTo_p_wxControl(void *x
) {
32720 return (void *)((wxControl
*) ((wxBookCtrl
*) x
));
32722 static void *_p_wxRadioButtonTo_p_wxControl(void *x
) {
32723 return (void *)((wxControl
*) ((wxRadioButton
*) x
));
32725 static void *_p_wxToggleButtonTo_p_wxControl(void *x
) {
32726 return (void *)((wxControl
*) ((wxToggleButton
*) x
));
32728 static void *_p_wxGaugeTo_p_wxControl(void *x
) {
32729 return (void *)((wxControl
*) ((wxGauge
*) x
));
32731 static void *_p_wxToolBarBaseTo_p_wxControl(void *x
) {
32732 return (void *)((wxControl
*) ((wxToolBarBase
*) x
));
32734 static void *_p_wxBitmapButtonTo_p_wxControl(void *x
) {
32735 return (void *)((wxControl
*) (wxButton
*) ((wxBitmapButton
*) x
));
32737 static void *_p_wxButtonTo_p_wxControl(void *x
) {
32738 return (void *)((wxControl
*) ((wxButton
*) x
));
32740 static void *_p_wxSpinButtonTo_p_wxControl(void *x
) {
32741 return (void *)((wxControl
*) ((wxSpinButton
*) x
));
32743 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x
) {
32744 return (void *)((wxControl
*) (wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32746 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
32747 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
32749 static void *_p_wxRadioBoxTo_p_wxControl(void *x
) {
32750 return (void *)((wxControl
*) ((wxRadioBox
*) x
));
32752 static void *_p_wxNotebookTo_p_wxControl(void *x
) {
32753 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxNotebook
*) x
));
32755 static void *_p_wxListbookTo_p_wxControl(void *x
) {
32756 return (void *)((wxControl
*) (wxBookCtrl
*) ((wxListbook
*) x
));
32758 static void *_p_wxCheckBoxTo_p_wxControl(void *x
) {
32759 return (void *)((wxControl
*) ((wxCheckBox
*) x
));
32761 static void *_p_wxTextCtrlTo_p_wxControl(void *x
) {
32762 return (void *)((wxControl
*) ((wxTextCtrl
*) x
));
32764 static void *_p_wxListViewTo_p_wxControl(void *x
) {
32765 return (void *)((wxControl
*) (wxPyListCtrl
*) ((wxListView
*) x
));
32767 static void *_p_wxSliderTo_p_wxControl(void *x
) {
32768 return (void *)((wxControl
*) ((wxSlider
*) x
));
32770 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x
) {
32771 return (void *)((wxControl
*) ((wxGenericDirCtrl
*) x
));
32773 static void *_p_wxPyControlTo_p_wxControl(void *x
) {
32774 return (void *)((wxControl
*) ((wxPyControl
*) x
));
32776 static void *_p_wxStaticLineTo_p_wxControl(void *x
) {
32777 return (void *)((wxControl
*) ((wxStaticLine
*) x
));
32779 static void *_p_wxStaticTextTo_p_wxControl(void *x
) {
32780 return (void *)((wxControl
*) ((wxStaticText
*) x
));
32782 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x
) {
32783 return (void *)((wxToolBarBase
*) ((wxToolBar
*) x
));
32785 static void *_p_wxComboBoxTo_p_wxChoice(void *x
) {
32786 return (void *)((wxChoice
*) ((wxComboBox
*) x
));
32788 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x
) {
32789 return (void *)((wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32791 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x
) {
32792 return (void *)((wxNotifyEvent
*) ((wxTreeEvent
*) x
));
32794 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x
) {
32795 return (void *)((wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32797 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x
) {
32798 return (void *)((wxNotifyEvent
*) ((wxListEvent
*) x
));
32800 static void *_p_wxSpinEventTo_p_wxNotifyEvent(void *x
) {
32801 return (void *)((wxNotifyEvent
*) ((wxSpinEvent
*) x
));
32803 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x
) {
32804 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
32806 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x
) {
32807 return (void *)((wxNotifyEvent
*) (wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
32809 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x
) {
32810 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
32812 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32813 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32815 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32816 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32818 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32819 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32821 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x
) {
32822 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
32824 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32825 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32827 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x
) {
32828 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
32830 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x
) {
32831 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
32833 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32834 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32836 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32837 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32839 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x
) {
32840 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
32842 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x
) {
32843 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
32845 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x
) {
32846 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
32848 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x
) {
32849 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
32851 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x
) {
32852 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
32854 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32855 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32857 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x
) {
32858 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
32860 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x
) {
32861 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
32863 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32864 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32866 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x
) {
32867 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
32869 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x
) {
32870 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
32872 static void *_p_wxListbookTo_p_wxEvtHandler(void *x
) {
32873 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
32875 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x
) {
32876 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32878 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x
) {
32879 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32881 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x
) {
32882 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
32884 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x
) {
32885 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
32887 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x
) {
32888 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
32890 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x
) {
32891 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
32893 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x
) {
32894 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
32896 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x
) {
32897 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
32899 static void *_p_wxListViewTo_p_wxEvtHandler(void *x
) {
32900 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
32902 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x
) {
32903 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
32905 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x
) {
32906 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
32908 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x
) {
32909 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
32911 static void *_p_wxSliderTo_p_wxEvtHandler(void *x
) {
32912 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
32914 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x
) {
32915 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
32917 static void *_p_wxButtonTo_p_wxEvtHandler(void *x
) {
32918 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxButton
*) x
));
32920 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x
) {
32921 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
32923 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x
) {
32924 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32926 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x
) {
32927 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
32929 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x
) {
32930 return (void *)((wxListBox
*) ((wxCheckListBox
*) x
));
32932 static void *_p_wxListbookTo_p_wxBookCtrl(void *x
) {
32933 return (void *)((wxBookCtrl
*) ((wxListbook
*) x
));
32935 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x
) {
32936 return (void *)((wxBookCtrl
*) ((wxNotebook
*) x
));
32938 static void *_p_wxBitmapButtonTo_p_wxButton(void *x
) {
32939 return (void *)((wxButton
*) ((wxBitmapButton
*) x
));
32941 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x
) {
32942 return (void *)((wxButton
*) (wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32944 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x
) {
32945 return (void *)((wxBitmapButton
*) ((wxContextHelpButton
*) x
));
32947 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x
) {
32948 return (void *)((wxHelpProvider
*) ((wxSimpleHelpProvider
*) x
));
32950 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32951 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32953 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32954 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32956 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32957 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32959 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32960 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32962 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32963 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32965 static void *_p_wxTextUrlEventTo_p_wxObject(void *x
) {
32966 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
32968 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x
) {
32969 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
32971 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32972 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32974 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32975 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32977 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32978 return (void *)((wxObject
*) ((wxSizer
*) x
));
32980 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32981 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32983 static void *_p_wxCheckBoxTo_p_wxObject(void *x
) {
32984 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxCheckBox
*) x
));
32986 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x
) {
32987 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyTreeCtrl
*) x
));
32989 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32990 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32992 static void *_p_wxEventTo_p_wxObject(void *x
) {
32993 return (void *)((wxObject
*) ((wxEvent
*) x
));
32995 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32996 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32998 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32999 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
33001 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
33002 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
33004 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x
) {
33005 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGenericDirCtrl
*) x
));
33007 static void *_p_wxPyListCtrlTo_p_wxObject(void *x
) {
33008 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyListCtrl
*) x
));
33010 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x
) {
33011 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33013 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
33014 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
33016 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
33017 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
33019 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
33020 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
33022 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
33023 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
33025 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
33026 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
33028 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
33029 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
33031 static void *_p_wxStaticLineTo_p_wxObject(void *x
) {
33032 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticLine
*) x
));
33034 static void *_p_wxControlTo_p_wxObject(void *x
) {
33035 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
33037 static void *_p_wxPyControlTo_p_wxObject(void *x
) {
33038 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxPyControl
*) x
));
33040 static void *_p_wxGaugeTo_p_wxObject(void *x
) {
33041 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxGauge
*) x
));
33043 static void *_p_wxRadioButtonTo_p_wxObject(void *x
) {
33044 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioButton
*) x
));
33046 static void *_p_wxToggleButtonTo_p_wxObject(void *x
) {
33047 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToggleButton
*) x
));
33049 static void *_p_wxToolBarBaseTo_p_wxObject(void *x
) {
33050 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxToolBarBase
*) x
));
33052 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
33053 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
33055 static void *_p_wxChoiceTo_p_wxObject(void *x
) {
33056 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
33058 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
33059 return (void *)((wxObject
*) ((wxFSFile
*) x
));
33061 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
33062 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
33064 static void *_p_wxListViewTo_p_wxObject(void *x
) {
33065 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
33067 static void *_p_wxTextCtrlTo_p_wxObject(void *x
) {
33068 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxTextCtrl
*) x
));
33070 static void *_p_wxNotebookTo_p_wxObject(void *x
) {
33071 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
33073 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
33074 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
33076 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
33077 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33079 static void *_p_wxListbookTo_p_wxObject(void *x
) {
33080 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
33082 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
33083 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
33085 static void *_p_wxStaticBitmapTo_p_wxObject(void *x
) {
33086 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBitmap
*) x
));
33088 static void *_p_wxSliderTo_p_wxObject(void *x
) {
33089 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSlider
*) x
));
33091 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
33092 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
33094 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
33095 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
33097 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
33098 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33100 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
33101 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
33103 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
33104 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
33106 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
33107 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
33109 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
33110 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
33112 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
33113 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
33115 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
33116 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
33118 static void *_p_wxStaticBoxTo_p_wxObject(void *x
) {
33119 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticBox
*) x
));
33121 static void *_p_wxContextHelpTo_p_wxObject(void *x
) {
33122 return (void *)((wxObject
*) ((wxContextHelp
*) x
));
33124 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
33125 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
33127 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
33128 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
33130 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
33131 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
33133 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
33134 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
33136 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
33137 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
33139 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
33140 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
33142 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
33143 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
33145 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
33146 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
33148 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
33149 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
33151 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
33152 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
33154 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
33155 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
33157 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
33158 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
33160 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
33161 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
33163 static void *_p_wxListEventTo_p_wxObject(void *x
) {
33164 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxListEvent
*) x
));
33166 static void *_p_wxListBoxTo_p_wxObject(void *x
) {
33167 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
33169 static void *_p_wxCheckListBoxTo_p_wxObject(void *x
) {
33170 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
33172 static void *_p_wxBookCtrlTo_p_wxObject(void *x
) {
33173 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxBookCtrl
*) x
));
33175 static void *_p_wxButtonTo_p_wxObject(void *x
) {
33176 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxButton
*) x
));
33178 static void *_p_wxBitmapButtonTo_p_wxObject(void *x
) {
33179 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
33181 static void *_p_wxSpinButtonTo_p_wxObject(void *x
) {
33182 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinButton
*) x
));
33184 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x
) {
33185 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
33187 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
33188 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
33190 static void *_p_wxScrollBarTo_p_wxObject(void *x
) {
33191 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxScrollBar
*) x
));
33193 static void *_p_wxRadioBoxTo_p_wxObject(void *x
) {
33194 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxRadioBox
*) x
));
33196 static void *_p_wxComboBoxTo_p_wxObject(void *x
) {
33197 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
33199 static void *_p_wxHelpEventTo_p_wxObject(void *x
) {
33200 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxHelpEvent
*) x
));
33202 static void *_p_wxListItemTo_p_wxObject(void *x
) {
33203 return (void *)((wxObject
*) ((wxListItem
*) x
));
33205 static void *_p_wxImageTo_p_wxObject(void *x
) {
33206 return (void *)((wxObject
*) ((wxImage
*) x
));
33208 static void *_p_wxNotebookSizerTo_p_wxObject(void *x
) {
33209 return (void *)((wxObject
*) (wxSizer
*) ((wxNotebookSizer
*) x
));
33211 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
33212 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
33214 static void *_p_wxSpinEventTo_p_wxObject(void *x
) {
33215 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSpinEvent
*) x
));
33217 static void *_p_wxGenericDragImageTo_p_wxObject(void *x
) {
33218 return (void *)((wxObject
*) ((wxGenericDragImage
*) x
));
33220 static void *_p_wxSpinCtrlTo_p_wxObject(void *x
) {
33221 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxSpinCtrl
*) x
));
33223 static void *_p_wxNotebookEventTo_p_wxObject(void *x
) {
33224 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
33226 static void *_p_wxListbookEventTo_p_wxObject(void *x
) {
33227 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
33229 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
33230 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33232 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
33233 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
33235 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
33236 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
33238 static void *_p_wxWindowTo_p_wxObject(void *x
) {
33239 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
33241 static void *_p_wxMenuTo_p_wxObject(void *x
) {
33242 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
33244 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
33245 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
33247 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
33248 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
33250 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
33251 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33253 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
33254 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
33256 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
33257 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
33259 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
33260 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
33262 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
33263 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
33265 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
33266 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
33268 static void *_p_wxTreeEventTo_p_wxObject(void *x
) {
33269 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxTreeEvent
*) x
));
33271 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
33272 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33274 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
33275 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
33277 static void *_p_wxStaticTextTo_p_wxObject(void *x
) {
33278 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxStaticText
*) x
));
33280 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
33281 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
33283 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
33284 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
33286 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
33287 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33289 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
33290 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
33292 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x
) {
33293 return (void *)((wxObject
*) ((wxToolBarToolBase
*) x
));
33295 static void *_p_wxToolBarTo_p_wxObject(void *x
) {
33296 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
33298 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
33299 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
33301 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
33302 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
33304 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x
) {
33305 return (void *)((wxObject
*) (wxSizer
*) ((wxBookCtrlSizer
*) x
));
33307 static void *_p_wxBookCtrlTo_p_wxWindow(void *x
) {
33308 return (void *)((wxWindow
*) (wxControl
*) ((wxBookCtrl
*) x
));
33310 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
33311 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
33313 static void *_p_wxToolBarTo_p_wxWindow(void *x
) {
33314 return (void *)((wxWindow
*) (wxControl
*)(wxToolBarBase
*) ((wxToolBar
*) x
));
33316 static void *_p_wxToggleButtonTo_p_wxWindow(void *x
) {
33317 return (void *)((wxWindow
*) (wxControl
*) ((wxToggleButton
*) x
));
33319 static void *_p_wxRadioButtonTo_p_wxWindow(void *x
) {
33320 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioButton
*) x
));
33322 static void *_p_wxPyControlTo_p_wxWindow(void *x
) {
33323 return (void *)((wxWindow
*) (wxControl
*) ((wxPyControl
*) x
));
33325 static void *_p_wxControlTo_p_wxWindow(void *x
) {
33326 return (void *)((wxWindow
*) ((wxControl
*) x
));
33328 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x
) {
33329 return (void *)((wxWindow
*) (wxControl
*) ((wxToolBarBase
*) x
));
33331 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x
) {
33332 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33334 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x
) {
33335 return (void *)((wxWindow
*) (wxControl
*) ((wxPyListCtrl
*) x
));
33337 static void *_p_wxComboBoxTo_p_wxWindow(void *x
) {
33338 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxChoice
*) ((wxComboBox
*) x
));
33340 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x
) {
33341 return (void *)((wxWindow
*) (wxControl
*) ((wxGenericDirCtrl
*) x
));
33343 static void *_p_wxScrollBarTo_p_wxWindow(void *x
) {
33344 return (void *)((wxWindow
*) (wxControl
*) ((wxScrollBar
*) x
));
33346 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
33347 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
33349 static void *_p_wxGaugeTo_p_wxWindow(void *x
) {
33350 return (void *)((wxWindow
*) (wxControl
*) ((wxGauge
*) x
));
33352 static void *_p_wxStaticLineTo_p_wxWindow(void *x
) {
33353 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticLine
*) x
));
33355 static void *_p_wxListbookTo_p_wxWindow(void *x
) {
33356 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxListbook
*) x
));
33358 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x
) {
33359 return (void *)((wxWindow
*) (wxControl
*) ((wxPyTreeCtrl
*) x
));
33361 static void *_p_wxCheckBoxTo_p_wxWindow(void *x
) {
33362 return (void *)((wxWindow
*) (wxControl
*) ((wxCheckBox
*) x
));
33364 static void *_p_wxRadioBoxTo_p_wxWindow(void *x
) {
33365 return (void *)((wxWindow
*) (wxControl
*) ((wxRadioBox
*) x
));
33367 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x
) {
33368 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*)(wxListBox
*) ((wxCheckListBox
*) x
));
33370 static void *_p_wxChoiceTo_p_wxWindow(void *x
) {
33371 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxChoice
*) x
));
33373 static void *_p_wxListBoxTo_p_wxWindow(void *x
) {
33374 return (void *)((wxWindow
*) (wxControl
*)(wxControlWithItems
*) ((wxListBox
*) x
));
33376 static void *_p_wxListViewTo_p_wxWindow(void *x
) {
33377 return (void *)((wxWindow
*) (wxControl
*)(wxPyListCtrl
*) ((wxListView
*) x
));
33379 static void *_p_wxNotebookTo_p_wxWindow(void *x
) {
33380 return (void *)((wxWindow
*) (wxControl
*)(wxBookCtrl
*) ((wxNotebook
*) x
));
33382 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x
) {
33383 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBitmap
*) x
));
33385 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x
) {
33386 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinCtrl
*) x
));
33388 static void *_p_wxStaticTextTo_p_wxWindow(void *x
) {
33389 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticText
*) x
));
33391 static void *_p_wxStaticBoxTo_p_wxWindow(void *x
) {
33392 return (void *)((wxWindow
*) (wxControl
*) ((wxStaticBox
*) x
));
33394 static void *_p_wxSliderTo_p_wxWindow(void *x
) {
33395 return (void *)((wxWindow
*) (wxControl
*) ((wxSlider
*) x
));
33397 static void *_p_wxSpinButtonTo_p_wxWindow(void *x
) {
33398 return (void *)((wxWindow
*) (wxControl
*) ((wxSpinButton
*) x
));
33400 static void *_p_wxButtonTo_p_wxWindow(void *x
) {
33401 return (void *)((wxWindow
*) (wxControl
*) ((wxButton
*) x
));
33403 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x
) {
33404 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*) ((wxBitmapButton
*) x
));
33406 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x
) {
33407 return (void *)((wxWindow
*) (wxControl
*)(wxButton
*)(wxBitmapButton
*) ((wxContextHelpButton
*) x
));
33409 static void *_p_wxTextCtrlTo_p_wxWindow(void *x
) {
33410 return (void *)((wxWindow
*) (wxControl
*) ((wxTextCtrl
*) x
));
33412 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
33413 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33415 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x
) {
33416 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxBookCtrlEvent
*) x
));
33418 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x
) {
33419 return (void *)((wxCommandEvent
*) ((wxTextUrlEvent
*) x
));
33421 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
33422 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
33424 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
33425 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33427 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
33428 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33430 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
33431 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33433 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x
) {
33434 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxListbookEvent
*) x
));
33436 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x
) {
33437 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*)(wxBookCtrlEvent
*) ((wxNotebookEvent
*) x
));
33439 static void *_p_wxListEventTo_p_wxCommandEvent(void *x
) {
33440 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxListEvent
*) x
));
33442 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
33443 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33445 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x
) {
33446 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxTreeEvent
*) x
));
33448 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x
) {
33449 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSpinEvent
*) x
));
33451 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x
) {
33452 return (void *)((wxCommandEvent
*) ((wxHelpEvent
*) x
));
33454 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
33455 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33457 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
33458 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33460 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x
) {
33461 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxComboBox
*) x
));
33463 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x
) {
33464 return (void *)((wxControlWithItems
*) (wxChoice
*) ((wxDirFilterListCtrl
*) x
));
33466 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x
) {
33467 return (void *)((wxControlWithItems
*) ((wxChoice
*) x
));
33469 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x
) {
33470 return (void *)((wxControlWithItems
*) ((wxListBox
*) x
));
33472 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x
) {
33473 return (void *)((wxControlWithItems
*) (wxListBox
*) ((wxCheckListBox
*) x
));
33475 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
33476 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
33478 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}};
33479 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}};
33480 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}};
33481 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}};
33482 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}};
33483 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}};
33484 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}};
33485 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}};
33486 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}};
33487 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}};
33488 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}};
33489 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}};
33490 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}};
33491 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}};
33492 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}};
33493 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}};
33494 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}};
33495 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}};
33496 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}};
33497 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}};
33498 static swig_type_info _swigt__p_wxChoice
[] = {{"_p_wxChoice", 0, "wxChoice *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxChoice
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice
, 0, 0, 0, 0, 0},{"_p_wxChoice", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33499 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}};
33500 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}};
33501 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}};
33502 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}};
33503 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}};
33504 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}};
33505 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}};
33506 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}};
33507 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}};
33508 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}};
33509 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}};
33510 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}};
33511 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}};
33512 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}};
33513 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}};
33514 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}};
33515 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}};
33516 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}};
33517 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}};
33518 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}};
33519 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}};
33520 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}};
33521 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}};
33522 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}};
33523 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}};
33524 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}};
33525 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}};
33526 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}};
33527 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}};
33528 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}};
33529 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}};
33530 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}};
33531 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}};
33532 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}};
33533 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}};
33534 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}};
33535 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}};
33536 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}};
33537 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}};
33538 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}};
33539 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}};
33540 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}};
33541 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}};
33542 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}};
33543 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}};
33544 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}};
33545 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}};
33546 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}};
33547 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}};
33548 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}};
33549 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}};
33550 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}};
33551 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}};
33552 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}};
33553 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}};
33554 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}};
33555 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}};
33556 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}};
33557 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", 0, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems
, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
33558 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}};
33559 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}};
33560 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}};
33561 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}};
33562 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}};
33564 static swig_type_info
*swig_types_initial
[] = {
33565 _swigt__p_wxTextUrlEvent
,
33566 _swigt__p_wxBookCtrlEvent
,
33568 _swigt__p_wxCheckBox
,
33569 _swigt__p_wxPyTreeCtrl
,
33571 _swigt__p_wxGenericDirCtrl
,
33573 _swigt__p_wxPyTreeItemData
,
33574 _swigt__p_wxItemContainer
,
33575 _swigt__p_wxPyListCtrl
,
33576 _swigt__p_wxDirFilterListCtrl
,
33577 _swigt__p_wxStaticLine
,
33578 _swigt__p_wxControl
,
33579 _swigt__p_wxPyControl
,
33581 _swigt__p_wxToolBarBase
,
33583 _swigt__p_wxToggleButton
,
33584 _swigt__p_wxRadioButton
,
33585 _swigt__p_wxChoice
,
33586 _swigt__p_wxMemoryDC
,
33587 _swigt__p_wxListItemAttr
,
33592 _swigt__p_wxListView
,
33594 _swigt__p_wxVisualAttributes
,
33595 _swigt__p_wxTextCtrl
,
33596 _swigt__p_wxNotebook
,
33597 _swigt__p_wxNotifyEvent
,
33598 _swigt__p_wxArrayString
,
33599 _swigt__p_wxListbook
,
33600 _swigt__p_wxStaticBitmap
,
33601 _swigt__p_wxSlider
,
33602 _swigt__p_wxStaticBox
,
33603 _swigt__p_wxArrayInt
,
33604 _swigt__p_wxContextHelp
,
33606 _swigt__p_wxEvtHandler
,
33607 _swigt__p_wxListEvent
,
33608 _swigt__p_wxCheckListBox
,
33609 _swigt__p_wxListBox
,
33610 _swigt__p_wxBookCtrl
,
33611 _swigt__p_wxSpinButton
,
33612 _swigt__p_wxButton
,
33613 _swigt__p_wxBitmapButton
,
33615 _swigt__p_wxContextHelpButton
,
33616 _swigt__p_wxRadioBox
,
33617 _swigt__p_wxScrollBar
,
33619 _swigt__p_wxTreeItemId
,
33620 _swigt__p_wxComboBox
,
33621 _swigt__p_wxHelpEvent
,
33622 _swigt__p_wxListItem
,
33623 _swigt__p_wxNotebookSizer
,
33624 _swigt__p_wxSpinEvent
,
33625 _swigt__p_wxGenericDragImage
,
33626 _swigt__p_wxSpinCtrl
,
33627 _swigt__p_wxImageList
,
33628 _swigt__p_wxHelpProvider
,
33629 _swigt__p_wxTextAttr
,
33630 _swigt__p_wxSimpleHelpProvider
,
33632 _swigt__p_wxListbookEvent
,
33633 _swigt__p_wxNotebookEvent
,
33634 _swigt__p_wxObject
,
33635 _swigt__p_wxCursor
,
33636 _swigt__p_wxKeyEvent
,
33637 _swigt__p_wxWindow
,
33638 _swigt__p_wxString
,
33639 _swigt__p_wxBitmap
,
33640 _swigt__p_wxTreeEvent
,
33641 _swigt__p_wxMouseEvent
,
33642 _swigt__p_wxCommandEvent
,
33643 _swigt__p_wxStaticText
,
33644 _swigt__p_wxControlWithItems
,
33645 _swigt__p_wxToolBarToolBase
,
33646 _swigt__p_wxColour
,
33647 _swigt__p_wxToolBar
,
33648 _swigt__p_wxBookCtrlSizer
,
33649 _swigt__p_wxValidator
,
33654 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33656 static swig_const_info swig_const_table
[] = {
33657 {0, 0, 0, 0.0, 0, 0}};
33666 SWIGEXPORT(void) SWIG_init(void) {
33667 static PyObject
*SWIG_globals
= 0;
33668 static int typeinit
= 0;
33671 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
33672 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33673 d
= PyModule_GetDict(m
);
33676 for (i
= 0; swig_types_initial
[i
]; i
++) {
33677 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
33681 SWIG_InstallConstants(d
,swig_const_table
);
33683 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
33684 SWIG_addvarlink(SWIG_globals
,(char*)"ButtonNameStr",_wrap_ButtonNameStr_get
, _wrap_ButtonNameStr_set
);
33685 PyDict_SetItemString(d
,"BU_LEFT", SWIG_From_int((int)wxBU_LEFT
));
33686 PyDict_SetItemString(d
,"BU_TOP", SWIG_From_int((int)wxBU_TOP
));
33687 PyDict_SetItemString(d
,"BU_RIGHT", SWIG_From_int((int)wxBU_RIGHT
));
33688 PyDict_SetItemString(d
,"BU_BOTTOM", SWIG_From_int((int)wxBU_BOTTOM
));
33689 PyDict_SetItemString(d
,"BU_EXACTFIT", SWIG_From_int((int)wxBU_EXACTFIT
));
33690 PyDict_SetItemString(d
,"BU_AUTODRAW", SWIG_From_int((int)wxBU_AUTODRAW
));
33691 SWIG_addvarlink(SWIG_globals
,(char*)"CheckBoxNameStr",_wrap_CheckBoxNameStr_get
, _wrap_CheckBoxNameStr_set
);
33692 PyDict_SetItemString(d
,"CHK_2STATE", SWIG_From_int((int)wxCHK_2STATE
));
33693 PyDict_SetItemString(d
,"CHK_3STATE", SWIG_From_int((int)wxCHK_3STATE
));
33694 PyDict_SetItemString(d
,"CHK_ALLOW_3RD_STATE_FOR_USER", SWIG_From_int((int)wxCHK_ALLOW_3RD_STATE_FOR_USER
));
33695 PyDict_SetItemString(d
,"CHK_UNCHECKED", SWIG_From_int((int)wxCHK_UNCHECKED
));
33696 PyDict_SetItemString(d
,"CHK_CHECKED", SWIG_From_int((int)wxCHK_CHECKED
));
33697 PyDict_SetItemString(d
,"CHK_UNDETERMINED", SWIG_From_int((int)wxCHK_UNDETERMINED
));
33698 SWIG_addvarlink(SWIG_globals
,(char*)"ChoiceNameStr",_wrap_ChoiceNameStr_get
, _wrap_ChoiceNameStr_set
);
33699 SWIG_addvarlink(SWIG_globals
,(char*)"ComboBoxNameStr",_wrap_ComboBoxNameStr_get
, _wrap_ComboBoxNameStr_set
);
33700 SWIG_addvarlink(SWIG_globals
,(char*)"GaugeNameStr",_wrap_GaugeNameStr_get
, _wrap_GaugeNameStr_set
);
33701 PyDict_SetItemString(d
,"GA_HORIZONTAL", SWIG_From_int((int)wxGA_HORIZONTAL
));
33702 PyDict_SetItemString(d
,"GA_VERTICAL", SWIG_From_int((int)wxGA_VERTICAL
));
33703 PyDict_SetItemString(d
,"GA_SMOOTH", SWIG_From_int((int)wxGA_SMOOTH
));
33704 PyDict_SetItemString(d
,"GA_PROGRESSBAR", SWIG_From_int((int)wxGA_PROGRESSBAR
));
33705 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBitmapNameStr",_wrap_StaticBitmapNameStr_get
, _wrap_StaticBitmapNameStr_set
);
33706 SWIG_addvarlink(SWIG_globals
,(char*)"StaticBoxNameStr",_wrap_StaticBoxNameStr_get
, _wrap_StaticBoxNameStr_set
);
33707 SWIG_addvarlink(SWIG_globals
,(char*)"StaticTextNameStr",_wrap_StaticTextNameStr_get
, _wrap_StaticTextNameStr_set
);
33708 SWIG_addvarlink(SWIG_globals
,(char*)"ListBoxNameStr",_wrap_ListBoxNameStr_get
, _wrap_ListBoxNameStr_set
);
33709 SWIG_addvarlink(SWIG_globals
,(char*)"TextCtrlNameStr",_wrap_TextCtrlNameStr_get
, _wrap_TextCtrlNameStr_set
);
33710 PyDict_SetItemString(d
,"TE_NO_VSCROLL", SWIG_From_int((int)wxTE_NO_VSCROLL
));
33711 PyDict_SetItemString(d
,"TE_AUTO_SCROLL", SWIG_From_int((int)wxTE_AUTO_SCROLL
));
33712 PyDict_SetItemString(d
,"TE_READONLY", SWIG_From_int((int)wxTE_READONLY
));
33713 PyDict_SetItemString(d
,"TE_MULTILINE", SWIG_From_int((int)wxTE_MULTILINE
));
33714 PyDict_SetItemString(d
,"TE_PROCESS_TAB", SWIG_From_int((int)wxTE_PROCESS_TAB
));
33715 PyDict_SetItemString(d
,"TE_LEFT", SWIG_From_int((int)wxTE_LEFT
));
33716 PyDict_SetItemString(d
,"TE_CENTER", SWIG_From_int((int)wxTE_CENTER
));
33717 PyDict_SetItemString(d
,"TE_RIGHT", SWIG_From_int((int)wxTE_RIGHT
));
33718 PyDict_SetItemString(d
,"TE_CENTRE", SWIG_From_int((int)wxTE_CENTRE
));
33719 PyDict_SetItemString(d
,"TE_RICH", SWIG_From_int((int)wxTE_RICH
));
33720 PyDict_SetItemString(d
,"TE_PROCESS_ENTER", SWIG_From_int((int)wxTE_PROCESS_ENTER
));
33721 PyDict_SetItemString(d
,"TE_PASSWORD", SWIG_From_int((int)wxTE_PASSWORD
));
33722 PyDict_SetItemString(d
,"TE_AUTO_URL", SWIG_From_int((int)wxTE_AUTO_URL
));
33723 PyDict_SetItemString(d
,"TE_NOHIDESEL", SWIG_From_int((int)wxTE_NOHIDESEL
));
33724 PyDict_SetItemString(d
,"TE_DONTWRAP", SWIG_From_int((int)wxTE_DONTWRAP
));
33725 PyDict_SetItemString(d
,"TE_LINEWRAP", SWIG_From_int((int)wxTE_LINEWRAP
));
33726 PyDict_SetItemString(d
,"TE_WORDWRAP", SWIG_From_int((int)wxTE_WORDWRAP
));
33727 PyDict_SetItemString(d
,"TE_RICH2", SWIG_From_int((int)wxTE_RICH2
));
33728 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_DEFAULT", SWIG_From_int((int)wxTEXT_ALIGNMENT_DEFAULT
));
33729 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_LEFT", SWIG_From_int((int)wxTEXT_ALIGNMENT_LEFT
));
33730 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTRE", SWIG_From_int((int)wxTEXT_ALIGNMENT_CENTRE
));
33731 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_CENTER", SWIG_From_int((int)wxTEXT_ALIGNMENT_CENTER
));
33732 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_RIGHT", SWIG_From_int((int)wxTEXT_ALIGNMENT_RIGHT
));
33733 PyDict_SetItemString(d
,"TEXT_ALIGNMENT_JUSTIFIED", SWIG_From_int((int)wxTEXT_ALIGNMENT_JUSTIFIED
));
33734 PyDict_SetItemString(d
,"TEXT_ATTR_TEXT_COLOUR", SWIG_From_int((int)wxTEXT_ATTR_TEXT_COLOUR
));
33735 PyDict_SetItemString(d
,"TEXT_ATTR_BACKGROUND_COLOUR", SWIG_From_int((int)wxTEXT_ATTR_BACKGROUND_COLOUR
));
33736 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_FACE", SWIG_From_int((int)wxTEXT_ATTR_FONT_FACE
));
33737 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_SIZE", SWIG_From_int((int)wxTEXT_ATTR_FONT_SIZE
));
33738 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_WEIGHT", SWIG_From_int((int)wxTEXT_ATTR_FONT_WEIGHT
));
33739 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_ITALIC", SWIG_From_int((int)wxTEXT_ATTR_FONT_ITALIC
));
33740 PyDict_SetItemString(d
,"TEXT_ATTR_FONT_UNDERLINE", SWIG_From_int((int)wxTEXT_ATTR_FONT_UNDERLINE
));
33741 PyDict_SetItemString(d
,"TEXT_ATTR_FONT", SWIG_From_int((int)wxTEXT_ATTR_FONT
));
33742 PyDict_SetItemString(d
,"TEXT_ATTR_ALIGNMENT", SWIG_From_int((int)wxTEXT_ATTR_ALIGNMENT
));
33743 PyDict_SetItemString(d
,"TEXT_ATTR_LEFT_INDENT", SWIG_From_int((int)wxTEXT_ATTR_LEFT_INDENT
));
33744 PyDict_SetItemString(d
,"TEXT_ATTR_RIGHT_INDENT", SWIG_From_int((int)wxTEXT_ATTR_RIGHT_INDENT
));
33745 PyDict_SetItemString(d
,"TEXT_ATTR_TABS", SWIG_From_int((int)wxTEXT_ATTR_TABS
));
33746 PyDict_SetItemString(d
,"TE_HT_UNKNOWN", SWIG_From_int((int)wxTE_HT_UNKNOWN
));
33747 PyDict_SetItemString(d
,"TE_HT_BEFORE", SWIG_From_int((int)wxTE_HT_BEFORE
));
33748 PyDict_SetItemString(d
,"TE_HT_ON_TEXT", SWIG_From_int((int)wxTE_HT_ON_TEXT
));
33749 PyDict_SetItemString(d
,"TE_HT_BELOW", SWIG_From_int((int)wxTE_HT_BELOW
));
33750 PyDict_SetItemString(d
,"TE_HT_BEYOND", SWIG_From_int((int)wxTE_HT_BEYOND
));
33751 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED
));
33752 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER
));
33753 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL
));
33754 PyDict_SetItemString(d
, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN
));
33755 SWIG_addvarlink(SWIG_globals
,(char*)"ScrollBarNameStr",_wrap_ScrollBarNameStr_get
, _wrap_ScrollBarNameStr_set
);
33756 SWIG_addvarlink(SWIG_globals
,(char*)"SPIN_BUTTON_NAME",_wrap_SPIN_BUTTON_NAME_get
, _wrap_SPIN_BUTTON_NAME_set
);
33757 SWIG_addvarlink(SWIG_globals
,(char*)"SpinCtrlNameStr",_wrap_SpinCtrlNameStr_get
, _wrap_SpinCtrlNameStr_set
);
33758 PyDict_SetItemString(d
,"SP_HORIZONTAL", SWIG_From_int((int)wxSP_HORIZONTAL
));
33759 PyDict_SetItemString(d
,"SP_VERTICAL", SWIG_From_int((int)wxSP_VERTICAL
));
33760 PyDict_SetItemString(d
,"SP_ARROW_KEYS", SWIG_From_int((int)wxSP_ARROW_KEYS
));
33761 PyDict_SetItemString(d
,"SP_WRAP", SWIG_From_int((int)wxSP_WRAP
));
33762 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED
));
33763 SWIG_addvarlink(SWIG_globals
,(char*)"RadioBoxNameStr",_wrap_RadioBoxNameStr_get
, _wrap_RadioBoxNameStr_set
);
33764 SWIG_addvarlink(SWIG_globals
,(char*)"RadioButtonNameStr",_wrap_RadioButtonNameStr_get
, _wrap_RadioButtonNameStr_set
);
33765 SWIG_addvarlink(SWIG_globals
,(char*)"SliderNameStr",_wrap_SliderNameStr_get
, _wrap_SliderNameStr_set
);
33766 SWIG_addvarlink(SWIG_globals
,(char*)"ToggleButtonNameStr",_wrap_ToggleButtonNameStr_get
, _wrap_ToggleButtonNameStr_set
);
33767 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED
));
33768 SWIG_addvarlink(SWIG_globals
,(char*)"NOTEBOOK_NAME",_wrap_NOTEBOOK_NAME_get
, _wrap_NOTEBOOK_NAME_set
);
33769 PyDict_SetItemString(d
,"NB_FIXEDWIDTH", SWIG_From_int((int)wxNB_FIXEDWIDTH
));
33770 PyDict_SetItemString(d
,"NB_TOP", SWIG_From_int((int)wxNB_TOP
));
33771 PyDict_SetItemString(d
,"NB_LEFT", SWIG_From_int((int)wxNB_LEFT
));
33772 PyDict_SetItemString(d
,"NB_RIGHT", SWIG_From_int((int)wxNB_RIGHT
));
33773 PyDict_SetItemString(d
,"NB_BOTTOM", SWIG_From_int((int)wxNB_BOTTOM
));
33774 PyDict_SetItemString(d
,"NB_MULTILINE", SWIG_From_int((int)wxNB_MULTILINE
));
33775 PyDict_SetItemString(d
,"NB_HITTEST_NOWHERE", SWIG_From_int((int)wxNB_HITTEST_NOWHERE
));
33776 PyDict_SetItemString(d
,"NB_HITTEST_ONICON", SWIG_From_int((int)wxNB_HITTEST_ONICON
));
33777 PyDict_SetItemString(d
,"NB_HITTEST_ONLABEL", SWIG_From_int((int)wxNB_HITTEST_ONLABEL
));
33778 PyDict_SetItemString(d
,"NB_HITTEST_ONITEM", SWIG_From_int((int)wxNB_HITTEST_ONITEM
));
33779 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED
));
33780 PyDict_SetItemString(d
, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING
));
33781 PyDict_SetItemString(d
,"LB_DEFAULT", SWIG_From_int((int)wxLB_DEFAULT
));
33782 PyDict_SetItemString(d
,"LB_TOP", SWIG_From_int((int)wxLB_TOP
));
33783 PyDict_SetItemString(d
,"LB_BOTTOM", SWIG_From_int((int)wxLB_BOTTOM
));
33784 PyDict_SetItemString(d
,"LB_LEFT", SWIG_From_int((int)wxLB_LEFT
));
33785 PyDict_SetItemString(d
,"LB_RIGHT", SWIG_From_int((int)wxLB_RIGHT
));
33786 PyDict_SetItemString(d
,"LB_ALIGN_MASK", SWIG_From_int((int)wxLB_ALIGN_MASK
));
33787 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED
));
33788 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING
));
33789 PyDict_SetItemString(d
,"TOOL_STYLE_BUTTON", SWIG_From_int((int)wxTOOL_STYLE_BUTTON
));
33790 PyDict_SetItemString(d
,"TOOL_STYLE_SEPARATOR", SWIG_From_int((int)wxTOOL_STYLE_SEPARATOR
));
33791 PyDict_SetItemString(d
,"TOOL_STYLE_CONTROL", SWIG_From_int((int)wxTOOL_STYLE_CONTROL
));
33792 PyDict_SetItemString(d
,"TB_HORIZONTAL", SWIG_From_int((int)wxTB_HORIZONTAL
));
33793 PyDict_SetItemString(d
,"TB_VERTICAL", SWIG_From_int((int)wxTB_VERTICAL
));
33794 PyDict_SetItemString(d
,"TB_3DBUTTONS", SWIG_From_int((int)wxTB_3DBUTTONS
));
33795 PyDict_SetItemString(d
,"TB_FLAT", SWIG_From_int((int)wxTB_FLAT
));
33796 PyDict_SetItemString(d
,"TB_DOCKABLE", SWIG_From_int((int)wxTB_DOCKABLE
));
33797 PyDict_SetItemString(d
,"TB_NOICONS", SWIG_From_int((int)wxTB_NOICONS
));
33798 PyDict_SetItemString(d
,"TB_TEXT", SWIG_From_int((int)wxTB_TEXT
));
33799 PyDict_SetItemString(d
,"TB_NODIVIDER", SWIG_From_int((int)wxTB_NODIVIDER
));
33800 PyDict_SetItemString(d
,"TB_NOALIGN", SWIG_From_int((int)wxTB_NOALIGN
));
33801 PyDict_SetItemString(d
,"TB_HORZ_LAYOUT", SWIG_From_int((int)wxTB_HORZ_LAYOUT
));
33802 PyDict_SetItemString(d
,"TB_HORZ_TEXT", SWIG_From_int((int)wxTB_HORZ_TEXT
));
33803 SWIG_addvarlink(SWIG_globals
,(char*)"ListCtrlNameStr",_wrap_ListCtrlNameStr_get
, _wrap_ListCtrlNameStr_set
);
33804 PyDict_SetItemString(d
,"LC_VRULES", SWIG_From_int((int)wxLC_VRULES
));
33805 PyDict_SetItemString(d
,"LC_HRULES", SWIG_From_int((int)wxLC_HRULES
));
33806 PyDict_SetItemString(d
,"LC_ICON", SWIG_From_int((int)wxLC_ICON
));
33807 PyDict_SetItemString(d
,"LC_SMALL_ICON", SWIG_From_int((int)wxLC_SMALL_ICON
));
33808 PyDict_SetItemString(d
,"LC_LIST", SWIG_From_int((int)wxLC_LIST
));
33809 PyDict_SetItemString(d
,"LC_REPORT", SWIG_From_int((int)wxLC_REPORT
));
33810 PyDict_SetItemString(d
,"LC_ALIGN_TOP", SWIG_From_int((int)wxLC_ALIGN_TOP
));
33811 PyDict_SetItemString(d
,"LC_ALIGN_LEFT", SWIG_From_int((int)wxLC_ALIGN_LEFT
));
33812 PyDict_SetItemString(d
,"LC_AUTOARRANGE", SWIG_From_int((int)wxLC_AUTOARRANGE
));
33813 PyDict_SetItemString(d
,"LC_VIRTUAL", SWIG_From_int((int)wxLC_VIRTUAL
));
33814 PyDict_SetItemString(d
,"LC_EDIT_LABELS", SWIG_From_int((int)wxLC_EDIT_LABELS
));
33815 PyDict_SetItemString(d
,"LC_NO_HEADER", SWIG_From_int((int)wxLC_NO_HEADER
));
33816 PyDict_SetItemString(d
,"LC_NO_SORT_HEADER", SWIG_From_int((int)wxLC_NO_SORT_HEADER
));
33817 PyDict_SetItemString(d
,"LC_SINGLE_SEL", SWIG_From_int((int)wxLC_SINGLE_SEL
));
33818 PyDict_SetItemString(d
,"LC_SORT_ASCENDING", SWIG_From_int((int)wxLC_SORT_ASCENDING
));
33819 PyDict_SetItemString(d
,"LC_SORT_DESCENDING", SWIG_From_int((int)wxLC_SORT_DESCENDING
));
33820 PyDict_SetItemString(d
,"LC_MASK_TYPE", SWIG_From_int((int)wxLC_MASK_TYPE
));
33821 PyDict_SetItemString(d
,"LC_MASK_ALIGN", SWIG_From_int((int)wxLC_MASK_ALIGN
));
33822 PyDict_SetItemString(d
,"LC_MASK_SORT", SWIG_From_int((int)wxLC_MASK_SORT
));
33823 PyDict_SetItemString(d
,"LIST_MASK_STATE", SWIG_From_int((int)wxLIST_MASK_STATE
));
33824 PyDict_SetItemString(d
,"LIST_MASK_TEXT", SWIG_From_int((int)wxLIST_MASK_TEXT
));
33825 PyDict_SetItemString(d
,"LIST_MASK_IMAGE", SWIG_From_int((int)wxLIST_MASK_IMAGE
));
33826 PyDict_SetItemString(d
,"LIST_MASK_DATA", SWIG_From_int((int)wxLIST_MASK_DATA
));
33827 PyDict_SetItemString(d
,"LIST_SET_ITEM", SWIG_From_int((int)wxLIST_SET_ITEM
));
33828 PyDict_SetItemString(d
,"LIST_MASK_WIDTH", SWIG_From_int((int)wxLIST_MASK_WIDTH
));
33829 PyDict_SetItemString(d
,"LIST_MASK_FORMAT", SWIG_From_int((int)wxLIST_MASK_FORMAT
));
33830 PyDict_SetItemString(d
,"LIST_STATE_DONTCARE", SWIG_From_int((int)wxLIST_STATE_DONTCARE
));
33831 PyDict_SetItemString(d
,"LIST_STATE_DROPHILITED", SWIG_From_int((int)wxLIST_STATE_DROPHILITED
));
33832 PyDict_SetItemString(d
,"LIST_STATE_FOCUSED", SWIG_From_int((int)wxLIST_STATE_FOCUSED
));
33833 PyDict_SetItemString(d
,"LIST_STATE_SELECTED", SWIG_From_int((int)wxLIST_STATE_SELECTED
));
33834 PyDict_SetItemString(d
,"LIST_STATE_CUT", SWIG_From_int((int)wxLIST_STATE_CUT
));
33835 PyDict_SetItemString(d
,"LIST_STATE_DISABLED", SWIG_From_int((int)wxLIST_STATE_DISABLED
));
33836 PyDict_SetItemString(d
,"LIST_STATE_FILTERED", SWIG_From_int((int)wxLIST_STATE_FILTERED
));
33837 PyDict_SetItemString(d
,"LIST_STATE_INUSE", SWIG_From_int((int)wxLIST_STATE_INUSE
));
33838 PyDict_SetItemString(d
,"LIST_STATE_PICKED", SWIG_From_int((int)wxLIST_STATE_PICKED
));
33839 PyDict_SetItemString(d
,"LIST_STATE_SOURCE", SWIG_From_int((int)wxLIST_STATE_SOURCE
));
33840 PyDict_SetItemString(d
,"LIST_HITTEST_ABOVE", SWIG_From_int((int)wxLIST_HITTEST_ABOVE
));
33841 PyDict_SetItemString(d
,"LIST_HITTEST_BELOW", SWIG_From_int((int)wxLIST_HITTEST_BELOW
));
33842 PyDict_SetItemString(d
,"LIST_HITTEST_NOWHERE", SWIG_From_int((int)wxLIST_HITTEST_NOWHERE
));
33843 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMICON", SWIG_From_int((int)wxLIST_HITTEST_ONITEMICON
));
33844 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMLABEL", SWIG_From_int((int)wxLIST_HITTEST_ONITEMLABEL
));
33845 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMRIGHT", SWIG_From_int((int)wxLIST_HITTEST_ONITEMRIGHT
));
33846 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)wxLIST_HITTEST_ONITEMSTATEICON
));
33847 PyDict_SetItemString(d
,"LIST_HITTEST_TOLEFT", SWIG_From_int((int)wxLIST_HITTEST_TOLEFT
));
33848 PyDict_SetItemString(d
,"LIST_HITTEST_TORIGHT", SWIG_From_int((int)wxLIST_HITTEST_TORIGHT
));
33849 PyDict_SetItemString(d
,"LIST_HITTEST_ONITEM", SWIG_From_int((int)wxLIST_HITTEST_ONITEM
));
33850 PyDict_SetItemString(d
,"LIST_NEXT_ABOVE", SWIG_From_int((int)wxLIST_NEXT_ABOVE
));
33851 PyDict_SetItemString(d
,"LIST_NEXT_ALL", SWIG_From_int((int)wxLIST_NEXT_ALL
));
33852 PyDict_SetItemString(d
,"LIST_NEXT_BELOW", SWIG_From_int((int)wxLIST_NEXT_BELOW
));
33853 PyDict_SetItemString(d
,"LIST_NEXT_LEFT", SWIG_From_int((int)wxLIST_NEXT_LEFT
));
33854 PyDict_SetItemString(d
,"LIST_NEXT_RIGHT", SWIG_From_int((int)wxLIST_NEXT_RIGHT
));
33855 PyDict_SetItemString(d
,"LIST_ALIGN_DEFAULT", SWIG_From_int((int)wxLIST_ALIGN_DEFAULT
));
33856 PyDict_SetItemString(d
,"LIST_ALIGN_LEFT", SWIG_From_int((int)wxLIST_ALIGN_LEFT
));
33857 PyDict_SetItemString(d
,"LIST_ALIGN_TOP", SWIG_From_int((int)wxLIST_ALIGN_TOP
));
33858 PyDict_SetItemString(d
,"LIST_ALIGN_SNAP_TO_GRID", SWIG_From_int((int)wxLIST_ALIGN_SNAP_TO_GRID
));
33859 PyDict_SetItemString(d
,"LIST_FORMAT_LEFT", SWIG_From_int((int)wxLIST_FORMAT_LEFT
));
33860 PyDict_SetItemString(d
,"LIST_FORMAT_RIGHT", SWIG_From_int((int)wxLIST_FORMAT_RIGHT
));
33861 PyDict_SetItemString(d
,"LIST_FORMAT_CENTRE", SWIG_From_int((int)wxLIST_FORMAT_CENTRE
));
33862 PyDict_SetItemString(d
,"LIST_FORMAT_CENTER", SWIG_From_int((int)wxLIST_FORMAT_CENTER
));
33863 PyDict_SetItemString(d
,"LIST_AUTOSIZE", SWIG_From_int((int)wxLIST_AUTOSIZE
));
33864 PyDict_SetItemString(d
,"LIST_AUTOSIZE_USEHEADER", SWIG_From_int((int)wxLIST_AUTOSIZE_USEHEADER
));
33865 PyDict_SetItemString(d
,"LIST_RECT_BOUNDS", SWIG_From_int((int)wxLIST_RECT_BOUNDS
));
33866 PyDict_SetItemString(d
,"LIST_RECT_ICON", SWIG_From_int((int)wxLIST_RECT_ICON
));
33867 PyDict_SetItemString(d
,"LIST_RECT_LABEL", SWIG_From_int((int)wxLIST_RECT_LABEL
));
33868 PyDict_SetItemString(d
,"LIST_FIND_UP", SWIG_From_int((int)wxLIST_FIND_UP
));
33869 PyDict_SetItemString(d
,"LIST_FIND_DOWN", SWIG_From_int((int)wxLIST_FIND_DOWN
));
33870 PyDict_SetItemString(d
,"LIST_FIND_LEFT", SWIG_From_int((int)wxLIST_FIND_LEFT
));
33871 PyDict_SetItemString(d
,"LIST_FIND_RIGHT", SWIG_From_int((int)wxLIST_FIND_RIGHT
));
33872 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG
));
33873 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG
));
33874 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT
));
33875 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT
));
33876 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM
));
33877 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS
));
33878 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO
));
33879 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO
));
33880 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED
));
33881 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED
));
33882 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN
));
33883 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM
));
33884 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK
));
33885 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK
));
33886 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK
));
33887 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED
));
33888 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT
));
33889 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK
));
33890 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG
));
33891 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING
));
33892 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG
));
33893 PyDict_SetItemString(d
, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED
));
33895 // Map renamed classes back to their common name for OOR
33896 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
33898 SWIG_addvarlink(SWIG_globals
,(char*)"TreeCtrlNameStr",_wrap_TreeCtrlNameStr_get
, _wrap_TreeCtrlNameStr_set
);
33899 PyDict_SetItemString(d
,"TR_NO_BUTTONS", SWIG_From_int((int)wxTR_NO_BUTTONS
));
33900 PyDict_SetItemString(d
,"TR_HAS_BUTTONS", SWIG_From_int((int)wxTR_HAS_BUTTONS
));
33901 PyDict_SetItemString(d
,"TR_NO_LINES", SWIG_From_int((int)wxTR_NO_LINES
));
33902 PyDict_SetItemString(d
,"TR_LINES_AT_ROOT", SWIG_From_int((int)wxTR_LINES_AT_ROOT
));
33903 PyDict_SetItemString(d
,"TR_SINGLE", SWIG_From_int((int)wxTR_SINGLE
));
33904 PyDict_SetItemString(d
,"TR_MULTIPLE", SWIG_From_int((int)wxTR_MULTIPLE
));
33905 PyDict_SetItemString(d
,"TR_EXTENDED", SWIG_From_int((int)wxTR_EXTENDED
));
33906 PyDict_SetItemString(d
,"TR_HAS_VARIABLE_ROW_HEIGHT", SWIG_From_int((int)wxTR_HAS_VARIABLE_ROW_HEIGHT
));
33907 PyDict_SetItemString(d
,"TR_EDIT_LABELS", SWIG_From_int((int)wxTR_EDIT_LABELS
));
33908 PyDict_SetItemString(d
,"TR_HIDE_ROOT", SWIG_From_int((int)wxTR_HIDE_ROOT
));
33909 PyDict_SetItemString(d
,"TR_ROW_LINES", SWIG_From_int((int)wxTR_ROW_LINES
));
33910 PyDict_SetItemString(d
,"TR_FULL_ROW_HIGHLIGHT", SWIG_From_int((int)wxTR_FULL_ROW_HIGHLIGHT
));
33911 PyDict_SetItemString(d
,"TR_DEFAULT_STYLE", SWIG_From_int((int)wxTR_DEFAULT_STYLE
));
33912 PyDict_SetItemString(d
,"TR_TWIST_BUTTONS", SWIG_From_int((int)wxTR_TWIST_BUTTONS
));
33913 PyDict_SetItemString(d
,"TR_MAC_BUTTONS", SWIG_From_int((int)wxTR_MAC_BUTTONS
));
33914 PyDict_SetItemString(d
,"TR_AQUA_BUTTONS", SWIG_From_int((int)wxTR_AQUA_BUTTONS
));
33915 PyDict_SetItemString(d
,"TreeItemIcon_Normal", SWIG_From_int((int)wxTreeItemIcon_Normal
));
33916 PyDict_SetItemString(d
,"TreeItemIcon_Selected", SWIG_From_int((int)wxTreeItemIcon_Selected
));
33917 PyDict_SetItemString(d
,"TreeItemIcon_Expanded", SWIG_From_int((int)wxTreeItemIcon_Expanded
));
33918 PyDict_SetItemString(d
,"TreeItemIcon_SelectedExpanded", SWIG_From_int((int)wxTreeItemIcon_SelectedExpanded
));
33919 PyDict_SetItemString(d
,"TreeItemIcon_Max", SWIG_From_int((int)wxTreeItemIcon_Max
));
33920 PyDict_SetItemString(d
,"TREE_HITTEST_ABOVE", SWIG_From_int((int)wxTREE_HITTEST_ABOVE
));
33921 PyDict_SetItemString(d
,"TREE_HITTEST_BELOW", SWIG_From_int((int)wxTREE_HITTEST_BELOW
));
33922 PyDict_SetItemString(d
,"TREE_HITTEST_NOWHERE", SWIG_From_int((int)wxTREE_HITTEST_NOWHERE
));
33923 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMBUTTON", SWIG_From_int((int)wxTREE_HITTEST_ONITEMBUTTON
));
33924 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMICON", SWIG_From_int((int)wxTREE_HITTEST_ONITEMICON
));
33925 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMINDENT", SWIG_From_int((int)wxTREE_HITTEST_ONITEMINDENT
));
33926 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLABEL", SWIG_From_int((int)wxTREE_HITTEST_ONITEMLABEL
));
33927 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMRIGHT", SWIG_From_int((int)wxTREE_HITTEST_ONITEMRIGHT
));
33928 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMSTATEICON", SWIG_From_int((int)wxTREE_HITTEST_ONITEMSTATEICON
));
33929 PyDict_SetItemString(d
,"TREE_HITTEST_TOLEFT", SWIG_From_int((int)wxTREE_HITTEST_TOLEFT
));
33930 PyDict_SetItemString(d
,"TREE_HITTEST_TORIGHT", SWIG_From_int((int)wxTREE_HITTEST_TORIGHT
));
33931 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMUPPERPART", SWIG_From_int((int)wxTREE_HITTEST_ONITEMUPPERPART
));
33932 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEMLOWERPART", SWIG_From_int((int)wxTREE_HITTEST_ONITEMLOWERPART
));
33933 PyDict_SetItemString(d
,"TREE_HITTEST_ONITEM", SWIG_From_int((int)wxTREE_HITTEST_ONITEM
));
33934 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG
));
33935 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG
));
33936 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT
));
33937 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT
));
33938 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM
));
33939 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO
));
33940 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO
));
33941 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED
));
33942 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING
));
33943 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED
));
33944 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING
));
33945 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED
));
33946 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING
));
33947 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN
));
33948 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED
));
33949 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK
));
33950 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK
));
33951 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG
));
33952 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK
));
33953 PyDict_SetItemString(d
, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP
));
33955 // Map renamed classes back to their common name for OOR
33956 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
33957 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
33959 SWIG_addvarlink(SWIG_globals
,(char*)"DirDialogDefaultFolderStr",_wrap_DirDialogDefaultFolderStr_get
, _wrap_DirDialogDefaultFolderStr_set
);
33960 PyDict_SetItemString(d
,"DIRCTRL_DIR_ONLY", SWIG_From_int((int)wxDIRCTRL_DIR_ONLY
));
33961 PyDict_SetItemString(d
,"DIRCTRL_SELECT_FIRST", SWIG_From_int((int)wxDIRCTRL_SELECT_FIRST
));
33962 PyDict_SetItemString(d
,"DIRCTRL_SHOW_FILTERS", SWIG_From_int((int)wxDIRCTRL_SHOW_FILTERS
));
33963 PyDict_SetItemString(d
,"DIRCTRL_3D_INTERNAL", SWIG_From_int((int)wxDIRCTRL_3D_INTERNAL
));
33964 PyDict_SetItemString(d
,"DIRCTRL_EDIT_LABELS", SWIG_From_int((int)wxDIRCTRL_EDIT_LABELS
));
33965 PyDict_SetItemString(d
,"FRAME_EX_CONTEXTHELP", SWIG_From_int((int)wxFRAME_EX_CONTEXTHELP
));
33966 PyDict_SetItemString(d
,"DIALOG_EX_CONTEXTHELP", SWIG_From_int((int)wxDIALOG_EX_CONTEXTHELP
));
33967 PyDict_SetItemString(d
, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP
));
33968 PyDict_SetItemString(d
, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP
));
33970 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");